Integration problem (partial fractions)

Click For Summary

Homework Help Overview

The discussion revolves around evaluating an integral involving a rational function, specifically using partial fractions. The original poster presents an integral that includes exponential functions in both the numerator and denominator.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of substitution to simplify the integral by changing variables from \( e^x \) to \( u \). There is exploration of the correct application of partial fractions and the integration of the resulting expressions. Questions arise regarding the integration of specific terms and the interpretation of results.

Discussion Status

The discussion is active, with participants providing suggestions for variable substitution and clarifying the integration process. Some participants have identified potential errors in the original approach and are guiding the original poster towards a more accurate method. There is no explicit consensus yet, as participants are still exploring different aspects of the problem.

Contextual Notes

Participants note the importance of correctly applying partial fractions and integrating each term properly. There is an emphasis on ensuring that all components of the integral are accounted for, particularly the term involving \( du/u \), which relates to the logarithmic integration that leads to the final expression.

lha08
Messages
158
Reaction score
0

Homework Statement


Evaluate the integral: integral (-17e^x-36)/(e^(2x)+5e^x+6 dx


Homework Equations


partial fractions


The Attempt at a Solution


Basically, what i did was factored the bottom into (e^x+2) and (e^x+3) because when i expand that, it equals the bottom. From there, i set A/(e^x+2) + B/(e^x+3) and found that A is -15 and B=-2. As a result, the final answer i got was -15lnabs(e^x+3)-2lnabs(e^x+2)...However it's wrong. Apparently the answer is supposed to be -6x+log(2+e^x)+5log(3+e^x). Help Please!
 
Physics news on Phys.org
You should start by doing a change of variables to convert your function to a ratio of polynomials before you do the partial fractions. Like u=e^x. You could also continue with your correct decomposition, but the integral of 1/(e^2+2) is NOT log(e^2+2). You need to do the another u substitution to work that out.
 
Dick said:
You should start by doing a change of variables to convert your function to a ratio of polynomials before you do the partial fractions. Like u=e^x. You could also continue with your correct decomposition, but the integral of 1/(e^2+2) is NOT log(e^2+2). You need to do the another u substitution to work that out.

When you say change of variables to convert the function to a ratio of polynomials, do you mean that i have to replace all the e^x into a u using u-sub? I'n not that clear on that bit. Also, isn't the integral of 1/(e^2+2) going to involve an arctan since I'm replacing the e^2?
 
Yes. replace every "e^x" with u and, since if u= e^x, du= e^x dx= udx so dx= du/u, replace dx by du/u.
 
Sorry, I meant 1/(e^x+2) NOT 1/(e^2+2). But yes, e^x=u and e^(2x)=u^2. du=e^x*dx.
 
lha08 said:
When you say change of variables to convert the function to a ratio of polynomials, do you mean that i have to replace all the e^x into a u using u-sub? I'n not that clear on that bit. Also, isn't the integral of 1/(e^2+2) going to involve an arctan since I'm replacing the e^2?

Sorry, I meant 1/(e^x+2) NOT 1/(e^2+2). But yes, e^x=u and e^(2x)=u^2. du=e^x*dx.
 
Dick said:
Sorry, I meant 1/(e^x+2) NOT 1/(e^2+2). But yes, e^x=u and e^(2x)=u^2. du=e^x*dx.

okay so when i replaced the e^x i got.. (-17u-36)/(u^2+5u+6) du/u...and then i integrated (-17u-36)/(u^2+5u+6) using partial fractions and found that A=-2 and B=-15, which gives me -2/(u+2) -15/(u+3) du/u but then when i integrate this, i got (-2lnabs(e^x+2)-15ln(e^x+3)) / e^x which doesn't necessarily compare to the answer that it's suppose to be: -6x+ln(2+e^x)+5ln(3+e^x)
 
Your denominator is now (u^2+5u+6)*u=(u+2)(u+3)*u. Your partial fraction expansion is now
A/(u+2)+B/(u+3)+C/u. The C/u part is where your -6x is going to come from. You can't just not integrate the du/u.
 
Dick said:
Your denominator is now (u^2+5u+6)*u=(u+2)(u+3)*u. Your partial fraction expansion is now
A/(u+2)+B/(u+3)+C/u. The C/u part is where your -6x is going to come from. You can't just not integrate the du/u.

I'm almost there! but there's still one tiny problem left... i did what you suggested and i did find the correct values for A, B, and C which are 1,5 and -6 but when i replace these values, i got 1/(u+2) +5/(u+3) -6/u. I know how to integrate the first two parts ln(e^x+2)+5ln(e^x+3) but I'm not sure about the -6/u. What I'm thinking is -6ln(u) which is equal to -6ln(e^x). In this case i know that ln(e) is 1 but how does the x come down (suppose to get -6x)?
 
  • #10
ln(a^b)=b*ln(a).
 
  • #11
Thanks a lot to everyone who was patient enough to help me especially Dick and HallsofIvy!
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
9
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K