Definition 3.1High School Mathematics · Chapter 3 — Functions
Let D be a set of real numbers. A functionf defined on D associates to each number x∈D exactly one real number, written f(x) and called the image of x. The set D is the domain of f. We write
f:x⟼f(x).
If f(x)=y, then x is a preimage of y.
Examples
Example 3.3(Finding a domain)
When a function is given by a formula, its domain is the set of x for which the formula makes sense.
f(x)=3x2−5x+1 makes sense for every x: the domain is R.
g(x)=x−21 requires x−2=0: the domain is all reals except 2.