How do I integrate this? | x | dx? Thx! I know the answer is something + C.
S suicoted New member Joined Jul 17, 2005 Messages 34 Aug 7, 2005 #1 How do I integrate this? | x | dx? Thx! I know the answer is something + C.
S suicoted New member Joined Jul 17, 2005 Messages 34 Aug 7, 2005 #2 Never mind, I figured it out. I got | x^2/2| + C.
M Matt Junior Member Joined Jul 3, 2005 Messages 183 Aug 7, 2005 #3 suicoted said: I got | x^2/2| + C. Click to expand... 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: To evalute the last integral above, take u=sign(x) and dv=x*dx to obtain: (here, I assumed the derivative of the sign function is 0). Then, combining the above, we have: I think this is okay. What does everyone else think?
suicoted said: I got | x^2/2| + C. Click to expand... 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: To evalute the last integral above, take u=sign(x) and dv=x*dx to obtain: (here, I assumed the derivative of the sign function is 0). Then, combining the above, we have: I think this is okay. What does everyone else think?
S suicoted New member Joined Jul 17, 2005 Messages 34 Aug 7, 2005 #4 thx for correcting me. I appreciate it, otherwise I woudl have gotten it wrong. Is "sign x" just absolute value of x?
thx for correcting me. I appreciate it, otherwise I woudl have gotten it wrong. Is "sign x" just absolute value of x?
S suicoted New member Joined Jul 17, 2005 Messages 34 Aug 7, 2005 #5 "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?
"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?
tkhunny Moderator Staff member Joined Apr 12, 2005 Messages 11,339 Aug 7, 2005 #6 'sign' is not the same as 'sine'. For x > 0, sign(x) = 1 For x < 0, sign(x) = -1