Solveeit Logo

Question

Question: What is the derivative of \( \sec \left( {x - {x^2}} \right) \) ?...

What is the derivative of sec(xx2)\sec \left( {x - {x^2}} \right) ?

Explanation

Solution

Generally in Mathematics, derivative refers to the rate of change of a function with respect to a variable. Here, we are applying the chain rule to find the required answer. We need to use the chain rule in three steps.
First, we need to identify the inner function and replace it by uu and then rewrite the outer function with respect to the inner function.
The second step is to find the derivatives of both functions.
The third step is to substitute the given expression and the derivatives in the variable uu and then simplify it. This is nothing but the chain rule.
The formula for the chain rule for differentiation is as follows:
If y=f(x)y = f(x) , then
f(x)=dydx=dydu×dudxf'(x) = \dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{du}} \times \dfrac{{du}}{{dx}}
Also, ddxsecx=secxtanx\dfrac{d}{{dx}}\sec x = \sec x\tan x

Complete step-by-step answer:
Consider y=sec(xx2)y = \sec (x - {x^2}) ..(1)
Then let u=(xx2)u = (x - {x^2})
Now, we have to differentiate the above equation with respect to x, we get,
dudx=12x\dfrac{{du}}{{dx}} = 1 - 2x
Now, equation (1) becomes
y=sec(u)y = \sec (u)
Now, we have to differentiate the above equation with respect to u, we get,
dydx=sec(u)×tan(u)\dfrac{{dy}}{{dx}} = \sec (u) \times \tan (u)
Now, we need to use the chain rule of differentiation formula,
dydx=dydx×dudx\dfrac{{dy}}{{dx}} = \dfrac{{dy}}{{dx}} \times \dfrac{{du}}{{dx}}
Applying the obtained result in the above formula,
dydx=(sec(u)×tan(u))(12x)\dfrac{{dy}}{{dx}} = (\sec (u) \times \tan (u))(1 - 2x)
Now, substitute u=xx2u = x - {x^2} in the above equation,
dydx=sex(xx2)tan(xx2)(12x)\dfrac{{dy}}{{dx}} = sex(x - {x^2})\tan (x - {x^2})(1 - 2x)
Hence, the derivative of sec(xx2)=(12x)sec(xx2)tan(xx2)\sec (x - {x^2}) = (1 - 2x)sec(x - {x^2})\tan (x - {x^2})

Note: We can also find our required solution without using the chain rule.
Apply secx=1cosx\sec x = \dfrac{1}{{\cos x}} and then apply the quotient rule, to get the desired solution
The formula for the quotient rule is, uv=uvvuv2\dfrac{u}{v} = \dfrac{{u'v - v'u}}{{{v^2}}} .
We know that the derivative of cosx\cos x is sinx- \sin x and the derivative of 1 is 0.
Then, ddx(sec(x)=(cosx)(0)(1)(sinx)(cosx)2\dfrac{d}{{dx}}(\sec (x) = \dfrac{{(\cos x)(0) - (1)( - \sin x)}}{{{{(\cos x)}^2}}}
=sinxcosx×cosx= \dfrac{{\sin x}}{{\cos x \times \cos x}}
=1cosx×sinxcosx=secxtanx= \dfrac{1}{{\cos x}} \times \dfrac{{\sin x}}{{\cos x}} = \sec x\tan x
Now we are putting xx2x - {x^2} in the place of x, we get,
ddxsec(xx2)tan(xx2)ddx(xx2)\dfrac{d}{{dx}}\sec (x - {x^2})\tan (x - {x^2})\dfrac{d}{{dx}}(x - {x^2})
The derivative of (xx2)(x - {x^2}) is 12x1 - 2x so that we can obtain our desired solution,
ddxsec(xx2)=(12x)sec(xx2)tan(xx2)\dfrac{d}{{dx}}\sec (x - {x^2}) = (1 - 2x)\sec (x - {x^2})tan(x - {x^2}) .