This equality is true as functions, i.e., no matter what you plug in for x, the equality is still true. That's going to be our main strategy for solving for these coefficients.
So, our partial fraction decomposition tells us that
∫(x+1)(x2−2x+6)9dx=∫x+11+x2−2x+6−x+3dx.
We know how to integrate the first term:
∫x+1dx=ln∣x+1∣+C,
so we need to figure out how to do the second one.
Our goal is to use the u-substitution u=x2−2x+6⟹du=2x−2dx. In order to be able to use it, we need to get 2x−2 into the numerator somehow. What we're going to do is force the situation that we want by multiplying by 1 and adding by 0:
You're (hopefully) familiar with the Riemann integral: for a function continuous on an interval [a,b], we can calculate its definite integral on this interval:
∫abf(x)dx.
The idea of improper integrals is to look at integrals where f may not be defined on all of [a,b], or integrals where b=∞:
Definition
Let f(x) be a function. If f is not defined at a, then we have the following improper integral of f:
∫abf(x)dx=t→a+lim∫tbf(x)dx.
Similarly, if f is not defined at b, then
∫abf(x)dx=t→b−lim∫atf(x)dx.
If b=∞, we also define
∫a∞f(x)dx=t→∞lim∫atf(x)dx.
If the limit of one of these integrals exists and is a real number, then we say that integral converges. Otherwise, in the case that the limit does not exist (including the case where the limit is ∞), we say that the integral diverges.
In most cases, you won't be able to calculate an improper integral directly, but you'll be able to figure out if it converges or diverges (which is what the next couple weeks of the class will involve).
Here are the main examples of convergent and divergent integrals (which can be calculated directly):
Examples
Example 2.
(p-integrals) Let a>0. Determine the values of p such that the improper integrals
∫0axpdxand∫a∞xpdxdx
converge or diverge.
Solution.
For these integrals, we can evaluate them and take limits directly. If p=1, then
A pretty common error when determining convergence and divergence is that you forget to check where your function is not defined. For example, the following calculation is wrong:
∫−11x2dx=−x1∣∣−11=−1−1=−2,
but we know from p-integrals that this should diverge, so this calculation is wrong. The reason why is because this is actually an improper integral, so we should have split it up to begin with:
∫−11x2dx=t→0−lim∫−10x2dx+t→0+lim∫t1x2dx,
and both integrals diverge, so the original integral must also diverge.
Direct Comparison
As a quick preview, we're going to quickly talk about direct comparison.
Theorem (direct comparison)
Suppose f(x) and g(x) are functions which satisfy 0≤f(x)≤g(x). Then
∫abg(x)dx converges⟹∫abf(x)dx converges
and
∫abf(x)dx diverges⟹∫abf(x)dx diverges.
This includes the case when b=∞.
The picture looks something like this:
Hopefully, it's intuitive to you why this is true: if the area under g is finite, then the area under f should be smaller, so it should also be finite. Similarly, if f has infinite area, then g has a larger area, so it should have infinite area as well.
The assumption that everything is non-negative is important so that we can "squeeze" f with g. Consider something like this:
The integrals ∫a∞f(x)dx and ∫a∞g(x)dx in this case have no relation to each other, so direct comparison does not apply in this scenario.