Skip to content

Mathematics · Ch 2 — Relations and Functions

Real Valued Functions — Domain and Range

2.5

Real Valued Functions — Domain and Range

A function f:A→Bf : A \to B is called a real valued function if its co-domain BB is a subset of R\mathbb{R} (usually B=RB = \mathbb{R} itself), so that every output f(a)f(a) is a real number. If, in addition, the domain AA is also a subset of R\mathbb{R}, ff is called a real function of a real variable, or simply a real function. Every standard function studied later in this chapter — constant, identity, polynomial, rational, modulus, exponential, logarithmic, signum, greatest integer — is a real function in this sense, and each is normally given by a single algebraic formula, y=f(x)y = f(x), rather than by listing ordered pairs.

Domain when it is not stated. When a real function is given only by its formula, with no domain mentioned, the domain is understood to be the largest subset of R\mathbb{R} for which the formula produces a well-defined real number. Finding this "natural domain" means watching for the operations that can fail:

  • A denominator must never be zero, so any xx that makes the denominator vanish is excluded.
  • The expression under an (even-order) square root must never be negative, so it must be ≥0\ge 0.
  • The argument of a logarithm must be strictly positive. Once these exclusions are removed from R\mathbb{R}, whatever remains is the domain.

Finding the range. The range of a real function is the actual set of values f(x)f(x) takes as xx runs over the domain. Unlike the domain, there is no single universal recipe for the range — it is found by reasoning about the specific formula: solving y=f(x)y = f(x) for xx in terms of yy and asking for which yy that gives a real xx back in the domain, or by directly tracking the largest and smallest values (and everything continuously in between) that the formula can output as xx sweeps across the domain. …