The quadratic equation, step by step

Discriminant, quadratic formula, sum and product, and incomplete equations, with every question solved line by line.

Free and without ads.

See a worked solution

Quadratic equation

x2−5x+6=0x^2 - 5x + 6 = 0
  1. Δ=(−5)2−4⋅1⋅6\displaystyle \Delta = (-5)^2 - 4 \cdot 1 \cdot 6
  2. Δ=25−24=1\displaystyle \Delta = 25 - 24 = 1
  3. x=5±12\displaystyle x = \frac{5 \pm 1}{2}

Answer x1=2,  x2=3x_1 = 2,\; x_2 = 3

Percentage

15%⋅24015\% \cdot 240
  1. 10%⋅240=24\displaystyle 10\% \cdot 240 = 24
  2. 5%⋅240=12\displaystyle 5\% \cdot 240 = 12
  3. 24+12\displaystyle 24 + 12

Answer 3636

Fractions

23+14\frac{2}{3} + \frac{1}{4}
  1. lcm⁡(3,4)=12\displaystyle \operatorname{lcm}(3, 4) = 12
  2. 812+312\displaystyle \frac{8}{12} + \frac{3}{12}
  3. 8+312\displaystyle \frac{8 + 3}{12}

Answer 1112\frac{11}{12}

Rule of three

x12=4520\frac{x}{12} = \frac{45}{20}
  1. 20x=12⋅45\displaystyle 20x = 12 \cdot 45
  2. 20x=540\displaystyle 20x = 540
  3. x=54020\displaystyle x = \frac{540}{20}

Answer x=27x = 27

Logarithm

log⁡248−log⁡23\log_2 48 - \log_2 3
  1. log⁡2483\displaystyle \log_2 \frac{48}{3}
  2. log⁡216\displaystyle \log_2 16
  3. 16=24\displaystyle 16 = 2^4

Answer 44

What you get

Worked examples

The three cases of the discriminant: two roots, a double root and no real roots.

Two real roots (Δ > 0)

2x2+3x−2=02x^2 + 3x - 2 = 0
  1. a=2, b=3, c=−2\displaystyle a = 2,\ b = 3,\ c = -2

    Identify the coefficients along with the sign of each one.

  2. Δ=b2−4ac=9−4⋅2⋅(−2)=25\displaystyle \Delta = b^2 - 4ac = 9 - 4\cdot 2\cdot(-2) = 25

    Since c is negative, −4ac becomes positive and adds.

  3. x=−b±Δ2a=−3±54\displaystyle x = \frac{-b \pm \sqrt{\Delta}}{2a} = \frac{-3 \pm 5}{4}

    The quadratic formula with √25 = 5.

Answer x1=12,x2=−2x_1 = \tfrac{1}{2},\quad x_2 = -2

Double root (Δ = 0)

x2−4x+4=0x^2 - 4x + 4 = 0
  1. Δ=(−4)2−4⋅1⋅4=0\displaystyle \Delta = (-4)^2 - 4\cdot 1\cdot 4 = 0

    A zero discriminant: the two roots coincide.

  2. x=4±02\displaystyle x = \frac{4 \pm 0}{2}

    The ± changes nothing when √Δ = 0.

Answer x=2x = 2

No real roots (Δ < 0)

x2+2x+5=0x^2 + 2x + 5 = 0
  1. Δ=22−4⋅1⋅5=−16\displaystyle \Delta = 2^2 - 4\cdot 1\cdot 5 = -16

    A negative discriminant.

  2. −16∉R\displaystyle \sqrt{-16} \notin \mathbb{R}

    A negative number has no real square root, so the parabola does not cross the x-axis.

Answer S=∅ in RS = \varnothing \text{ in } \mathbb{R}

Frequently asked questions about the quadratic equation

What is the quadratic formula?

For ax² + bx + c = 0 with a ≠ 0, x = (−b ± √Δ) / 2a, where Δ = b² − 4ac is the discriminant.

What does the discriminant Δ tell you?

If Δ > 0, there are two different real roots; if Δ = 0, one double real root; if Δ < 0, no real roots (the roots are complex).

How do I solve an incomplete equation without the formula?

If b = 0, isolate x²: in x² − 9 = 0, x² = 9 and x = ±3. If c = 0, factor out x: in x² − 5x = 0, x(x − 5) = 0 and x = 0 or x = 5.

When should I use sum and product?

When the roots are integers and easy to find: they add up to −b/a and multiply to c/a. In x² − 5x + 6 = 0, the numbers that add up to 5 and multiply to 6 are 2 and 3.

Is it free?

Yes. The lessons are free and without ads, on your phone or computer.

Do the first lesson