Tutorials › Calculus I › Differentiating Products of Trigonometric Powers

Trigonometric Derivatives · Tutorial 505 of 1495

Differentiating Products of Trigonometric Powers

Combine the product rule, power rule, and Chain Rule to differentiate products of trigonometric powers accurately.

Intermediate 10 min read

What You'll Learn

  • Apply the product rule when sine and cosine powers are multiplied.
  • Differentiate a trigonometric power using the power rule and Chain Rule.
  • Keep track of the separate inputs and their derivatives.
  • Use a general formula for products with positive integer exponents.
  • Check a derivative by evaluating the product-rule terms independently.
  • Recognize and correct the mistake of differentiating a product by multiplying the factor derivatives.

Why Products of Trigonometric Powers Need Two Derivative Steps

Expressions such as \(\sin^2 x\cos^3 x\) contain two kinds of structure at once. Each factor is a power of a trigonometric function, and the factors are multiplied together. Differentiating the powers calls for the power rule and Chain Rule; differentiating their product calls for the product rule.

The order of these steps matters. First find the derivative of each factor, including the derivative of its inner function. Then combine those derivatives using the product rule. This method also works when the two factors have different inputs, such as \(\sin^2(2x+1)\cos^3(x^2)\).

Key idea: For a product of trigonometric powers, differentiate one factor at a time while leaving the other factor unchanged. Add the resulting terms.

The Rule for a Product of Sine and Cosine Powers

Let \(u\) and \(v\) be differentiable functions of \(x\), and let \(m\) and \(n\) be positive integers. Assume angles are measured in radians, so the standard trigonometric derivative formulas apply. The power rule and Chain Rule give the derivatives of the individual factors, and the product rule combines them:

$$ \frac{d}{dx}\left(\sin^m(u)\cos^n(v)\right) = m\sin^{m-1}(u)\cos(u)\,u'\cos^n(v) - n\sin^m(u)\cos^{n-1}(v)\sin(v)\,v'. $$

Here \(u'\) and \(v'\) mean the derivatives of \(u(x)\) and \(v(x)\) with respect to \(x\). The formula keeps the two factors’ inputs separate: the first term differentiates the sine power and retains the cosine power, while the second differentiates the cosine power and retains the sine power.

For the common case where both powers have the same input, set \(u=v=x\). Then \(u'=v'=1\), and the formula becomes:

$$ \frac{d}{dx}\left(\sin^m x\cos^n x\right) = m\sin^{m-1}x\cos^{n+1}x - n\sin^{m+1}x\cos^{n-1}x. $$

The exponents \(m\) and \(n\) in this rule are positive integers. This keeps the powers and their derivatives defined by repeated multiplication and the usual power rule, including when sine or cosine is zero.

Why the Formula Works

