Completing the square is a technique of elementary algebra wherein an expression
- x2 + bx
is replaced by one of the form
- (x + c)2 + d.
Specifically, we have
See quadratic equation.
Example
A simple example is this.
- x2 + 4x = (x + 2)2 - c = (x2 + 4x + 4) - 4
Now, consider the problem of finding this antiderivative:
The denominator is
- 9x2 - 90x + 241 = 9(x2 - 10x) + 241.
Adding (10/2)2 = 25 to x2 - 10x gives a perfect square x2 - 10x + 25 = (x - 5)2. So we get
- 9(x2 - 10x) + 241 = 9(x2 - 10x + 25) + 241 - 9(25) = 9(x - 5)2 + 16.
Our integral becomes
Completing the square reduces any problem involving a quadratic polynomial to one involving a square quadratic polynomial and a constant.
External link