Why the Support Determines the Calculation
For a pair of continuous random variables, a joint density describes probability across a region in the plane. When that region is triangular, curved, or otherwise constrained, the main challenge is often not finding an antiderivative. It is identifying which values of one variable are possible after the other variable has been fixed. Correct bounds follow from the support—the region where the joint density is positive.
A rectangular integration region can often be described with constant limits. On an irregular support, a slice through the region may begin or end at a boundary that depends on the other coordinate. Choosing the direction of integration carefully can make a multi-step probability calculation shorter and help prevent missing or adding part of the region.
Reading a Support and Choosing Bounds
Suppose the support is specified by inequalities. To integrate with respect to \(y\) first, fix \(x\) and determine the lowest and highest feasible \(y\)-values. This describes vertical slices and gives an integral of the form \(\int \int f_{X,Y}(x,y)\,dy\,dx\). To integrate with respect to \(x\) first, fix \(y\), determine the feasible \(x\)-values, and use horizontal slices. The two orders describe the same region, but their bounds can look quite different.
A useful procedure is to sketch the boundary curves, mark their intersections, and then test a point in the proposed region. For a probability over only part of the support, also draw that event on the sketch. An event boundary can split the support into pieces, so the bounds may need separate integrals.
Record the full range of both variables and any constraint linking them.
Fix one variable and solve the support inequalities for the other. Prefer bounds that require fewer pieces.
For a marginal, include every feasible value of the variable being integrated out. For a probability, restrict the integral to the event as well.
Marginal densities must integrate to 1, and probabilities must lie between 0 and 1. The chosen bounds must stay inside the support.
Worked Examples with Triangular Supports
Worked Example: Marginals and a Probability on a Unit Triangle
Let \((X,Y)\) have constant joint density on the triangular support \(0<y<x<1\). Find the density, both marginal densities, and \(P(Y<1/2)\).
Method and normalization. The support has vertices \((0,0)\), \((1,0)\), and \((1,1)\), so its area is \(1/2\). If the constant density is \(c\), total probability requires \(c(1/2)=1\), giving \(c=2\). Thus \(f_{X,Y}(x,y)=2\) on \(0<y<x<1\), and zero elsewhere.
Marginal of \(X\). For a fixed \(x\), the support allows \(0<y<x\). Therefore,
Outside this range \(f_X(x)=0\). The check is \(\int_0^1 2x\,dx=1\).
Marginal of \(Y\). For fixed \(y\), the support condition \(y<x<1\) gives \(y<x<1\), so
This also integrates to 1: \(\int_0^1 2(1-y)\,dy=1\).
Probability. Using the marginal, \(P(Y<1/2)=\int_0^{1/2}2(1-y)\,dy\). Evaluating gives \([2y-y^2]_0^{1/2}=1-1/4=3/4=0.7500\). As a check using vertical slices, for \(0<x<1/2\), all feasible \(y\) satisfy \(y<1/2\); for \(1/2<x<1\), only \(0<y<1/2\) qualifies. The probability is therefore \(\int_0^{1/2}2x\,dx+\int_{1/2}^1 1\,dx=1/4+1/2=3/4\).
Common mistake avoided: At fixed \(y\), the feasible \(x\)-values run from \(y\) to 1, not from 0 to \(y\). Reversing those limits describes points outside the triangle and gives the wrong marginal.
Worked Example: A Weighted Density on a Sloping Triangle
Suppose a hypothetical model for two nonnegative quantities has support \(0<x<2\), \(0<y<2-x\), and joint density \(f_{X,Y}(x,y)=c(x+y)\) there. Find \(c\), the marginal density of \(X\), and \(P(X<1,\ Y<1)\).
Method and normalization. For each \(x\) from 0 to 2, \(y\) ranges from 0 to \(2-x\). Thus,
The inner integral is \(x(2-x)+(2-x)^2/2=2-x^2/2\). Integrating over \(x\) gives \([2x-x^3/6]_0^2=4-8/6=8/3\). Hence \(c=3/8\).
Marginal of \(X\). Integrate across the full feasible range of \(y\) at each fixed \(x\):
It is zero outside \(0<x<2\). As a check, \(\int_0^2(3/4-3x^2/16)\,dx=3/2-1/2=1\).
Joint probability. The event \(X<1,\ Y<1\) is the unit square within the support: every point in it has \(x+y<2\), apart from boundary points that do not affect a continuous probability. Integrate over that square:
The two inner contributions are \(\int_0^1\int_0^1 x\,dy\,dx=1/2\) and \(\int_0^1\int_0^1 y\,dy\,dx=1/2\). The answer is a valid probability, and the marginal check confirms the normalization. The common mistake is to integrate the entire support when the event restricts both coordinates; here the event requires the unit-square bounds.
Curved Boundaries and Reversing the Order
Curved supports work by the same principle: solve the support inequalities for whichever variable is being integrated out. A boundary that is simple when written as \(y\) in terms of \(x\) may yield different bounds when written as \(x\) in terms of \(y\). Inverting a boundary requires attention to its domain and, when necessary, to multiple branches.
Worked Example: A Curved Support with a Horizontal Slice
Let \(f_{X,Y}(x,y)=6\) on the curved support \(0<x<1,\ x^2<y<x\), and zero elsewhere. Find the marginal density of \(Y\), then calculate \(P(X<1/2)\).
Method and support check. The support area is \(\int_0^1(x-x^2)\,dx=1/2-1/3=1/6\), so the constant density 6 is normalized. For fixed \(y\), the constraints \(x^2<y\) and \(y<x\), with \(x>0\), imply \(x<\sqrt y\) and \(x>y\). Thus \(y<x<\sqrt y\), for \(0<y<1\).
Marginal of \(Y\). Integrating over the horizontal slice gives
The marginal integrates to \(6(2/3-1/2)=1\), confirming the density.
Probability. For each fixed \(x\), the support gives \(x^2<y<x\). The event \(X<1/2\) therefore has probability
The result is plausible because the density puts more vertical width near the middle of the \(x\)-range than near either endpoint, but the integral—not visual intuition—determines the probability. A common mistake is to use \(x\) from \(y\) to \(\sqrt y\) when computing \(f_Y\); those are the bounds for \(x\) at fixed \(y\), while the probability calculation here uses \(y\) from \(x^2\) to \(x\) at fixed \(x\).
Common Exam Traps and Checks
On an irregular support, algebraic bounds can be internally consistent yet describe the wrong region. The most reliable check is to test a simple point known to lie in the support. For example, if \(0<y<x<1\), the point \((x,y)=(3/4,1/4)\) is allowed. A proposed vertical slice at \(x=3/4\) should include \(y=1/4\); bounds that exclude it cannot be correct.
- Do not use the full coordinate range automatically. At a fixed coordinate, the other variable may have a restricted range.
- Do not confuse the two slicing directions. Bounds for \(y\) at fixed \(x\) differ from bounds for \(x\) at fixed \(y\).
- Split the integral when a boundary changes. An event can intersect the support so that one pair of limits does not describe the whole target region.
- Keep normalization separate from the event calculation. First ensure the density integrates to 1 on its full support; then integrate only over the event of interest.
These checks are useful in integrated probability problems because a correct density formula does not compensate for incorrect limits. Sketching the support and describing each slice in words are often faster than trying to repair a mistaken integral afterward.
Check Your Understanding
For each problem, identify the support bounds before integrating. Probabilities are given to four decimal places as well as in exact form when convenient.
- A joint density is constant on \(0<y<x<1\). Find \(P(X<1/2)\). (Answer: \(1/4=0.2500\))
- For the same density and support, find \(P(Y<1/2)\). (Answer: \(3/4=0.7500\))
- A joint density is constant on \(0<x<2,\ 0<y<2-x\). Find \(P(X>1)\). (Answer: \(1/4=0.2500\))
- Let \(f_{X,Y}(x,y)=6\) on \(0<x<1,\ x^2<y<x\). Find \(P(X<1/2)\). (Answer: \(1/2=0.5000\))
- Let \(f_{X,Y}(x,y)=\frac{3}{8}(x+y)\) on \(0<x<2,\ 0<y<2-x\). Find \(P(Y<1)\). (Answer: \(11/16=0.6875\))