Quadratic formula

Every quadratic equation ax2+bx+c=0ax^2+bx+c=0 can be solved by one formula, without factorising or completing the square each time: x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}. It is the third and most general method in the CBSE Class 10 Quadratic Equations chapter, and the one that never fails — even when the roots are irrational, negative, or too messy to spot by inspection. This article shows where the formula comes from, works through a numeric equation and a mensuration word problem end to end, and flags the sign and simplification slips that lose the most marks. The quantity under the square root, b2−4acb^2-4ac, is the discriminant — it decides whether real roots exist at all, and is the bridge to the next topic in the chapter.

The core insight

The roots of any quadratic ax2+bx+c=0ax^2+bx+c=0 are x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a}, obtained once and for all by completing the square on the general equation.

The core idea

For a quadratic equation in standard form ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq 0, the roots are given directly by:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

where: aa, bb, cc are the coefficients of x2x^2, xx, and the constant term respectively, and the ±\pm produces the two roots, x=−b+b2−4ac2ax = \dfrac{-b+\sqrt{b^2-4ac}}{2a} and x=−b−b2−4ac2ax = \dfrac{-b-\sqrt{b^2-4ac}}{2a}. The expression under the root, b2−4acb^2-4ac, is called the discriminant, written DD:

D=b2−4acD = b^2 - 4ac

If D≥0D \ge 0, a real square root exists and both roots above are real numbers. If D<0D < 0, no real square root exists, so the equation has no real roots — the full three-way split into D>0D>0, D=0D=0, and D<0D<0 belongs to the next article on the discriminant. The formula itself is not a separate trick to memorise blindly: it is the result of completing the square on ax2+bx+c=0ax^2+bx+c=0, carried out once so the same steps never have to be repeated for a new equation. The reliable method is: write the equation in standard form, read off aa, bb, cc carefully (watch every sign), substitute into the formula, simplify the discriminant, then simplify the surd and the fraction. The great advantage of the quadratic formula over factorisation or completing the square is that it works on every quadratic equation, including those whose roots are irrational or involve messy fractions — situations where hunting for a matching pair of integer factors would fail or waste time. This makes it the most dependable method under exam conditions: even when a quick factorisation is visible, applying the formula as a backup check on the answer is good practice, especially when time is short. Because it is derived once from the general equation, it never needs to be re-derived; the discriminant b2−4acb^2-4ac inside it is not an isolated new quantity to memorise separately but simply the part of the formula that decides whether the square root produces two distinct real numbers, one repeated real number, or no real number at all.

Figure
A number line showing three cases of the discriminant deciding how many real roots a quadratic has
The discriminant D = b squared minus 4ac decides the roots D D less than 0 no real roots D equals 0 one repeated real root D greater than 0 two distinct real roots x equals negative b plus or minus square root of D, all over 2a
Derivation AThe quadratic formula by completing the square

The goal is to start from the fully general equation ax2+bx+c=0ax^2+bx+c=0 with a≠0a\neq0 and, using only the algebra of completing the square already learned earlier in this chapter, arrive at the formula x=−b±b2−4ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a} that works for every quadratic equation without exception.

Step 1. Divide the whole equation by aa (allowed since a≠0a\neq0) to make the leading coefficient 1: x2+bax+ca=0x^2 + \dfrac{b}{a}x + \dfrac{c}{a} = 0. This puts the equation in the form completing the square is designed for.

Step 2. Move the constant term to the right side: x2+bax=−cax^2 + \dfrac{b}{a}x = -\dfrac{c}{a}. Now add the square of half the coefficient of xx, namely (b2a)2\left(\dfrac{b}{2a}\right)^2, to both sides so the left side becomes a perfect square: x2+bax+(b2a)2=(b2a)2−cax^2 + \dfrac{b}{a}x + \left(\dfrac{b}{2a}\right)^2 = \left(\dfrac{b}{2a}\right)^2 - \dfrac{c}{a}.

Step 3. Write the left side as a single squared bracket: (x+b2a)2=b24a2−ca=b2−4ac4a2\left(x + \dfrac{b}{2a}\right)^2 = \dfrac{b^2}{4a^2} - \dfrac{c}{a} = \dfrac{b^2 - 4ac}{4a^2}, combining the two fractions on the right over the common denominator 4a24a^2.

Step 4. Take the square root of both sides, keeping both signs: x+b2a=±b2−4ac2ax + \dfrac{b}{2a} = \pm\dfrac{\sqrt{b^2-4ac}}{2a}. Then isolate xx by subtracting b2a\dfrac{b}{2a}: x=−b±b2−4ac2ax = \dfrac{-b \pm \sqrt{b^2-4ac}}{2a} — the quadratic formula, valid for any aa, bb, cc with a≠0a \neq 0.

Worked example

