# Need help with setting up 2 double integrals

#### cse63146

1. Homework Statement

I'm trying to find the CDF of e^-y.

The cdf of any f(x,y) is $$\int^x_{-\infty} \int^y_{-\infty} f(u,v) dv du$$

where u and v are just dummy variables. I need to consider 2 cases: 1) 0<x<y and 2) 0 < y < x. In other words I need to do 2 double integrals using the general set up of a CDF.

2. Homework Equations

3. The Attempt at a Solution

$$\int^x_0\int^y_x e^{-v} dv du$$ This case is when 0<x<y

$$\int^x_0\int^x_y e^{-v} dv du$$ This case is when 0<y<x

Did I set these up correctly? Because a friend of mine had 2 different answers, and I made a mistake somewhere. Thank you.

Related Calculus and Beyond Homework Help News on Phys.org

### Want to reply to this thread?

"Need help with setting up 2 double integrals"

### Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving