Math Lab
Home/Class X/Ch 4/Quadratic formula

Quadratic formula

After factorisation (when it works) and completing the square (which always works but is slow), the quadratic formula is the practical workhorse for solving quadratics.

The formula

For ax2+bx+c=0a x^2 + b x + c = 0 with a0a \ne 0, x=b±b24ac2a.\boxed{x = \frac{-b \pm \sqrt{b^2 - 4 a c}}{2 a}.}

The number D=b24acD = b^2 - 4 a c under the square root is called the discriminant.

How to use

  1. Bring the equation into standard form ax2+bx+c=0a x^2 + b x + c = 0.
  2. Identify a,b,ca, b, c , be careful with signs.
  3. Compute the discriminant D=b24acD = b^2 - 4 a c.
  4. If D<0D < 0: no real roots, stop.
  5. If D0D \ge 0: roots are x=b+D2ax = \dfrac{-b + \sqrt{D}}{2 a} and x=bD2ax = \dfrac{-b - \sqrt{D}}{2 a}.

A few tips:

  • Always double-check signs of bb and cc before computing the discriminant.
  • If the equation has decimal or fractional coefficients, multiply through to clear them , the formula behaves better with integers.
  • If the radical D\sqrt{D} is not a perfect square, leave it in surd form unless the problem asks for a decimal.

Worked examples

Example 1. Solve 2x25x+3=02 x^2 - 5 x + 3 = 0.

a=2,b=5,c=3a = 2, b = -5, c = 3. D=2524=1D = 25 - 24 = 1.

x=5±14=3/2,1x = \dfrac{5 \pm 1}{4} = 3/2, 1.

Example 2. Solve 3x26x+2=03 x^2 - 6 x + 2 = 0.

a=3,b=6,c=2a = 3, b = -6, c = 2. D=3624=12D = 36 - 24 = 12. D=23\sqrt{D} = 2 \sqrt{3}.

x=6±236=1±33x = \dfrac{6 \pm 2\sqrt{3}}{6} = 1 \pm \dfrac{\sqrt{3}}{3}, i.e., x=1±13x = 1 \pm \dfrac{1}{\sqrt{3}}.

Example 3. Solve x2+x+1=0x^2 + x + 1 = 0.

D=14=3<0D = 1 - 4 = -3 < 0. No real roots.

Example 4. Solve 4x2+43x+3=04 x^2 + 4 \sqrt{3} x + 3 = 0.

a=4,b=43,c=3a = 4, b = 4 \sqrt{3}, c = 3. D=4848=0D = 48 - 48 = 0. Repeated root x=b/(2a)=43/8=3/2x = -b/(2 a) = -4 \sqrt{3}/8 = -\sqrt{3}/2.

Example 5. Solve 3x2+10x+73=0\sqrt{3} x^2 + 10 x + 7 \sqrt{3} = 0.

a=3,b=10,c=73a = \sqrt{3}, b = 10, c = 7 \sqrt{3}. D=1004373=10084=16D = 100 - 4 \sqrt{3} \cdot 7 \sqrt{3} = 100 - 84 = 16. D=4\sqrt{D} = 4.

x=10±423=623,1423=3,733=3,73x = \dfrac{-10 \pm 4}{2 \sqrt{3}} = \dfrac{-6}{2 \sqrt{3}}, \dfrac{-14}{2 \sqrt{3}} = -\sqrt{3}, -\dfrac{7 \sqrt{3}}{3} = -\sqrt{3}, -\dfrac{7}{\sqrt{3}}.

(Rationalising, the second root is 733-\dfrac{7 \sqrt{3}}{3}.)

Try it yourself

  1. Solve: x27x+12=0x^2 - 7 x + 12 = 0 using the formula.
  2. Solve: x24x+1=0x^2 - 4 x + 1 = 0.
  3. Solve: 4x24a2x+(a4b4)=04 x^2 - 4 a^2 x + (a^4 - b^4) = 0.
  4. Solve: x2+22x6=0x^2 + 2 \sqrt{2} x - 6 = 0.
  5. Solve: 2x2+x4=02 x^2 + x - 4 = 0.
  6. Solve: 5x23x2=05 x^2 - 3 x - 2 = 0.
  7. Solve: 3x2+25x5=03 x^2 + 2 \sqrt{5} x - 5 = 0.
  8. For ax2+bx+c=0a x^2 + b x + c = 0, what does D>0D > 0 tell you? D=0D = 0? D<0D < 0?
  9. Solve: 1x11x+5=67\dfrac{1}{x - 1} - \dfrac{1}{x + 5} = \dfrac{6}{7}.
  10. A train, travelling at a uniform speed for 360360 km, would have taken 4848 minutes less to travel the same distance if its speed were 55 km/h more. Set up a quadratic and solve.

Pitfalls / Insight

  • Sign of bb. A typical mistake is plugging b=5b = 5 instead of b=5b = -5 when the equation has 5x-5 x.
  • Discriminant under the square root , never take the root before computing the discriminant carefully.
  • Surds and rationalisation , write the final answer in simplest form. Convert 13\dfrac{1}{\sqrt{3}} to 33\dfrac{\sqrt{3}}{3} if asked.

Insight. The quadratic formula is the tool. If you can't see a clean factorisation in 1515 seconds, switch to the formula , and let the discriminant tell you what kind of answer to expect.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Quadratic formula
6 questions · pick the best answer
Q1

Roots of 2x25x+3=02x^2 - 5x + 3 = 0 by formula:

Q2

For 3x26x+2=03x^2 - 6x + 2 = 0, roots are:

Q3

In the formula, the sign ±\pm comes from:

Q4

x2+x+1=0x^2 + x + 1 = 0 has:

Q5

If D=25D = 25 for x2+bx+c=0x^2 + bx + c = 0, then D=5\sqrt{D} = 5 and roots differ by:

Q6

For 4x2+43x+3=04x^2 + 4\sqrt{3} x + 3 = 0: D=D = :