SOLVER7 Study. Nothing Else.
Exercise 5.5 Q17

Differentiate \((x^2 – 5x + 8) (x^3 + 7x + 9)\) in three ways mentioned below:
(i) by using product rule
(ii) by expanding the product to obtain a single polynomial.
(iii) by logarithmic differentiation.
Do they all give the same answer?

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine you want to count the total number of candies in two bags. You can count each bag separately and add, or you can pour both bags together and count once. Either way, you get the same total! Here, we have a math expression that is two things multiplied together. We can find how fast it changes using three different tricks. Just like the candy example, all three tricks give the exact same answer because there is only one correct answer for how fast the expression changes.

Answer: All three methods give the same result: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] Yes, they all give the same answer.

📖 Differentiating a Product in Three Ways

Detailed Explanation

When a function is a product of two expressions, we can differentiate it using several valid methods. The product rule says that if \( y = u \cdot v \), then \( \frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx} \). Alternatively, we can first multiply the two factors to form one polynomial and differentiate term by term. A third approach is logarithmic differentiation, where we take the natural logarithm of both sides so that the product becomes a sum, then differentiate. Because differentiation gives a unique derivative for a given function, all three methods must produce exactly the same answer. Here we take \( u = x^2 - 5x + 8 \) and \( v = x^3 + 7x + 9 \).

Formula Used

Product rule: \( \frac{d}{dx}(u\,v) = u\frac{dv}{dx} + v\frac{du}{dx} \). Logarithmic differentiation: if \( y = u\,v \), then \( \ln y = \ln u + \ln v \) and \( \frac{1}{y}\frac{dy}{dx} = \frac{u'}{u} + \frac{v'}{v} \).

Solution

  1. Step 1: Identify the two factors and their derivatives. Let \( u = x^2 - 5x + 8 \) and \( v = x^3 + 7x + 9 \). Then \( \frac{du}{dx} = 2x - 5 \) and \( \frac{dv}{dx} = 3x^2 + 7 \).
  2. Step 2 (Method i: Product Rule): Apply the product rule: \[ \frac{dy}{dx} = u\frac{dv}{dx} + v\frac{du}{dx} \] Substituting: \[ \frac{dy}{dx} = (x^2 - 5x + 8)(3x^2 + 7) + (x^3 + 7x + 9)(2x - 5) \]
  3. Step 3 (Expand each product from Method i): First product: \[ (x^2 - 5x + 8)(3x^2 + 7) = 3x^4 - 15x^3 + 24x^2 + 7x^2 - 35x + 56 \] which simplifies to \[ 3x^4 - 15x^3 + 31x^2 - 35x + 56 \] Second product: \[ (x^3 + 7x + 9)(2x - 5) = 2x^4 - 5x^3 + 14x^2 - 35x + 18x - 45 \] which simplifies to \[ 2x^4 - 5x^3 + 14x^2 - 17x - 45 \]
  4. Step 4 (Add to finish Method i): Add the two expanded expressions: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \]
  5. Step 5 (Method ii: Expand first, then differentiate): Multiply the original factors: \[ (x^2 - 5x + 8)(x^3 + 7x + 9) = x^5 - 5x^4 + 15x^3 - 26x^2 + 11x + 72 \] Differentiate term by term: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \]
  6. Step 6 (Method iii: Logarithmic Differentiation): Let \( y = (x^2 - 5x + 8)(x^3 + 7x + 9) \). Take logarithms: \[ \ln y = \ln(x^2 - 5x + 8) + \ln(x^3 + 7x + 9) \] Differentiate both sides: \[ \frac{1}{y}\frac{dy}{dx} = \frac{2x - 5}{x^2 - 5x + 8} + \frac{3x^2 + 7}{x^3 + 7x + 9} \]
  7. Step 7 (Solve for the derivative in Method iii): Multiply both sides by \( y \): \[ \frac{dy}{dx} = y\left( \frac{2x - 5}{x^2 - 5x + 8} + \frac{3x^2 + 7}{x^3 + 7x + 9} \right) \] Substitute \( y = (x^2 - 5x + 8)(x^3 + 7x + 9) \), so each denominator cancels one factor: \[ \frac{dy}{dx} = (x^3 + 7x + 9)(2x - 5) + (x^2 - 5x + 8)(3x^2 + 7) \] This is identical to the product rule expression in Step 2, which simplifies to \[ 5x^4 - 20x^3 + 45x^2 - 52x + 11 \]
  8. Step 8 (Conclusion): All three methods lead to the same polynomial. This confirms that the derivative of a function is unique, regardless of the valid method used to compute it.

Final Answer

All three methods give the same result: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] Yes, they all give the same answer.

Common Mistake

