Actuarial Notes

Region of Integration

The Region of Integration is the set R of points (x, y) over which a double integral of a joint density f(x, y) is taken. It is the part of the event E whose probability is wanted that lies in the support, where f(x, y) > 0. For a continuous pair (X, Y), the probability of E is

P\big((X, Y) \in E\big) = \iint_R f(x, y)\,dA

  • dA is the area element, dy\,dx or dx\,dy in the order the limits are taken.

To evaluate it, R is cut into vertical slices, one for each x, so the integral is

\iint_R f\,dA = \int_a^b \int_{g_1(x)}^{g_2(x)} f(x, y)\,dy\,dx

  • a and b are the smallest and largest x in R.
  • g_1(x) and g_2(x) are the lower and upper edges of R that the vertical line at x crosses.

Horizontal slices swap the roles of x and y. Choose the order in which one formula describes every slice. If an edge changes formula part-way, split R there and add the pieces. When R is awkward, its complement is often a single slice, and P(E) = 1 - P(E^c).

What is P(X + Y < 2) for these two report times? Two claims are reported at independent exponential times with mean 1 year. With X the earlier and Y the later report time, the joint density is f(x, y) = 2e^{-x-y} for 0 < x < y.

Answer

  • The support lies above the diagonal y = x, and the event lies below the line y = 2 - x.
  • They cross at (1, 1), so R is the triangle with corners (0, 0), (1, 1) and (0, 2).
  • With x outside, every vertical slice runs from y = x up to y = 2 - x, so one integral covers R. With y outside, the right edge changes at y = 1 and two integrals are needed.
  • The inner integral is \int_x^{2-x} 2e^{-x}e^{-y}\,dy = 2e^{-2x} - 2e^{-2}.
  • The outer integral is \int_0^1 \left(2e^{-2x} - 2e^{-2}\right)dx = (1 - e^{-2}) - 2e^{-2}.
  • So P(X + Y < 2) = 1 - 3e^{-2} = 0.594.
  • Check: X + Y is the sum of the two report times, a Gamma(2, 1), and P(\text{Gamma}(2, 1) < 2) = 1 - e^{-2}(1 + 2), the same value.

Constant density

When f is constant on its support, as for independent uniform variables, no integral is needed. The probability of E is

P(E) = \frac{\text{area}(R)}{\text{area of the support}}

X and Y are independent and uniform on (0, 10). What is P(X + Y > 12)?

  • The density is the constant \frac{1}{100} on the square, so the probability is an area ratio.
  • The part of the square above x + y = 12 is the triangle with corners (2, 10), (10, 10) and (10, 2).
  • Its legs are 8, so its area is \frac{1}{2} \times 8 \times 8 = 32.
  • P(X + Y > 12) = \frac{32}{100} = 0.32.
  • As an integral, the outer limit starts at x = 2, because below it even y = 10 cannot reach 12.

Common regions

Event Region
X < Y above the diagonal y = x
X + Y \le s below the line x + y = s
\max(X, Y) \le t both x \le t and y \le t; for non-negative variables the square [0, t]^2
\min(X, Y) > t both x > t and y > t, the quadrant beyond (t, t)
X \le x_0 and Y \le y_0 the quadrant below and left of (x_0, y_0)

The region below x + y = s gives the cdf of a sum, the cdf method for X + Y. The last region is the joint cdf F(x_0, y_0). The same limits give normalizing constants, marginals and expectations of a continuous pair. For a discrete pair, the region is the set of cells of the joint table to add.

Integrating over the event and ignoring the support Sketch the support, draw the event's boundary and mark where they cross before writing any limit. In the uniform example, integrating x from 0 instead of 2 gives \int_0^{10} \frac{x - 2}{100}\,dx = 0.3, not 0.32.

Actuarial Notes