Question: how to solve for x in a quadratic equation?
Answer: You can solve any quadratic equation by completing the square—rewriting part of the equation as a perfect square trinomial. If you complete the square on the generic equation ax2 + bx + c = 0 and then solve for x, you find that .