How do you solve x2−4x+7=0 by completing the square?
1 Answer
Aug 10, 2017
Explanation:
Given:
x2−4x+7=0
While completing the square we will find that this takes the form of the sum of a square and a positive number. As a result it has no solution in real numbers, but we can solve it using complex numbers.
The imaginary unit
The difference of squares identity can be written:
a2−b2=(a−b)(a+b)
We can use this with
0=x2−4x+7
0=x2−4x+4+3
0=(x−2)2+(√3)2
0=(x−2)2−(√3i)2
0=((x−2)−√3i)((x−2)+√3i)
0=(x−2−√3i)(x−2+√3i)
Hence the two roots are:
x=2+√3i andx=2−√3i