Solveeit Logo

Question

Question: How do you differentiate the function \(\dfrac{x\sin x}{{{x}^{2}}+1}\)?...

How do you differentiate the function xsinxx2+1\dfrac{x\sin x}{{{x}^{2}}+1}?

Explanation

Solution

Now we are given with a function in fractional form. Hence to differentiate the function
Now the given function is in division form. Hence we will use the division rule to solve the differentiation. Now we have differentiation of f(x)g(x)\dfrac{f\left( x \right)}{g\left( x \right)} is given by the formula f(x)g(x)g(x)f(x)g2(x)\dfrac{f'\left( x \right)g\left( x \right)-g'\left( x \right)f\left( x \right)}{{{g}^{2}}\left( x \right)} . Now we will differentiate xsinxx\sin x by using chain rule and x2+1{{x}^{2}}+1 by using differentiation of d(f+g)dx=dfdx+dgdx\dfrac{d\left( f+g \right)}{dx}=\dfrac{df}{dx}+\dfrac{dg}{dx} . Hence we will substitute the values in the formula and then find the value of the required differentiation.

Complete step-by-step answer:
Now to solve the differentiation we will use the division rule of differentiation.
Now we have differentiation of the function of the form f(x)g(x)\dfrac{f\left( x \right)}{g\left( x \right)} is given by the formula f(x)g(x)g(x)f(x)g2(x)\dfrac{f'\left( x \right)g\left( x \right)-g'\left( x \right)f\left( x \right)}{{{g}^{2}}\left( x \right)} .
Now here we have f(x)=xsinxf\left( x \right)=x\sin x and g(x)=x2+1g\left( x \right)={{x}^{2}}+1
Now first consider f(x)=xsinxf\left( x \right)=x\sin x .
Now to differentiate the equation we will use product rule of differentiation.
Now according to product rule of differentiation we have, differentiation of the function f(x).g(x)f\left( x \right).g\left( x \right) is given by f(x)g(x)+g(x)f(x)f'\left( x \right)g\left( x \right)+g'\left( x \right)f\left( x \right). Hence differentiating the function f(x)=xsinxf\left( x \right)=x\sin x we get,
f(x)=xcosx+sinx\Rightarrow f'\left( x \right)=x\cos x+\sin x
Now consider the function g(x)=x2+1g\left( x \right)={{x}^{2}}+1
Now we know that d(f+g)dx=dfdx+dgdx\dfrac{d\left( f+g \right)}{dx}=\dfrac{df}{dx}+\dfrac{dg}{dx} and dxndx=nxn1\dfrac{d{{x}^{n}}}{dx}=n{{x}^{n-1}} .
Also we know that differentiation of constant is 0.
Now we know that g(x)=x2+1g\left( x \right)={{x}^{2}}+1 , Hence differentiating the function we get,
g(x)=2x\Rightarrow g'\left( x \right)=2x
Now substituting the value of the terms in the formula we get,
(xcosx+sinx)(x2+1)(2x)(xsinx)(x2+1)2\Rightarrow \dfrac{\left( x\cos x+\sin x \right)\left( {{x}^{2}}+1 \right)-\left( 2x \right)\left( x\sin x \right)}{{{\left( {{x}^{2}}+1 \right)}^{2}}}
Now simplifying the above expression get
(x2+1)(xcosx)+(x2+1)sinx2x2sinx(x2+1)2\Rightarrow \dfrac{\left( {{x}^{2}}+1 \right)\left( x\cos x \right)+\left( {{x}^{2}}+1 \right)\sin x-2{{x}^{2}}\sin x}{{{\left( {{x}^{2}}+1 \right)}^{2}}}
Now using the formula (a+b)2=a2+2ab+b2{{\left( a+b \right)}^{2}}={{a}^{2}}+2ab+{{b}^{2}}

x3cosx+xcosx+x2sinx+sinx2x2sinxx4+2x2+1\Rightarrow \dfrac{{{x}^{3}}\cos x+x\cos x+{{x}^{2}}\sin x+\sin x-2{{x}^{2}}\sin x}{{{x}^{4}}+2{{x}^{2}}+1}
Hence the differentiation of the given expression is x3cosx+xcosxx2sinx+sinxx4+2x2+1\dfrac{{{x}^{3}}\cos x+x\cos x-{{x}^{2}}\sin x+\sin x}{{{x}^{4}}+2{{x}^{2}}+1}

Note: Now note that while differentiating the function we can also use the product rule by considering f(x)×1g(x)f\left( x \right)\times \dfrac{1}{g\left( x \right)} and then differentiating 1g(x)\dfrac{1}{g\left( x \right)} by writing (g(x))1{{\left( g\left( x \right) \right)}^{-1}} and using chain rule of differentiation. Hence we can solve the given problem and differentiate.