Integration = Absolute Value

suicoted

New member
Joined
Jul 17, 2005
Messages
34
How do I integrate this?

| x | dx?

Thx! I know the answer is something + C.
 
suicoted said:
I got | x^2/2| + C.
Incorrect. The integral is actually x*|x|/2 + C.

I think this can be done with integration by parts. Take u=|x| and dv=dx to obtain:

abs1.png


To evalute the last integral above, take u=sign(x) and dv=x*dx to obtain:

abs2.png


(here, I assumed the derivative of the sign function is 0). Then, combining the above, we have:

abs3.png


I think this is okay. What does everyone else think?
 
thx for correcting me. I appreciate it, otherwise I woudl have gotten it wrong. Is "sign x" just absolute value of x?
 
"I assumed the derivative of the sign function is 0", WHAT?! Where did that come from? I don't get it :(. A 'sign' function, what's that mean? Sine?
 
'sign' is not the same as 'sine'.

For x > 0, sign(x) = 1
For x < 0, sign(x) = -1
 
Top