SOLVER7 Study. Nothing Else.
Chapter 5 Miscellaneous Exercise Q11

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

Solution

👶 Simple Explanation

Simple Explanation

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). \]

📖 Differentiating a Sum of Two Variable-Power Functions

Detailed Explanation

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.

Formula Used

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' \).

Solution

  1. Step 1: Split the function into two parts. Let \( y = u + v \) where \( u = x^{x^2-3} \) and \( v = (x-3)^{x^2} \). Then \[ \frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}. \] We find each derivative using logarithmic differentiation.
  2. Step 2: Work on the first term. Let \( u = x^{x^2-3} \). Take natural logarithm on both sides: \[ \ln u = (x^2 - 3)\ln x. \] This converts the variable exponent into a product, which we can differentiate.
  3. Step 3: Differentiate \( \ln u = (x^2-3)\ln x \) with respect to \( x \) using the product rule on the right side: \[ \frac{1}{u}\frac{du}{dx} = (2x)\ln x + (x^2-3)\cdot\frac{1}{x}. \] Multiply by \( u \): \[ \frac{du}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right). \]
  4. Step 4: Now work on the second term. Let \( v = (x-3)^{x^2} \). Take natural logarithm on both sides: \[ \ln v = x^2 \ln(x-3). \] This is valid because \( x > 3 \), so \( x - 3 > 0 \) and its logarithm is defined.
  5. Step 5: Differentiate \( \ln v = x^2 \ln(x-3) \) using the product rule. Note \( \frac{d}{dx}\ln(x-3) = \frac{1}{x-3} \): \[ \frac{1}{v}\frac{dv}{dx} = (2x)\ln(x-3) + x^2\cdot\frac{1}{x-3}. \] Multiply by \( v \): \[ \frac{dv}{dx} = (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right). \]
  6. Step 6: Add the two derivatives to get the final result: \[ \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). \]

Final 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). \]

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Split the sum into two separate terms: Write the given function as \( y = u + v \) where \( u = x^{x^2 - 3} \) and \( v = (x-3)^{x^2} \), so \[\frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}.\] Reason: Since both terms individually have variables in the base and the exponent, we handle them one at a time, then add their derivatives at the end.
  2. Step 2: Take the natural log of the first term: For \( u = x^{x^2 - 3} \), take the natural logarithm of both sides: \[\ln u = (x^2 - 3)\ln x.\] Reason: The log property \( \ln(a^b) = b\ln a \) converts the variable exponent into a product of two functions of \( x \), which we know how to differentiate using the product rule.
  3. Step 3: Differentiate implicitly to find du/dx: Differentiate both sides of \( \ln u = (x^2 - 3)\ln x \) with respect to \( x \). The left side gives \( \frac{1}{u}\frac{du}{dx} \). Applying the product rule to the right side with \( f = x^2 - 3 \) and \( g = \ln x \): \[\frac{1}{u}\frac{du}{dx} = 2x \cdot \ln x + (x^2 - 3) \cdot \frac{1}{x}.\] Multiplying both sides by \( u = x^{x^2-3} \): \[\frac{du}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right).\] Reason: Implicit differentiation of \( \ln u \) introduces \( \frac{1}{u}\frac{du}{dx} \) on the left; multiplying by \( u \) then isolates \( \frac{du}{dx} \).
  4. Step 4: Take the natural log of the second term: For \( v = (x-3)^{x^2} \), take the natural logarithm of both sides: \[\ln v = x^2 \ln(x-3).\] Reason: Same strategy as Step 2 — the log property brings \( x^2 \) down from the exponent, turning the expression into a product that the product rule can handle.
  5. Step 5: Differentiate implicitly to find dv/dx: Differentiate both sides of \( \ln v = x^2 \ln(x-3) \) with respect to \( x \). On the left we get \( \frac{1}{v}\frac{dv}{dx} \). Applying the product rule to the right side with \( f = x^2 \) and \( g = \ln(x-3) \), using the chain rule \( \frac{d}{dx}[\ln(x-3)] = \frac{1}{x-3} \): \[\frac{1}{v}\frac{dv}{dx} = 2x \cdot \ln(x-3) + x^2 \cdot \frac{1}{x-3}.\] Multiplying both sides by \( v = (x-3)^{x^2} \): \[\frac{dv}{dx} = (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right).\] Reason: The chain rule is needed because the argument of the log is \( (x-3) \), not simply \( x \).
  6. Step 6: Combine both derivatives for the final answer: Add \( \frac{du}{dx} \) and \( \frac{dv}{dx} \) together: \[\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).\] Reason: By the sum rule of differentiation, the derivative of a sum equals the sum of the individual derivatives, so we simply add the two results obtained in Steps 3 and 5.

Final 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). \]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Let \( u = x^{x^2-3} \) and \( v = (x-3)^{x^2} \), so \( \frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx} \).
  2. Step 2: For \( u \): \( \ln u = (x^2-3)\ln x \). Differentiating: \( \frac{1}{u}\frac{du}{dx} = 2x\ln x + \frac{x^2-3}{x} \), giving \( \frac{du}{dx} = x^{x^2-3}\left(2x\ln x + \frac{x^2-3}{x}\right) \).
  3. Step 3: For \( v \): \( \ln v = x^2\ln(x-3) \). Differentiating: \( \frac{1}{v}\frac{dv}{dx} = 2x\ln(x-3) + \frac{x^2}{x-3} \), giving \( \frac{dv}{dx} = (x-3)^{x^2}\left(2x\ln(x-3) + \frac{x^2}{x-3}\right) \).

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). \]

➕ More Examples

More Examples

Example 1

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)\)

Example 2

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)\)

🎯 Try a Similar Question

Try a Similar Question

Question: Differentiate with respect to \( x \) the function \[ y = x^{x^2+2} + (x+2)^{x^2}, \quad x > 0. \]

Solution

  1. Step 1: Split into two parts: Write \( y = u + v \), where \( u = x^{x^2+2} \) and \( v = (x+2)^{x^2} \). Then \[ \frac{dy}{dx} = \frac{du}{dx} + \frac{dv}{dx}. \]
  2. Step 2: Differentiate u using logarithmic differentiation: Take the natural log of \( u \): \[ \ln u = (x^2 + 2)\ln x. \] Differentiate both sides with respect to \( x \): \[ \frac{1}{u}\frac{du}{dx} = 2x \ln x + (x^2+2)\cdot\frac{1}{x}. \] Therefore \[ \frac{du}{dx} = u\left(2x\ln x + \frac{x^2+2}{x}\right) = x^{x^2+2}\left(2x\ln x + \frac{x^2+2}{x}\right). \]
  3. Step 3: Differentiate v using logarithmic differentiation: Take the natural log of \( v \): \[ \ln v = x^2 \ln(x+2). \] Differentiate both sides with respect to \( x \): \[ \frac{1}{v}\frac{dv}{dx} = 2x\ln(x+2) + x^2 \cdot \frac{1}{x+2}. \] Therefore \[ \frac{dv}{dx} = v\left(2x\ln(x+2) + \frac{x^2}{x+2}\right) = (x+2)^{x^2}\left(2x\ln(x+2) + \frac{x^2}{x+2}\right). \]
  4. Step 4: Combine the results: Adding the two derivatives gives the final 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). \]

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). \]

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24