Domain and Range
Progress can't be saved in this browser, so this lesson's status can't be set.
Learning goals
- Express domains and ranges using intervals and set notation
- Combine algebraic restrictions without losing excluded inputs
- Read domains and ranges from graphs and piecewise rules
- Justify a range using the formula and its specified domain
- Distinguish a formula's natural domain from the feasible inputs of a model
Writing the inputs and outputs
The domain is the set of allowed inputs. The range is the set of outputs the function actually produces from that domain. A formula alone may not tell you which inputs were intended.
For example, a function pairs the inputs , , and with the outputs , , and . Its domain is and its range is . Braces list the members of a set. There are no inputs between the listed ones unless the definition includes them.
An interval includes every real number between its bounds. The interval includes and , excludes , and includes . A parenthesis excludes a finite endpoint; a square bracket includes it. An open dot on a number line excludes an endpoint, and a filled dot includes it.
Worked example 1 Three ways to describe the same set
Problem. A function allows every real input greater than and no greater than .
Part A: Write its domain as an inequality.
Part B: Write it in interval notation.
Part C: Write it in set-builder notation.
Solution. Part A: The two conditions must hold together:
Part B: The domain is in interval notation.
Part C: In set-builder notation, we describe the members by a condition:
Read this as “the real numbers such that .” The symbol means the real numbers.
The symbol means union: include the numbers in either set. For example, describes inputs below or at least . Infinity is not an endpoint you can include, so use parentheses beside and . All real numbers form .
A single value is written with braces, such as . An empty set, with no values, is written . Use a finite list for a finite set, intervals for continuous stretches, and unions when there are gaps. The word “and” in restrictions means take their overlap, called their intersection.
Check your understanding
Which notation represents all real numbers at least and less than ?
At least includes , so use a bracket there. Less than excludes , so use a parenthesis there. The interval includes every real value between the endpoints; a two-element set would not.
Every restriction must hold
Unless a domain is specified, a formula’s natural real domain consists of all real inputs for which its calculation gives a real output. Here all functions are real-valued.
A denominator cannot be zero. For , the input would require division by zero, while every other real input is allowed. Thus its domain is .
The expression inside an even root, called its radicand, must be nonnegative. For , the input works because , while would require a real square root of . Therefore , giving the domain . Zero is allowed: . Odd roots do not have this sign restriction; for example, .
When an even root is in a denominator, it must also be nonzero. The domain of is consequently .
Worked example 2 Combine a root condition with an exclusion
Problem. Consider the function
Part A: Find its natural real domain.
Part B: Decide whether is an allowed input.
Part C: Decide whether is an allowed input.
Solution. Part A: The square root requires , so . The denominator requires , so .
An allowed input must pass both tests. Keep the numbers at most , then remove :
Part B: At , the denominator is zero, so the function is undefined.
Part C: At , the numerator is zero and the denominator is , so is valid.
Keep restrictions from the original formula when you simplify. For example,
Cancellation used division by , which requires . The original function still excludes , even though the simpler expression could be evaluated there.
Check your understanding
What is the natural real domain of ?
The square root must be real and must not equal zero because it is a denominator. Its radicand must be positive. Solving gives , with the inequality reversed when dividing by .
Reading a graph or a piecewise rule
On a graph, a domain value is an -coordinate used by at least one point. A range value is a -coordinate used by at least one point. Look across for inputs and up and down for outputs, including any gaps. A drawing’s window edge is not automatically the end of the function: use the stated domain, endpoints, and continuation arrows.
For a piecewise rule, use each formula only on the inputs assigned to it. Collect those inputs to get the domain. Work out each piece’s outputs, then combine them to get the range.
Worked example 3 A graph with a jump
Problem. The function below has exactly the two pieces shown.
Part A: Find its domain.
Part B: Find its range.
Part C: Decide whether is in its range.
Part D: Decide whether is in its range.
Solution. Part A: The first piece uses , and the second uses . Together they cover every input from through , including both ends. The domain is .
Part B: For the first piece, . As increases toward , the outputs increase toward , but do not reach it: the condition excludes from this piece. Its outputs are .
The second piece always produces . It adds just , not an interval of heights. Therefore the range is
Part C: The value is not an output of either piece.
Part D: The value is an output of the second. The range does not fill the gap between them.
An open circle removes one point, not necessarily a whole output value. If another point has the same height, that height still belongs to the range. Likewise, a different filled point with the same -coordinate can keep that input in the domain.
Check your understanding
A graph consists of the segment for and the single point . Which domain and range are correct?
The segment uses inputs strictly between and and outputs strictly between and . The isolated point adds input and output . Thus the top output is included even though the segment itself has an open endpoint there.
Justifying a range from a formula
The domain tells you which substitutions to consider. For example, produces every nonnegative real number when runs through all real numbers. If you restrict to , its outputs instead run from to . Changing the allowed inputs can change the range.
To justify a proposed range, check both parts: no allowed input produces anything outside it, and every value inside it is actually produced. A few table entries alone cannot establish the whole range.
Worked example 4 The lowest output occurs inside the domain
Problem. Let have domain .
Part A: Find its range.
Part B: Give inputs producing its smallest and largest outputs.
Solution. Part A: On this domain, runs from to . Its square can be , at , and cannot exceed , reached at . Adding gives the bounds and .
Every height between those bounds is attained. For any between and , the number lies between and . Choose
This input lies in , within the stated domain, and substitution gives . Thus the range is .
Part B: Its smallest output is ; its largest is .
Checking only the endpoints would give and , missing the minimum at the interior input .
Check your understanding
The function has domain . What is its range?
The domain contains , so the minimum output is attained. Its inputs have absolute value less than , so no output reaches . Every value from up to, but not including, occurs on the part of the domain between and .
A formula can outlive its model
A contextual domain must respect the meaning of the quantities as well as the algebra. Counts may allow only whole numbers. A physical length may need to be positive. A stated operating interval may exclude otherwise valid inputs.
Worked example 5 Cutting a box from a sheet
Problem. A rectangular sheet measures centimeters by centimeters. Cut out a square of side centimeters from each corner and fold up the sides to make an open box with positive height, length, and width.
Part A: Write the volume formula and find its natural real domain.
Part B: Find the feasible domain for this box and compare it with the natural domain.
Solution. Part A: The height is , the base length is , and the base width is . Its volume formula is
This polynomial can be evaluated for every real , so its natural real domain is .
Part B: For a physical box, all three dimensions must be positive:
Together these give , so the feasible domain is , with measured in centimeters. At there is no height; at there is no base width.
Even a positive calculated volume is not enough. At , the formula gives cubic centimeters, but both base dimensions are negative. That number does not describe a box made from this sheet.
Check your understanding
A cm by cm sheet is cut and folded in the same way, with all box dimensions positive. What is the feasible domain of the corner-cut side length , in centimeters?
Positive height needs . The two base dimensions need and . The second condition is the tighter upper bound, . Neither endpoint gives a box with all dimensions positive.