Question
Given the general quadratic equation:
ax2+bx+c=0 Derive the quadratic formula:
x=2a−b±b2−4ac Solution
∴ax2+bx+c=0x2+abx+ac=0
If complete squares are of the form:
x2+2ax+a2=(x+a)2
Then, constant a2=[22a]2
And complete squares become:
x2+2ax+[22a]2=(x+a)2
For the second equation above, this gives:
x2+abx+[ab×21]2+ac=[ab×21]2
x2+abx+4a2b2+ac=4a2b2
x2+abx+4a2b2=4a2b2−ac
Now the left hand side is a perfect square.
[x+2ab]2=4a2b2−ac
x+2ab=±4a2b2−ac
x+2ab=±4a2b2−4a24ac
x+2ab=±4a2b2−4ac
x+2ab=±2ab2−4ac
x=2a−b±2ab2−4ac
x=2a−b±b2−4ac
Voila.