topic badge

4.03 Antidifferentiation and trigonometric functions

Lesson

Recall that we previously established the following results when differentiating trigonometric functions:

Differentiating trigonometric functions
$\frac{d}{dx}\sin x$ddxsinx $=$= $\cos x$cosx
$\frac{d}{dx}\cos x$ddxcosx $=$= $-\sin x$sinx


and

$\frac{d}{dx}\sin\left(ax+b\right)$ddxsin(ax+b) $=$= $a\cos\left(ax+b\right)$acos(ax+b)
$\frac{d}{dx}\cos\left(ax+b\right)$ddxcos(ax+b) $=$= $-a\sin\left(ax+b\right)$asin(ax+b)

Learning this diagram and reading it clockwise can help us to remember the rules for differentiating trig functions.

Reading the diagram anti-clockwise we can determine the anti-derivatives of the sine and cosine functions.

Integration of trigonometric functions
$\int\cos xdx$cosxdx $=$= $\sin x+c$sinx+c
$\int\sin xdx$sinxdx $=$= $-\cos x+c$cosx+c


and

$\int\cos\left(ax+b\right)dx$cos(ax+b)dx $=$= $\frac{1}{a}\sin\left(ax+b\right)+c$1asin(ax+b)+c
$\int\sin\left(ax+b\right)dx$sin(ax+b)dx $=$= $-\frac{1}{a}\cos\left(ax+b\right)+c$1acos(ax+b)+c


Where $a$a, $b$b and $c$c in each case are constants and $a\ne0$a0

 

Worked examples

example 1

Determine $\int-\cos\left(3x\right)dx$cos(3x)dx.

Think: Using the integration diagram above and reading in an anti-clockwise direction we can see that the integral of $-\cos x$cosx is $-\sin x$sinx. Divide by $a$a from $ax+b$ax+b which is $3$3 in this case.

Do:

$\int-\cos\left(3x\right)dx=\frac{-1}{3}\sin\left(3x\right)+c$cos(3x)dx=13sin(3x)+c, where $c$c is a constant.

 

Example 2

Determine $\int5\cos\left(2x+\frac{\pi}{3}\right)dx$5cos(2x+π3)dx.

Think: To integrate we are going to divide by $a$a from the term $ax+b$ax+b; here $a=2$a=2. Then we change the function from cosine to sine.

Do:

$\int5\cos\left(2x+\frac{\pi}{3}\right)dx=\frac{5}{2}\sin\left(2x+\frac{\pi}{3}\right)+c$5cos(2x+π3)dx=52sin(2x+π3)+c, where $c$c is a constant.


Example 3

If $f'\left(x\right)=0.5\sin\left(\frac{x}{4}\right)$f(x)=0.5sin(x4) and $f\left(2\pi\right)=-1$f(2π)=1, find $f\left(x\right)$f(x).

Think: We can first find the indefinite integral, and then use the given point $\left(2\pi,-1\right)$(2π,1) to find the value of the constant of integration.

For our integral, we will use the rule $\int\sin\left(ax+b\right)dx=-\frac{1}{a}\cos\left(ax+b\right)+c$sin(ax+b)dx=1acos(ax+b)+c. We have $a=\frac{1}{4}$a=14, we want to divide by $a$a, as well as change the sign and function. Remember, dividing by $\frac{1}{4}$14 is the same as multiplying by $4.$4.

Do:

$\int0.5\sin\left(\frac{x}{4}\right)dx$0.5sin(x4)dx $=$= $-4\times0.5\cos\left(\frac{x}{4}\right)+c$4×0.5cos(x4)+c

Multiply by $4$4, and change the function and sign

  $=$= $-2\cos\left(\frac{x}{4}\right)+c$2cos(x4)+c, where $c$c is a constant

Simplify

 

Using the point $\left(2\pi,-1\right)$(2π,1), find $C$C:

$f\left(2\pi\right)$f(2π) $=$= $-1$1
$\therefore-2\cos\left(\frac{2\pi}{4}\right)+c$2cos(2π4)+c $=$= $-1$1
$0+c$0+c $=$= $-1$1
$c$c $=$= $-1$1

Thus, $f\left(x\right)=-2\cos\left(\frac{x}{4}\right)-1$f(x)=2cos(x4)1.

 

Practice questions

Question 1

Integrate $-5\cos\left(\frac{x}{4}\right)$5cos(x4).

You may use $C$C as the constant of integration.

Question 2

State a primitive function of $6\sin x-\cos x$6sinxcosx.

You may use $C$C as a constant.

Question 3

The derivative of a function is given by $f'\left(x\right)=k\sin\left(\frac{x}{4}\right)$f(x)=ksin(x4), for some constant $k$k.

  1. Given that $f\left(2\pi\right)=1$f(2π)=1, determine the value of $C$C, the constant of integration.

  2. Given that $f\left(0\right)=-12$f(0)=12, determine the value of $k$k.

  3. Hence state the equation for the function $f\left(x\right)$f(x).

Outcomes

3.2.5

establish and use the formulas, ∫sin⁡xdx=−cos⁡x+c and ∫ cosx dx =sinx +c

3.2.7

determine indefinite integrals of the form ∫ f(ax-b) dx

3.2.9

determine f(x), given f′(x) and an initial condition f(a)=b

What is Mathspace

About Mathspace