← Back to all lessons
Class 12Calculus6:24Published 2 Oct 2024

Integration of Special Type Questions with Exponential Functions

Learn the special integral rule for exponential functions and use it to solve six worked questions, including ones where you first rearrange the integrand to fit the pattern.

This Class 12 lesson covers the standard result that the integral of e to the x times a function plus its derivative is simply e to the x times the function. The teacher works through six questions, starting with ones that fit the form directly and moving to harder ones where you split, add and subtract terms, or use trig identities to reshape the integrand. Each example shows how to identify the function and its derivative before writing the answer.

What you'll learn

  • The standard rule for integrating an exponential times a function plus its derivative
  • How to spot which part of the integrand is the function and which is its derivative
  • Reshaping an integrand by splitting fractions or adding and subtracting a term so it fits the rule
  • Using trigonometric identities to rewrite an integral into the required form

Lesson chapters

0:00The standard rule and first example
0:47Question with an inverse tangent
1:23Splitting a rational function to fit the form
3:08Using half-angle identities
4:17Adding and subtracting a term in the numerator
5:02Simplifying with double-angle identities

Lesson notes

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\int e^{x}\,\big[f(x) + f'(x)\big]\,dx = e^{x} f(x) + c

The whole skill is recognising, or creating, this pattern: spotting a function f(x)f(x) sitting next to its own derivative f(x)f'(x).

Example 1: secant squared plus tangent

Evaluate:

ex(sec2x+tanx)dx\int e^{x}\big(\sec^{2} x + \tan x\big)\,dx

Reorder the bracket as tanx+sec2x\tan x + \sec^{2} x. Take f(x)=tanxf(x) = \tan x, so f(x)=sec2xf'(x) = \sec^{2} x. The integrand is exactly ex[f(x)+f(x)]e^{x}[f(x)+f'(x)], so:

ex(tanx+sec2x)dx=extanx+c\int e^{x}\big(\tan x + \sec^{2} x\big)\,dx = e^{x}\tan x + c

Example 2: inverse tangent

Evaluate:

ex(tan1x+11+x2)dx\int e^{x}\left(\tan^{-1} x + \frac{1}{1+x^{2}}\right)\,dx

Since ddx(tan1x)=11+x2\dfrac{d}{dx}\big(\tan^{-1} x\big) = \dfrac{1}{1+x^{2}}, take f(x)=tan1xf(x) = \tan^{-1} x and f(x)=11+x2f'(x) = \dfrac{1}{1+x^{2}}. So:

ex(tan1x+11+x2)dx=extan1x+c\int e^{x}\left(\tan^{-1} x + \frac{1}{1+x^{2}}\right)\,dx = e^{x}\tan^{-1} x + c

Example 3: splitting a rational function

Evaluate:

x2+1(x+1)2exdx\int \frac{x^{2}+1}{(x+1)^{2}}\,e^{x}\,dx

Here the function and its derivative are hidden, so we reshape the integrand. Write the numerator as x21+2x^{2} - 1 + 2 (subtract one, then add it back):

x2+1(x+1)2=x21(x+1)2+2(x+1)2\frac{x^{2}+1}{(x+1)^{2}} = \frac{x^{2}-1}{(x+1)^{2}} + \frac{2}{(x+1)^{2}}

The first piece factors as (x+1)(x1)(x+1)2=x1x+1\dfrac{(x+1)(x-1)}{(x+1)^{2}} = \dfrac{x-1}{x+1}, giving:

x2+1(x+1)2=x1x+1+2(x+1)2\frac{x^{2}+1}{(x+1)^{2}} = \frac{x-1}{x+1} + \frac{2}{(x+1)^{2}}

Take f(x)=x1x+1f(x) = \dfrac{x-1}{x+1}. By the quotient rule, f(x)=2(x+1)2f'(x) = \dfrac{2}{(x+1)^{2}}, which is the second term. So:

x2+1(x+1)2exdx=exx1x+1+c\int \frac{x^{2}+1}{(x+1)^{2}}\,e^{x}\,dx = e^{x}\,\frac{x-1}{x+1} + c

Example 4: half-angle identities

Evaluate:

ex1+sinx1+cosxdx\int e^{x}\,\frac{1+\sin x}{1+\cos x}\,dx

Split the fraction and rewrite each piece with half-angle identities, using 1+cosx=2cos2x21+\cos x = 2\cos^{2}\tfrac{x}{2} and sinx=2sinx2cosx2\sin x = 2\sin\tfrac{x}{2}\cos\tfrac{x}{2}:

11+cosx=12sec2x2,sinx1+cosx=tanx2\frac{1}{1+\cos x} = \frac{1}{2}\sec^{2}\tfrac{x}{2}, \qquad \frac{\sin x}{1+\cos x} = \tan\tfrac{x}{2}

So the integral becomes:

ex(tanx2+12sec2x2)dx\int e^{x}\left(\tan\tfrac{x}{2} + \tfrac{1}{2}\sec^{2}\tfrac{x}{2}\right)\,dx

Take f(x)=tanx2f(x) = \tan\tfrac{x}{2}. Then f(x)=12sec2x2f'(x) = \tfrac{1}{2}\sec^{2}\tfrac{x}{2}, matching the second term. Therefore:

ex1+sinx1+cosxdx=extanx2+c\int e^{x}\,\frac{1+\sin x}{1+\cos x}\,dx = e^{x}\tan\tfrac{x}{2} + c

Example 5: adding and subtracting in the numerator

Evaluate:

x(1+x)2exdx\int \frac{x}{(1+x)^{2}}\,e^{x}\,dx

Write the numerator xx as (1+x)1(1+x) - 1:

x(1+x)2=1+x(1+x)21(1+x)2=11+x1(1+x)2\frac{x}{(1+x)^{2}} = \frac{1+x}{(1+x)^{2}} - \frac{1}{(1+x)^{2}} = \frac{1}{1+x} - \frac{1}{(1+x)^{2}}

Take f(x)=11+xf(x) = \dfrac{1}{1+x}, so f(x)=1(1+x)2f'(x) = -\dfrac{1}{(1+x)^{2}}, which is the second term. Hence:

x(1+x)2exdx=ex11+x+c\int \frac{x}{(1+x)^{2}}\,e^{x}\,dx = e^{x}\,\frac{1}{1+x} + c

Example 6: double-angle identities

Evaluate:

2+sin2x1+cos2xexdx\int \frac{2+\sin 2x}{1+\cos 2x}\,e^{x}\,dx

Use sin2x=2sinxcosx\sin 2x = 2\sin x\cos x and 1+cos2x=2cos2x1+\cos 2x = 2\cos^{2} x:

2+sin2x1+cos2x=22cos2x+2sinxcosx2cos2x=sec2x+tanx\frac{2+\sin 2x}{1+\cos 2x} = \frac{2}{2\cos^{2} x} + \frac{2\sin x\cos x}{2\cos^{2} x} = \sec^{2} x + \tan x

This is the same form as Example 1, so with f(x)=tanxf(x) = \tan x and f(x)=sec2xf'(x) = \sec^{2} x:

2+sin2x1+cos2xexdx=extanx+c\int \frac{2+\sin 2x}{1+\cos 2x}\,e^{x}\,dx = e^{x}\tan x + c

Key takeaways

  • The core rule is ex[f(x)+f(x)]dx=exf(x)+c\int e^{x}\big[f(x)+f'(x)\big]\,dx = e^{x} f(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)f(x), plus the constant of integration.