Skip to content
Exercise 5.5 · Q1

Q.Find dydx\frac{dy}{dx} in the following: cos⁡x⋅cos⁡2x⋅cos⁡3x\cos x \cdot \cos 2x \cdot \cos 3x

Punjab PsebTextbookSubjective· 3mImportance★★★★★est
36% · 100/281 Questions
✓ Free question

Use logarithmic differentiation to handle the product of three cosines. Taking log⁡\log converts the product into a sum, making the derivative straightforward. The final result is dydx=−cos⁡xcos⁡2xcos⁡3x(tan⁡x+2tan⁡2x+3tan⁡3x)\frac{dy}{dx} = -\cos x \cos 2x \cos 3x \left( \tan x + 2\tan 2x + 3\tan 3x \right).

When you see a function that is a product of several simpler functions — especially ones like cos⁡x\cos x, cos⁡2x\cos 2x, cos⁡3x\cos 3x — the direct product rule would be messy: you’d need to apply it twice, and each term would involve derivatives of cosines with different arguments. There’s a cleaner way.

The chain rule is at the heart here, but we first use a trick: logarithmic differentiation. If y=f(x)y = f(x), taking log⁡\log of both sides gives log⁡y=log⁡f(x)\log y = \log f(x). Differentiating both sides with respect to xx uses the chain rule on the left: 1ydydx=ddx[log⁡f(x)]\frac{1}{y} \frac{dy}{dx} = \frac{d}{dx} [\log f(x)]. Then multiply by yy to get dydx\frac{dy}{dx}. This turns a product into a sum of logs, which is much easier to differentiate.

Let’s apply it.

  1. Set up the function.

    Let y=cos⁡x⋅cos⁡2x⋅cos⁡3xy = \cos x \cdot \cos 2x \cdot \cos 3x.

  2. Take the natural logarithm of both sides.

log⁡y=log⁡(cos⁡x)+log⁡(cos⁡2x)+log⁡(cos⁡3x)\log y = \log(\cos x) + \log(\cos 2x) + \log(\cos 3x)

  1. Differentiate both sides with respect to xx. On the left, by the chain rule: ddx(log⁡y)=1ydydx\frac{d}{dx} (\log y) = \frac{1}{y} \frac{dy}{dx}. On the right, differentiate each term. Remember: ddx[log⁡(cos⁡kx)]=1cos⁡kx⋅(−sin⁡kx)⋅k=−ktan⁡kx\frac{d}{dx} [\log(\cos kx)] = \frac{1}{\cos kx} \cdot (-\sin kx) \cdot k = -k \tan kx. So:

1ydydx=−tan⁡x−2tan⁡2x−3tan⁡3x\frac{1}{y} \frac{dy}{dx} = -\tan x - 2\tan 2x - 3\tan 3x

  1. Solve for dydx\frac{dy}{dx}. Multiply both sides by yy:

dydx=y⋅(−tan⁡x−2tan⁡2x−3tan⁡3x)\frac{dy}{dx} = y \cdot \left( -\tan x - 2\tan 2x - 3\tan 3x \right)

  1. Substitute back yy.

dydx=cos⁡xcos⁡2xcos⁡3x⋅(−tan⁡x−2tan⁡2x−3tan⁡3x)\frac{dy}{dx} = \cos x \cos 2x \cos 3x \cdot \left( -\tan x - 2\tan 2x - 3\tan 3x \right)

Factor the negative sign:

dydx=−cos⁡xcos⁡2xcos⁡3x(tan⁡x+2tan⁡2x+3tan⁡3x)\frac{dy}{dx} = -\cos x \cos 2x \cos 3x \left( \tan x + 2\tan 2x + 3\tan 3x \right)

Watch out

A common mistake is forgetting the chain rule on log⁡(cos⁡2x)\log(\cos 2x) — the derivative of cos⁡2x\cos 2x brings a factor of 22, so the tangent term gets multiplied by 22. Similarly for cos⁡3x\cos 3x, the factor is 33. Always check the inner derivative.

Tip

If you prefer, you can write the answer in an alternative form using tan⁡kx=sin⁡kxcos⁡kx\tan kx = \frac{\sin kx}{\cos kx}, but the expression above is perfectly acceptable and often preferred in exams.

✓Final answer

The derivative is −cos⁡xcos⁡2xcos⁡3x(tan⁡x+2tan⁡2x+3tan⁡3x)\boxed{-\cos x \cos 2x \cos 3x \left( \tan x + 2\tan 2x + 3\tan 3x \right)}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.