6E

Areas with trigonometric functions

Finding areas between trigonometric curves and the x-axis, splitting at the x-intercepts, and finding areas between two trigonometric curves.

The area rules from the integration chapter don't change. What changes is that trig curves keep crossing the $x$-axis, so splitting the region at the intercepts stops being an occasional trap and becomes something you do in almost every question.

Areas and the x-axis

A definite integral counts area above the axis as positive and area below as negative. Over a full cycle of $\sin x$ the two cancel exactly, so the integral is $0$ even though there is plenty of area.

Integral or area?

Area above the axis counts as positive in the integral, and area below counts as negative.

Try this

Predict the integral and the area when $b = \pi$, then when $b = 2\pi$. Slide b to check. Where do the two readouts start to disagree, and why?

Example 1●●

Find the area between $y = \sin x$ and the $x$-axis from $x = 0$ to $x = \dfrac{3\pi}{2}$.

$\displaystyle\int_0^{\pi}\sin x\,dx = \Big[-\cos x\Big]_0^{\pi} = 1 + 1 = 2$
sin x is positive on (0, π) and negative on (π, 3π/2), so split at π.
$\displaystyle\int_{\pi}^{\frac{3\pi}{2}}\sin x\,dx = \Big[-\cos x\Big]_{\pi}^{\frac{3\pi}{2}} = 0 - 1 = -1$
The second piece is below the axis, so its integral is negative.
Area $= 2 + 1 = 3$ square units.
Add the sizes of the two pieces.

Using symmetry

Cosine is even, so its graph is symmetric about the $y$-axis. Sine and tangent are odd. When a region is symmetric, find one half and double it: the arithmetic at $x = 0$ is usually easy.

Example 2●●

Find the area between $y = 3\cos 2x$ and the $x$-axis from $x = -\dfrac{\pi}{4}$ to $x = \dfrac{\pi}{4}$.

Area $= 2\displaystyle\int_0^{\frac{\pi}{4}} 3\cos 2x\,dx$
cos 2x is even and positive on this interval, so double the right-hand half.
$= 2\Big[\tfrac32\sin 2x\Big]_0^{\frac{\pi}{4}} = 2 \times \tfrac32 \times 1 = 3$ square units.
Primitive of 3cos 2x is (3/2) sin 2x.

Between two curves

For the area between two curves, integrate top minus bottom between the points where they meet. The $x$-axis doesn't matter here: the difference in heights is the same wherever the curves sit.

Example 3●●●

Find the area enclosed between $y = \sin x$ and $y = \cos x$ from $x = \dfrac{\pi}{4}$ to $x = \dfrac{5\pi}{4}$.

$x = \dfrac{\pi}{4}$ and $x = \dfrac{5\pi}{4}$, so these are the ends of the region.
They meet where sin x = cos x, which is tan x = 1.
Area $= \displaystyle\int_{\frac{\pi}{4}}^{\frac{5\pi}{4}} (\sin x - \cos x)\,dx = \Big[-\cos x - \sin x\Big]_{\frac{\pi}{4}}^{\frac{5\pi}{4}}$
Test a point in between, say x = π/2: sin = 1 and cos = 0. So sine is on top.
$= \left(\tfrac{1}{\sqrt2} + \tfrac{1}{\sqrt2}\right) - \left(-\tfrac{1}{\sqrt2} - \tfrac{1}{\sqrt2}\right) = \dfrac{4}{\sqrt2} = 2\sqrt2$ square units.
At 5π/4 both sin and cos are −1/√2; at π/4 both are 1/√2.
Example 4●●●

Find the area of the region above the line $y = \sqrt3$ and below the curve $y = 2\sin x$, for $0 \le x \le \pi$.

$\sin x = \dfrac{\sqrt3}{2}$, so $x = \dfrac{\pi}{3}$ or $x = \dfrac{2\pi}{3}$.
Find where they meet: 2 sin x = √3.
Area $= \displaystyle\int_{\frac{\pi}{3}}^{\frac{2\pi}{3}} \left(2\sin x - \sqrt3\right)dx = \Big[-2\cos x - \sqrt3\,x\Big]_{\frac{\pi}{3}}^{\frac{2\pi}{3}}$
Between those, the curve is on top. Integrate curve minus line.
$= \left(1 - \dfrac{2\sqrt3\,\pi}{3}\right) - \left(-1 - \dfrac{\sqrt3\,\pi}{3}\right) = 2 - \dfrac{\sqrt3\,\pi}{3} \approx 0.19$ square units.
cos(2π/3) = −½ and cos(π/3) = ½.

Your turn

Find the total area between $y = \sin 2x$ and the $x$-axis from $x = 0$ to $x = \dfrac{3\pi}{4}$.

Show the working

$\sin 2x$ crosses the axis at $x = \tfrac{\pi}{2}$. $\displaystyle\int_0^{\frac{\pi}{2}}\sin 2x\,dx = \Big[-\tfrac12\cos 2x\Big]_0^{\frac{\pi}{2}} = \tfrac12 + \tfrac12 = 1$. $\displaystyle\int_{\frac{\pi}{2}}^{\frac{3\pi}{4}}\sin 2x\,dx = -\tfrac12\cos\tfrac{3\pi}{2} + \tfrac12\cos\pi = 0 - \tfrac12 = -\tfrac12$. So the area is $1 + \tfrac12 = 1.5$ square units.

Flashcards
Area under one arch of $y = sin x$ (0 to π)
$2$ square units
$displaystyleint_0^{2pi}sin x,dx$
$0$: the arch below cancels the arch above.
Area between two curves
$\displaystyle\int_a^b (\text{top} - \text{bottom})\,dx$, between the meeting points
Practice
  1. Find the area under $y = \sin x$ from $x = 0$ to $x = \pi$.

  2. Evaluate $\displaystyle\int_0^{2\pi}\cos x\,dx$.

  3. The total area between $y = \cos x$ and the $x$-axis from $x = 0$ to $x = \pi$ is:

  4. Find the area under $y = \cos 2x$ from $x = 0$ to $x = \dfrac{\pi}{4}$.

  5. Find the total area between $y = 2\sin x$ and the $x$-axis from $x = \dfrac{\pi}{2}$ to $x = \dfrac{3\pi}{2}$.

  6. Find the area under $y = \sec^2 x$ from $x = 0$ to $x = \dfrac{\pi}{3}$, correct to two decimal places.

  7. For $x \gt 0$, the curves $y = \sin x$ and $y = \cos x$ first meet at:

  8. Find the area between $y = \cos x$ and $y = \sin x$ from $x = 0$ to $x = \dfrac{\pi}{4}$, correct to two decimal places.

  9. Exam style: find the area of the region below $y = 2\cos x$ and above $y = 1$ for $-\tfrac{\pi}{2} \le x \le \tfrac{\pi}{2}$, correct to two decimal places.

  10. Exam style: find $k$, with $0 \lt k \lt \pi$, such that $\displaystyle\int_0^{k}\sin x\,dx = \tfrac12$. Give $k$ correct to two decimal places.

Formula sheet