Domain, Codomain and Range — Cheat sheet
On this page
Key method
For , the range is . Restricting the domain can shrink the range. Enlarging the codomain alone does not change any computed value.
Example
For , , the minimum is at and the maximum is at . The range is , not : squaring only the endpoints misses the interior minimum. With domain , the same rule has range .
Avoid this mistake
The codomain cannot be inferred uniquely from the formula. State it explicitly when asking whether a function is onto.