This lesson covers a special type of integration question involving exponential functions. The key result is that whenever an integrand is an exponential times a function plus that function's derivative, the integral is just the exponential times the function. We apply it to six questions, several of which need a little rearranging first.
The standard result
The rule used throughout is:
∫ex[f(x)+f′(x)]dx=exf(x)+c
The whole skill is recognising, or creating, this pattern: spotting a function f(x) sitting next to its own derivative f′(x).
Example 1: secant squared plus tangent
Evaluate:
∫ex(sec2x+tanx)dx
Reorder the bracket as tanx+sec2x. Take f(x)=tanx, so f′(x)=sec2x. The integrand is exactly ex[f(x)+f′(x)], so:
∫ex(tanx+sec2x)dx=extanx+c
Example 2: inverse tangent
Evaluate:
∫ex(tan−1x+1+x21)dx
Since dxd(tan−1x)=1+x21, take f(x)=tan−1x and f′(x)=1+x21. So:
∫ex(tan−1x+1+x21)dx=extan−1x+c
Example 3: splitting a rational function
Evaluate:
∫(x+1)2x2+1exdx
Here the function and its derivative are hidden, so we reshape the integrand. Write the numerator as x2−1+2 (subtract one, then add it back):
(x+1)2x2+1=(x+1)2x2−1+(x+1)22
The first piece factors as (x+1)2(x+1)(x−1)=x+1x−1, giving:
(x+1)2x2+1=x+1x−1+(x+1)22
Take f(x)=x+1x−1. By the quotient rule, f′(x)=(x+1)22, which is the second term. So:
∫(x+1)2x2+1exdx=exx+1x−1+c
Example 4: half-angle identities
Evaluate:
∫ex1+cosx1+sinxdx
Split the fraction and rewrite each piece with half-angle identities, using 1+cosx=2cos22x and sinx=2sin2xcos2x:
1+cosx1=21sec22x,1+cosxsinx=tan2x
So the integral becomes:
∫ex(tan2x+21sec22x)dx
Take f(x)=tan2x. Then f′(x)=21sec22x, matching the second term. Therefore:
∫ex1+cosx1+sinxdx=extan2x+c
Example 5: adding and subtracting in the numerator
Evaluate:
∫(1+x)2xexdx
Write the numerator x as (1+x)−1:
(1+x)2x=(1+x)21+x−(1+x)21=1+x1−(1+x)21
Take f(x)=1+x1, so f′(x)=−(1+x)21, which is the second term. Hence:
∫(1+x)2xexdx=ex1+x1+c
Example 6: double-angle identities
Evaluate:
∫1+cos2x2+sin2xexdx
Use sin2x=2sinxcosx and 1+cos2x=2cos2x:
1+cos2x2+sin2x=2cos2x2+2cos2x2sinxcosx=sec2x+tanx
This is the same form as Example 1, so with f(x)=tanx and f′(x)=sec2x:
∫1+cos2x2+sin2xexdx=extanx+c
Key takeaways
- The core rule is ∫ex[f(x)+f′(x)]dx=exf(x)+c.
- The work is in reshaping the integrand: split fractions, add and subtract a term, or apply trig identities until you see a function paired with its own derivative.
- Once the pattern appears, the answer is immediate: the exponential times the chosen function f(x), plus the constant of integration.