Integrating functions with absolute values

Click For Summary

Discussion Overview

The discussion revolves around the integration of functions involving absolute values, specifically in the context of finding the expected value of the absolute value of a Cauchy random variable. Participants explore the mathematical steps involved in the integration process and the reasoning behind certain transformations.

Discussion Character

  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant presents the integral \(\int_{-\infty}^{\infty}\frac1{\pi}\frac{|x|}{1+x^2}dx\) and breaks it down into two parts based on the definition of absolute value.
  • Another participant questions the equality \(\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx\) and suggests using the substitution \(-x=t\) to clarify this relationship.
  • A later reply confirms the reasoning by performing the substitution and demonstrating that the limits of integration change appropriately, leading to the conclusion that the two integrals are indeed equal.

Areas of Agreement / Disagreement

Participants appear to agree on the validity of the substitution and the resulting equality of the integrals, although the initial reasoning behind it is questioned and explored. The discussion does not reach a consensus on any broader implications or applications beyond the specific integrals discussed.

Contextual Notes

The discussion involves assumptions about the properties of definite integrals and the behavior of functions under substitution, which are not explicitly stated. The dependence on the definitions of absolute values and the treatment of dummy variables is also relevant.

Mogarrr
Messages
120
Reaction score
6
To find E |X| of a cauchy random variable, I need to integrate
\int_{-\infty}^{\infty}\frac1{\pi}\frac{|x|}{1+x^2}dx.

From the definition of absolute value, we have
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx + \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx (I think).

But, the very next step in the textbook, which I'm trying to follow along, is
\frac2{\pi}\int_0^{\infty}\frac{x}{1+x^2}dx.

Unless I made some mistake, the reasoning here is that
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx.

If this is true, why is this?
 
Physics news on Phys.org
Mogarrr said:
Unless I made some mistake, the reasoning here is that
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx.

If this is true, why is this?

What happens if you do the substitution ##-x=t##?
 
  • Like
Likes   Reactions: 1 person
Mogarrr said:
To find E |X| of a cauchy random variable, I need to integrate
\int_{-\infty}^{\infty}\frac1{\pi}\frac{|x|}{1+x^2}dx.

From the definition of absolute value, we have
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx + \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx (I think).

But, the very next step in the textbook, which I'm trying to follow along, is
\frac2{\pi}\int_0^{\infty}\frac{x}{1+x^2}dx.

Unless I made some mistake, the reasoning here is that
\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx = \int_0^{\infty}\frac1{\pi}\frac{x}{1+x^2}dx.

If this is true, why is this?
Same idea behind $$\int_{a}^{b}\omega=-\int_{b}^{a}\omega.$$
 
Thanks for your help guys. Understanding accomplished.

Let t=-x, then -dx=dt, \frac{-x}{1+x^2}=\frac{t}{1+t^2}, and the bottom limit of integration changes from -∞ to ∞. Thus

\int_{-\infty}^0\frac1{\pi}\frac{-x}{1+x^2}dx=(-1)\cdot \int_{\infty}^0\frac1{\pi}\frac{t}{1+t^2}dt = \int_0^{\infty}\frac1{\pi}\frac{t}{1+t^2}dt.

Since t is a dummy variable, the integrand can be rewritten with x=t.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 19 ·
Replies
19
Views
5K