Solveeit Logo

Question

Question: Find the derivative: \(\dfrac{{{x^2}\cos \dfrac{\pi }{4}}}{{\sin x}}\)....

Find the derivative: x2cosπ4sinx\dfrac{{{x^2}\cos \dfrac{\pi }{4}}}{{\sin x}}.

Explanation

Solution

To solve this question, we will use the basic formula i.e. quotient rule. We know that the quotient rule is a method of finding the derivative of a function means
if f(x)=uvf(x) = \dfrac{u}{v} , then the formula of quotient rule says that,
f(x)=uvvuv2f'(x) = \dfrac{{u'v - v'u}}{{{v^2}}}.
We will use the above formula to solve this question.

Complete step by step answer:
Let us assume that
f(x)=x2cosπ4sinxf(x) = \dfrac{{{x^2}\cos \dfrac{\pi }{4}}}{{\sin x}} .
Now we will assume that
u=x2cosπ4u = {x^2}\cos \dfrac{\pi }{4} and,
v=sinxv = \sin x
So by applying this we can write that we have the function of the form i.e.
f(x)=uvf(x) = \dfrac{u}{v}
Before applying the formula we will first fund the value of uu' and vv'
We have
u=x2cosπ4u = {x^2}\cos \dfrac{\pi }{4}
We know that derivative of the form xn{x^n} is
nxn1n{x^{n - 1}}, where nn is the exponential power.
So we can write the derivative of x2{x^2} as
2x21=2x2{x^{2 - 1}} = 2x
In the second part we have constant i.e.
cosπ4\cos \dfrac{\pi }{4}
So we have
u=2xcosπ4u' = 2x\cos \dfrac{\pi }{4}
Now we have
v=sinxv = \sin x
We know that the derivative of sinx=cosx\sin x = \cos x
So it gives us
v=cosxv' = \cos x
And we can write
v2=sinx×sinx{v^2} = \sin x \times \sin x
It gives the value
v2=sin2x{v^2} = {\sin ^2}x
By putting the values in the quotient rule formula we have:
2xcosπ4(sinx)(cosx)(x2cosπ4)sin2x\dfrac{{2x\cos \dfrac{\pi }{4}(\sin x) - (\cos x)\left( {{x^2}\cos \dfrac{\pi }{4}} \right)}}{{{{\sin }^2}x}}
By arranging the above expression can also be written as
2xsinxcosπ4(x2cosxcosπ4)sin2x\dfrac{{2x\sin x\cos \dfrac{\pi }{4} - \left( {{x^2}\cos x\cos \dfrac{\pi }{4}} \right)}}{{{{\sin }^2}x}}
We can take the common factor out and we have
xcosπ4(2sinxxcosx)sin2x\dfrac{{x\cos \dfrac{\pi }{4} \left( {2\sin x - x\cos x} \right)}}{{{{\sin }^2}x}}
Hence the required answer is xcosπ4(2sinxxcosx)sin2x\dfrac{{x\cos \dfrac{\pi }{4} \left( {2\sin x - x\cos x} \right)}}{{{{\sin }^2}x}}.

Note:
We should always remember the rules of differentiation such as the product rule. We know that if the function f(x)f(x) is the product of any two functions, i.e.
f(x)=u(x)×v(x)f(x) = u(x) \times v(x) , then we can say that the derivative of
f(x)=u(x)×v(x)+u(x)×v(x)f(x) = u'(x) \times v(x) + u(x) \times v'(x) .