# Abs(x-y) dydx

1. Jan 7, 2010

### mnf

integrate:

0101 abs(x-y) dydx

2. Jan 7, 2010

### tiny-tim

Welcome to PF!

Hi mnf! Welcome to PF!
(no need to shout! )

Hint: split the integral into two regions, one with x > y, and one with x < y.

3. Jan 7, 2010

### mnf

Re: integrate

I don't know how ,plz explain it

4. Jan 7, 2010

### tiny-tim

Instead of one integral, with limits 0 ≤ x ≤ 1 and 0 ≤ y ≤ 1 (which is a square),

split the square into two regions, one with x < y, and one with x > y,

and then use two integrals, one for each region.

5. Jan 7, 2010

### mnf

Re: integrate

i want to get answer in closed form
because question is
find B value

B∫0101 abs(x-y) dydx =1

6. Jan 7, 2010

### CRGreathouse

Re: integrate

If I didn't know better, I'd think you want us to solve it for you!

7. Jan 8, 2010

### HallsofIvy

Re: integrate

If you honestly do not know what the absolute value of a number is, which is what you appear to be saying, you have no hope of doing this problem. Talk to your teacher about it!

If you do know the absolute value function then you know that |x- y|= x- y as long as $x\ge y$ and |x-y|= y- x if x< y. The region $0\le x\le 1$, $0\le y\le 1$ is a square. $x\ge y$ below the diagonal from (0, 0) to (1, 1) and y> x above the diagonal. Integrate those two separately and add.