The justification follows directly from the product rule and the derivatives of the two factors. Write \(f(x)=\sin^m(u(x))\) and \(g(x)=\cos^n(v(x))\). The product rule states that \((fg)'=f'g+fg'\). By the power rule and Chain Rule, differentiating the first factor gives \(f'=m\sin^{m-1}(u)\cos(u)u'\). Differentiating the second gives \(g'=-n\cos^{n-1}(v)\sin(v)v'\), because the derivative of cosine is negative sine.

$$ \begin{aligned} \frac{d}{dx}\left(\sin^m(u)\cos^n(v)\right) &= \frac{d}{dx}\left(\sin^m(u)\right)\cos^n(v) +\sin^m(u)\frac{d}{dx}\left(\cos^n(v)\right)\\ &=m\sin^{m-1}(u)\cos(u)u'\cos^n(v)\\ &\quad{}-n\sin^m(u)\cos^{n-1}(v)\sin(v)v'. \end{aligned} $$

Each term has a clear source: the first is the derivative of the sine power times the unchanged cosine power; the second is the unchanged sine power times the derivative of the cosine power. The negative sign in the second term comes from differentiating cosine.

Worked Example: Differentiate \(\sin^2 x\cos^3 x\)

Worked Example: Differentiate \(\sin^2 x\cos^3 x\)

Let \(y=\sin^2 x\cos^3 x\). Apply the product rule, differentiating each factor in turn. The derivative of \(\sin^2 x\) is \(2\sin x\cos x\), and the derivative of \(\cos^3 x\) is \(-3\cos^2 x\sin x\).

$$ \begin{aligned} y' &=(2\sin x\cos x)\cos^3 x +\sin^2 x(-3\cos^2 x\sin x)\\ &=2\sin x\cos^4 x-3\sin^3 x\cos^2 x. \end{aligned} $$

Check the result at \(x=\pi/6\), where \(\sin x=1/2\) and \(\cos x=\sqrt{3}/2\). The displayed derivative gives:

$$ \begin{aligned} 2\left(\frac12\right)\left(\frac{\sqrt3}{2}\right)^4 -3\left(\frac12\right)^3\left(\frac{\sqrt3}{2}\right)^2 &=2\left(\frac12\right)\left(\frac{9}{16}\right) -3\left(\frac18\right)\left(\frac34\right)\\ &=\frac{9}{16}-\frac{9}{32}\\ &=\frac{9}{32}. \end{aligned} $$

Independently, the first product-rule term at this angle is \((2\sin x\cos x)\cos^3x=(\sqrt3/2)(3\sqrt3/8)=9/16\). The second is \(\sin^2x(-3\cos^2x\sin x)=(1/4)(-9/8)=-9/32\). Their sum is \(9/16-9/32=9/32\), matching the derivative formula.

When the Inputs Are Different

If the powers contain different functions of \(x\), do not treat their inputs as though they were the same. Each input has its own derivative, and each derivative belongs in the term where that input was differentiated. For example, the derivative of \(\sin^4(3x)\) contains a factor of \(3\), while the derivative of \(\cos^2(2x)\) contains a factor of \(2\).

Worked Example: Different Powers and Affine Inputs

Worked Example: Different Powers and Affine Inputs

Differentiate \(y=\sin^4(3x)\cos^2(2x)\). The derivative of the first factor is \(4\sin^3(3x)\cos(3x)\cdot 3\). The derivative of the second factor is \(2\cos(2x)(-\sin(2x))\cdot 2\). The product rule therefore gives:

$$ \begin{aligned} y' &=12\sin^3(3x)\cos(3x)\cos^2(2x)\\ &\quad{}-4\sin^4(3x)\cos(2x)\sin(2x). \end{aligned} $$

Check at \(x=\pi/6\). Then \(3x=\pi/2\) and \(2x=\pi/3\). In the first term, \(\cos(3x)=0\), so the term is zero. In the second term, \(\sin^4(3x)=1\), \(\cos(2x)=1/2\), and \(\sin(2x)=\sqrt3/2\). Thus:

$$ y'\left(\frac{\pi}{6}\right) =0-4(1)\left(\frac12\right)\left(\frac{\sqrt3}{2}\right) =-\sqrt3. $$

For an independent product-rule check, at this point the derivative of the first factor is \(12\sin^3(3x)\cos(3x)=0\), and the second factor has value \(\cos^2(\pi/3)=1/4\). The first product-rule term is therefore \(0\cdot(1/4)=0\). The first factor has value \(1\), and the derivative of the second factor is \(-4\cos(\pi/3)\sin(\pi/3)=-\sqrt3\). The second product-rule term is \(1\cdot(-\sqrt3)=-\sqrt3\), confirming the answer.

Worked Example: Different Composite Inputs

Worked Example: Different Composite Inputs

Differentiate \(y=\sin^2(2x+\pi/6)\cos^3(x+\pi/3)\). Let \(u=2x+\pi/6\) and \(v=x+\pi/3\), so \(u'=2\) and \(v'=1\). Applying the product rule and Chain Rule gives:

$$ \begin{aligned} y' &=4\sin(2x+\pi/6)\cos(2x+\pi/6)\cos^3(x+\pi/3)\\ &\quad{}-3\sin^2(2x+\pi/6)\cos^2(x+\pi/3)\sin(x+\pi/3). \end{aligned} $$

Check at \(x=0\). The two inputs are \(\pi/6\) and \(\pi/3\). Substituting their exact trigonometric values into the result gives:

$$ \begin{aligned} y'(0) &=4\left(\frac12\right)\left(\frac{\sqrt3}{2}\right)\left(\frac12\right)^3 -3\left(\frac12\right)^2\left(\frac12\right)^2\left(\frac{\sqrt3}{2}\right)\\ &=\frac{\sqrt3}{8}-\frac{3\sqrt3}{32}\\ &=\frac{\sqrt3}{32}. \end{aligned} $$

Check by differentiating the factors separately at \(x=0\). The sine-power factor has value \(1/4\) and derivative \(4(1/2)(\sqrt3/2)=\sqrt3\). The cosine-power factor has value \(1/8\) and derivative \(-3(1/2)^2(\sqrt3/2)=-3\sqrt3/8\). The product-rule terms are \((\sqrt3)(1/8)=\sqrt3/8\) and \((1/4)(-3\sqrt3/8)=-3\sqrt3/32\). Their sum is \(\sqrt3/32\), as obtained above.

A Common Mistake: Multiplying the Factor Derivatives

The derivative of a product is not the product of the derivatives. For example, a mistaken calculation for \(y=\sin^2x\cos^3x\) might be:

$$ y' \ \text{(incorrect)} =(2\sin x\cos x)(-3\cos^2 x\sin x). $$

This expression differentiates both factors at once, but it omits the product rule’s two terms, each of which retains one undifferentiated factor. The correction is:

$$ \begin{aligned} y' &=(2\sin x\cos x)\cos^3x +\sin^2x(-3\cos^2x\sin x)\\ &=2\sin x\cos^4x-3\sin^3x\cos^2x. \end{aligned} $$

The incorrect expression also fails a simple check at \(x=0\): it gives zero, while the correct derivative formula gives zero there too, so that point does not distinguish them. At \(x=\pi/6\), however, the incorrect expression equals \((\sqrt3/2)(-9/8)=-9\sqrt3/16\), whereas the correctly computed derivative is \(9/32\). A check at a useful point can expose an error that happens to be hidden at a special input.

A Reliable Procedure

For a product of two trigonometric powers, use the same sequence each time. Keep the factor that is not being differentiated unchanged in each product-rule term.

1
Identify the factors.
Separate the expression into its sine-power factor and cosine-power factor.
2
Differentiate each factor.
Use the power rule and Chain Rule, including the derivative of each input.
3
Apply the product rule.
Write the derivative of the first factor times the unchanged second factor, then add the unchanged first factor times the derivative of the second.
4
Check the signs and factors.
The derivative of cosine contributes a minus sign; composite inputs contribute their own derivatives.

These products occur whenever a function combines oscillating factors with different powers. The essential skill is not to memorize one expanded expression, but to keep track of which factor is differentiated in each term and to include every inner derivative. That discipline makes the same method dependable for equal or different powers and for equal or different inputs.

Check Your Understanding

For each question, identify the product-rule terms before simplifying.

  1. Differentiate \(\sin^3x\cos^2x\).
  2. Differentiate \(\sin^2(4x)\cos^3x\).
  3. In differentiating \(\sin^5(u(x))\cos^2(v(x))\), which term contains \(u'\), and which contains \(v'\)?
  4. Why does differentiating the cosine-power factor contribute a negative sign?
  5. Explain why the product of the two factor derivatives is not the derivative of their product.

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon