The derivative of (x2−5x+8)(x3+7x+9) is 5x4−20x3+45x2−52x+11, and all three methods — product rule, expansion, and logarithmic differentiation — yield the same result, confirming consistency.
We are differentiating a product of two polynomials. The core idea is that the derivative of a product u⋅v is not simply u′⋅v′ — that would be a common mistake. Instead, the product rule tells us: each piece gets a turn to be differentiated while the other stays unchanged, and we add the results. This is the heart of why the rule works: it accounts for how small changes in both factors contribute to the overall change.
Let’s work through each method step by step.
1. Using the product rule
Let u=x2−5x+8 and v=x3+7x+9.
First, find the derivatives:
- u′=2x−5
- v′=3x2+7
The product rule states: dxd(uv)=u′v+uv′.
So:
dxdy=(2x−5)(x3+7x+9)+(x2−5x+8)(3x2+7)
Now expand each term carefully.
First term: (2x−5)(x3+7x+9)
- 2x⋅x3=2x4
- 2x⋅7x=14x2
- 2x⋅9=18x
- −5⋅x3=−5x3
- −5⋅7x=−35x
- −5⋅9=−45
So first term = 2x4−5x3+14x2+(18x−35x)−45=2x4−5x3+14x2−17x−45
Second term: (x2−5x+8)(3x2+7)
- x2⋅3x2=3x4
- x2⋅7=7x2
- −5x⋅3x2=−15x3
- −5x⋅7=−35x
- 8⋅3x2=24x2
- 8⋅7=56
So second term = 3x4−15x3+(7x2+24x2)−35x+56=3x4−15x3+31x2−35x+56
Now add them:
- x4 terms: 2x4+3x4=5x4
- x3 terms: −5x3−15x3=−20x3
- x2 terms: 14x2+31x2=45x2
- x terms: −17x−35x=−52x
- Constant: −45+56=11
Thus:
dxdy=5x4−20x3+45x2−52x+11
A common slip is forgetting to distribute the minus sign when expanding terms like −5x⋅7x — always double-check signs.
2. By expanding the product first
Multiply the two polynomials directly:
(x2−5x+8)(x3+7x+9)
Multiply each term of the first by each term of the second:
- x2⋅x3=x5
- x2⋅7x=7x3
- x2⋅9=9x2
- −5x⋅x3=−5x4
- −5x⋅7x=−35x2
- −5x⋅9=−45x
- 8⋅x3=8x3
- 8⋅7x=56x
- 8⋅9=72
Now combine like terms:
- x5: 1x5
- x4: −5x4
- x3: 7x3+8x3=15x3
- x2: 9x2−35x2=−26x2
- x: −45x+56x=11x
- Constant: 72
So the expanded polynomial is:
y=x5−5x4+15x3−26x2+11x+72
Now differentiate term by term:
- dxd(x5)=5x4
- dxd(−5x4)=−20x3
- dxd(15x3)=45x2
- dxd(−26x2)=−52x
- dxd(11x)=11
- dxd(72)=0
So:
dxdy=5x4−20x3+45x2−52x+11
This matches exactly.
Expanding first is often easier for simple polynomials, but the product rule is essential when factors are not easily multiplied (e.g., trigonometric or logarithmic functions).
3. By logarithmic differentiation …