Skip to content
Miscellaneous Exercise · Q3

Q.Find dydx\frac{dy}{dx} in the following: (5x)3cos⁡2x(5x)^{3 \cos 2x}

Punjab PsebTextbookSubjective· 3mImportance★★★★★
57% · 161/281 Questions
✓ Free question

We use logarithmic differentiation to handle a variable exponent. Taking the natural log of both sides, differentiating implicitly, and solving for dydx\frac{dy}{dx} gives dydx=(5x)3cos⁡2x[3cos⁡2xx−6sin⁡2xlog⁡(5x)]\frac{dy}{dx} = (5x)^{3\cos 2x} \left[ \frac{3\cos 2x}{x} - 6\sin 2x \log(5x) \right].

When you see a function where both the base and the exponent contain the variable — like (5x)3cos⁡2x(5x)^{3\cos 2x} — the standard differentiation rules (power rule, exponential rule) don't apply directly. The power rule assumes a constant exponent; the exponential rule assumes a constant base. Here, both are moving.

The trick is to use logarithmic differentiation. By taking the natural log, we turn the exponent into a product, which we can then differentiate using the product rule and chain rule. This is the cleanest, most reliable method for this type of problem.

Let’s work through it.

  1. Set up the equation. Let y=(5x)3cos⁡2xy = (5x)^{3\cos 2x}. Take the natural logarithm of both sides:

log⁡y=log⁡((5x)3cos⁡2x)\log y = \log\left( (5x)^{3\cos 2x} \right)

Using the power property of logs, log⁡(ab)=blog⁡a\log(a^b) = b \log a, we get:

log⁡y=3cos⁡2x⋅log⁡(5x)\log y = 3\cos 2x \cdot \log(5x)

  1. Differentiate both sides with respect to xx. On the left, ddx[log⁡y]=1y⋅dydx\frac{d}{dx}[\log y] = \frac{1}{y} \cdot \frac{dy}{dx} (chain rule). On the right, we have a product: 3cos⁡2x3\cos 2x times log⁡(5x)\log(5x). Use the product rule:

ddx[3cos⁡2x⋅log⁡(5x)]=(ddx[3cos⁡2x])⋅log⁡(5x)+3cos⁡2x⋅(ddx[log⁡(5x)])\frac{d}{dx}[3\cos 2x \cdot \log(5x)] = \left( \frac{d}{dx}[3\cos 2x] \right) \cdot \log(5x) + 3\cos 2x \cdot \left( \frac{d}{dx}[\log(5x)] \right)

  1. Compute the derivatives in the product.

    • For ddx[3cos⁡2x]\frac{d}{dx}[3\cos 2x]: The derivative of cos⁡2x\cos 2x is −sin⁡2x⋅2=−2sin⁡2x-\sin 2x \cdot 2 = -2\sin 2x, so multiplied by 3 gives −6sin⁡2x-6\sin 2x.
    • For ddx[log⁡(5x)]\frac{d}{dx}[\log(5x)]: log⁡(5x)=log⁡5+log⁡x\log(5x) = \log 5 + \log x, so its derivative is 1x\frac{1}{x}. (Or directly: derivative of log⁡(5x)\log(5x) is 15x⋅5=1x\frac{1}{5x} \cdot 5 = \frac{1}{x}.)

    So the right-hand side becomes:

(−6sin⁡2x)⋅log⁡(5x)+3cos⁡2x⋅1x(-6\sin 2x) \cdot \log(5x) + 3\cos 2x \cdot \frac{1}{x}

  1. Put it together. We have:

1ydydx=3cos⁡2xx−6sin⁡2xlog⁡(5x)\frac{1}{y} \frac{dy}{dx} = \frac{3\cos 2x}{x} - 6\sin 2x \log(5x)

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

dydx=y(3cos⁡2xx−6sin⁡2xlog⁡(5x))\frac{dy}{dx} = y \left( \frac{3\cos 2x}{x} - 6\sin 2x \log(5x) \right)

Now substitute back y=(5x)3cos⁡2xy = (5x)^{3\cos 2x}:

dydx=(5x)3cos⁡2x(3cos⁡2xx−6sin⁡2xlog⁡(5x))\frac{dy}{dx} = (5x)^{3\cos 2x} \left( \frac{3\cos 2x}{x} - 6\sin 2x \log(5x) \right)

Watch out

A common mistake is to forget that log⁡(5x)\log(5x) differentiates to 1x\frac{1}{x}, not 15x\frac{1}{5x}. The factor of 5 cancels because of the chain rule. Always simplify: ddx[log⁡(ax)]=1x\frac{d}{dx}[\log(ax)] = \frac{1}{x} for any constant a>0a > 0.

Tip

If you ever see a function of the form [f(x)]g(x)[f(x)]^{g(x)}, logarithmic differentiation is your go-to. It converts the exponent into a multiplier, making the product rule straightforward.

✓Final answer

The derivative is dydx=(5x)3cos⁡2x(3cos⁡2xx−6sin⁡2xlog⁡(5x))\frac{dy}{dx} = (5x)^{3\cos 2x} \left( \frac{3\cos 2x}{x} - 6\sin 2x \log(5x) \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.