Multivariable integration of a piecewise function

3 replies · 2K views · last reply
nomadreid
Gold Member
Messages
1,781
Reaction score
259
Homework Statement
Given f(x,y) = exp(y-x) for x>y>=0, and -exp(x-y) for 0<=x<=y, show that the integral from 0 to infinity of (the integral from 0 to infinity of f(x,y) dx)dy=1, and reversing the order of integration, -1.
Relevant Equations
Integrating with respect to one variable, one keeps the other variable as a constant. The integral to infinity is the limit of the integral to an index. Integrating a piecewise function, one integrates each piece.
The problem, neater:
Piecewise function f(x, y) equals e^(y-x) for x > y >= 0 and -e^(x-y) for 0 <= x <= y, with the claims that the double integral over dx then dy equals 1 and the reverse order equals -1.

Attempt at a solution:
Handwritten-style typeset calculus working: improper integrals of e^(y-x) and e^(x-y) evaluated step by step, with limits as x or y tends to infinity, ending in a claimed result of infinity for a double integral.

Handwritten-style typeset derivation of improper double integrals with lim e^y and e^-x terms, evaluating to -∞ and 1, ending with a piecewise f(x,y) result over x > y ≥ 0 and 0 ≤ x ≤ y.
 
Attachments
  • Piecewise definition of f(x,y): e^(y-x) for x > y >= 0, and -e^(x-y) for 0 <= x <= y, followed by two double improper integrals of f over [0,inf) that are claimed to equal 1 and -1.
    1731590152038.png
    2.1 KB · Views: 99
Write [tex] \int_0^\infty \left( \int_0^\infty f(x,y)\,dx\right)\,dy = \lim_{Y \to \infty} \int_0^Y \left( \int_0^y f(x,y)\,dx + \lim_{X \to \infty} \int_y^X f(x,y)\,dx \right)\,dy.[/tex] In the first integral on the right, we have [itex]0 \leq x \leq y[/itex]; in the second we have [itex]0 \leq y \leq x[/itex]. Take the inner limit first, and simplify the result before doing the outer integral.
 
Super! I tried it, and not only did it work, but even more important, while doing it I thus understood the reasoning. Thanks again, pasmith!😊