Foundations · Foundations
The Concept of a Function: Domain, Codomain, and Image
Explanation
Intuition: The "Function Machine"
A function is like a mathematical "machine": it takes an input, processes it according to a specific rule, and produces an output. The most critical rule of this machine is determinism: for any valid input you feed it, it will never return more than one output.
If we think about this graphically: the shadow of the graph on the -axis gives us all possible inputs (the Domain), and the shadow on the -axis gives us all the produced outputs (the Image).
Formal Definition
Let and be non-empty sets. A function from to (denoted ) is a relation that assigns to each element exactly one element . This is usually denoted as .
Core Concepts:
1. Domain: The set . This is the collection of all valid inputs for which the function is defined. Often denoted by .2. Codomain: The set . This is the space where the outputs "live", though the function may not cover all of it.
3. Image (or Range): A subset of that includes all the actual outputs produced by the function. Denoted by or .
Theorem / Conditions for Finding the Domain:
When a real function is defined by an algebraic formula without an explicit domain, it is assumed that the domain is the largest subset of for which the formula is well-defined.
Common edge cases:
* Denominator of a fraction: Must not be zero. ( in )
* Even root: The argument must be non-negative. ( in )
* Logarithm: The argument must be strictly positive. ( in )
Proof Sketch
*Sketch of proof for finding the image of from to :*
We want to show that .
1. For any , we have , thus .
2. For any , there exists such that . Thus .
From both directions, the equality holds.
Interactive Visualization
Loading visualization
Worked Examples
Practice
Exercise 1 of 5
1
What is the domain of the function ?
★Quiz
Test your knowledge from this lesson
A mix of questions from the lesson — each attempt varies slightly
Answer at least 4 out of 5 questions correctly to pass (70%)