Question
Question: Evaluate the integrate \(\int{\sin x\log \left( \sec x+\tan x \right)dx}=f\left( x \right)+x+c\), th...
Evaluate the integrate ∫sinxlog(secx+tanx)dx=f(x)+x+c, then find f(x).
A. cosxlog(secx+tanx)
B. sinxlog(secx+tanx)
C. −cosxlog(secx+tanx)
D. −cosxlog(secx)
Solution
We find the equation and put that in the by-parts theorem. We assign the functions as u and v of the theorem ∫uvdx=u∫vdx−∫dxdu(∫vdx)dx. We separately find the differentiation value of u=h(x)=log(secx+tanx). Then we put the values in the integral and find the actual integral solution. We equate the solution with the given term to find the value of the f(x).
Complete step-by-step solution:
We have been given to find the integral value of sinxlog(secx+tanx).
We are going to use the by parts theorem to find the integral value.
The theorem tells us for two functions u=h(x),v=g(x).
∫uvdx=u∫vdx−∫dxdu(∫vdx)dx.
For our given integral we take u=h(x)=log(secx+tanx),v=g(x)=sinx.
We try to find the differential form of the u=h(x)=log(secx+tanx) for dxdu.
We have the differentiation of logx as dxd(logx)=x1.
We also have dxd(secx)=secxtanx,dxd(tanx)=sec2x.
⇒dxdu=dxd(log(secx+tanx))=secx+tanxdxd(secx+tanx)
Now we do the rest of the differentiation
⇒secx+tanxdxd(secx+tanx)⇒secx+tanxsecxtanx+sec2x⇒(secx+tanx)secx(secx+tanx)⇒secx
So, in the by-parts we will directly use the value of dxdu=dxd(log(secx+tanx))=secx.
We also have ∫(sinx)dx=−cosx.
∫sinxlog(secx+tanx)dx⇒[log(secx+tanx)]∫(sinx)dx−∫secx(∫(sinx)dx)dx⇒−cosx[log(secx+tanx)]+∫secx.cosxdx⇒−cosx[log(secx+tanx)]+∫dx⇒−cosx[log(secx+tanx)]+x+c
c is the integral constant.
Now we have to equate the given function on the right-hand side of ∫sinxlog(secx+tanx)dx=f(x)+x+c with the solution.
So, f(x)+x+c=−cosx[log(secx+tanx)]+x+c.
We need to find the value of f(x). Equating the both sides we get f(x)=−cosx[log(secx+tanx)].
The correct option is C.
Note: We need to be careful about choosing the functions carefully. If we would have taken
v=g(x)=log(secx+tanx), finding the integral of the function would have been difficult. Also, before starting the solution we need to work out these differentiation and small integrals to find out in which direction the solution will move.