system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
What is the value of x if x^2 = 4?


assistant
The value of x is either 2 or -2. This is because the square of both those numbers is 4 as shown below:

2 * 2 = 4
-2 * -2 = 4