← Back to all lessons
Class 12Calculus11:26Published 31 Aug 2024

Simple Integration of Trigonometric Functions (Part 2)

A worked set of straightforward integration problems for Class 12, focused on trigonometric integrands and recovering a function from its derivative using a given condition.

This lesson walks through a series of simple indefinite integrals, most of them built from trigonometric functions. It shows how to split integrands term by term, recognise standard forms like the integral of secant squared and secant times tangent, and rewrite ratios such as sine over cosine squared into those forms. Two of the problems also use an initial condition to pin down the constant of integration and find the exact function.

What you'll learn

  • Integrate functions term by term and apply standard power, exponential and trigonometric rules
  • Rewrite trigonometric ratios so they match known integral forms before integrating
  • Use a given value of the function to find the constant of integration

Lesson chapters

0:00Recovering a function from its derivative
1:57Integral of secant times secant plus tangent
3:46Secant squared over cosecant squared
5:16Quotients with cosine squared denominators
7:44Sum of sine and cosine, and basic antiderivatives
9:24Antiderivative with an initial condition

Lesson notes

This lesson works through a set of simple integration problems, most of them involving trigonometric functions, and shows how to use a given condition to find the constant of integration.

Recovering a function from its derivative

We are given f(x)=4x33x4f'(x) = 4x^3 - \dfrac{3}{x^4} with f(2)=0f(2) = 0, and we want f(x)f(x). Since integrating the derivative gives back the function:

f(x)=(4x33x4)dx=4x443x33+C=x4+1x3+Cf(x) = \int \left(4x^3 - 3x^{-4}\right)\, dx = 4\cdot\frac{x^4}{4} - 3\cdot\frac{x^{-3}}{-3} + C = x^4 + \frac{1}{x^3} + C

Now apply f(2)=0f(2) = 0:

24+123+C=016+18+C=02^4 + \frac{1}{2^3} + C = 0 \quad\Rightarrow\quad 16 + \frac{1}{8} + C = 0

Taking the common denominator 88 gives C=128+18=1298C = -\dfrac{128 + 1}{8} = -\dfrac{129}{8}, so

f(x)=x4+1x31298f(x) = x^4 + \frac{1}{x^3} - \frac{129}{8}

A polynomial, cosine and exponential mix

(2x3cosx+ex)dx=2x223sinx+ex+C=x23sinx+ex+C\int \left(2x - 3\cos x + e^{x}\right)\, dx = 2\cdot\frac{x^2}{2} - 3\sin x + e^{x} + C = x^2 - 3\sin x + e^{x} + C

Integral of secant times secant plus tangent

Multiply out first, then integrate term by term:

secx(secx+tanx)dx=(sec2x+secxtanx)dx=tanx+secx+C\int \sec x\,(\sec x + \tan x)\, dx = \int \left(\sec^2 x + \sec x\,\tan x\right)\, dx = \tan x + \sec x + C

This uses sec2xdx=tanx\int \sec^2 x\,dx = \tan x and secxtanxdx=secx\int \sec x\,\tan x\,dx = \sec x.

Secant squared over cosecant squared

Write each function in terms of sine and cosine:

sec2xcsc2xdx=1/cos2x1/sin2xdx=sin2xcos2xdx=tan2xdx\int \frac{\sec^2 x}{\csc^2 x}\, dx = \int \frac{1/\cos^2 x}{1/\sin^2 x}\, dx = \int \frac{\sin^2 x}{\cos^2 x}\, dx = \int \tan^2 x\, dx

Using the identity tan2x=sec2x1\tan^2 x = \sec^2 x - 1:

(sec2x1)dx=tanxx+C\int \left(\sec^2 x - 1\right)\, dx = \tan x - x + C

Quotients with cosine squared denominators

First quotient. Split the fraction and rewrite each piece:

23sinxcos2xdx=2cos2xdx3sinxcos2xdx\int \frac{2 - 3\sin x}{\cos^2 x}\, dx = \int \frac{2}{\cos^2 x}\, dx - \int \frac{3\sin x}{\cos^2 x}\, dx

=2sec2xdx3secxtanxdx=2tanx3secx+C= 2\int \sec^2 x\, dx - 3\int \sec x\,\tan x\, dx = 2\tan x - 3\sec x + C

Second quotient. Same idea, with a 44 in place of the 22:

4sinxcos2xdx=4sec2xdxsecxtanxdx=4tanxsecx+C\int \frac{4 - \sin x}{\cos^2 x}\, dx = 4\int \sec^2 x\, dx - \int \sec x\,\tan x\, dx = 4\tan x - \sec x + C

Sum of sine and cosine, and basic antiderivatives

(sinx+cosx)dx=cosx+sinx+C=sinxcosx+C\int \left(\sin x + \cos x\right)\, dx = -\cos x + \sin x + C = \sin x - \cos x + C

Two quick antiderivatives:

cos3xdx=sin3x3+C,e2xdx=e2x2+C\int \cos 3x\, dx = \frac{\sin 3x}{3} + C, \qquad \int e^{2x}\, dx = \frac{e^{2x}}{2} + C

Antiderivative with an initial condition

Given f(x)=4x36f(x) = 4x^3 - 6 with f(0)=3f(0) = 3, find the antiderivative F(x)F(x):

F(x)=(4x36)dx=4x446x+C=x46x+CF(x) = \int \left(4x^3 - 6\right)\, dx = 4\cdot\frac{x^4}{4} - 6x + C = x^4 - 6x + C

Apply F(0)=3F(0) = 3: substituting x=0x = 0 gives 00+C=30 - 0 + C = 3, so C=3C = 3 and

F(x)=x46x+3F(x) = x^4 - 6x + 3

Key takeaways

  • The antiderivative of ff' returns ff, and a known value of the function fixes the constant of integration.
  • Rewriting trigonometric ratios in terms of secx\sec x, tanx\tan x and the identity tan2x=sec2x1\tan^2 x = \sec^2 x - 1 turns awkward quotients into standard forms.
  • sec2xdx=tanx\int \sec^2 x\,dx = \tan x and secxtanxdx=secx\int \sec x\,\tan x\,dx = \sec x are the two rules driving most of these integrals.