How to integrate (202.31)/(1+e^(3.938-0.314x)).

  • Thread starter ThomasJR
  • Start date
  • Tags
    Integrate
In summary: Please help me know where did i go wrong... is it a Logarithmic property i am missing...In summary, the conversation discusses how to find the antiderivative of a given expression using either U-substitution or Integration by Parts. The participants go back and forth with different ideas and strategies, ultimately settling on using a substitution and rewriting the numerator as 1+e^u-e^u. The final answer is u-ln|u|, but there is some confusion over the use of variables and the result not matching with Wolfram Mathematica's solution.
  • #1
ThomasJR
13
0

Homework Statement


Calculate the antiderivative of the following:
(202.31)/(1+e^(3.938-0.314x)) using either U-substitution or Parts but NOT partial functions.


Homework Equations



please show to me your work

The Attempt at a Solution


I'm not sure how to approach this, I'm stuck
 
Physics news on Phys.org
  • #2


I don't know about Integration by Parts but can you not start by factoring out the constant making it [tex]202.31\int\frac{1}{1+e^{3.938-0.314x}}[/tex]? I'm just giving you ideas for now :D
 
  • #3


Oh yes, i factored out the constant, then i set u= 3.938-0.314x, and du=-0.314
which gets me 1/(1+e^(u)... :( I'm not sure how to integrate this now! Please help me
 
  • #4


Now just divide the outer constant by -.314 to get [tex]-644.299\int\frac{1}{e^{u}+1}du[/tex]

I'm not too much of an expert but I used Wolfram Alpha to make sure I was going in the right direction. So you can use this to help you out. There is a button that says show steps and that will show you how to get the answer. But if you get confused, I'll do my best :D
 
  • #5


Yes i went to wolfram mathematica too, and got the same setp as you did here, however, i am not suppose to use partial function at this point, i am bounded by Parts and U-substitution :(
The next thing i did was multply the top and bottom by 1+e^u-e^u, and cancel out like terms which leads me to (1+e^u-e^u)/(1+e^u) and now i am stuck again :(
 
  • #6


Oh gosh, I haven't studied integration by parts so I can't help you there if you have to use it (sorry). I'll try and think of a way though.
 
  • #7


It can be done without using parts!
 
  • #8


ThomasJR said:
It can be done without using parts!

The usual way to integrate 1/(1+e^u) is to substitute v=(1+e^u) and use partial fractions. Since you aren't supposed to do that, continue with what you were saying in post 5. 1/(1+e^u)=(1+e^u)/(1+e^2)-e^u/(1+e^u)=1-e^u/(1+e^u). The second term is easy to integrate using the substitution v=(1+e^u).
 
  • #9


ok so now I have 1-e^u/(1+e^u), if i make any more substitutions i will b totally lost. Can somebody please do this problem step by step
 
  • #10


It's against the Forum rules for us to post complete solutions. We're here to help you, not do it for you. Follow Dick's suggestion, it's easy to implement. But allow me to clear up one potential point of confusion.

Dick said...

continue with what you were saying in post 5. 1/(1+e^u)=(1+e^u)/(1+e^2)-e^u/(1+e^u)=1-e^u/(1+e^u). The second term is easy to integrate using the substitution v=(1+e^u).

Dick's method is the right one, but it's not what you were saying in post 5. In that post you said multiply the top and the bottom by [itex]1+e^u-e^u[/itex]. That's not what Dick is doing. He is simply using [itex]1=1+e^u-e^u[/itex] in the numerator alone. That's the way to do it.
 
  • #11


1=1+e^u-e^u,... wait where did this come from?
 
  • #12


Dick introduced that substitution to take your one difficult integral and transform it into two easy ones. To do integration you have to have a certain measure of creativity.
 
  • #13


Let me get this right. So i have this original function (1/((e^x)+1), i multiply the top and bottom by 1+e^x-e^x, and then simplifying i have, (1+e^x-e^x)/((1+e^x)... So now i set u= 1+e^u-e^u ? is this what you are saying?
 
  • #14


No, you don't multiply by anything. All you are doing is rewriting the numerator (1) as 1 + e^x - e^x. If you add e^x and then subtract it back off again, you get exactly what you started with, which is 1 in this case.
 
  • #15


No. Here's what I said:

Tom Mattson said:
Dick's method is the right one, but it's not what you were saying in post 5. In that post you said multiply the top and the bottom by [itex]1+e^u-e^u[/itex]. That's not what Dick is doing. He is simply using [itex]1=1+e^u-e^u[/itex] in the numerator alone. That's the way to do it.

Don't multiply the top and bottom by anything. Just rewrite the numerator of the integrand as [itex]1+e^u-e^u[/itex] and split the integral into two integrals, like so:

[tex]\int\frac{1}{1+e^u}du=\int\frac{1+e^u-e^u}{1+e^u}du[/tex]

[tex]\int\frac{1}{1+e^u}du=\int\frac{1+e^u}{1+e^u}du-\int\frac{e^u}{1+e^u}du[/tex]

Dick told you what to do from there.
 
  • #16


OK so now i have (1+e^x-e^x)/(e^x+1), now i set u=e^x+1 du=e^x, now i set up my integral u-(u-1)/u and it gives me 1-1+Ln|u|... Please tell me if this is right... I feel suicidal right now because this thing is due Thursday :(
 
  • #17


OMG ok i got it... so now my final integral u-ln|u|?
 
  • #18


ThomasJR said:
OMG ok i got it... so now my final integral u-ln|u|?

Actually, I'm not sure because I've just noticed that you're using [itex]x[/itex] to represent 2 different variables. That's somewhat confusing. Your original integral was in terms of [itex]x[/itex]. If you follow through the substitutions you have [itex]u=3.938-0.314x[/itex]. If you look at my last post, you need to let [itex]v=1+e^u[/itex] in the second integral on the right side. You need to clean that up before I can say if you got it right.
 
  • #19


Sir, this is what started off with, now please tell me if i did everything correct. I will be thankful to you guys truly.
so here's what i started off with.
202.31/(1+e^(3.938-0.314t)... Now i set x=3.938-0.314t, du=-0.314, revised du= -644.299.
Next i set that integral up. -644.299 (1)/(1+e^(x))... Since -6.44 is a constant i didn't thought it was important to carry that out... The i integrated using you guys's method and ended off with u-ln|u|... Now i went back and plugged everything in.. But in wolfram mathematics, when i tell it to integrate the exact function, it tells me that the result is
http://www3.wolframalpha.com/input/?i=Integrate+%28202.31%29%2F%281%2Be^%283.938-0.314x%29%29
They used partial functions and i am not suppose to use that, i am not suppose to use u-substitution... Please help me know where did i go wrong... is it a Logarithmic property i am missing out...?
 
  • #20


I can fix that confusion but can you help me clarify my result.. Thanks a lot!
 
  • #21


ThomasJR said:
Sir, this is what started off with, now please tell me if i did everything correct. I will be thankful to you guys truly.
so here's what i started off with.
202.31/(1+e^(3.938-0.314t)... Now i set x=3.938-0.314t, du=-0.314, revised du= -644.299.

OK

Next i set that integral up. -644.299 (1)/(1+e^(x))...

NO. This is the problem that I just pointed out, you're using [itex]x[/itex] to represent 2 different variables. Your integrand should be in terms of [itex]u[/itex] at this point.

Since -6.44 is a constant i didn't thought it was important to carry that out...

You're right, it's not terribly important. But keeping your variables straight is important. Please make the correction that I advised and follow through with it. It's not possible to say if you're right if we're not sure of what you mean by "[itex]u[/itex]".
 

FAQ: How to integrate (202.31)/(1+e^(3.938-0.314x)).

What is the function "How to integrate (202.31)/(1+e^(3.938-0.314x))" used for?

This function is commonly used in statistics and data analysis to model growth or decay of a variable over time. It is often used in logistic regression, which is a type of regression analysis used to predict binary outcomes.

What are the necessary steps to integrate (202.31)/(1+e^(3.938-0.314x))?

The first step is to rewrite the function as (202.31e^-0.314x)/(1+e^(3.938-0.314x)). Then, use the substitution method by letting u = 3.938 - 0.314x. This will result in an integral of the form ∫(a^u)/(1+a^u)du. Finally, use the property of logarithms to simplify the integral and solve for the final result.

What are some tips for solving the integral of (202.31)/(1+e^(3.938-0.314x))?

One tip is to always check if the function can be simplified or rewritten before attempting to integrate. Another tip is to carefully choose the variable for substitution to make the integral easier to solve. Additionally, it is helpful to have a good understanding of logarithmic properties and how to apply them to simplify the integral.

Is there a shortcut or easier way to integrate (202.31)/(1+e^(3.938-0.314x))?

Unfortunately, there is no shortcut or easier way to integrate this function. Integration is a complex process and often requires multiple steps and techniques to solve. It is important to carefully follow the necessary steps and have a good understanding of the underlying concepts to successfully integrate this function.

What are some practical applications of (202.31)/(1+e^(3.938-0.314x))?

This function can be used in a variety of fields, including finance, biology, and social sciences. In finance, it can be used to model the growth or decay of investments over time. In biology, it can be used to analyze the growth or decay of populations. In social sciences, it can be used to predict the likelihood of certain outcomes based on a set of variables.

Back
Top