Measurable Function — Definition, Formula & Example
A measurable function is a function where every question of the form "which inputs give an output in this range?" has an answer set that you are allowed to measure. Because of this, you can assign a size, a probability, or an integral to the function's behavior.
Let and be measurable spaces. A function is -measurable if for every . When carries its Borel -algebra, the standard choice, this condition is equivalent to requiring for every real number .
Key Formula
Where:
- = A real-valued function on the set X
- = The domain, the set of all possible inputs
- = The sigma-algebra on X, the collection of subsets you are allowed to measure
- = Any real threshold value
- = The superlevel set, meaning all inputs whose output exceeds a
Worked Example
Problem: Let with -algebra . Define , , and , . Which of and is measurable?
Step 1: Find the superlevel sets of . The set depends only on where the threshold sits relative to the outputs 5 and 7.
Step 2: Each of the three possible sets, , , and , belongs to . So passes the test for every , and is measurable.
Step 3: Test with the threshold . The resulting set is not in , so one failure is enough to show is not measurable.
Answer: is measurable and is not. The sets in cannot tell input 1 apart from input 2. Here, treats 1 and 2 the same way, but gives them different outputs, which requires information that does not contain.
Why It Matters
The Lebesgue integral in a graduate real analysis course is defined only for measurable functions, so measurability is the entry requirement for writing . In probability theory, a random variable is by definition a measurable function from a sample space to . That is exactly what makes a probability such as well defined.
Common Mistakes
Mistake: Checking that images of measurable sets are measurable, meaning testing whether for .
Correction: The definition uses preimages, , not images. Images can fail badly: even a continuous function can map a Borel set to a set that is not Borel. Always start from a set in the target space and pull it back to the domain.
