Codomain - Usually “Standard” Sets

The codomain is typically one of the well-known, “nice” mathematical sets:

Range - More Specific/Irregular Sets

The range often ends up being more specific or “messier”:

Examples

Function Codomain Range
f(x) = x² [0, ∞)
f(x) = sin(x) [-1, 1]
f(x) = 1/x ℝ  {0}
f(n) = 2n {even integers}

Why This Happens

  1. Convenience: It’s easier to say “f: ℝ → ℝ” than to figure out the exact range first
  2. Context: We often work within familiar number systems
  3. Composition: Using standard sets makes function composition cleaner
  4. Generality: Standard codomains work for families of similar functions

So yes - codomain = “the usual suspects” and range = “what actually happens” is a great way to think about it!