Differentiate the functions given in Exercises 1 to 11 \(w.r.t. x.\) \(\left(x+\dfrac{1}{x}\right)^x+x^{\left(1+\dfrac{1}{x}\right)}\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine you are asked to count two separate jars of candies and report the total. Here, the function is like two separate jars. Each jar has a tricky shape — the number of candies and the jar size both change together. To handle this, we use a clever trick called logarithms, which is like using a magnifying glass to make the problem easier to see. We solve each jar on its own, then add the answers together at the end.
Answer: \[ \frac{dy}{dx} = \left(x + \frac{1}{x}\right)^{x}\left[ \log\left(x + \frac{1}{x}\right) + \frac{x^2 - 1}{x^2 + 1} \right] + x^{\left(1 + \frac{1}{x}\right)}\left[ \frac{x + 1 - \log x}{x^2} \right]. \]
When a function has the form (base)^(power) and both the base and the power contain the variable x, we cannot use the ordinary power rule or the exponential rule directly. Instead we use logarithmic differentiation: take the natural logarithm of the term, use the log property \( \log(a^b) = b\log a \) to bring the power down, and then differentiate implicitly. Here the given function is a sum of two such terms, so we split it as \( y = u + v \), differentiate each separately by logarithmic differentiation, and add the results. Remember that terms like \( x + \dfrac{1}{x} \) inside a logarithm require the product/quotient and chain rules when differentiated.
If \( u = f(x)^{g(x)} \), then \( \log u = g(x)\,\log f(x) \) and \[ \frac{du}{dx} = u\left[ g'(x)\log f(x) + g(x)\cdot \frac{f'(x)}{f(x)} \right]. \] Also \( \dfrac{d}{dx}(\log x) = \dfrac{1}{x} \) and \( \dfrac{d}{dx}\left(\dfrac{1}{x}\right) = -\dfrac{1}{x^2} \).
\[ \frac{dy}{dx} = \left(x + \frac{1}{x}\right)^{x}\left[ \log\left(x + \frac{1}{x}\right) + \frac{x^2 - 1}{x^2 + 1} \right] + x^{\left(1 + \frac{1}{x}\right)}\left[ \frac{x + 1 - \log x}{x^2} \right]. \]
A very common error is trying to differentiate \( \left(x + \dfrac{1}{x}\right)^{x} \) using the power rule (treating the exponent as constant) or the simple exponential rule (treating the base as constant). Since both base and power depend on x, you MUST use logarithmic differentiation. Also, students often forget the chain rule when differentiating \( \log\left(x + \dfrac{1}{x}\right) \), dropping the inner derivative \( 1 - \dfrac{1}{x^2} \).
\[ \frac{dy}{dx} = \left(x + \frac{1}{x}\right)^{x}\left[ \log\left(x + \frac{1}{x}\right) + \frac{x^2 - 1}{x^2 + 1} \right] + x^{\left(1 + \frac{1}{x}\right)}\left[ \frac{x + 1 - \log x}{x^2} \right]. \]
One common mistake: students forget to apply the product rule when differentiating \( x\,\log\!\left(x+\dfrac{1}{x}\right) \) or \( \left(1+\dfrac{1}{x}\right)\log x \), omitting the term that comes from differentiating the coefficient of the logarithm — this causes one entire bracket to be incomplete in the final answer.
Answer: \[ \frac{dy}{dx} = \left(x + \frac{1}{x}\right)^{x}\left[ \log\left(x + \frac{1}{x}\right) + \frac{x^2 - 1}{x^2 + 1} \right] + x^{\left(1 + \frac{1}{x}\right)}\left[ \frac{x + 1 - \log x}{x^2} \right]. \]
Question: Differentiate the function \(y = \left(x - \dfrac{1}{x}\right)^x + x^{\left(x - \dfrac{1}{x}\right)}\) with respect to \(x\).
Solution: Let \(y = u + v\) where \(u = \left(x - \dfrac{1}{x}\right)^x\) and \(v = x^{\left(x - \dfrac{1}{x}\right)}\). Differentiating term by term: \(\dfrac{dy}{dx} = \dfrac{du}{dx} + \dfrac{dv}{dx}\). Step 1: Find \(\dfrac{du}{dx}\). Taking logarithm: \(\ln u = x \ln\left(x - \dfrac{1}{x}\right)\). Differentiating both sides with respect to \(x\): \[\frac{1}{u}\frac{du}{dx} = \ln\left(x - \frac{1}{x}\right) + x \cdot \frac{1}{x - \frac{1}{x}} \cdot \left(1 + \frac{1}{x^2}\right)\] Simplify \(\dfrac{x \left(1 + \frac{1}{x^2}\right)}{x - \frac{1}{x}}\). Note that \(x - \dfrac{1}{x} = \dfrac{x^2 - 1}{x}\) and \(1 + \dfrac{1}{x^2} = \dfrac{x^2 + 1}{x^2}\), so: \[\frac{x \cdot \frac{x^2+1}{x^2}}{\frac{x^2-1}{x}} = \frac{\frac{x^2+1}{x}}{\frac{x^2-1}{x}} = \frac{x^2+1}{x^2-1}\] Therefore: \[\frac{1}{u}\frac{du}{dx} = \ln\left(x - \frac{1}{x}\right) + \frac{x^2+1}{x^2-1}\] So: \[\frac{du}{dx} = \left(x - \frac{1}{x}\right)^x \left[\ln\left(x - \frac{1}{x}\right) + \frac{x^2+1}{x^2-1}\right]\] Step 2: Find \(\dfrac{dv}{dx}\). Taking logarithm: \(\ln v = \left(x - \dfrac{1}{x}\right)\ln x\). Differentiating both sides with respect to \(x\): \[\frac{1}{v}\frac{dv}{dx} = \left(1 + \frac{1}{x^2}\right)\ln x + \left(x - \frac{1}{x}\right) \cdot \frac{1}{x}\] Simplify \(\left(x - \dfrac{1}{x}\right) \cdot \dfrac{1}{x} = 1 - \dfrac{1}{x^2}\): \[\frac{1}{v}\frac{dv}{dx} = \left(1 + \frac{1}{x^2}\right)\ln x + 1 - \frac{1}{x^2}\] So: \[\frac{dv}{dx} = x^{\left(x - \frac{1}{x}\right)} \left[\left(1 + \frac{1}{x^2}\right)\ln x + 1 - \frac{1}{x^2}\right]\] Step 3: Combine both parts. \[\frac{dy}{dx} = \left(x - \frac{1}{x}\right)^x \left[\ln\left(x - \frac{1}{x}\right) + \frac{x^2+1}{x^2-1}\right] + x^{\left(x - \frac{1}{x}\right)} \left[\left(1 + \frac{1}{x^2}\right)\ln x + 1 - \frac{1}{x^2}\right]\]
Answer: \(\dfrac{dy}{dx} = \left(x - \dfrac{1}{x}\right)^x \left[\ln\left(x - \dfrac{1}{x}\right) + \dfrac{x^2+1}{x^2-1}\right] + x^{\left(x - \frac{1}{x}\right)} \left[\left(1 + \dfrac{1}{x^2}\right)\ln x + 1 - \dfrac{1}{x^2}\right]\)
Question: Differentiate the function \(y = x^{\sin x} + (\sin x)^x\) with respect to \(x\).
Solution: Let \(y = u + v\) where \(u = x^{\sin x}\) and \(v = (\sin x)^x\). Then \(\dfrac{dy}{dx} = \dfrac{du}{dx} + \dfrac{dv}{dx}\). Step 1: Find \(\dfrac{du}{dx}\). Taking logarithm of \(u = x^{\sin x}\): \(\ln u = \sin x \cdot \ln x\). Differentiating both sides with respect to \(x\): \[\frac{1}{u}\frac{du}{dx} = \cos x \cdot \ln x + \sin x \cdot \frac{1}{x}\] Therefore: \[\frac{du}{dx} = x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right)\] Step 2: Find \(\dfrac{dv}{dx}\). Taking logarithm of \(v = (\sin x)^x\): \(\ln v = x \ln(\sin x)\). Differentiating both sides with respect to \(x\): \[\frac{1}{v}\frac{dv}{dx} = 1 \cdot \ln(\sin x) + x \cdot \frac{\cos x}{\sin x}\] Therefore: \[\frac{dv}{dx} = (\sin x)^x \left[\ln(\sin x) + x\cot x\right]\] Step 3: Combine both parts. \[\frac{dy}{dx} = x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right) + (\sin x)^x \left[\ln(\sin x) + x\cot x\right]\]
Answer: \(\dfrac{dy}{dx} = x^{\sin x}\left(\cos x \cdot \ln x + \dfrac{\sin x}{x}\right) + (\sin x)^x \left[\ln(\sin x) + x\cot x\right]\)
Question: Differentiate the following function with respect to \( x \): \[ y = \left(x - \frac{1}{x}\right)^{x} + x^{\left(2 - \frac{1}{x}\right)} \]
Answer: \[ \frac{dy}{dx} = \left(x - \frac{1}{x}\right)^{x}\left[\ln\left(x - \frac{1}{x}\right) + \frac{x^2+1}{x^2-1}\right] + x^{\left(2 - \frac{1}{x}\right)}\left[\frac{\ln x + 2x - 1}{x^2}\right] \]