Question
Question: What is the integral of sec(x)?...
What is the integral of sec(x)?
Solution
Here, we multiply the given function by secx+tanxsecx+tanx which is same as multiplying by1. Also we, will use logarithmic derivative which isudu=ln∣u∣. We will also use cosx=secx1. And we have trigonometry identity used in our solution, which is, sin2x+cos2x=1.
Complete answer: Here, given that,
∫sec(x)dx
Multiplying sec(x) bysecx+tanxsecx+tanx, which is really the same as multiplying by 1.
Thus, we have,
=∫secx(secx+tanxsecx+tanx)dx
Simplify the given expression, we get,
=∫(secx+tanx)secx(secx+tanx)dx
Removing the brackets, we get,
=∫secx+tanxsec2x+secxtanxdx
Let us substitute the value of secx+tanxas u.
i.e. u=secx+tanx
Then,
du=(secxtanx+sec2x)dx
Rearranging the given expression, we get,
du=(sec2x+secxtanx)dx
Thus,
udu=ln∣u∣
This, is called logarithmic derivative:
Now, integrating both the sides, we get,
∫udu=ln∣u∣+C
Here, replace the u with x.
Now substituting the values of u in the above integral function, we get,
∫secxdx=ln(secx+tanx)+C
Other methods to solve this integration, we can do the following.
∫cosx1dx
Multiply with cos x in both numerator and denominator, we get,
Since cos2x=1−sin2x, we get,
=∫1−sin2xcosxdx
Substituting the values of y, we get,
=∫1−y21dx
Also, 1−y2=(1+y)(1−y)
Rearranging the above integration, we get,
=21∫(y+11−y−11)dx =21[ln∣y+1∣−ln∣y−1∣]+CThis is called logarithmic derivative.
=21[ln∣y−1∣ln∣y+1∣]+C =21ln∣y−1y+1∣+CNow, substituting the values of y, we get,
=21ln∣sinx−1sinx+1∣+C
Further to check if the answer is correct or not, we will do as below.
sinx−1sinx+1
Multiply the above expression with sinx−1sinx+1, we get,
=sinx−1sinx+1×sinx+1sinx+1
=sin2x−1(sinx+1)2
Since cos2x=1−sin2x, so using this we get,
=−cos2x(sinx+1)2 --- (i)
Now,
21ln∣sinx−1sinx+1∣+C
Substituting the (i), we get,
=21ln∣−cos2x(sinx+1)2∣+C
Subtract sign is removed because of the mode used.
=21ln∣cos2x(sinx+1)2∣+C
Simplify this we get,
Here, cosxsinx=tanxand cosx1=secx
Thus, substituting these values, we get,
=ln∣tanx+secx∣+C
Note:
By taking the derivative of exactly the right function and looking at the results in the right way we got the formula we needed. We can solve this by using partial functions too. Then we need to use y=sinx and dy=cosxdx. One should know derivation before solving integration questions.