Skip to content
Miscellaneous Exercise · Q9

Q.Find dydx\frac{dy}{dx} in the following: (sin⁡x−cos⁡x)(sin⁡x−cos⁡x),π4<x<3π4(\sin x - \cos x)^{(\sin x - \cos x)}, \frac{\pi}{4} < x < \frac{3\pi}{4}

Tripura TbseTextbookSubjective· 3mImportance★★★★★
59% · 167/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

For a function of the form y=[f(x)]g(x)y = [f(x)]^{g(x)}, we take logarithms on both sides to bring down the exponent, then differentiate implicitly. Here, f(x)=g(x)=sin⁡x−cos⁡xf(x) = g(x) = \sin x - \cos x, so after simplification the derivative is dydx=(sin⁡x−cos⁡x)sin⁡x−cos⁡x⋅(cos⁡x+sin⁡x)⋅[1+log⁡(sin⁡x−cos⁡x)]\frac{dy}{dx} = (\sin x - \cos x)^{\sin x - \cos x} \cdot (\cos x + \sin x) \cdot \big[1 + \log(\sin x - \cos x)\big].

We have y=(sin⁡x−cos⁡x)(sin⁡x−cos⁡x)y = (\sin x - \cos x)^{(\sin x - \cos x)}. This is a variable raised to a variable power — neither a pure power rule nor a pure exponential rule applies directly. The standard technique for such "function to the power of function" forms is logarithmic differentiation.

Why does this work? Taking the natural logarithm converts the exponent into a product, which we can then differentiate using the product rule. The chain rule then handles the composition on the left side.

Let’s go step by step.

  1. Take the natural logarithm of both sides. Since y>0y > 0 in the given interval π4<x<3π4\frac{\pi}{4} < x < \frac{3\pi}{4} (check: sin⁡x−cos⁡x\sin x - \cos x is positive here), we can safely write:

log⁡y=log⁡[(sin⁡x−cos⁡x)sin⁡x−cos⁡x]\log y = \log \left[ (\sin x - \cos x)^{\sin x - \cos x} \right]

Using the power property of logs:

log⁡y=(sin⁡x−cos⁡x)⋅log⁡(sin⁡x−cos⁡x)\log y = (\sin x - \cos x) \cdot \log(\sin x - \cos x)

  1. Differentiate both sides with respect to xx. On the left, by the chain rule:

ddx(log⁡y)=1y⋅dydx\frac{d}{dx} (\log y) = \frac{1}{y} \cdot \frac{dy}{dx}

On the right, we have a product: u⋅vu \cdot v where u=sin⁡x−cos⁡xu = \sin x - \cos x and v=log⁡(sin⁡x−cos⁡x)v = \log(\sin x - \cos x).

Differentiate using the product rule:

ddx[u⋅v]=u′v+uv′\frac{d}{dx} \big[ u \cdot v \big] = u' v + u v'

  1. Find u′u' and v′v'.

u=sin⁡x−cos⁡x⇒u′=cos⁡x+sin⁡xu = \sin x - \cos x \quad \Rightarrow \quad u' = \cos x + \sin x

For v=log⁡(sin⁡x−cos⁡x)v = \log(\sin x - \cos x), use the chain rule:

v′=1sin⁡x−cos⁡x⋅(cos⁡x+sin⁡x)v' = \frac{1}{\sin x - \cos x} \cdot (\cos x + \sin x)

  1. Assemble the derivative of the right side.

ddx[(sin⁡x−cos⁡x)log⁡(sin⁡x−cos⁡x)]=(cos⁡x+sin⁡x)⋅log⁡(sin⁡x−cos⁡x)+(sin⁡x−cos⁡x)⋅cos⁡x+sin⁡xsin⁡x−cos⁡x\frac{d}{dx} \big[ (\sin x - \cos x) \log(\sin x - \cos x) \big] = (\cos x + \sin x) \cdot \log(\sin x - \cos x) + (\sin x - \cos x) \cdot \frac{\cos x + \sin x}{\sin x - \cos x}

The second term simplifies: (sin⁡x−cos⁡x)⋅cos⁡x+sin⁡xsin⁡x−cos⁡x=cos⁡x+sin⁡x(\sin x - \cos x) \cdot \frac{\cos x + \sin x}{\sin x - \cos x} = \cos x + \sin x.

So the right side becomes:

(cos⁡x+sin⁡x)log⁡(sin⁡x−cos⁡x)+(cos⁡x+sin⁡x)(\cos x + \sin x) \log(\sin x - \cos x) + (\cos x + \sin x)

Factor out (cos⁡x+sin⁡x)(\cos x + \sin x):

(cos⁡x+sin⁡x)[log⁡(sin⁡x−cos⁡x)+1](\cos x + \sin x) \big[ \log(\sin x - \cos x) + 1 \big]

  1. Equate and solve for dydx\frac{dy}{dx}. From step 2: …

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.