Domain
The domain is the set of allowed input points.
Example:
For this to be real:
So:
That is the unit disk.
So this function only exists above the disk:
This matters later because joint densities also often live only on some region.
Support
Support means the region where the function is nonzero.
Example:
The function is nonzero only where:
This is a triangle.
So before doing any integral, you must identify the region.
This is the first major skill:
Level Curves
A level curve is where the function has constant value.
For:
level curves are:
These are straight lines.
For:
level curves are:
These are circles.
For:
level curves are:
Lesson 2: Double Integrals from First Principles
In single-variable calculus:
means: split the line from to into tiny intervals, take height , multiply by tiny width , and add.
So each tiny piece is:
For two variables:
means: split a 2D region into tiny rectangles, take height , multiply by tiny area , and add.
Each tiny piece is:
If the tiny rectangle has width and height , then:
So:
Order Matters in Notation
This:
means integrate first, then .
This:
means integrate first, then .
For rectangular regions, both usually give the same result:
This is a version of Fubini's theorem.
Lesson 3: Non-Rectangular Regions and Building the Limits of Integration
So far we've integrated over rectangles:
Life is easy because the limits are constants.
But probability almost never gives you rectangles. It gives you things like
or
The question is:
How do I convert a geometric region into integral limits?
Example 1
Consider
Let's not jump to the integral.
First decode the inequalities.
The three conditions are
Now imagine moving a vertical line across the region.
Why vertical?
Because we're going to integrate with respect to first.
For every fixed ,
the lowest point is
the highest point is
Now ask:
What values can itself take?
Obviously
So the integral becomes
Notice what happened.
The outer variable always has constant limits.
The inner variable usually depends on the outer variable.
Why Would We Ever Change the Order?
Because one order may be impossible.
Example:
The inside integral
has no elementary antiderivative.
You're stuck.
Now reverse the order.
The region becomes
So
Notice something beautiful.
The integrand
doesn't depend on
So integrating over
is trivial.
You get
Lesson 5: Change of Variables
Until now, we changed only the order:
But the variables stayed the same:
Now we ask something bigger.
What if we define new variables?
Now instead of describing points using , we describe the same points using .
This is called change of variables.
Why do this?
Because sometimes the original variables are awkward.
Example:
is annoying in , but simple in polar coordinates:
So changing variables can make the region or the function simpler.
Same point. Different coordinate system. Humanity invents notation, then spends centuries escaping it.
Simple 1D Version First
In single-variable calculus, suppose:
Then:
So:
Therefore:
That extra factor appears because the new variable stretches distances.
If:
then a tiny change becomes:
So is stretched by factor . Therefore is only half of .
That is the whole idea behind Jacobians too.
In 2D, Area Changes
In two variables, we care about tiny areas.
Originally:
After changing variables:
But usually:
There is an area-scaling factor.
That factor is the Jacobian determinant.
Example: Simple Scaling
Let:
Then:
A tiny rectangle in has sides:
Area:
In :
So:
Therefore:
So if you transform from to , you must multiply by:
otherwise your areas are wrong.
And if your areas are wrong, your probabilities are wrong, which is bad because the whole point of probability is already pretending uncertainty is manageable.
General Formula
Suppose:
Then:
where
That determinant tells you how much tiny area changes.
Why Determinant?
A tiny rectangle in the is spanned by two small movements.
Move in the :
This changes by approximately:
Move in the :
This changes by approximately:
These two vectors form a tiny parallelogram in the .
The area of that parallelogram is:
That is the proof idea.
The Jacobian determinant is not a random punishment. It is the area of the transformed tiny square.
Core Formula
When changing from to :