So far we have considered quadratic expressions with no linear
x term. In this video we show how to handle expressions like
√x2+4x−5 or x2+2x+5. The key is to complete the square.
Recall that any quadratic polynomial x2+bx+c can be
converted to a perfect square plus a constant term. x2+bx+c=(x+b2)2+c−(b2)2=(x+b2)2+(c−b24)
This works since when we square
x+b2 we get x2+bx+(b2)2 and we
must subtract the extra term (b2)2.
Examples of completing the square
x2−6x+5=(x−62)2+5−(62)2=(x−3)2+5−9=(x−3)2−4
2−8x−x2=−(x2+8x−2)=−((x+82)2−2−(8/2)2)=−((x+82)2−2−16)=18−(x+4)2
Notice: we must have the coefficient of the
quadratic term, x2, equal to one, so we factored out the
minus.
DO: Complete the square for
x2+2x+5 and 5−4x−x2. These are computed in the video
so you can check your work when you watch it.
There are two ways to integrate after completing the
square. One is to do a u-substitution first, substituting
u=x+b2, and make the stubstitution. After the
u-sub we will have an obvious trig substitution integrand.
The second method skips the u-sub, and does the trig
substitution on the completed square. The video uses the
second method.
Example of u-substitution before doing trig
substitution
In the video above, we completed the square to get
∫dxx2+2x+5=∫dx(x+1)2+4
We want the form x2+a2, or after the substitution,
u2+a2. Set u=(x+1). DO:
Do this u-sub, and then try to work this through before
looking ahead.