u-Substitution with trigonometric functions
Choose u by a derivative pair: d(sin x)=cos x dx, d(cos x)=−sin x dx, and d(tan x)=sec²x dx. Reserve the matching factor before replacing the remaining trigonometric powers. Composite angles also require their inner derivative.
What you will learn
- Use u=sin x with cos x dx
- Use u=cos x with the minus sign in du
- Use u=tan x with sec²x dx
- Handle composite angles such as 3x
- Use identities when the derivative factor is hidden
Case 1: u=sin x
- ∫sin³x cos x dx: let u=sin x; du=cos x dx.
- The integral becomes ∫u³du=u⁴/4+C.
- Answer: sin⁴x/4+C.
Case 2: u=cos x and the minus sign
- ∫sin x cos²x dx: let u=cos x; du=−sin x dx.
- Then sin x dx=−du, giving −∫u²du.
- Answer: −cos³x/3+C. Differentiation returns +sin x cos²x.
Case 3: u=tan x
- ∫tan²x sec²x dx: let u=tan x; du=sec²x dx.
- Integrate ∫u²du=u³/3+C.
- Answer: tan³x/3+C on an interval with cos x≠0.
Composite angles and hidden derivative factors
- ∫cos(3x+1)dx: u=3x+1, du=3dx; answer sin(3x+1)/3+C.
- ∫sin³x dx: write sin³x=(1−cos²x)sin x.
- Let u=cos x, du=−sin x dx. Integrate −∫(1−u²)du.
- Answer: −cos x+cos³x/3+C. For even powers such as sin²x, use sin²x=(1−cos2x)/2 instead of inventing a missing cos x factor.
Extension: trigonometric substitution for radicals
- Here we set x=a sinθ, rather than u=sin x. Use a>0.
- For √(a²−x²), try x=a sinθ with −π/2≤θ≤π/2; then the root is a cosθ and dx=a cosθ dθ.
- For √(a²+x²), try x=a tanθ with −π/2<θ<π/2; the root is a secθ.
- For √(x²−a²) on x≥a, try x=a secθ with 0≤θ<π/2; the root is a tanθ. Other x branches need separate sign choices.
- Example: ∫dx/√(9−x²), |x|<3. Set x=3sinθ, dx=3cosθ dθ. The integral is ∫dθ=θ+C=arcsin(x/3)+C.
- These radical substitutions are enrichment here; the main lesson and AP practice focus on derivative-pair u-substitution.
A common mistake
∫sin x dx=−cos x+C. Choosing u=cos x introduces a minus sign. ∫cos(3x)dx=sin(3x)/3+C, not 3sin(3x)+C.
Continue learning
Developing · Integration Techniques · Definite integrals with u-substitution
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.