Integral of 1/√e^2x+1 (Trigo Approach)

integrateSqrtE2xp -- 00.png


I happened to spot @masterwu's article on the above integral and decided, just for fun, to try doing it via another approach. As he noted, there is another substitution via hyperbolic functions. However, this requires more knowledge that is not so-well known to most students. There is a third type of substitution, that of using a trignometric function which I will demonstrate in this article.


How to do the Trigonometric Substitution

The substitution exploits the trigonometric identity . Because looks like , I let . See the right half of the working below. To obtain the rule for tranformation of the "" in the integral, we differentiate the equation with respect to . Note that and that . After cancelling and rearranging, we figure out that the "" will be sort of "replaced" by .

integrateSqrtE2xp -- 01.png

is the same as which, as noted earlier, equals to . So the square root expression is the same as . Now, since , the sec and the cos will cancel. So the whole thing boils down to integrating i.e. integrating . The answer to integrating the cosecant is plus the arbitrary constant. For a derivation, you may refer to this web page, or you may verify by differentiating the answer and see if you get back the cosecant function.

integrateSqrtE2xp -- 02.png

Now, since this is an indefinite integral, we must express everything back in terms of x. To help us, we draw a right angled triangle with as the angle. Since , we label up the opposite side as and adjacent side as . The triangle could have been bigger or smaller, but the trigonometric ratios would be the same. Using Pythagoras' Theorem we can figure out the hypothenuse as , which bears some uncanny resemblence to the original integrand (expression to be integrated), doesn't it? After completing the right-angled triangle, we can figure out as follows: sine is opposite over hypothenuse, so its reciprocal the cosecant is hypothenuse over opposite, hence and then the cotangent is the reciprocal of the tangent, and so . Noting that and that , we simplify to get the final answer at the last line.


Showing equivalence to @masterwu's answer

Are you are wondering: why does my answer look different from @masterwu's answer? Well, actually they are they same. They only appear to be different.

I can demonstrate as follows:-

Since @masterwu's answer has a "", we make "" appear out of thin air. By the way, we actually do not need to use the modulus if we are sure that the expression in between the two vertical bars is positive. Using the logarithm exponent law , we can fly the 2 up to the top right corner.

integrateSqrtE2xp -- 03.png

We use the square of differences formula to expand and then simplify to get this last line.

@masterwu's answer can also be simplified further by rationalising the denominator. In the denominator expression, the square root thingy is connected to 1 by a +. If you change that + to a minus, that forms the conjugate expression. Multiply both the numerator and the denominator by .

integrateSqrtE2xp -- 04.png

In the next step, we apply the square of differences formula to the numerator and the formula to the denominator. After cancelling the 1s, the denominator simplifies to and we can simplify the expression to the one shown in the last line. This expression is exactly the same as the previous answer!

So our answers are equal!


Announcements

You might also want to read my recent articles:
Simplifying Roots
"Singapore Math": The Ribbons Problem from PSLE 2017
How to plot vertical lines

If you find my articles useful or interesting, please upvote and resteem them! Thanks !

Cheers!!!

@tradersharpe
-- promoting sharp minds

H2
H3
H4
3 columns
2 columns
1 column
5 Comments