Quadratic formula — derivation by completing the square
The standard quadratic equation
Why these letters? Convention: multiplies the squared term, the linear term, is the constant. The restriction ensures we actually have an term.
Derivation from first principles
Step 1: Normalize the leading coefficient
Start with:
Why this step? Completing the square is easiest when the coefficient of is 1. We divide everything by :
What did we do? Divided both sides by (legal since ). Now the term has coefficient 1.
Step 2: Isolate the terms with
Move the constant to the right:
Why? We need space on the left to add the "completing the square" term.
Step 3: Complete the square
Why this magic number? Because . If we want the middle term to be , we need , so . Then the constant term must be .
In our case, , so we add to both sides:
What's happening? Left side is now a perfect square: .
Step 4: Recognize the perfect square
How do we know? Expand . ✓
Step 5: Simplify the right side
Get a common denominator:
Why combine? So we can take the square root cleanly.
Now we have:
Step 6: Take square roots
Why ? Because if , then (two solutions).
Simplify the square root:
Since we typically write the formula with (not ), and the covers both signs:
Step 7: Solve for
Combine the fractions:
What does this mean? For any quadratic , plug in , and you get the two solutions (or one repeated solution if the discriminant is zero).

The discriminant
Why? The discriminant is inside the square root. If it's negative, isn't real.
Worked examples
Identify coefficients: , , .
Apply formula:
Why this step? Substitute directly into the quadratic formula.
Evaluate both solutions:
Check: ✓, and ✓
Coefficients: , , .
Discriminant: .
Why check discriminant? tells us there's exactly one solution (a repeated root).
Apply formula:
Notice: This is , which factors perfectly.
Coefficients: , , .
Apply formula:
Why this step? Carefully handle the negative and the in the denominator.
Two solutions:
Check: ✓
Coefficients: , , .
Discriminant: .
What does this mean? No real solutions. In complex numbers:
Common mistakes
Why it feels right: You see and just copy it.
The fix: The formula is , not . Here , so . Always identify first, then negate it.
Why it feels right: The numerator gets all the attention; the denominator is easy to overlook.
The fix: Write the full formula structure first: . The ENTIRE numerator (including the part) is divided by , not just part of it.
Why it feels right: "You can't take the square root of a negative number" in real numbers.
The fix: Specify "no real solutions." There ARE solutions in the complex numbers: . The quadratic always has two roots (counting multiplicity) in .
Why it feels right: Forgetting that multiplying by a negative introduces a sign change.
The fix: . Always compute first, then subtract it: .
Connections
- Completing the square technique
- Perfect square trinomials
- Discriminant and nature of roots
- Factoring quadratics
- Complex numbers and quadratic equations
- Parabola and its vertex form
- Vieta's formulas for sum and product of roots
- Quadratic inequalities
Or visually: the formula is a fraction with on bottom, and on top you have "opposite of " plus/minus a square root containing " squared minus four--."
Recall Explain to a 12-year-old
Imagine you have a mystery number , and someone tells you: "If you square it, multiply it by something, add another multiple of it, and add a constant, you get zero." That sounds complicated! But here's the magic trick:
We reshape the equation by completing the square—it's like rearranging puzzle pieces so they fit into a perfect square shape, like . Once we have that, we can "undo" the square by taking a square root, which is way easier than trying to guess .
The quadratic formula is the final answer to this puzzle. You just plug in three numbers (, , ) from your equation, and it spits out the mystery number . Sometimes you get two answers (the parabola crosses the -axis twice), sometimes one (it just touches), and sometimes none in regular numbers (it never crosses, but you can use imaginary numbers).
The coolest part? This formula works for any quadratic, no matter how messy the numbers are!
#flashcards/maths
What is the quadratic formula?
Why do we divide by in the first step of completing the square?
What number do we add to both sides to complete the square for ?
What is the discriminant of a quadratic equation?
If , what does that tell us about the roots?
If , what does that tell us about the roots?
If , what does that tell us about the roots?
In the quadratic formula, why is there a sign?
What must be true about in ?
If in , what is in the quadratic formula?
Concept Map
Hinglish (regional understanding)
Intuition Hinglish mein samjho
Hinglish (regional understanding)
Intuition Hinglish mein samjho
Dekho beta, yahan pe core idea ye hai ki jab humein jaise quadratic equation solve karni ho, to problem ye hoti hai ki do jagah aata hai — ek baar squared aur ek baar linear form mein. Isko seedha solve karna mushkil hai. To hum ek smart trick use karte hain jise completing the square kehte hain. Iska matlab hai ki hum left side ko ek perfect square, matlab ke form mein badal dete hain. Ek baar perfect square ban gaya, to hum dono taraf square root le sakte hain aur ko aaram se alag kar sakte hain. Bilkul jaise ek uljhi hui knot ko suljhaana — usko ek simple loop mein reshape kar do.
Ab step-by-step derivation ka intuition ye hai: pehle hum poori equation ko se divide karte hain taaki ka coefficient 1 ban jaaye (kyunki square banana tab easy hota hai). Phir constant ko right side bhej dete hain. Uske baad wo magic number dono taraf add karte hain — ye number randomly nahi aata, ye isliye aata hai kyunki , aur middle term match karane ke liye lena padta hai. Bas isi se pura left side perfect square ban jaata hai, aur square root lekar humein wo famous quadratic formula mil jaati hai: .
Ye important isliye hai kyunki ek baar formula yaad ho gaya, to tumhe kisi bhi quadratic equation ke liye completing the square baar-baar karne ki zaroorat nahi — sirf plug karo aur answer aa jaayega. Aur us formula ke andar jo term hai, use discriminant kehte hain — ye batata hai ki roots real honge, repeated honge ya complex. Exam mein ye directly kaam aata hai, aur samajhne ke baad tumhe rote yaad karne ki tension bhi nahi rahegi, kyunki tumhe pata hoga ye formula kahaan se aayi.