What is value of integral |x|/x?

  • Thread starter Thread starter vkash
  • Start date Start date
  • Tags Tags
    Integral Value
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 2K views
vkash
Messages
316
Reaction score
1
What is value of integral |x|/x. (x is not equal to zero)
For x>0 this integral became integral of 1 that is equal to x.
for x<0 this integral became integral of -1 that is equal to -x.
for x>0 it is x & for x<0 it is-x so it should mode |x|.

is it correct or incorrect?

NOTE: here |x| means modulus of x.
 
Physics news on Phys.org
Use:
[tex] \frac{\vert x \vert}{x} = \left\lbrace<br /> \begin{array}{ccl}<br /> 1&,&x > 0 \\<br /> -1&,&x < 0<br /> \end{array}\right.[/tex]

Then, the primitive function of 1 is x, and of -1 is -x. If you look at the conditions where each case holds, and compare it to the definition of [itex]\vert x \vert[/itex], what should you get?
 
Or draw a graph- horizontal lines. The integral can be interpreted as "area under the graph" and the graph is either one rectangle or two rectangles depending upon where you start and where you end. And the area of a rectangle of height 1 and width x is just x.

If x<0 then
[tex]\int_0^x\frac{|x|}{x}dx= -x[/tex]
(which is positive, of course, because x<0)
and if x>0 then
[tex]\int_0^x\frac{|x|}{x}dx= x[/tex]

If a< 0 and 0< b, then
[tex]\int_a^b\frac{|x|}{x}dx= \int_a^0\frac{|x|}{x}dx+\int_0^b\frac{|x|}{x}dx[/tex]
[tex]= \int_0^a \frac{|x|}{x}dx+ \int_0^b\frac{|x|}{x}dx= - (-a)+ b= a+ b.[/tex]

(Note that is legal to integrate across x= 0 because the itegral is a "smoothing" operation.)
 
Last edited by a moderator: