Differentiate w.r.t. x the function in Exercises 1 to \( (log\ x)^{log\ x}, x > 1\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you have a number that is raised to a power, but both the number and the power keep changing together. Normal rules for powers do not work here. So we use a clever trick: take the logarithm of both sides, like peeling a wrapper off a gift. This turns a tricky power problem into a simpler multiplication problem. After doing some careful calculation, we find the rate of change of \( y = (\log x)^{\log x} \) and then multiply back to get our final answer.
Answer: \[ \frac{dy}{dx} = (\log x)^{\log x}\cdot \frac{1}{x}\left( 1 + \log(\log x) \right). \]
When a function has a variable in both its base and its exponent, like \( (\log x)^{\log x} \), we cannot use the simple power rule or the exponential rule directly. Instead we use logarithmic differentiation. The idea is to take the natural logarithm of both sides. This converts the awkward power into a product using the log property \( \log(a^b) = b \log a \). After taking logs, we differentiate both sides with respect to \( x \), remembering to use the chain rule on \( \log y \) and the product rule on the right-hand side. Finally we multiply back by \( y \) to isolate \( \frac{dy}{dx} \).
If \( \log y = f(x) \), then \( \frac{1}{y}\frac{dy}{dx} = f'(x) \). Also \( \frac{d}{dx}(\log x) = \frac{1}{x} \) and product rule \( (uv)' = u'v + uv' \).
\[ \frac{dy}{dx} = (\log x)^{\log x}\cdot \frac{1}{x}\left( 1 + \log(\log x) \right). \]
A common mistake is trying to differentiate \( (\log x)^{\log x} \) using the power rule \( n x^{n-1} \) or the rule \( a^x \log a \). Neither works because BOTH the base and exponent vary with \( x \); you must use logarithmic differentiation.
\[ \frac{dy}{dx} = (\log x)^{\log x}\cdot \frac{1}{x}\left( 1 + \log(\log x) \right). \]
One common mistake: forgetting to apply the chain rule when differentiating \( \log(\log x) \) — students often write \( \frac{1}{\log x} \) and stop, omitting the extra factor of \( \frac{1}{x} \) that comes from differentiating the inner function \( \log x \), which leads to an incorrect expression for \( v' \).
Answer: \[ \frac{dy}{dx} = (\log x)^{\log x}\cdot \frac{1}{x}\left( 1 + \log(\log x) \right). \]
Question: Differentiate \( y = (\sin x)^{\sin x} \) with respect to \( x \), where \( 0 < x < \pi \).
Solution: Let \( y = (\sin x)^{\sin x} \). Taking the natural logarithm of both sides: \[ \ln y = \sin x \cdot \ln(\sin x) \] Differentiating both sides with respect to \( x \) (using implicit differentiation on the left and the product rule on the right): \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx}[\sin x] \cdot \ln(\sin x) + \sin x \cdot \frac{d}{dx}[\ln(\sin x)] \] Now, \( \frac{d}{dx}[\sin x] = \cos x \) and \( \frac{d}{dx}[\ln(\sin x)] = \frac{\cos x}{\sin x} = \cot x \). Substituting: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \cos x \cdot \ln(\sin x) + \sin x \cdot \cot x \] Since \( \sin x \cdot \cot x = \sin x \cdot \frac{\cos x}{\sin x} = \cos x \), we get: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \cos x \cdot \ln(\sin x) + \cos x \] Therefore: \[ \frac{dy}{dx} = y \left[ \cos x \cdot \ln(\sin x) + \cos x \right] \] Substituting back \( y = (\sin x)^{\sin x} \): \[ \frac{dy}{dx} = (\sin x)^{\sin x} \cdot \cos x \left[ 1 + \ln(\sin x) \right] \]
Answer: \( \frac{dy}{dx} = (\sin x)^{\sin x} \cdot \cos x \left[1 + \ln(\sin x)\right] \)
Question: Differentiate \( y = x^{\tan x} \) with respect to \( x \), for \( x > 0 \).
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 \) (implicit differentiation on the left, product rule on the right): \[ \frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx}[\tan x] \cdot \ln x + \tan x \cdot \frac{d}{dx}[\ln x] \] Now, \( \frac{d}{dx}[\tan x] = \sec^2 x \) and \( \frac{d}{dx}[\ln x] = \frac{1}{x} \). Substituting: \[ \frac{1}{y} \cdot \frac{dy}{dx} = \sec^2 x \cdot \ln x + \tan x \cdot \frac{1}{x} \] Therefore: \[ \frac{dy}{dx} = y \left[ \sec^2 x \cdot \ln x + \frac{\tan x}{x} \right] \] Substituting back \( y = x^{\tan x} \): \[ \frac{dy}{dx} = x^{\tan x} \left[ \sec^2 x \cdot \ln 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 with respect to \( x \) the function \( y = x^{\log x} \), where \( x > 0 \).
Answer: \[ \frac{dy}{dx} = x^{\log x} \cdot \frac{2 \log x}{x} \]