Integral Help: Solving -e^x/(e^x+1)

  • Context: Undergrad 
  • Thread starter Thread starter Sparky_
  • Start date Start date
  • Tags Tags
    Integration
Click For Summary

Discussion Overview

The discussion revolves around solving the integral of the function -e^x/(e^x+1), with participants exploring various methods of integration, including substitutions and partial fractions. The conversation includes attempts to clarify the problem and share different approaches to arrive at a solution.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the integral and attempts a substitution with u=e^x, leading to a transformed integral.
  • Another participant suggests splitting the integral into partial fractions as a method to simplify the expression.
  • There is a discussion about the potential involvement of logarithmic functions in the solution.
  • A later reply confirms a participant's result but notes an oversight regarding an overall minus sign.
  • Participants discuss alternative methods, including polynomial division and different substitutions, to solve the integral.
  • One participant expresses a desire to improve their skills and acknowledges the usefulness of the suggestions provided.

Areas of Agreement / Disagreement

Participants generally agree on the validity of using partial fractions and substitutions, but there are multiple competing views on the best approach to take. The discussion remains unresolved regarding the most efficient method to solve the integral.

Contextual Notes

Some participants express uncertainty about their methods and results, indicating a need for further practice and clarification on the techniques used in integration.

Who May Find This Useful

Readers interested in integral calculus, particularly those looking for various methods of integration and problem-solving strategies.

Sparky_
Messages
227
Reaction score
5
Greetings -

This integral is part of a larger problem I'm working on - I'm stuck (I Think)

Here's the integral:

[tex]= \int -\frac{e^{-x}}{e^{-3x}(1+e^x)}dx[/tex]

I've tried some algebra and substitutions:

[tex]= \int -\frac{e^{2x}}{(1+e^x)}dx[/tex]

[tex]= u=e^x[/tex]
[tex]= du=e^x dx[/tex]

[tex]= \int -\frac{u}{(1+u)}du[/tex]

Is this correct? Is this a standard form for something? - looking like ln()?

OR
could go:
[tex]= \int -\frac{e^{-x}}{e^{-3x}(1+e^x)}dx[/tex]

[tex]= \int -\frac{1}{e^{-2x} +e^{-x}}dx[/tex]
 
Last edited:
Physics news on Phys.org
Split it in two partial fractions

[tex]\frac{u}{1+u}=\frac{u+1-1}{1+u}=1-\frac{1}{1+u}[/tex]
 
Last edited:
Thanks - I'm still trying to hack my way around to correctly post the problem - I'm trying to find examples of this [tex]stuff, I can't quite get the problem to post correctly.[/tex]
 
So my integral is
[tex]\int du -\int \frac{1}{1+u} du[/tex]

I know there will be a ln() involved eventually
?
 
Yes!
Which is equal to what?
 
Here's what I'm getting - can you confirm?

[tex]-e^x + ln|1+e^x|[/tex]
 
Last edited:
Correct!

Only you forgot an overall minus sign, one from the inital integral!
 
oops

thanks

By the way, can you suggest any other method that would have solved this integral?

I have not used partial fractions in a long time, if you had not suggested it, I would not have gone there.

The integral looked simple enough for me to "pencil and paper" it and impress my friends without the need for a CRC handbook or other aid - I was wrong.
 
  • #10
But this is the more efficient way! To try to transform integrals with log's, sin's, cos's, exp's to rational form, and then apply partial fractions!

At least that' s the way I think! :smile:
 
  • #11
Well you could have used polynomial division if you had not thought of adding +/- 1 to the numerator so that you could split it into two.
 
  • #12
I guess I need to knock off the rust and practice up a little bit so the next time it's more obvious.

Thank you all for helping with this -
 
  • #13
Instead of using partial fractions. Just use another substitution. Use say t=1+u. This implies that u=t-1. So you have integral of (t-1)/t. And keep in mind that dt=du so this integral is relatively easy. Because its just the integral of 1-(1/t). which is t-ln(t). Just back sub for the t. so 1+u-ln(1+u)
 
Last edited:
  • #14
You used partial fractions.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K