In the previous post, we introduced complex numbers and organized their operations.
Now we return to quadratic equations and write their solutions in a general form.
Derive the quadratic formula by completing the square, so we can solve quadratic equations even when factoring does not work immediately.
Let us fix the flow first.
Some quadratic equations are easy to solve by factoring.
But not every quadratic equation factors neatly.
So we need one method that works in general.
The result of organizing that method is the quadratic formula.
1. Why Do We Need the Quadratic Formula?
For example,
x2−5x+6=0
factors as
(x−2)(x−3)=0,
so we immediately get x=2 and x=3.
But now consider
2x2−3x+7=0.
At that point, factoring is no longer something we can read off comfortably.
So the real question is this:
Can we always solve a quadratic equation, even when factoring is not obvious?
The quadratic formula is the answer to that question.
2. Start from the General Form
The general quadratic equation is
ax2+bx+c=0(a=0).
We require a=0 because if a=0, then the x2 term disappears and the equation is no longer quadratic.
In this post, we work within the real and complex number systems.
So our goal is clear:
Express the solutions of ax2+bx+c=0 in terms of a, b, and c.
The key method is completing the square.
3. Deriving the Quadratic Formula by Completing the Square
Start with
ax2+bx+c=0.
Since a=0, divide both sides by a:
x2+abx+ac=0.
Move the constant term to the right:
x2+abx=−ac.
Now we want the left side to become a perfect square.
3-1. What Should We Add?
In general, to turn
x2+px
into a perfect square, we add
(2p)2,
because
(x+2p)2=x2+2⋅x⋅2p+(2p)2=x2+px+(2p)2.
Here p=ab, so we add
(2ab)2
to both sides:
x2+abx+(2ab)2=−ac+(2ab)2.
The left side becomes
(x+2ab)2.
On the right side, we can first rewrite
−ac=−4a24ac.
Then using a common denominator gives
4a2−4ac+b2=4a2b2−4ac.
So we obtain
(x+2ab)2=4a2b2−4ac.
3-2. Take Square Roots and Isolate x
Taking square roots on both sides gives two possibilities, so the symbol ± appears:
x+2ab=±2ab2−4ac.
Now move 2ab to the right:
x=2a−b±b2−4ac.
That is the quadratic formula.
4. What Does the Formula Tell Us?
The formula
x=2a−b±b2−4ac
shows the solutions of a quadratic equation all at once.
The part we should especially notice is
b2−4ac.
This quantity is called the discriminant.
Depending on whether this value is positive, zero, or negative, the shape of the roots changes.
In a short preview:
if the discriminant is positive, there are two distinct real roots
if it is 0, there is one repeated real root
if it is negative, there are two complex conjugate roots
We will study that part carefully in the next post.
For now, two points matter most:
the roots of a quadratic equation can be expressed generally in terms of a, b, and c
even when a real-number solution stops working, the formula can continue into complex numbers
For example, in x2−4x+5=0, the discriminant is negative, so the roots are not real but complex: 2±i.
This is easier to feel once you actually change the coefficients and watch the discriminant, roots, and graph behavior move together.
As you try it, pay special attention to how the roots change when the discriminant becomes positive, zero, or negative.
Quadratic Root Explorer
See coefficients, discriminant, roots, and graph behavior together
Explorer
Coefficients
Current preset
Equation
x^2 - 5x + 6 = 0
Discriminant
D = b^2 - 4ac = (-5)^2 - 4\cdot 1 \cdot 6 = 1
Roots
Two distinct real roots
x = 3,\; 2
Interpretation
The graph crosses the x-axis at two points.
Vertex: (2.5, -0.25)
Graph view
5. Examples Make the Meaning Clearer
5-1. A Case That Also Factors
Consider
x2−5x+6=0.
Here,
a=1,b=−5,c=6.
Substitute into the formula:
x=2⋅1−(−5)±(−5)2−4⋅1⋅6.
So
x=25±25−24=25±1,
which gives
x=3,x=2.
Even when factoring already works, the quadratic formula gives the same answer.
So the formula is not a trick for rare cases. It is the general method that covers the whole topic.
5-2. A Case with Complex Roots
Now consider
x2−4x+5=0.
Then
a=1,b=−4,c=5,
so
x=2⋅1−(−4)±(−4)2−4⋅1⋅5.
Simplifying gives
x=24±16−20=24±−4.
In the complex number system,
−4=4⋅(−1)=2−1=2i,
so
x=24±2i=2±i.
This shows that the quadratic formula is not only for real roots.
It organizes the full set of roots, including complex ones.
6. Common Mistakes
The formula is powerful, but substitution errors happen often.
6-1. Losing the Sign of b
The formula uses −b.
So if b=−5, then −b=5.
If we lose that sign, the whole answer changes.
6-2. Squaring b Incorrectly
If b=−4, then
b2=(−4)2=16.
We must square the whole number, not just attach a minus sign carelessly.
6-3. Forgetting That 2a Divides the Entire Numerator
In
2a−b±b2−4ac,
the denominator 2a divides both terms in the numerator.
For example,
24±2i
becomes 2±i, not 4±i.
7. Key Takeaways
The general quadratic equation is ax2+bx+c=0 with a=0.
When factoring is not obvious, we build a general method by completing the square.
That method produces x=2a−b±b2−4ac.
The quadratic formula covers both factorable cases and cases with complex roots.
The expression b2−4ac is especially important because it controls the nature of the roots.
In the next post, we will study exactly what b2−4ac tells us, that is, how the discriminant organizes the number and type of roots.
One-line conclusion:
The quadratic formula is not a backup trick for when factoring fails. It is the general method that organizes the roots of every quadratic equation at once.
💬 댓글
이 글에 대한 의견을 남겨주세요