Double Integral of min(x,y): How Do I Solve This Homework Problem?

Click For Summary

Homework Help Overview

The discussion revolves around evaluating the double integral of the function min(x,y) over the unit square with limits from 0 to 1. Participants are exploring methods to approach this integral, particularly focusing on how to handle the piecewise nature of the min function.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss dividing the double integral into two separate integrals based on the conditions x

Discussion Status

Some participants have provided guidance on splitting the integral and have expressed curiosity about the calculations being performed. There is acknowledgment of differing results, with one participant noting a discrepancy in their answer compared to what they believe is correct.

Contextual Notes

Participants are working under the constraints of a homework assignment, and there is an emphasis on understanding the setup and evaluation of the integral without providing direct solutions.

Roni1985
Messages
200
Reaction score
0

Homework Statement




\int\intmin(x,y)*dx*dy
both limits are from 0 to 1

what is the general solution of this question ?

Homework Equations





The Attempt at a Solution


I attempted to solve by saying that x<y, finding the integral
and then, y<x and finding its integral.
meaning, I divided my double integral into two double integrals that go from 0 to 1.

Actually, I have never done this before and this was just a guess.

Any help would be appreciated.
 
Physics news on Phys.org
Roni1985 said:

Homework Statement




\int\intmin(x,y)*dx*dy
both limits are from 0 to 1

what is the general solution of this question ?

Homework Equations





The Attempt at a Solution


I attempted to solve by saying that x<y, finding the integral
and then, y<x and finding its integral.
meaning, I divided my double integral into two double integrals that go from 0 to 1.

Actually, I have never done this before and this was just a guess.

Any help would be appreciated.

That's a really good guess. I can't think of a better way to handle it.
 
dickdick said:
That's a really good guess. I can't think of a better way to handle it.

Hello,

Well, I think the answer is wrong because I need to get is 1/3 if I remember correctly... but I keep getting 1.


Thanks.
 
Roni1985 said:
Hello,

Well, I think the answer is wrong because I need to get is 1/3 if I remember correctly... but I keep getting 1.


Thanks.

Sure. Split it into two integrals. I'd be curious to see how you manage to get 1. Can you show your work? 1/3 is correct.
 
Roni1985 said:

Homework Statement




\int\intmin(x,y)*dx*dy
both limits are from 0 to 1

what is the general solution of this question ?

Homework Equations





The Attempt at a Solution


I attempted to solve by saying that x<y, finding the integral
and then, y<x and finding its integral.
meaning, I divided my double integral into two double integrals that go from 0 to 1.

Actually, I have never done this before and this was just a guess.

Any help would be appreciated.

Have you tried using a signum function?

You can use a signum function to calculate either a minimum or a maximum. However I'm not sure if an integral exists for it. If one did I would think that it would be some special function that's non-polynomial.

In case your interested here is how you calculate min(x,y)

min(x,y) = y * (signum(x-y)+1)/2 + x * (signum(y - x)+1)/2. The signum function in this case is defined as:

signum(x) = -1 if x < 0, +1 if x > 0, 0 if x = 0.

This kind of function has a Fourier series so you may want to ask someone who knows about these kind of functions.
 
chiro said:
Have you tried using a signum function?

You can use a signum function to calculate either a minimum or a maximum. However I'm not sure if an integral exists for it. If one did I would think that it would be some special function that's non-polynomial.

In case your interested here is how you calculate min(x,y)

min(x,y) = y * (signum(x-y)+1)/2 + x * (signum(y - x)+1)/2. The signum function in this case is defined as:

signum(x) = -1 if x < 0, +1 if x > 0, 0 if x = 0.

This kind of function has a Fourier series so you may want to ask someone who knows about these kind of functions.

It is seriously not that complicated. Just split the integration in the unit square along the line x=y.
 
dickdick said:
Sure. Split it into two integrals. I'd be curious to see how you manage to get 1. Can you show your work? 1/3 is correct.

OMG, it is 1/3... I didn't change the limits of the integrals even after I divided them...


Thanks for your help...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 17 ·
Replies
17
Views
4K
Replies
4
Views
3K
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
7
Views
2K
Replies
4
Views
3K