Domain and Range
A free Algebra I lesson from the “Functions, Linear Relationships, and Rate of Change” unit, with a worked example and practice problems including step-by-step solutions.
The domain is the set of allowed inputs; the range is the set of outputs actually produced from those inputs. Start with the rule and its number system: in real-number algebra, a denominator cannot be zero and a square-root radicand must be nonnegative. These restrictions are combined, not considered separately. Then apply the context: a ticket count is a whole number, while a time measurement can vary continuously over an interval. A formula such as C(n) = 8n may be algebraically defined for all real numbers, but a purchase of at most 12 tickets uses only n = 0, 1, ..., 12. Domain restrictions can also change the range. For f(x) = (x - 2)^2 on 0 <= x <= 5, the minimum is 0 at x = 2 and the maximum is 9 at x = 5. Do not merely square the domain's endpoints and assume the smaller result is the minimum: a turning point may lie between them. Include an endpoint when its input is permitted and exclude it when it is not.
What you'll learn
- Find algebraic and contextual domain restrictions
- Distinguish discrete and continuous domains
- Find a range using the allowed inputs rather than a memorized parent graph
- Combine restrictions from denominators and square roots
Worked example
Problem. A seller has 12 tickets, priced at $8 each. Let R(n) = 8n be the revenue after selling n tickets. Give the domain and range, and explain whether (2.5, 20) belongs on this model's graph.
- Define n as the number of tickets sold; it must be a whole number.
- The inventory limits n to 0 through 12, including both endpoints.
- Apply R(n) = 8n to those inputs: the possible revenues are 0, 8, 16, and so on through 96 dollars.
- Although 8(2.5) = 20, the input 2.5 is not allowed because this seller does not sell fractional tickets.
- The model's graph consists of separate points, not the entire line segment.
Answer: Domain: {0, 1, ..., 12}; range: {0, 8, 16, ..., 96}; (2.5, 20) is not part of the model.
Lesson preview: this page shows 5 practice items. The interactive activity contains 32 practice items and 17 quiz items (multiple choice and typed response). Counts include repeated prompts and variants.
Practice problems
1. What is the real-number domain of f(x) = sqrt(x + 2)/(x - 1)?
Choices: x >= -2 and x != 1 · x >= -2 · x > 1 · All real x except -2
Show solution
- The square root requires x + 2 >= 0, or x >= -2.
- The denominator also requires x - 1 != 0, so x != 1.
- Both conditions must hold at the same time.
Answer: x >= -2 and x != 1
2. For f(x) = (x - 2)^2 with domain 0 <= x <= 5, what is the minimum output?
Show solution
- A square is nonnegative.
- The value 0 occurs at x = 2, and 2 is in the allowed domain.
- The minimum is therefore 0, even though the endpoint outputs are 4 and 9.
Answer: 0
3. A learner models the number of cars in a 20-space lot using every real input from 0 to 20. What restriction is missing?
Choices: The inputs must be whole numbers. · The inputs must be strictly greater than 20. · The inputs must exclude 0. · The inputs must be negative.
Show solution
- The lot may contain 0 through 20 cars.
- A count of cars does not include fractional values such as 3.7.
Answer: The inputs must be whole numbers.
4. The rule h(t) = 9 - (t - 3)^2 models height for 0 <= t <= 6. What is the largest height in this model?
Show solution
- A square is nonnegative, so subtracting (t - 3)^2 cannot give an output above 9.
- The largest output is 9 when the squared term is 0, at t = 3.
- That input is inside the allowed interval.
Answer: 9
5. For f(x) = 1/(x - 4), enter the excluded x-value.
Show solution
- x - 4 = 0 means x = 4 is excluded.
Answer: 4
Explain and apply
Complete these tasks on paper. Use the rubric to review your reasoning with a teacher or study partner; these tasks are not automatically scored.
Justify the whole range
A model uses f(x) = (x - 3)^2 + 1 for 1 <= x <= 4. Determine its domain and range, identify where each extreme occurs, and explain why checking only the two endpoints would give the wrong minimum.
Review rubric and solution
- State the given domain [1, 4].
- Use the vertex at x = 3 to obtain the minimum output 1.
- Compare endpoint outputs 5 and 2 to find the maximum 5.
- Conclude range [1, 5] and explain why the vertex matters.
- The domain is [1, 4].
- Since (x - 3)^2 is nonnegative and x = 3 is allowed, the minimum is f(3) = 1.
- The endpoints give f(1) = 5 and f(4) = 2. The input farthest from 3 is 1, so the maximum is 5.
- The continuous quadratic takes every output between these extremes, giving range [1, 5]. Checking only the endpoints would incorrectly suggest a minimum of 2.
Practice this interactively with instant feedback and an AI tutor.
Practice Domain and Range Take the free placement check