Question
Question: How do you differentiate \(f\left( x \right) = x\sec \left( x \right)\) ?...
How do you differentiate f(x)=xsec(x) ?
Solution
In this question we have been asked to find the derivative of the given trigonometric function xsecx. We will first rewrite the expression in the form of cosx and then we will use the formula of the derivative of the term in the form of vu. We will use the formula dxd(vu)=v2vdxdu−udxdv and simplify the terms to get the required solution.
Complete step by step answer:
We have the term given to us as:
⇒xsecx
Since we have to find the derivative of the term, it can be written as:
⇒dxdxsecx
Now we know that secx=cosx1 therefore, on substituting, we get:
⇒dxdcosxx
We can see that the expression is in the form of the derivative of vu.
On using the formula dxd(vu)=v2vdxdu−udxdv on the expression, we get:
⇒cos2xcosxdxd(x)−xdxdcosx
Now we know that dxdx=1 , and dxd(cosx)=−sin(x) .Therefore on substituting them in the expression, we get:
⇒cos2xcosx(1)−x(−sinx)
On simplifying the terms, we get:
⇒cos2xcosx+xsin(x)
Now the denominator can be split up and written as:
⇒cos2xcosx+cos2xxsinx
⇒cosx1+xcosx×cosxsin
We know that cosxsinx=tanxandcosx1=secx.
Therefore, on substituting the terms we get
⇒secx+xtanxsecx, which is the required derivative.
Therefore, we can write:
⇒dxdxsecx=secx+xtanxsecx
Note: It is to be remembered that the function we used to solve the expression is called the quotient rule. There also exists another rule which is known as the product rule which deals with expressions in the form of uv and has formula dxduv=udxdv+vdxdu. It is to be noted that the terms u and v are also written as f(x) and g(x) in some solutions.