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)=4x3−x43 with f(2)=0, and we want f(x). Since integrating the derivative gives back the function:
f(x)=∫(4x3−3x−4)dx=4⋅4x4−3⋅−3x−3+C=x4+x31+C
Now apply f(2)=0:
24+231+C=0⇒16+81+C=0
Taking the common denominator 8 gives C=−8128+1=−8129, so
f(x)=x4+x31−8129
A polynomial, cosine and exponential mix
∫(2x−3cosx+ex)dx=2⋅2x2−3sinx+ex+C=x2−3sinx+ex+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
This uses ∫sec2xdx=tanx and ∫secxtanxdx=secx.
Secant squared over cosecant squared
Write each function in terms of sine and cosine:
∫csc2xsec2xdx=∫1/sin2x1/cos2xdx=∫cos2xsin2xdx=∫tan2xdx
Using the identity tan2x=sec2x−1:
∫(sec2x−1)dx=tanx−x+C
Quotients with cosine squared denominators
First quotient. Split the fraction and rewrite each piece:
∫cos2x2−3sinxdx=∫cos2x2dx−∫cos2x3sinxdx
=2∫sec2xdx−3∫secxtanxdx=2tanx−3secx+C
Second quotient. Same idea, with a 4 in place of the 2:
∫cos2x4−sinxdx=4∫sec2xdx−∫secxtanxdx=4tanx−secx+C
Sum of sine and cosine, and basic antiderivatives
∫(sinx+cosx)dx=−cosx+sinx+C=sinx−cosx+C
Two quick antiderivatives:
∫cos3xdx=3sin3x+C,∫e2xdx=2e2x+C
Antiderivative with an initial condition
Given f(x)=4x3−6 with f(0)=3, find the antiderivative F(x):
F(x)=∫(4x3−6)dx=4⋅4x4−6x+C=x4−6x+C
Apply F(0)=3: substituting x=0 gives 0−0+C=3, so C=3 and
F(x)=x4−6x+3
Key takeaways
- The antiderivative of f′ returns f, and a known value of the function fixes the constant of integration.
- Rewriting trigonometric ratios in terms of secx, tanx and the identity tan2x=sec2x−1 turns awkward quotients into standard forms.
- ∫sec2xdx=tanx and ∫secxtanxdx=secx are the two rules driving most of these integrals.