Question
Question: What is the derivative of \( \sec \left( {x - {x^2}} \right) \) ?...
What is the derivative of sec(x−x2) ?
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 u 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 u 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) , then
f′(x)=dxdy=dudy×dxdu
Also, dxdsecx=secxtanx
Complete step-by-step answer:
Consider y=sec(x−x2) ..(1)
Then let u=(x−x2)
Now, we have to differentiate the above equation with respect to x, we get,
dxdu=1−2x
Now, equation (1) becomes
y=sec(u)
Now, we have to differentiate the above equation with respect to u, we get,
dxdy=sec(u)×tan(u)
Now, we need to use the chain rule of differentiation formula,
dxdy=dxdy×dxdu
Applying the obtained result in the above formula,
dxdy=(sec(u)×tan(u))(1−2x)
Now, substitute u=x−x2 in the above equation,
dxdy=sex(x−x2)tan(x−x2)(1−2x)
Hence, the derivative of sec(x−x2)=(1−2x)sec(x−x2)tan(x−x2)
Note: We can also find our required solution without using the chain rule.
Apply secx=cosx1 and then apply the quotient rule, to get the desired solution
The formula for the quotient rule is, vu=v2u′v−v′u .
We know that the derivative of cosx is −sinx and the derivative of 1 is 0.
Then, dxd(sec(x)=(cosx)2(cosx)(0)−(1)(−sinx)
=cosx×cosxsinx
=cosx1×cosxsinx=secxtanx
Now we are putting x−x2 in the place of x, we get,
dxdsec(x−x2)tan(x−x2)dxd(x−x2)
The derivative of (x−x2) is 1−2x so that we can obtain our desired solution,
dxdsec(x−x2)=(1−2x)sec(x−x2)tan(x−x2) .