Given A={x∣x is a root of x2-1=0}, B={x∣x is a root of x2-2x+1=0}. Then
(3)
We have A={x∣x is a root of x2-1=0}={x∣x is a root of (x-1)(x+1)=0}⇒A={1,-1}
B={x∣x is a root of x2-2x+1=0}={x∣x is a root of (x-1)2=0}
⇒B={1}
⇒A∪B={1,-1}=A