Integrating Tricky Functions: Problems with Homework Statements

  • Thread starter Thread starter La_Lune
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around two integral problems: the first involves integrating the function ∫xe^x/√(1+e^x) dx from ln3 to ln8, and the second involves ∫arccos(tanx)dx from -π/4 to π/4. Participants are exploring methods for solving these integrals and discussing their approaches.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss using integration by parts for the first integral, with one suggesting a substitution method. For the second integral, some participants consider graphical solutions and relationships between functions and their inverses. There are questions about the effectiveness of the proposed methods and the complexity of the integrals involved.

Discussion Status

Some participants have provided guidance on the methods for both integrals, with one confirming that a suggested approach for the second integral was successful. However, there remains uncertainty regarding the first integral, particularly in finding the integral of a resulting expression after applying integration by parts.

Contextual Notes

Participants note that the integrals present challenges, with one mentioning that a solution from WolframAlpha involves complex substitutions. There is an acknowledgment of the need for flexibility in approach when dealing with these types of integrals.

La_Lune
Messages
4
Reaction score
0

Homework Statement


a) ∫xe^x/√(1+e^x) dx from ln3 to ln8
b)∫arccos(tanx)dx from -π/4 to π/4

Homework Equations


uv-∫vdu? Not so sure about this

The Attempt at a Solution


For question a I tried to make e^x/√(1+e^x)=dv and x=u, but then my result was different from the correct answer, so I guess perhaps I was proceeding the wrong way...For question b I really don't have any idea, perhaps I should substitute tanx with something? Thanks for your help!
 
Physics news on Phys.org
For part(a), that looks like your method should work

dv = ex/√(1+ex) dx → v = 2√(1+ex)

and of course, u = x → du = dx

For part (b), all I could come up with is a graphical solution combined with relating the integral of a function with the integral of the function's inverse.

Added in edit:

cos(θ) = sin(π/2 - θ)

So, arccos(u) = π/2 - arcsin(u)

Therefore, [tex]\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\arccos(\tan(x))dx=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\left(\frac{\pi}{2}-\arcsin(\tan(x))\right)dx\ .[/tex]

Split this into two integrals, and notice that arcsin(tan(x)) is and odd function.
 
Last edited:
SammyS said:
For part(a), that looks like your method should work

dv = ex/√(1+ex) dx → v = 2√(1+ex)

and of course, u = x → du = dx

For part (b), all I could come up with is a graphical solution combined with relating the integral of a function with the integral of the function's inverse.

Added in edit:

cos(θ) = sin(π/2 - θ)

So, arccos(u) = π/2 - arcsin(u)

Therefore, [tex]\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\arccos(\tan(x))dx=\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}\left(\frac{\pi}{2}-\arcsin(\tan(x))\right)dx\ .[/tex]

Split this into two integrals, and notice that arcsin(tan(x)) is and odd function.


Thank you so much SammyS! The method for question b worked like a charm! Can you please tell me how I shall proceed with question a? I mean using integration by parts I got this:

2x√(1+e^x)-2∫√(1+e^x)dx but I don't know how to find the integral of the second part...
 
Last edited:
La_Lune said:
Thank you so much SammyS! The method for question b worked like a charm! Can you please tell me how I shall proceed with question a? I mean using integration by parts I got this:

2x√(1+e^x)-2∫√(1+e^x)dx but I don't know how to find the integral of the second part...
That integral looks rather tough. WolframAlpha does a rather involved set of substitutions, but try the following instead.

[tex]\text{Let }u = \sqrt{1 + e^x}\ \ \to\ \ x=\ln(u^2-1)=\ln(u+1)+\ln(u-1)\ \ \to\ \ dx=\left(\frac{1}{u+1}+\frac{1}{u-1}\right)du\ .[/tex]

This works out fairly well.
 
SammyS said:
That integral looks rather tough. WolframAlpha does a rather involved set of substitutions, but try the following instead.

[tex]\text{Let }u = \sqrt{1 + e^x}\ \ \to\ \ x=\ln(u^2-1)=\ln(u+1)+\ln(u-1)\ \ \to\ \ dx=\left(\frac{1}{u+1}+\frac{1}{u-1}\right)du\ .[/tex]

This works out fairly well.

I thank you so much~it seems that one should really be flexible while trying to use substitution :)
 

Similar threads

  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
6
Views
2K
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
4
Views
2K
Replies
3
Views
2K