Differentiate the functions given in Exercises 1 to 11 \(w.r.t. x.\) \( (log\ x)^{cos\ x}\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you want to find how fast something is changing, but the thing looks like a number raised to a wobbly power — both parts keep changing together. Taking a logarithm is like opening a locked box: it brings that power down to a friendlier level. Once the power is down, you can use ordinary rules to find the rate of change. Multiply back by the original thing at the end. The answer tells us exactly how fast \( (\log x)^{\cos x} \) changes.
Answer: \[ \frac{dy}{dx} = (\log x)^{\cos x}\left[ \frac{\cos x}{x\log x} - \sin x \cdot \log(\log x) \right] \]
When a function has the form \( (\text{function of } x)^{\text{function of } x} \), we cannot directly use the power rule or the exponential rule, because both the base and the power depend on \( x \). The standard technique is logarithmic differentiation: we take the natural logarithm of both sides to convert the power into a product using the log property \( \log(a^b) = b \log a \). This makes the expression easier to differentiate. After taking logs, we differentiate both sides with respect to \( x \), using the product rule and chain rule on the right side, and then solve for \( \frac{dy}{dx} \).
Key results used: \( \log(a^b) = b\log a \), \(\ \frac{d}{dx}(\log x) = \frac{1}{x} \), \(\ \frac{d}{dx}(\cos x) = -\sin x \), and the product rule \( (uv)' = u'v + uv' \).
\[ \frac{dy}{dx} = (\log x)^{\cos x}\left[ \frac{\cos x}{x\log x} - \sin x \cdot \log(\log x) \right] \]
A common mistake is treating the function like a simple power and writing \( \cos x \cdot (\log x)^{\cos x - 1} \), or forgetting the chain rule when differentiating \( \log(\log x) \), which gives \( \frac{1}{x\log x} \), not just \( \frac{1}{\log x} \).
\[ \frac{dy}{dx} = (\log x)^{\cos x}\left[ \frac{\cos x}{x\log x} - \sin x \cdot \log(\log x) \right] \]
One common mistake: when differentiating \( \log(\log x) \), students often write \( \frac{1}{\log x} \) and forget to multiply by the derivative of the inner function \( \log x \), which is \( \frac{1}{x} \). The correct result is \( \frac{1}{x \log x} \), not \( \frac{1}{\log x} \).
Answer: \[ \frac{dy}{dx} = (\log x)^{\cos x}\left[ \frac{\cos x}{x\log x} - \sin x \cdot \log(\log x) \right] \]
Question: Differentiate \( y = (\sin x)^{\ln x} \) with respect to \( x \).
Solution: Let \( y = (\sin x)^{\ln x} \). Taking the natural logarithm of both sides: \[ \ln y = \ln x \cdot \ln(\sin x) \] Differentiating both sides with respect to \( x \) (using the product rule on the right side): \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx}\left[\ln x \cdot \ln(\sin x)\right] \] Applying the product rule: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{1}{x} \cdot \ln(\sin x) + \ln x \cdot \frac{\cos x}{\sin x} \] Simplifying the second term: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{\ln(\sin x)}{x} + \ln x \cdot \cot x \] Multiplying both sides by \( y = (\sin x)^{\ln x} \): \[ \frac{dy}{dx} = (\sin x)^{\ln x} \left[ \frac{\ln(\sin x)}{x} + (\cot x)(\ln x) \right] \]
Answer: \( \frac{dy}{dx} = (\sin x)^{\ln x} \left[ \frac{\ln(\sin x)}{x} + \cot x \cdot \ln x \right] \)
Question: Differentiate \( y = x^{\tan x} \) with respect to \( x \).
Solution: Let \( y = x^{\tan x} \). Taking the natural logarithm of both sides: \[ \ln y = \tan x \cdot \ln x \] Differentiating both sides with respect to \( x \): \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx}\left[\tan x \cdot \ln x\right] \] Applying the product rule on the right side: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \sec^2 x \cdot \ln x + \tan x \cdot \frac{1}{x} \] Simplifying: \[ \frac{1}{y} \cdot \frac{dy}{dx} = (\ln x)(\sec^2 x) + \frac{\tan x}{x} \] Multiplying both sides by \( y = x^{\tan x} \): \[ \frac{dy}{dx} = x^{\tan x} \left[ (\ln x)(\sec^2 x) + \frac{\tan x}{x} \right] \]
Answer: \( \frac{dy}{dx} = x^{\tan x} \left[ \sec^2 x \cdot \ln x + \frac{\tan x}{x} \right] \)
Question: Differentiate the following function with respect to \( x \): \[ y = (\sin x)^{\ln x} \]
Answer: \[ \frac{dy}{dx} = (\sin x)^{\ln x}\left[ \frac{\ln(\sin x)}{x} + \ln x \cdot \cot x \right] \]