Refresher - Formal Definition
Refresher
The domain of a function is the set of "input" or argument values for which the function is defined. That is, the function provides an "output" or "value" for each member of the domain.
Formal Definition
Given a function f:X→Y, the set X is the domain of f; the set Y is the codomain of f. In the expression f(x),x is the argument and f(x) is the value. One can think of an argument as an input to the function, and the value as the output.
The image (sometimes called the range) of f is the set of all values assumed by f for all possible x; this is the set {f(x):x∈X} .The image of f can be the same set as the codomain or it can be a proper subset of it. It is in general smaller than the codomain; it is the whole codomain if and only if f is a surjective function.
A well-defined function must carry every element of its domain to an element of its codomain.
For example, the function f defined by f(x)=1x has no value for f(0). Thus, the set of all real numbers, ℝ , cannot be its domain. In cases like this, the function is either defined on ℝ-{0} or the "gap is plugged" by explicitly defining f(0). If we extend the definition of f to
f(x)=1x, for x≠0,
f(0)=0,
then f is defined for all real numbers, and its domain is ℝ .
If the expression defining function f contains a square root then the expression under the radical has to be greater than or equal to zero. For example, the function f(x)=√x is defined for all x≥0or [0,+∞).
In short: when finding the domain, remember:
- The denominator (bottom) of a fraction cannot be zero
- The values under a square root sign must be positive
The range of a function is the complete set of all possible resulting values of the dependent variable of a function, after we have substituted the values in the domain.
Let's look at the range for the function f(x)=√x-4.
Notice that there are only positive y-values. There is no value of x that we can find such that we will get a negative value of y. We say that the range for this function is y≥0. (The squiggle at the top of the arrow in the graph indicates the range goes on forever, beyond what is shown on the graph.
For the curve of the range is between -1 and 1.
In plain English, the definition means:
The range of a function is the possible y values of a function that result when we substitute all the possible x-values into the function.
When finding the range, remember:
- Substitute different x-values into the expression for to see what is happening
- Make sure you look for minimum and maximum values of
- Draw a sketch! In math, it's very true that a picture is worth a thousand words.
Math 1A/1B: Pre-Calculus by Dr. Sarah Eichorn and Dr. Rachel Lehman is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License Links to an external site..