Solveeit Logo

Question

Question: What is the derivative of \(y=\ln (\sec (x)+\tan (x))\) ?...

What is the derivative of y=ln(sec(x)+tan(x))y=\ln (\sec (x)+\tan (x)) ?

Explanation

Solution

We know that the natural exponential function and natural logarithmic functions are inverses of each other. In this question initially we had to suppose the given function as some variable and differentiate the given function with respect to that variable and at last the obtained result would be the answer.

Complete step-by-step answer:
Now, in the question we are already provided the right-hand side equal to some variable y as y=ln(sec(x)+tan(x))y=\ln (\sec (x)+\tan (x)) .
Now raising this to the exponential power we get,
ey=secx+tanx{{e}^{y}}=\sec x+\tan x
Now doing the derivative we get
eydydx=secxtanx+sec2x{{e}^{y}}\dfrac{dy}{dx}=\sec x\tan x+{{\sec }^{2}}x
Now we can see on the right-hand side secx\sec x is common in both the terms we can take it out as common and further simplify as
eydydx=secx(tanx+secx){{e}^{y}}\dfrac{dy}{dx}=\sec x(\tan x+\sec x)
Now on the left-hand side if we keep only the dydx\dfrac{dy}{dx} and divide the right-hand side the exponential term raised to y we get, dydx=1ey(secx(secx+tanx))\dfrac{dy}{dx}=\dfrac{1}{{{e}^{y}}}\left( \sec x(\sec x+\tan x) \right) and from the starting of the solution we know that we can make substitutions know and after doing that we will get dydx=1(secx+tanx)(secx(secx+tanx))\dfrac{dy}{dx}=\dfrac{1}{(\sec x+\tan x)}\left( \sec x(\sec x+\tan x) \right)
And now clearly, we can see that the term secx+tanx\sec x+\tan x is present in numerator and denominator both so we can cancel it out and we get, dydx=secx\dfrac{dy}{dx}=\sec x .

Note: All we need to know for this type of questions is the relations between different types of functions and get the required answer easily. Apart from that we must not get confused in the derivative and antiderivative value of logarithmic, exponential and other types of functions which are very much similar.