# √e^2x+1 (Trigo Approach) — Steemit

Integral of e^x/(1+e^2x) (substitution)
Integral of e^x/(1+e^2x) (substitution)

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

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 .

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.

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.

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.

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 .

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!

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!!!

— promoting sharp minds

Hey. I only noticed you did this problem another way just now. Wished I would have known when you published it 3 months ago, haha! Well done. Shame I can’t upvote it now :(!

@mrainp420 has voted on behalf of @minnowpond.
If you would like to recieve upvotes from minnowponds team on all your posts, simply FOLLOW @minnowpond.

`To receive an upvote send 0.25 SBD to @minnowpond with your posts url as the memo To receive an reSteem send 0.75 SBD to @minnowpond with your posts url as the memo To receive an upvote and a reSteem send 1.00SBD to @minnowpond with your posts url as the memo`