Mathematics · Glossary

What is Function?

Also known as: image · domain · preimage

Definition 3.1 High School Mathematics · Chapter 3 — Functions

Let DD be a set of real numbers. A function ff defined on DD associates to each number xDx \in D exactly one real number, written f(x)f(x) and called the image of xx. The set DD is the domain of ff. We write

f:xf(x).f : x \longmapsto f(x).

If f(x)=yf(x) = y, then xx is a preimage of yy.

Examples

Example 3.3 (Finding a domain)

When a function is given by a formula, its domain is the set of xx for which the formula makes sense.

  • f(x)=3x25x+1f(x) = 3x^2 - 5x + 1 makes sense for every xx: the domain is R\R.
  • g(x)=1x2g(x) = \dfrac{1}{x - 2} requires x20x - 2 \neq 0: the domain is all reals except 22.
  • h(x)=x3h(x) = \sqrt{x - 3} requires x30x - 3 \geq 0: the domain is [3,+)\intco{3}{+\infty}.

Example 3.4 (Computing images and preimages)

Let f(x)=x24x+3f(x) = x^2 - 4x + 3, defined on R\R.

Image of 55: substitute x=5x = 5: f(5)=2520+3=8f(5) = 25 - 20 + 3 = 8.

Preimages of 33: solve f(x)=3f(x) = 3:

x24x+3=3x24x=0x(x4)=0,x^2 - 4x + 3 = 3 \quad\Longleftrightarrow\quad x^2 - 4x = 0 \quad\Longleftrightarrow\quad x(x - 4) = 0,

so the preimages of 33 are 00 and 44.

Example 3.10

Consider the function graphed below on [2,4]\intcc{-2}{4}.

A function defined on [-2, 4], increasing then decreasing.
A function defined on [2,4]\intcc{-2}{4}, increasing then decreasing.

Reading the graph: ff increases from f(2)=1.5f(-2) = -1.5 up to its maximum f(1)=3f(1) = 3, then decreases down to f(4)=1.5f(4) = -1.5. Its variation table is

xx2-21144
ff1.5-1.5\nearrow33\searrow1.5-1.5
Read in context →