How do I correctly handle absolute value signs in double integral applications?

Click For Summary

Homework Help Overview

The discussion revolves around calculating the average distance one would walk between two randomly chosen gates in an airport terminal, modeled using a double integral involving the absolute value function |x - y|. The problem is situated within the context of calculus and integral applications.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to compute the average value of |x - y| over the unit square but encounters a result of zero, leading to questions about the treatment of absolute values in integrals. Some participants suggest breaking the integral into regions based on the sign of (x - y) to properly handle the absolute value.

Discussion Status

Participants are actively engaging with the problem, with one suggesting a method to split the integral into two regions to address the absolute value correctly. The original poster has attempted this approach and reports a computed value, indicating progress in the discussion.

Contextual Notes

The original poster expresses uncertainty about the treatment of absolute values in integrals, which is a key point of discussion. There is also a correction regarding the evaluated integral's result, reflecting the iterative nature of the problem-solving process.

Stevecgz
Messages
68
Reaction score
0
Question:
At airports, departure gates are often lined up in a terminal like points along a line. If you arrive at one gate and proceed to another gate for a connecting flight, what proportion of the length of the terminal will you have to walk, on average?

One way to model this situation is to randomly choose two numbers, 0 <= x <= 1 and 0 <= y <= 1; and calculate the average value of |x - y|. Use a double integral to find the average distance you have to walk.

What I've done:
I approached this by trying finding the average value of |x - y| using a double integral with f(x,y) = |x - y|, D = {(x,y)|0 <= x <= 1, 0 <= y <= 1}. When I solve this integral I get a value of zero. This intuitively makes sense since the average distance in the positive direction will equal the average distance in the negative direction, but it doesn't help me answer the question. I think my problem is that I am not treating the absolute value correctly. So my question is how do I treat the absolute value signs when solving this (or any other) integral?

Thanks,
Steve
 
Physics news on Phys.org
Hi Steve,

You are right to suspect that you aren't treating the absolute value right. The expression [tex]|x-y|[/tex] is always positive, so when you integrate it you can't get zero. Try breaking the integration up into two regions where x-y is either positive or negative. This will enable you to treat the absolute value in a simple way.
 
Physics Monkey said:
Hi Steve,

You are right to suspect that you aren't treating the absolute value right. The expression [tex]|x-y|[/tex] is always positive, so when you integrate it you can't get zero. Try breaking the integration up into two regions where x-y is either positive or negative. This will enable you to treat the absolute value in a simple way.

Thanks for the reply Physics Monkey,

Since |x - y| is negative above the line y = x, I set up the following integral:

[tex]\int_{0}^{1}\int_{x}^{1} -(x - y) dydx + \int_{0}^{1}\int_{0}^{x} (x - y) dydx[/tex]

When I evaluate the integral I get a value of 1/6, which seems reasonable for the question. Am I going about this correctly? Thanks.
 
Evaluating the integral again I see the value is actually 1/3, not 1/6.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K