Question
Question: Differentiate \[\left( {{x}^{2}}-5x+8 \right)\left( {{x}^{3}}+7x+9 \right)\]in three ways mentioned ...
Differentiate (x2−5x+8)(x3+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?
Solution
To solve the question at first we consider the two polynomials given in the question as separate functions that means f(x)=(x2−5x+8)andg(x)=(x3+7x+9).
Then we use the product rule of differentiation of two functions that is\dfrac{d}{dx}\left\\{ f(x)\cdot g(x) \right\\}=f(x)\dfrac{d}{dx}\left\\{ g(x) \right\\}+g(x)\dfrac{d}{dx}\left\\{ f(x) \right\\}. Then we have to expand the product of the given expression in terms of single polynomial and differentiate separate terms using the differentiation ruledxd(u+v+w+..........)=dxdu+dxdv+dxdw+......... Finally consider the whole expression as h(x)=(x2−5x+8)(x3+7x+9)and we have to take logarithm with base e on both the sides and separating the RHS using logarithmic formulaloge(ab)=logea+logeb, differentiate it. Then we have to match the obtained answers to check if the answers are the same or not.
Complete step-by-step answer:
Let’s consider
f(x)=(x2−5x+8)………………………….. (1)
And g(x)=(x3+7x+9)…………………………. (2)
(i) Differentiation by using product rule
We know the product rule for the differentiation which is given by,
\dfrac{d}{dx}\left\\{ f(x)\cdot g(x) \right\\}=f(x)\dfrac{d}{dx}\left\\{ g(x) \right\\}+g(x)\dfrac{d}{dx}\left\\{ f(x) \right\\} ………………….. (3)
Then applying the rule we can write \dfrac{d}{dx}\left\\{ \left( {{x}^{2}}-5x+8 \right)\left( {{x}^{3}}+7x+9 \right) \right\\}=\left( {{x}^{2}}-5x+8 \right)\dfrac{d}{dx}\left( {{x}^{3}}+7x+9 \right)+\left( {{x}^{3}}+7x+9 \right)\dfrac{d}{dx}\left( {{x}^{2}}-5x+8 \right)
=\left( {{x}^{2}}-5x+8 \right)\left\\{ \dfrac{d}{dx}\left( {{x}^{3}} \right)+\dfrac{d}{dx}\left( 7x \right)+\dfrac{d}{dx}\left( 9 \right) \right\\}+\left( {{x}^{3}}+7x+9 \right)\left\\{ \dfrac{d}{dx}\left( {{x}^{2}} \right)-\dfrac{d}{dx}\left( 5x \right)+\dfrac{d}{dx}\left( 8 \right) \right\\}
=(x2−5x+8)(3x2+7+0)+(x3+7x+9)(2x−5+0)
=3x4+7x2−15x3−35x+24x2+56+2x4−5x3+14x2−35x+18x−45
=5x4−20x3+45x2−52x+9
(ii) Differentiation by expanding the product to obtain a single polynomial
Now let’s find out the product(x2−5x+8)(x3+7x+9)
(x2−5x+8)(x3+7x+9)=x5+7x3+9x2−5x4−35x2−45x+8x3+56x+72
=x5−5x4+15x3−26x2+9x+72……………..(4)
Differentiating both the sides of eq. (4) with respect to x, we will get,
dxd(x2−5x+8)(x3+7x+9)=dxd(x5−5x4+15x3−26x2+9x+72)
=dxd(x5)−dxd(5x4)+dxd(15x3)−dxd(26x2)+dxd(9x)+dxd(72)
=5x4−20x3+45x2−52x+9………………….. (5)
(iii) Differentiation By logarithmic differentiation
Consider h(x)=(x2−5x+8)(x3+7x+9)……………… (6)
Now taking take logarithm with base e on both the sides of eq. (6), we will get,
{{\log }_{e}}h(x)={{\log }_{e}}\left\\{ \left( {{x}^{2}}-5x+8 \right)\left( {{x}^{3}}+7x+9 \right) \right\\}
=loge(x2−5x+8)+loge(x3+7x+9)…………………………………… (7)
Differentiating both the sides of eq. (8) with respect to x, we will get,
\Rightarrow \dfrac{d}{dx}\left\\{ {{\log }_{e}}h(x) \right\\}=\dfrac{d}{dx}\left\\{ {{\log }_{e}}\left( {{x}^{2}}-5x+8 \right)+{{\log }_{e}}\left( {{x}^{3}}+7x+9 \right) \right\\}
\Rightarrow \dfrac{1}{h(x)}\dfrac{d}{dx}\left\\{ h(x) \right\\}=\dfrac{1}{\left( {{x}^{2}}-5x+8 \right)}\dfrac{d}{dx}\left( {{x}^{2}}-5x+8 \right)+\dfrac{1}{\left( {{x}^{3}}+7x+9 \right)}\dfrac{d}{dx}\left( {{x}^{3}}+7x+9 \right)
\Rightarrow \dfrac{d}{dx}\left\\{ h(x) \right\\}=\dfrac{h(x)}{\left( {{x}^{2}}-5x+8 \right)}\left( 2x-5 \right)+\dfrac{h(x)}{\left( {{x}^{3}}+7x+9 \right)}\left( 3{{x}^{2}}+7 \right)…………………………….. (8)
Substituting the value of h(x) from eq. (6) in eq. (8), we will get,
\Rightarrow \dfrac{d}{dx}\left\\{ \left( {{x}^{2}}-5x+8 \right)\left( {{x}^{3}}+7x+9 \right) \right\\}=\left( {{x}^{3}}+7x+9 \right)\left( 2x-5 \right)+\left( {{x}^{2}}-5x+8 \right)\left( 3{{x}^{2}}+7 \right)
=2x4−5x3+14x2−35x+18x−45+3x4+7x2−15x3−35x+24x2+56
On solving, we get
\Rightarrow \dfrac{d}{dx}\left\\{ \left( {{x}^{2}}-5x+8 \right)\left( {{x}^{3}}+7x+9 \right) \right\\}=5{{x}^{4}}-20{{x}^{3}}+45{{x}^{2}}-52x+9
Here differentiating in the three ways mentioned we get the same answer.
Note: Differentiation of an exponent is given bydxd(xn)=nxn−1. Differentiation of a logarithmic function is given bydxd(logeu)=u1dxdu. Try not to make any calculation mistakes while solving the question and while doing differentiation, do differentiation carefully and systematically.