What is value of integral |x|/x?

  • Thread starter Thread starter vkash
  • Start date Start date
  • Tags Tags
    Integral Value
AI Thread Summary
The integral of |x|/x is evaluated differently based on the sign of x, yielding 1 for x > 0 and -1 for x < 0. Consequently, the integral from 0 to x results in x for positive values and -x for negative values, reflecting the area under the graph. When integrating across a range that includes zero, the total area can be computed by summing the areas from negative and positive intervals. The discussion emphasizes that integrating across x = 0 is valid due to the nature of integration smoothing out discontinuities. Overall, the integral's value depends on the limits of integration and the sign of x.
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:
<br /> \frac{\vert x \vert}{x} = \left\lbrace<br /> \begin{array}{ccl}<br /> 1&amp;,&amp;x &gt; 0 \\<br /> -1&amp;,&amp;x &lt; 0<br /> \end{array}\right.<br />

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 \vert x \vert, 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
\int_0^x\frac{|x|}{x}dx= -x
(which is positive, of course, because x<0)
and if x>0 then
\int_0^x\frac{|x|}{x}dx= x

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

(Note that is legal to integrate across x= 0 because the itegral is a "smoothing" operation.)
 
Last edited by a moderator:
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top