Video Crash Courses
Want to watch animated videos and solve interactive exercises about domain and range?
Click here to try Video Crash Courses called “What Are Functions?”!
When working with functions, you often need to provide -values and -values in your answer. In mathematics, the term domain is used for the set of -values that fit in the problem, and range is used for the corresponding set of -values. Formally, they are referred to as this:
Theory
The set of all -values that fit in a function is called the domain of and is written .
The set of all -values determined by is called the range of and is written .
These are the most common examples:
For linear functions, the range is the set of all real numbers. You write .
For quadratic functions, the range is either all numbers from the minimum and upwards, or all numbers from the maximum and downwards. You then write either or , where is the -value of the extremum.
For rational functions expressed as
the range is all numbers except the -value where the denominator is zero, that is, the horizontal asymptote. You can write it as
since is the horizontal asymptote.
Example 1
Robert is on land and throws a rock into the water. The stone follows a path given by the function , where is the distance from Robert to the stone in the horizontal direction, and is the height the stone has above the water at all times. You will learn that the height of the stone follows the function
Find the domain and the range for the function so that the throw makes sense.
To find the domain you must find the smallest and largest value that can have. You see that must be greater than 0. If you allow to be less than zero, Robert will end up throwing the stone further ashore and that does not match the exercise.
You must now find the largest value of . The throw ends when the stone hits the water surface and that happens when . You must therefore solve the equation
Since is a quadratic function you can use the quadratic formula to solve this equation. The solutions are therefore and . Since the domain starts at 0, you can ignore since is negative. The stone will hit the water after meters. The domain is therefore
To find the range , you need to find the smallest and largest value can be from the -values you found for . The smallest -value is when the rock hits the water surface. This happens at — that is, at 0 meters above the water.
To find the largest -value, you must find the -value when the rock is at its greatest height above the water surface. This can be found by reading the -value at the maximum of the function.
You can find the maximum by drawing the function or by using derivation. Regardless of the method you choose, the greatest height the stone will be is m. The range is then
Theory
A vertical asymptote intersects the -axis. The mathematical way of writing a vertical asymptote is , where is the number where the vertical asymptote intersects the -axis. The domain of the function with a vertical asymptote does not contain .
A horizontal asymptote intersects the -axis. The mathematical way of writing a horizontal asymptote is , where is the number where the horizontal asymptote intersects the -axis. The range of the function with a horizontal asymptote does not contain .
Example 2
Find the domain and the range of
You can find the domain by looking at the -values where the function makes sense, that is, where you can insert an -value and get an answer. You know that you can’t have zero in the denominator of a fraction. For this reason the function is not defined for the -value that makes the denominator 0. Therefore you get
The domain is then all values of except the -value of the vertical asymptote, in this case . You write this mathematically
You find the range by finding the horizontal asymptote. That is to say, the range is all real numbers except the horizontal asymptote. Since describes a hyperbola (as you can see from the function), you find the horizontal asymptote using the formula
Then you get
The range is then: All real numbers except the -value of the horizontal asymptote, in this case . You write this mathematically as