In logarithmic differentiation, students often forget to multiply back by \( y \) after differentiating, or they forget that \( y \) itself equals the product \( (x^2 - 5x + 8)(x^3 + 7x + 9) \), which is needed to cancel the denominators and reach the polynomial form.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Identify the two factors and compute their individual derivatives. Let \( u = x^2 - 5x + 8 \) and \( v = x^3 + 7x + 9 \). Differentiating each: \[ \frac{du}{dx} = 2x - 5 \] \[ \frac{dv}{dx} = 3x^2 + 7 \] — Reason: Knowing these building-block derivatives is required by all three methods, so it is efficient to find them once upfront.
  2. Step 2: Method (i) — Product Rule. Substitute directly into the product-rule formula: \[ \frac{dy}{dx} = (x^2 - 5x + 8)(3x^2 + 7) + (x^3 + 7x + 9)(2x - 5) \] — Reason: The product rule avoids expanding the original product first, making it faster when factors are already in a convenient form.
  3. Step 3: Expand both grouped products from Step 2. First group: \[ (x^2 - 5x + 8)(3x^2 + 7) = 3x^4 - 15x^3 + 24x^2 + 7x^2 - 35x + 56 = 3x^4 - 15x^3 + 31x^2 - 35x + 56 \] Second group: \[ (x^3 + 7x + 9)(2x - 5) = 2x^4 - 5x^3 + 14x^2 - 35x + 18x - 45 = 2x^4 - 5x^3 + 14x^2 - 17x - 45 \] Adding both groups together gives: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] — Reason: Collecting like-degree terms confirms the final polynomial from Method (i).
  4. Step 4: Method (ii) — Expand first, then differentiate term by term. Multiply out \( y = (x^2 - 5x + 8)(x^3 + 7x + 9) \): \[ y = x^5 - 5x^4 + 8x^3 + 7x^3 - 35x^2 + 56x + 9x^2 - 45x + 72 \] Collecting like terms: \[ y = x^5 - 5x^4 + 15x^3 - 26x^2 + 11x + 72 \] Now differentiate term by term: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] — Reason: Differentiating a single polynomial is straightforward and serves as an independent check of Method (i).
  5. Step 5: Method (iii) — Logarithmic differentiation. Take the natural log of both sides: \[ \ln y = \ln(x^2 - 5x + 8) + \ln(x^3 + 7x + 9) \] Differentiate both sides with respect to \( x \): \[ \frac{1}{y}\frac{dy}{dx} = \frac{2x - 5}{x^2 - 5x + 8} + \frac{3x^2 + 7}{x^3 + 7x + 9} \] Multiply through by \( y = (x^2 - 5x + 8)(x^3 + 7x + 9) \): \[ \frac{dy}{dx} = (x^3 + 7x + 9)(2x - 5) + (x^2 - 5x + 8)(3x^2 + 7) \] — Reason: Taking the log converts the product into a sum, making differentiation easier; multiplying back by \( y \) recovers the derivative in its original form.
  6. Step 6: Expand the expression obtained in Step 5 (the two groups are identical to those in Step 3): \[ (x^3 + 7x + 9)(2x - 5) + (x^2 - 5x + 8)(3x^2 + 7) = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] — Reason: The algebraic expansion confirms that Method (iii) produces the same result as Methods (i) and (ii), verifying internal consistency across all three approaches.

Final Answer

All three methods give the same result: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] Yes, they all give the same answer.

Common Mistake

One common mistake: when expanding (x^2 - 5x + 8)(3x^2 + 7), students often forget to multiply every term of the first factor by every term of the second, especially missing the cross-term 7 × (- 5x) = -35x, which leads to an incorrect coefficient for the linear term.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Expand the product: \[y = (x^2 - 5x + 8)(x^3 + 7x + 9)\] \[= x^5 + 7x^3 + 9x^2 - 5x^4 - 35x^2 - 45x + 8x^3 + 56x + 72\] \[= x^5 - 5x^4 + 15x^3 - 26x^2 + 11x + 72\]
  2. Step 2: Differentiate term by term: \[\frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11\]

Answer: All three methods give the same result: \[ \frac{dy}{dx} = 5x^4 - 20x^3 + 45x^2 - 52x + 11 \] Yes, they all give the same answer.

➕ More Examples

More Examples

Example 1

Question: Differentiate \(y = (x^2 + 3x - 4)(x^3 - 2x + 5)\) in three ways: (i) by using the product rule, (ii) by expanding the product to a single polynomial, and (iii) by logarithmic differentiation. Verify that all three methods give the same answer.

