Solving the Integral: Did I Do it Right?

  • Thread starter UrbanXrisis
  • Start date
  • Tags
    Integral
In summary, we discussed how to find the antiderivative of \frac {e^x+4}{e^x}dx and \frac {e^x}{e^x+4}dx using the method of substitution. We also clarified the difference between x^a and a^x in terms of integration and differentiation. The correct answer for the first integral is x + 4e^{-x} + C and for the second integral is ln(e^x+4) + C.
  • #1
UrbanXrisis
1,196
1
[tex]\int \frac {e^x+4}{e^x}dx =?[/tex]

Here's what I did:
[tex]\int \frac {e^x+4}{e^x}dx = \int e^{-x}(e^x+4)dx [/tex]
[tex]\int e^{-x}(e^x+4)dx =\int 1+4e^{-x} = x-\frac {4e^{-x+1}}{x+1}[/tex]

Did I do this correctly? Is there a more simplified answer?
 
Physics news on Phys.org
  • #2
Rewriting [itex]\frac{e^x+4}{e^x}=1+4e^{-x}[/itex] was correct.

Check the antiderivative of [itex]e^{-x}[/itex]. Your answer is not correct. You can easily check it by differentiating it.

Mind the difference between [itex]x^a[/itex] where the base is the variable and [itex]a^x[/itex] where the base is constant and the exponent is the variable.
 
  • #3
since [tex]\int e^{x} = e^{x}+C[/tex]
then...
[tex]\int 1+4e^{-x} = x+4e^{-x}+C[/tex]

is that correct?
 
  • #4
When you differentiate [tex]x + 4e^{-x} + C[/tex] you get

[tex] 1 - 4e^{-x} [/tex] , so the integral is actually

[tex] \int 1 + 4e^{-x} dx = x - 4e^{-x} + C [/tex]
 
  • #5
I don't understand where the negative came from
 
  • #6
The integral of [tex] e^x dx = {e^x} + C[/tex]

The integral of [tex] e^{-x}dx = -e^{-x} + C[/tex].

Differentiating that answer you find that [tex] \frac {d}{dx} -e ^{-x} = e^{-x}
[/tex]
 
  • #7
Think of it as an [itex] e^{u} [/itex] and apply the method of substitution:
[tex] -x=u [/tex]

Daniel.

P.S.That's how u end up with the minus.
 
  • #8
[tex]\int \frac {e^x}{e^x+4}dx =?[/tex]

Here's what I did:
[tex]= \int e^{x}(e^x+4)^{-1}dx [/tex]
subsitute:
[tex]u=e^x+4[/tex]
[tex]du=e^x dx[/tex]
[tex]\int u^{-1}du =ln(e^x+4)[/tex]

Did I do this correctly? Is there a more simplified answer?
 
  • #9
UrbanXrisis said:
Did I do this correctly? Is there a more simplified answer?

Looks good to me.
 
  • #10
Don't forget the constant of integration.

Daniel.
 

1. What is an integral?

An integral is a mathematical concept that represents the area under a curve on a graph. It is a way to calculate the total value of a function over a certain interval or range.

2. How do I know if I did an integral correctly?

To check if an integral was done correctly, you can evaluate the integral using different methods such as substitution, integration by parts, or using a calculator. If all methods give the same result, then it is likely that the integral was done correctly.

3. Can I use different methods to solve an integral?

Yes, there are many methods to solve an integral, including substitution, integration by parts, trigonometric identities, and more. It is important to choose the method that best fits the integral you are trying to solve.

4. What should I do if I get a negative value for an integral?

If you get a negative value for an integral, it may be because the area under the curve is below the x-axis. You can either take the absolute value of the integral or change the limits of integration to encompass the positive area under the curve.

5. How can I practice and improve my skills in solving integrals?

To practice and improve your skills in solving integrals, you can use online resources such as integral calculators, textbooks, or work with a tutor. It is also helpful to review basic integration rules and techniques, as well as to practice solving a variety of integrals using different methods.

Similar threads

  • Introductory Physics Homework Help
Replies
19
Views
658
  • Introductory Physics Homework Help
Replies
25
Views
1K
  • Introductory Physics Homework Help
Replies
6
Views
264
  • Introductory Physics Homework Help
Replies
5
Views
283
  • Introductory Physics Homework Help
Replies
17
Views
367
  • Introductory Physics Homework Help
Replies
3
Views
834
  • Introductory Physics Homework Help
Replies
10
Views
1K
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
14
Views
2K
  • Introductory Physics Homework Help
Replies
30
Views
601
Back
Top