1.3.1 Solution of Quadratic Equations by Completing the Square
Complex Numbers
As we learned in previous classes, completing the square is a powerful and systematic method for solving quadratic equations. The technique rewrites a quadratic equation ax2+bx+c=0 as a perfect square trinomial, which can then be solved by taking the square root of both sides. It is especially valuable when the quadratic does not factor easily: by completing the square we can solve any quadratic equation, even one with irrational or complex roots.
. If we have
z2−2hz
, adding
h2
completes the square. The number to add is (half the coefficient of
z
)
2
.
Steps:
1. Make the coefficient of
z2
equal to 1 (divide by
a
).
2. Move the constant term to the right side.
3. Add (half the coefficient of
z
)
2
to both sides.
4. Write the left side as
(z−h)2
and take the square root with
±
.
5. If the right side is negative, use
−k=ik
: the roots are complex.
Worked example
Example 10
Solve the equation 2z2−12z+50=0 by completing square method and hence express it as a product of its linear factors.
Given: 2z2−12z+50=0.
To find: its roots by completing the square, and then 2z2−12z+50 as a product of linear factors.
Method: make the coefficient of z2 equal to 1, add (half the coefficient of z)2 to both sides to get a perfect square, take square roots; then use the corollary P(z)=a(z−z1)(z−z2).
Divide both sides by 2z2−6z+25=0Why: completing the square is easiest when the coefficient of z2 is 1.
Move the constant and rewrite the middle termz2−2(3)z=−25Why: writing −6z as −2(3)z
Add 32 on both sidesz2−2(3)z+32=−25+32
Take the square rootz−3=±−16−16=16−1=4i
State the roots
z=3+4i or z=3−4i are the required complex roots.
Why: a quadratic has exactly two roots in C (Fundamental theorem of algebra).
Factorize using the corollary2z2−12z+50=2(z2−6z+25)
Check:(z−3−4i)(z−3+4i)=(z−3)2−(4i)2
Answer: z=3±4i; 2z2−12z+50=2(z−3−4i)(z−3+4i)
matches the pattern
z2−2hz+h2=(z−h)2
with
h=3
.
(z−3)2=−16
Why: adding the same number to both sides keeps the equation true, and the left side becomes a perfect square.
z=3±4i
Why: a negative number under the square root gives an imaginary number;