Integrating exponentials and trigonometric functions

Integrating exponentials and trigonometric functions

Spec H2 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • ∫ekx dx=1kekx+c\int e^{kx}\,dx=\frac1ke^{kx}+c: divide by kk.
  • ∫1x dx=ln⁡∣x∣+c\int\frac1x\,dx=\ln|x|+c.
  • ∫sin⁡kx dx=−1kcos⁡kx+c\int\sin kx\,dx=-\frac1k\cos kx+c and ∫cos⁡kx dx=1ksin⁡kx+c\int\cos kx\,dx=\frac1k\sin kx+c, with xx in radians.
  • Integrate sums term by term with a single constant cc.
  • Integrating velocity gives displacement; split at turning points for distance.

Exponentials

Reverse differentiation: divide by the coefficient of xx.

Since ddxekx=kekx\frac{d}{dx}e^{kx}=ke^{kx}, we get ∫ekx dx=1kekx+c\int e^{kx}\,dx=\frac1ke^{kx}+c for k≠0k\ne0.

The constant of integration cc must appear in every indefinite integral. A constant multiple stays outside: ∫6e3xdx=2e3x+c\int6e^{3x}dx=2e^{3x}+c. Do not use the power rule on the index.

−2−1.5−1−0.50.511.522468xyy = e^(kx)∫ = (1/k) e^(kx)
The integral of e^(kx) is (1/k)e^(kx): smaller k gives a bigger integral. Try the slider.
  • ∫ekx dx\int e^{kx}\,dx1kekx+c\frac1ke^{kx}+c

What is ∫8e4x dx\int 8e^{4x}\,dx?

Integrating 1/x

It is ln⁡∣x∣+c\ln|x|+c, the one power the power rule cannot do.

∫1x dx=ln⁡∣x∣+c\int\frac1x\,dx=\ln|x|+c for x≠0x\ne0. This is the case the power rule cannot do, since x−1x^{-1} would need division by 00.

A linear inside works like the exponential: ∫1kxdx=1kln⁡∣x∣+c\int\frac{1}{kx}dx=\frac1k\ln|x|+c. For x>0x>0 you may write ln⁡x\ln x. In definite integrals use the laws of logarithms: ∫π2π3x dx=3(ln⁡2π−ln⁡π)=3ln⁡2\int_\pi^{2\pi}\frac3x\,dx=3(\ln2\pi-\ln\pi)=3\ln2.

0.511.522.533.540.511.522.53xyy = 1/x
The shaded area under y=1xy=\frac1x from 11 to 22 is ln⁡2≈0.693\ln2\approx0.693.
  • ∫1x dx\int\frac1x\,dxln⁡∣x∣+c\ln|x|+c

Worked example

Evaluate ∫1e25x dx\int_1^{e^2}\frac5x\,dx.

What is ∫π2π3x dx\int_\pi^{2\pi}\frac3x\,dx?

Sine and cosine

Divide by kk; sine integrates to a negative cosine, cosine integrates to a positive sine.

With xx in radians, the results come from ddxcos⁡kx=−ksin⁡kx\frac{d}{dx}\cos kx=-k\sin kx and ddxsin⁡kx=kcos⁡kx\frac{d}{dx}\sin kx=k\cos kx.

So ∫4cos⁡2t dt=2sin⁡2t+c\int4\cos2t\,dt=2\sin2t+c and ∫5cos⁡x2 dx=10sin⁡x2+c\int5\cos\frac x2\,dx=10\sin\frac x2+c (dividing by 12\frac12 is multiplying by 22). In definite integrals check the calculator is in radian mode.

123456−3−2−1123xyy = sin(kx)−(1/k) cos(kx)
The integral of sin(kx) is −(1/k)cos(kx). Try the slider.
  • ∫sin⁡kx dx\int\sin kx\,dx−1kcos⁡kx+c-\frac1k\cos kx+c
  • ∫cos⁡kx dx\int\cos kx\,dx1ksin⁡kx+c\frac1k\sin kx+c

What is ∫6sin⁡3x dx\int 6\sin3x\,dx?

Sums and definite integrals

Integrate each term separately with one constant; for limits, substitute into the whole antiderivative and subtract.

Integration is linear: ∫[af(x)±bg(x)]dx=a∫f dx±b∫g dx\int\left[af(x)\pm bg(x)\right]dx=a\int f\,dx\pm b\int g\,dx. Integrate each term and include a single constant:

∫(3x−4e−2x+5cos⁡x2)dx=3ln⁡x+2e−2x+10sin⁡x2+c.\int\left(\frac3x-4e^{-2x}+5\cos\frac x2\right)dx=3\ln x+2e^{-2x}+10\sin\frac x2+c.

For a definite integral substitute the limits into the whole antiderivative (no cc needed) and subtract. Use ekln⁡a=ake^{k\ln a}=a^k and e0=1e^0=1 to simplify.

0.511.522.530.20.40.60.811.2xyy = e^(−2x)
A definite integral is an area: the area under y = e^(−2x) from 0 to 1 is (1 − e^(−2))/2 ≈ 0.432.
  • ∫[af±bg]dx\int\left[af\pm bg\right]dxa∫f dx±b∫g dxa\int f\,dx\pm b\int g\,dx

Worked example

Evaluate ∫0ln⁡26e3x dx\int_0^{\ln2}6e^{3x}\,dx.

What is ∫(3e3x+1x)dx\int\left(3e^{3x}+\frac1x\right)dx?

Constants and interpreting

A point on the curve fixes cc; for motion, displacement and distance differ when velocity changes sign.

A point on the curve fixes cc: if dydx=6e3x\frac{dy}{dx}=6e^{3x} passes through (0,5)(0,5) then y=2e3x+cy=2e^{3x}+c and 2+c=52+c=5, so y=2e3x+3y=2e^{3x}+3.

In kinematics integrating velocity gives displacement, not distance. If vv changes sign, split the integral at the turning point and add the sizes.

A model such as R=20e−0.1t+6sin⁡πt30R=20e^{-0.1t}+6\sin\frac{\pi t}{30} may give impossible values outside a limited time, so comment on validity.

−1−0.8−0.6−0.4−0.200.20.40.60.8110203040xy(0, 5)y = 2e^(3x) + 3
y = 2e^(3x) + 3 passes through (0, 5): the point fixes c = 3.

A particle moves forwards 33 m, then backwards 33 m. What are its displacement and distance?

Try an exam question

Find ∫(4e2x−3x+6sin⁡3x)dx\int\left(4e^{2x}-\frac3x+6\sin3x\right)dx.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find ∫6e3x dx\int 6e^{3x}\,dx.

1 mark, marked against the mark scheme

Revision notes