Solve: x+5=x^2

I have (1+- sqrt 21)/2

Is that right or did I calculate something wrong?

x^2 -x - 5 = 0

x = [1 +/- sqrt(21)]/2
is correct

Thanks

To solve the equation x+5=x^2, you can rewrite it as a quadratic equation by moving all terms to one side:

x^2 - x - 5 = 0

To find the solutions, you can use the quadratic formula:

x = (-b ± √(b^2 - 4ac)) / (2a)

Here, a = 1, b = -1, and c = -5.

Plugging in these values into the quadratic formula, we get:

x = (-(-1) ± √((-1)^2 - 4(1)(-5))) / (2(1))
= (1 ± √(1 + 20)) / 2
= (1 ± √21) / 2

So, the solutions to the equation x+5=x^2 are (1 + √21)/2 and (1 - √21)/2. Therefore, your answer of (1 ± √21)/2 is correct.