MathLab with Mr. Ahmed
MathLab with Mr. Ahmed is a math learning website by Ahmed Amasha, a mathematics teacher teaching the American curriculum. Explore Algebra 2, Precalculus, Calculus, and SAT and PSAT Math Prep through lessons, focused practice and printable resources.
Before you solve
Ideas in this lesson
Idea 1 of 3
Odd trigonometric powers
Reserve one odd-power sine or cosine factor and substitute using the other function.
Worked example 1
Evaluate ∫0π2sin2xdx. - sin2x=21−cos2x
- F(x)=22(x−2sin2x)
- F(π)−F(0)=22π=π≈3.14
Answer: π≈3.14
Worked example 2
Evaluate ∫0π3sin3xdx. - sin3xdx=(1−cos2x)sinxdx; u=cosx,du=−sinxdx
- Integral =3∫−111−u2du
- 3[34]=4
Answer: 4
Idea 2 of 3
Even powers and half-angle identities
Use sin2x=21−cos2x and cos2x=21+cos2x when both powers are even.
Worked example 1
Evaluate ∫02π2cos2xdx. - I0=2π; In=nn−1In₋2
- I2=21I0
- 2I2=2π≈1.57
Answer: 2π≈1.57
Worked example 2
Evaluate ∫02π3cos4xdx. - I0=2π; In=nn−1In₋2
- I2=21I0
- I4=43I2
- 3I4=169π≈1.77
Answer: 169π≈1.77
Idea 3 of 3
Mixed sine and cosine products
Convert a product into a form with a usable derivative or a lower-frequency identity before integrating.
Worked example 1
Evaluate ∫0π2sin2xdx. - sin2x=21−cos2x
- F(x)=22(x−2sin2x)
- F(π)−F(0)=22π=π≈3.14
Answer: π≈3.14
Worked example 2
Evaluate ∫0π3sin3xdx. - sin3xdx=(1−cos2x)sinxdx; u=cosx,du=−sinxdx
- Integral =3∫−111−u2du
- 3[34]=4
Answer: 4
Resource alignment: Larson & Edwards, Calculus of a Single Variable, Tenth Edition, §8.3,p. 524. Explanations, diagrams and numerical practice variants are original MathLab content aligned to this section.