Solve 3x2−5x−2=03x^2 - 5x - 2 = 0 using the quadratic formula.

Step 1. Identify the coefficients from the standard form ax2+bx+c=0ax^2+bx+c=0: a=3a = 3, b=−5b = -5, c=−2c = -2.

Step 2. Compute the discriminant: b2−4ac=(−5)2−4(3)(−2)=25+24=49b^2 - 4ac = (-5)^2 - 4(3)(-2) = 25 + 24 = 49. Since D=49>0D = 49 > 0, expect two distinct real roots, and since 4949 is a perfect square, expect them to be rational.

Step 3. Substitute into the formula: x=−(−5)±492(3)=5±76x = \dfrac{-(-5) \pm \sqrt{49}}{2(3)} = \dfrac{5 \pm 7}{6}.

Step 4. Compute both roots separately: x=5+76=126=2x = \dfrac{5+7}{6} = \dfrac{12}{6} = 2 and x=5−76=−26=−13x = \dfrac{5-7}{6} = \dfrac{-2}{6} = -\dfrac{1}{3}. Roots: x=2x = 2 or x=−13x = -\dfrac{1}{3}. Check: 3(2)2−5(2)−2=12−10−2=03(2)^2-5(2)-2 = 12-10-2=0 and 3(−13)2−5(−13)−2=13+53−2=03\left(-\tfrac13\right)^2-5\left(-\tfrac13\right)-2 = \tfrac13+\tfrac53-2 = 0, confirming both roots.

Competitive stretch

A rectangular park has length 4 m more than its breadth, and area 96 m². Find its dimensions.

Step 1. Let breadth =x=x m, so length =(x+4)=(x+4) m, and area gives x(x+4)=96x(x+4) = 96, i.e. x2+4x−96=0x^2+4x-96=0, with a=1a=1, b=4b=4, c=−96c=-96.

Step 2. Discriminant: b2−4ac=16−4(1)(−96)=16+384=400b^2-4ac = 16 - 4(1)(-96) = 16+384=400. Applying the formula: x=−4±4002=−4±202x = \dfrac{-4 \pm \sqrt{400}}{2} = \dfrac{-4\pm20}{2}, giving x=8x=8 or x=−12x=-12.

Step 3. Breadth cannot be negative, so reject x=−12x=-12 and take x=8x=8. Breadth =8=8 m, length =12=12 m (check: 8×12=968\times12=96 m²). These two worked cases show the same pattern that appears across the chapter's problem set: a purely numeric equation checks that the mechanics of substitution and surd-simplification are solid, while a mensuration or motion word problem checks that the equation can be set up correctly first, and that the final answer is filtered through common sense about what the unknown represents.

Common traps

  • Sign errors when substituting bb and cc. A negative bb or cc must be carried carefully into −b-b, b2b^2, and −4ac-4ac; this is the single most common source of wrong roots.
  • Forgetting the ±\pm. Both roots must be written out; stopping after computing one value of xx loses a root.
  • Simplifying b2−4ac\sqrt{b^2-4ac} incorrectly, such as treating 49\sqrt{49} as anything other than 77, or leaving a simplifiable surd like 20=25\sqrt{20}=2\sqrt5 un-simplified.
  • Not rejecting invalid roots in word problems. Lengths, breadths, ages, speeds, and counts of people must be positive; discard the mathematically valid root that fails this physical check.

Ask the tutor: Want to practise plugging tricky negative coefficients into the quadratic formula without sign slips, or need help setting up a word problem as an equation first? Ask the AI tutor for guided practice.

Do I always have to use the quadratic formula, even when factorisation looks easy?

No — if you can spot two numbers that factorise the equation quickly, factorisation is faster. But the quadratic formula always works, including when the roots are irrational, negative, or fractional and factorisation would take a long time to find (or wouldn't work at all, as with irrational roots). Many students use factorisation when it's obvious and keep the formula as a reliable backup, or as a quick way to check an answer under exam time pressure.

What does it mean if the number under the square root, the discriminant, comes out negative?

It means the equation has no real roots — you cannot take the square root of a negative number within real numbers, so there is no real value of xx that satisfies the equation. In the CBSE Class 10 syllabus, this is exactly the case D<0D<0 studied in the next article on the discriminant, where the three cases D>0D>0, D=0D=0, and D<0D<0 are classified fully alongside how many real roots each gives.

In word problems, why do I sometimes get two valid-looking roots but only keep one?

The quadratic formula solves the equation mathematically and gives every value of xx that satisfies it, but not every mathematical root fits the real-world situation described. If xx represents a length, breadth, age, speed, or a count of people, it must be positive (and often a sensible size), so any root that is negative, or otherwise impossible for the quantity described, is rejected even though it correctly solves the equation. Always re-read the problem statement before finalising an answer.

Before this

Where this leads