Differentiate w.r.t. x the function in Exercises 1 to 11. \(x^{x^2-3}+(x-3)^{x^2},\) for \(x>3\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine a number that is both the base and the power at the same time — like a shape that keeps changing its own size. Normal shortcut rules break down here. So mathematicians use a clever trick: take the logarithm, which peels the power down like unwrapping a gift. Once the exponent is no longer "up high," ordinary multiplication rules can handle it. Our problem has two such tricky pieces added together, so we unwrap each piece separately and then simply add the results at the end.
Answer: \[ \frac{dy}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right) + (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right). \]
When a function has a variable in both the base and the exponent, like \( u^{v} \) where \( u \) and \( v \) both depend on \( 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 \( \ln(a^b) = b \ln a \) to bring the exponent down, and then differentiate implicitly. Since our function is a SUM of two such terms, we treat each term separately by setting each equal to its own variable, differentiate each, and finally add the two derivatives.
If \( y = u^{v} \) with \( u, v \) functions of \( x \), then \( \ln y = v \ln u \), and \[ \frac{1}{y}\frac{dy}{dx} = v'\ln u + v\cdot\frac{u'}{u}. \] Also \( \frac{d}{dx}(\ln x) = \frac{1}{x} \) and product rule \( (fg)' = f'g + fg' \).
\[ \frac{dy}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right) + (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right). \]
A common mistake is trying to differentiate \( x^{x^2-3} \) using the power rule as \( (x^2-3)x^{x^2-4} \), or using the exponential rule as \( x^{x^2-3}\ln x \). Neither works because BOTH the base and the exponent contain \( x \); you must use logarithmic differentiation, which produces the two-term result shown.
\[ \frac{dy}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right) + (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right). \]
One common mistake: Students forget to apply the product rule when differentiating \( (x^2 - 3)\ln x \) or \( x^2 \ln(x-3) \), and instead differentiate only one factor — for example, writing \( \frac{d}{dx}[(x^2-3)\ln x] = 2x \cdot \ln x \) while omitting the second term \( (x^2-3)\cdot\frac{1}{x} \). Always differentiate both factors and add the results.
Answer: \[ \frac{dy}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right) + (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right). \]
Question: Differentiate with respect to \(x\): \[y = x^{x^2+1} + (x+2)^{x^3}, \quad x > 0\]
Solution: Let \(u = x^{x^2+1}\) and \(v = (x+2)^{x^3}\), so that \(y = u + v\). Step 1: Differentiate \(u = x^{x^2+1}\). Taking logarithm: \(\ln u = (x^2+1)\ln x\). Differentiating both sides with respect to \(x\): \[\frac{1}{u}\frac{du}{dx} = 2x \ln x + (x^2+1) \cdot \frac{1}{x}\] Multiplying both sides by \(u\): \[\frac{du}{dx} = x^{x^2+1}\left(2x \ln x + \frac{x^2+1}{x}\right)\] Step 2: Differentiate \(v = (x+2)^{x^3}\). Taking logarithm: \(\ln v = x^3 \ln(x+2)\). Differentiating both sides with respect to \(x\): \[\frac{1}{v}\frac{dv}{dx} = 3x^2 \ln(x+2) + x^3 \cdot \frac{1}{x+2}\] Multiplying both sides by \(v\): \[\frac{dv}{dx} = (x+2)^{x^3}\left(3x^2 \ln(x+2) + \frac{x^3}{x+2}\right)\] Step 3: Add the two derivatives. \[\frac{dy}{dx} = x^{x^2+1}\left(2x \ln x + \frac{x^2+1}{x}\right) + (x+2)^{x^3}\left(3x^2 \ln(x+2) + \frac{x^3}{x+2}\right)\]
Answer: \(\frac{dy}{dx} = x^{x^2+1}\left(2x \ln x + \frac{x^2+1}{x}\right) + (x+2)^{x^3}\left(3x^2 \ln(x+2) + \frac{x^3}{x+2}\right)\)
Question: Differentiate with respect to \(x\): \[y = (2x+1)^{x^2} + x^{\sin x}, \quad x > 0\]
Solution: Let \(u = (2x+1)^{x^2}\) and \(v = x^{\sin x}\), so that \(y = u + v\). Step 1: Differentiate \(u = (2x+1)^{x^2}\). Taking logarithm: \(\ln u = x^2 \ln(2x+1)\). Differentiating both sides with respect to \(x\): \[\frac{1}{u}\frac{du}{dx} = 2x \ln(2x+1) + x^2 \cdot \frac{2}{2x+1}\] Multiplying both sides by \(u\): \[\frac{du}{dx} = (2x+1)^{x^2}\left(2x \ln(2x+1) + \frac{2x^2}{2x+1}\right)\] Step 2: Differentiate \(v = x^{\sin x}\). Taking logarithm: \(\ln v = \sin x \cdot \ln x\). Differentiating both sides with respect to \(x\): \[\frac{1}{v}\frac{dv}{dx} = \cos x \cdot \ln x + \sin x \cdot \frac{1}{x}\] Multiplying both sides by \(v\): \[\frac{dv}{dx} = x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right)\] Step 3: Add the two derivatives. \[\frac{dy}{dx} = (2x+1)^{x^2}\left(2x \ln(2x+1) + \frac{2x^2}{2x+1}\right) + x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right)\]
Answer: \(\frac{dy}{dx} = (2x+1)^{x^2}\left(2x \ln(2x+1) + \frac{2x^2}{2x+1}\right) + x^{\sin x}\left(\cos x \cdot \ln x + \frac{\sin x}{x}\right)\)
Question: Differentiate with respect to \( x \) the function \[ y = x^{x^2+2} + (x+2)^{x^2}, \quad x > 0. \]
Answer: \[ \frac{dy}{dx} = x^{x^2+2}\left(2x\ln x + \frac{x^2+2}{x}\right) + (x+2)^{x^2}\left(2x\ln(x+2) + \frac{x^2}{x+2}\right). \]