MathSolverAI

Math guide

Build a perfect square deliberately.

Rewrite a quadratic as a perfect square without changing its solutions.

For x² + bx, add (b/2)² to form (x + b/2)². Add the same amount to both sides, then use square roots and remember both signs.

Reviewed 2026-09-12 · MathSolverAI 0.4.0

Worked example

x² + 6x − 7 = 0

  1. Move the constant: x² + 6x = 7.
  2. Add 9 to both sides: x² + 6x + 9 = 16.
  3. Rewrite: (x + 3)² = 16.
  4. Take both square roots: x + 3 = ±4, so x = 1 or x = −7.

Keep learning