Solution: Let \(u = x^2 + 3x - 4\) and \(v = x^3 - 2x + 5\). Method (i): Product Rule We know \(\frac{dy}{dx} = u'v + uv'\). Compute the individual derivatives: \[u' = \frac{d}{dx}(x^2 + 3x - 4) = 2x + 3\] \[v' = \frac{d}{dx}(x^3 - 2x + 5) = 3x^2 - 2\] Apply the product rule: \[\frac{dy}{dx} = (2x + 3)(x^3 - 2x + 5) + (x^2 + 3x - 4)(3x^2 - 2)\] Expand the first product: \[(2x + 3)(x^3 - 2x + 5) = 2x^4 - 4x^2 + 10x + 3x^3 - 6x + 15\] \[= 2x^4 + 3x^3 - 4x^2 + 4x + 15\] Expand the second product: \[(x^2 + 3x - 4)(3x^2 - 2) = 3x^4 - 2x^2 + 9x^3 - 6x - 12x^2 + 8\] \[= 3x^4 + 9x^3 - 14x^2 - 6x + 8\] Add the two results: \[\frac{dy}{dx} = 2x^4 + 3x^3 - 4x^2 + 4x + 15 + 3x^4 + 9x^3 - 14x^2 - 6x + 8\] \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 2x + 23\] Method (ii): Expanding the product first Multiply \((x^2 + 3x - 4)(x^3 - 2x + 5)\) by distributing each term: \[x^2 \cdot (x^3 - 2x + 5) = x^5 - 2x^3 + 5x^2\] \[3x \cdot (x^3 - 2x + 5) = 3x^4 - 6x^2 + 15x\] \[-4 \cdot (x^3 - 2x + 5) = -4x^3 + 8x - 20\] Combine: \[y = x^5 + 3x^4 + (-2x^3 - 4x^3) + (5x^2 - 6x^2) + (15x + 8x) - 20\] \[y = x^5 + 3x^4 - 6x^3 - x^2 + 23x - 20\] Differentiate term by term: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 2x + 23\] This matches Method (i). Method (iii): Logarithmic Differentiation Take the natural logarithm of both sides (assuming \(y > 0\) for the region considered): \[\ln y = \ln|x^2 + 3x - 4| + \ln|x^3 - 2x + 5|\] Differentiate both sides with respect to \(x\): \[\frac{1}{y}\frac{dy}{dx} = \frac{2x + 3}{x^2 + 3x - 4} + \frac{3x^2 - 2}{x^3 - 2x + 5}\] Multiply both sides by \(y = (x^2 + 3x - 4)(x^3 - 2x + 5)\): \[\frac{dy}{dx} = (x^2 + 3x - 4)(x^3 - 2x + 5) \cdot \left(\frac{2x + 3}{x^2 + 3x - 4} + \frac{3x^2 - 2}{x^3 - 2x + 5}\right)\] \[\frac{dy}{dx} = (2x + 3)(x^3 - 2x + 5) + (x^2 + 3x - 4)(3x^2 - 2)\] This is the same expression as in Method (i), which simplifies to: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 2x + 23\] All three methods give the same answer.

Answer: \(\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 2x + 23\)

Example 2

Question: Differentiate \(y = (x^3 - 4x + 6)(x^2 + 2x - 3)\) in three ways: (i) by using the product rule, (ii) by expanding the product to a single polynomial, and (iii) by logarithmic differentiation. Verify that all three methods give the same result.

Solution: Let \(u = x^3 - 4x + 6\) and \(v = x^2 + 2x - 3\). Method (i): Product Rule Compute the individual derivatives: \[u' = \frac{d}{dx}(x^3 - 4x + 6) = 3x^2 - 4\] \[v' = \frac{d}{dx}(x^2 + 2x - 3) = 2x + 2\] Apply the product rule \(\frac{dy}{dx} = u'v + uv'\): \[\frac{dy}{dx} = (3x^2 - 4)(x^2 + 2x - 3) + (x^3 - 4x + 6)(2x + 2)\] Expand the first product: \[(3x^2 - 4)(x^2 + 2x - 3) = 3x^4 + 6x^3 - 9x^2 - 4x^2 - 8x + 12\] \[= 3x^4 + 6x^3 - 13x^2 - 8x + 12\] Expand the second product: \[(x^3 - 4x + 6)(2x + 2) = 2x^4 + 2x^3 - 8x^2 - 8x + 12x + 12\] \[= 2x^4 + 2x^3 - 8x^2 + 4x + 12\] Add the two results: \[\frac{dy}{dx} = 3x^4 + 6x^3 - 13x^2 - 8x + 12 + 2x^4 + 2x^3 - 8x^2 + 4x + 12\] \[\frac{dy}{dx} = 5x^4 + 8x^3 - 21x^2 - 4x + 24\] Method (ii): Expanding the product first Multiply \((x^3 - 4x + 6)(x^2 + 2x - 3)\) by distributing: \[x^3 \cdot (x^2 + 2x - 3) = x^5 + 2x^4 - 3x^3\] \[-4x \cdot (x^2 + 2x - 3) = -4x^3 - 8x^2 + 12x\] \[6 \cdot (x^2 + 2x - 3) = 6x^2 + 12x - 18\] Combine: \[y = x^5 + 2x^4 + (-3x^3 - 4x^3) + (-8x^2 + 6x^2) + (12x + 12x) - 18\] \[y = x^5 + 2x^4 - 7x^3 - 2x^2 + 24x - 18\] Differentiate term by term: \[\frac{dy}{dx} = 5x^4 + 8x^3 - 21x^2 - 4x + 24\] This matches Method (i). Method (iii): Logarithmic Differentiation Take the natural logarithm of both sides: \[\ln y = \ln|x^3 - 4x + 6| + \ln|x^2 + 2x - 3|\] Differentiate both sides with respect to \(x\): \[\frac{1}{y}\frac{dy}{dx} = \frac{3x^2 - 4}{x^3 - 4x + 6} + \frac{2x + 2}{x^2 + 2x - 3}\] Multiply both sides by \(y = (x^3 - 4x + 6)(x^2 + 2x - 3)\): \[\frac{dy}{dx} = (x^3 - 4x + 6)(x^2 + 2x - 3) \cdot \left(\frac{3x^2 - 4}{x^3 - 4x + 6} + \frac{2x + 2}{x^2 + 2x - 3}\right)\] \[\frac{dy}{dx} = (3x^2 - 4)(x^2 + 2x - 3) + (x^3 - 4x + 6)(2x + 2)\] This is identical to the expression in Method (i), which gives: \[\frac{dy}{dx} = 5x^4 + 8x^3 - 21x^2 - 4x + 24\] All three methods yield the same answer.

