Which of the following is a solution to x2=1x^2 = 1x2=1?
x=1x = 1x=1
x=−1x = -1x=−1
x=0x = 0x=0
x=2x = 2x=2