Differentiate w.r.t. x the function in Exercises 1 to 11. \(x^x + x^a + a^x + a^a,\) for some fixed \( a > 0\) and \(x > 0\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you have four jars of sweets. Some jars change as you add more sweets, others stay fixed forever. The last jar, \( a^a \), never changes at all — its count is always the same number. The jar \( x^x \) is the trickiest because both the label and the amount inside keep changing together. We find how fast each jar grows separately, then add all those rates together. The fixed jar contributes nothing, so it disappears from our answer completely.
Answer: \[ \frac{dy}{dx} = x^x (1 + \ln x) + a x^{a-1} + a^x \ln a \]
The function \( y = x^x + x^a + a^x + a^a \) is a sum of four terms, and each term is a different type. To differentiate the whole thing, we differentiate each term separately and add the results. The key is to identify the type of each term because each type needs its own rule. In \( x^x \) both the base and the exponent are variables, so we cannot use the ordinary power rule or the exponential rule directly; here we use logarithmic differentiation. In \( x^a \) the base is a variable and the exponent is a constant, so we use the power rule. In \( a^x \) the base is a constant and the exponent is a variable, so we use the exponential rule. Finally, \( a^a \) is a pure constant (both base and exponent are fixed numbers), so its derivative is zero.
Power rule: \( \frac{d}{dx}(x^n) = n x^{n-1} \). Exponential rule: \( \frac{d}{dx}(a^x) = a^x \ln a \). Logarithmic differentiation for \( u = x^x \): take \( \ln u = x \ln x \), then \( \frac{1}{u}\frac{du}{dx} = \ln x + 1 \).
\[ \frac{dy}{dx} = x^x (1 + \ln x) + a x^{a-1} + a^x \ln a \]
A very common mistake is treating \( x^x \) like \( x^a \) and writing \( x \cdot x^{x-1} \), or treating it like \( a^x \) and writing \( x^x \ln x \). Neither is correct because in \( x^x \) the base and the exponent both vary; you must use logarithmic differentiation. Another slip is thinking \( a^a \) has a nonzero derivative, when in fact it is just a constant and differentiates to \( 0 \).
\[ \frac{dy}{dx} = x^x (1 + \ln x) + a x^{a-1} + a^x \ln a \]
One common mistake: Students often try to differentiate \( x^x \) using the power rule (bringing the exponent down) or the exponential rule (multiplying by \( \ln x \)) alone — but neither rule applies here because both the base and the exponent are variable. Logarithmic differentiation must be used for \( x^x \).
Answer: \[ \frac{dy}{dx} = x^x (1 + \ln x) + a x^{a-1} + a^x \ln a \]
Question: Differentiate with respect to \(x\) the function \(f(x) = x^x + x^b + b^x + b^b\), where \(b > 0\) is a fixed constant and \(x > 0\).
Solution: We differentiate each term separately. Let \(u = x^x\). Taking the natural logarithm: \(\ln u = x \ln x\). Differentiating both sides with respect to \(x\): \[\frac{1}{u}\frac{du}{dx} = \ln x + x \cdot \frac{1}{x} = \ln x + 1\] So \(\frac{du}{dx} = x^x(1 + \ln x)\). For the term \(x^b\) (constant exponent \(b\)), we apply the power rule: \[\frac{d}{dx}(x^b) = b\, x^{b-1}\] For the term \(b^x\) (constant base \(b\), variable exponent), we use the exponential differentiation formula: \[\frac{d}{dx}(b^x) = b^x \ln b\] For the term \(b^b\) (a pure constant since \(b\) is fixed): \[\frac{d}{dx}(b^b) = 0\] Combining all four terms, the derivative is: \[f'(x) = x^x(1 + \ln x) + b\,x^{b-1} + b^x \ln b + 0\] Therefore: \[f'(x) = x^x(1 + \ln x) + b\,x^{b-1} + b^x \ln b\]
Answer: \(f'(x) = x^x(1 + \ln x) + b\,x^{b-1} + b^x \ln b\)
Question: Differentiate with respect to \(x\) the function \(g(x) = x^{2x} + x^3 + 5^x + 5^5\), where \(x > 0\).
Solution: We differentiate each term separately. For the term \(x^{2x}\), let \(v = x^{2x}\). Taking the natural logarithm: \[\ln v = 2x \ln x\] Differentiating both sides with respect to \(x\): \[\frac{1}{v}\frac{dv}{dx} = 2\ln x + 2x \cdot \frac{1}{x} = 2\ln x + 2\] So: \[\frac{dv}{dx} = x^{2x}(2\ln x + 2) = 2x^{2x}(1 + \ln x)\] For the term \(x^3\) (constant exponent 3), we apply the power rule: \[\frac{d}{dx}(x^3) = 3x^2\] For the term \(5^x\) (constant base 5, variable exponent), we use the exponential differentiation formula: \[\frac{d}{dx}(5^x) = 5^x \ln 5\] For the term \(5^5 = 3125\) (a pure constant): \[\frac{d}{dx}(5^5) = 0\] Combining all four terms: \[g'(x) = 2x^{2x}(1 + \ln x) + 3x^2 + 5^x \ln 5 + 0\] Therefore: \[g'(x) = 2x^{2x}(1 + \ln x) + 3x^2 + 5^x \ln 5\]
Answer: \(g'(x) = 2x^{2x}(1 + \ln x) + 3x^2 + 5^x \ln 5\)
Question: Differentiate the following function with respect to \( x \): \[ y = x^x + x^b + b^x - b^b \] where \( b > 0 \) is a fixed constant and \( x > 0 \).
Answer: \[ \frac{dy}{dx} = x^x(1 + \ln x) + b \, x^{b-1} + b^x \ln b \]