What is the best approach to integrating 1/sqrt(u^2)?

  • Context: Undergrad 
  • Thread starter Thread starter FunkyDwarf
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Discussion Overview

The discussion centers around the integration of the function 1/sqrt(u^2), exploring various methods and considerations for handling the integral, particularly in the context of integrating over negative values of u. Participants share their thoughts on substitutions, boundary conditions, and the implications of the absolute value in the integration process.

Discussion Character

  • Mathematical reasoning
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant expresses uncertainty about integrating 1/sqrt(u^2) due to the implications of negative values of u.
  • Another participant clarifies that sqrt(u^2) equals |u|, suggesting that the integral can be approached as 1/|u|.
  • A different viewpoint suggests integrating separately from -∞ to 0 and from 0 to +∞, although this is noted to be difficult.
  • One participant mentions that Mathematica provides a result of u Ln(u)/sqrt(u^2), expressing confusion about how to derive this result.
  • Another participant proposes that if u is always negative, the integral simplifies to -ln|u|, but questions arise about maintaining consistency for positive u.
  • A suggestion is made to introduce an infinitesimal imaginary term to the denominator to facilitate integration.
  • Further clarification is provided regarding the behavior of the integral for positive and negative values of u, emphasizing the need for careful handling of boundary conditions.
  • One participant notes that Mathematica may require additional commands to simplify expressions effectively.

Areas of Agreement / Disagreement

Participants express differing views on how to approach the integral, with no consensus on a single method or solution. Some participants agree on the importance of considering the sign of u, while others highlight the challenges in integrating across boundaries.

Contextual Notes

Participants acknowledge the complexity of the integral and the need for careful consideration of assumptions regarding the values of u. There are mentions of boundary conditions and the implications of integrating over negative values, which remain unresolved.

FunkyDwarf
Messages
481
Reaction score
0
Well either that or I am missing something obvious =)
I need to integrate 1/sqrt(u^2)

Now i can't just apply the square root because then i lose all information about the minus values. I've tried various substitutions, trig ones seem to make it worse and I've run the integral in mathematica and it returns an answer that i agree with and fits with what I am trying to do but I am not sure how to get it :S

Im sure its something simple that my tired caffeine saturated brain is missing, so be gentle with me :P

Cheers
-G
 
Physics news on Phys.org
Well, sqrt(u^2)=|u|.
 
isn't this just the same as [tex]|\frac{1}{u}|[/tex]?

Edit: quasar beat me to it :-)
 
Hi G! :smile:

Integrate from -∞ to 0, and integrate separately from 0 to +∞, and add! :smile:
 
tiny-tim said:
Hi G! :smile:

Integrate from -∞ to 0, and integrate separately from 0 to +∞, and add! :smile:
That's going to be rather difficult to do! :smile:
 
oops!

oah … aah …
:rolleyes: maybe not 0 :rolleyes:
 
no i understand its the magnitude its just mathematica gives a result of u Ln(u) /sqrt(u^2) and i don't know how to get that. Its been a while since i did methods of integration, as you can probably tell :P

EDIT: By the way we know that u itself is always negative and I am integrating from x0 to zero. Its to show that a particle in a certain potential will take forever to fall in basically so i need either a 1/u term somewhere or log (not Abs(u))
 
Last edited:
Well IF u is always negative, as you mentioned, then 1/sqrt(u^2) = 1/|u| = 1/(-u) can't you just integrate that? and get -ln|u|
 
Yes but the only problem being i should get the same answer for u always positive. Basically I am applying boundary conditions too soon i think, I am supposed to show that it is always negative from the integral. I am not sure what I am allowed to assume, have a tute with lecturer tomorrow will ask then.

Thanks for your help guys
 
  • #10
You can also add an infitessimal imaginary term to the denominator:

[tex]\frac{1}{|x|} \longrightarrow \frac{1}{|x + i\epsilon|}=\frac{1}{\sqrt{x^2 + \epsilon^{2}}}[/tex]

This is easy to integrate. You can let the [tex]\epsilon[/tex] tend to zero at the end of the calculations.
 
  • #11
FunkyDwarf said:
no i understand its the magnitude its just mathematica gives a result of u Ln(u) /sqrt(u^2) and i don't know how to get that. Its been a while since i did methods of integration, as you can probably tell :P

EDIT: By the way we know that u itself is always negative and I am integrating from x0 to zero. Its to show that a particle in a certain potential will take forever to fall in basically so i need either a 1/u term somewhere or log (not Abs(u))


I don't know why Mathematica is avoiding |u|. Again, sqrt(u^2)= |u| and u/|u|= 1 if u is positive, -1 if u is negative (and is undefined at u= 0). What mathematica is telling you is that the integral is ln(u) if u is positive and -ln(|u|)= -ln(-u) if u is negative.

That's true because your integral reduces to [itex]\int du/u= ln(|u|)= ln(u)[itex]if u is positive and [itex]-\int du/u= -ln(|u|)= -ln(-u)[/itex] if u is negative.<br /> <br /> ("+ C" of course)<br /> <br /> If you are integrating from x0 to 0, the (improper) integral does not exist.[/itex][/itex]
 
  • #12
Sometimes you need to tell Mathematica to "Simplify", to "FullSimplify, to "FunctionExpand", to "PowerExpand" etc. etc. :approve:
 
  • #13
Yeh no i could see it wasnt simplified, just thought maybe there was a catch i was missing. Ok guys seems i was reading too much into it :P thanks !
 

Similar threads

  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
5K
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K