Solveeit Logo

Question

Question: Integrate \(\int{\sec x\cdot \log \left( \sec x+\tan x \right)dx}\)...

Integrate secxlog(secx+tanx)dx\int{\sec x\cdot \log \left( \sec x+\tan x \right)dx}

Explanation

Solution

In this question we have been given with an expression and we have to find the integration of the term. We will use the substitution method to solve the integration. We will substitute the term log(secx+tanx)\log \left( \sec x+\tan x \right) as tt and then simplify the expression to get dxdx in the form of dtdt. We will then integrate the expression and then substitute the value of tt in the expression to get the required solution.

Complete step by step solution:
We have the expression given to us as:
secxlog(secx+tanx)dx(1)\Rightarrow \int{\sec x\cdot \log \left( \sec x+\tan x \right)dx}\to \left( 1 \right)
Now consider:
log(secx+tanx)=t(2)\Rightarrow \log \left( \sec x+\tan x \right)=t\to \left( 2 \right)
Now we will differentiate both the sides. We can see that the function in the left-hand side is a composite function therefore, we will use chain rule.
We know that ddxlogx=1x\dfrac{d}{dx}\log x=\dfrac{1}{x} and derivative of t=dtt=dt therefore, we get:
1secx+tanxddx(secx+tanx)dx=dt\Rightarrow \dfrac{1}{\sec x+\tan x}\cdot \dfrac{d}{dx}\left( \sec x+\tan x \right)dx=dt
Now we know that ddxsecx=secxtanx\dfrac{d}{dx}\sec x=\sec x\tan x and ddxtanx=sec2x\dfrac{d}{dx}\tan x={{\sec }^{2}}xtherefore, on substituting, we get:
secxtanx+sec2xsecx+tanxdx=dt\Rightarrow \dfrac{\sec x\tan x+{{\sec }^{2}}x}{\sec x+\tan x}dx=dt
On taking secx\sec x common from the numerator, we get:
secx(tanx+secx)secx+tanxdx=dt\Rightarrow \dfrac{\sec x\left( \tan x+\sec x \right)}{\sec x+\tan x}dx=dt
On cancelling the similar terms, we get:
secxdx=dt(3)\Rightarrow \sec xdx=dt\to \left( 3 \right)
Now on substituting equation (2)\left( 2 \right) and (3)\left( 3 \right) in equation (1)\left( 1 \right), we get:
tdt\int{tdt}
Now we know that t=t22+c\int{t}=\dfrac{{{t}^{2}}}{2}+c therefore, on substituting, we get:
=t22+c= \dfrac{{{t}^{2}}}{2}+c
On substituting the value of tt from equation (2)\left( 2 \right), we get:
=log(secx+tanx)22+c= \dfrac{\log {{\left( \sec x+\tan x \right)}^{2}}}{2}+c, which is the required solution.

Note: In this question we have used the substitution method to solve. Substitution method should be used when there are terms in multiplication which represent the derivative of another term. The complex term should be substituted as tt and its derivative should be taken and rearranged such that terms in the integration can be substituted.