KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Solve by Completing the Square

Complete the square in ax²+bx+c=0 and find both real or complex roots for a nonzero a.

Shift h

-31
Constant k
-4 1
Real part R₊
-1 1
Real part R₋
-5 1
Imaginary magnitude I
0 1

Formula

a(x−h)²+k=0; h=−b/(2a); k=c−b²/(4a).

Shift h ≈ -(6)÷(2×(1)) · Constant k ≈ (5)-(6)^2÷(4×(1)) · Real part R₊ ≈ (-3)+(2) · Real part R₋ ≈ (-3)-(2) · Imaginary magnitude I ≈ sqrt((abs((4))-(4))÷2)

How to use

  1. Enter a, b and c; a must not be zero.
  2. Read h and k in the completed square.
  3. Read roots as R₊+iI and R₋−iI.

Examples

  • x²+6x+5=0 becomes (x+3)²=4, giving −1 and −5.

Frequently asked questions

What does I mean?

I is the nonnegative imaginary magnitude. When I=0, both roots are real.

How is the square solved?

Rearrange to (x−h)²=−k/a, then take both square roots.

Can the roots be equal?

Yes. When k=0, both roots equal h.

Sources

Updated:

Related tools

Search conversion tools