Answer: \(\frac{dy}{dx} = 5x^4 + 8x^3 - 21x^2 - 4x + 24\)

🎯 Try a Similar Question

Try a Similar Question

Question: Differentiate \(y = (x^2 + 3x - 2)(x^3 - 4x + 5)\) in three ways: (i) by using the Product Rule, (ii) by expanding the product to obtain a single polynomial, (iii) by logarithmic differentiation. Verify that all three methods give the same answer.

Solution

  1. Method (i): Product Rule: Let \(u = x^2 + 3x - 2\) and \(v = x^3 - 4x + 5\). Then \(u' = 2x + 3\) and \(v' = 3x^2 - 4\). By the Product Rule: \(\frac{dy}{dx} = u'v + uv'\) \[= (2x + 3)(x^3 - 4x + 5) + (x^2 + 3x - 2)(3x^2 - 4)\] Expanding the first product: \[(2x + 3)(x^3 - 4x + 5) = 2x^4 - 8x^2 + 10x + 3x^3 - 12x + 15 = 2x^4 + 3x^3 - 8x^2 - 2x + 15\] Expanding the second product: \[(x^2 + 3x - 2)(3x^2 - 4) = 3x^4 - 4x^2 + 9x^3 - 12x - 6x^2 + 8 = 3x^4 + 9x^3 - 10x^2 - 12x + 8\] Adding both parts: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 14x + 23\]
  2. Method (ii): Expand First, Then Differentiate: Expand \(y = (x^2 + 3x - 2)(x^3 - 4x + 5)\) fully. Multiply term by term: \[x^2 \cdot (x^3 - 4x + 5) = x^5 - 4x^3 + 5x^2\] \[3x \cdot (x^3 - 4x + 5) = 3x^4 - 12x^2 + 15x\] \[(-2) \cdot (x^3 - 4x + 5) = -2x^3 + 8x - 10\] Combining: \[y = x^5 + 3x^4 + (-4 - 2)x^3 + (5 - 12)x^2 + (15 + 8)x - 10\] \[y = x^5 + 3x^4 - 6x^3 - 7x^2 + 23x - 10\] Differentiating term by term: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 14x + 23\]
  3. Method (iii): Logarithmic Differentiation: Let \(y = (x^2 + 3x - 2)(x^3 - 4x + 5)\). Taking natural log on both sides: \[\ln y = \ln|x^2 + 3x - 2| + \ln|x^3 - 4x + 5|\] Differentiating both sides with respect to \(x\): \[\frac{1}{y}\frac{dy}{dx} = \frac{2x + 3}{x^2 + 3x - 2} + \frac{3x^2 - 4}{x^3 - 4x + 5}\] Multiplying both sides by \(y = (x^2 + 3x - 2)(x^3 - 4x + 5)\): \[\frac{dy}{dx} = (x^3 - 4x + 5)(2x + 3) + (x^2 + 3x - 2)(3x^2 - 4)\] This is the same expression obtained in Method (i), which simplifies to: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 14x + 23\]
  4. Verification: All three methods yield \(\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 14x + 23\). Yes, they all give the same answer.

Answer: All three methods give the same result: \[\frac{dy}{dx} = 5x^4 + 12x^3 - 18x^2 - 14x + 23\] Yes, they all give the same answer.

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