Quarry School

Domain and range: what can go in and what can come out

Subject: MathematicsLeans on: Ordered pairsLeans on: Squaring a negative
Level 2 · BuildingAbout 9 min read13 new termsKeystone idea. Later lessons build on this one.
How this was estimated

Programmatic estimate. Rung levels, worked steps, prerequisites, terms and sentence length contribute to this level. It describes the lesson, not your ability.

Reading counts the whole lesson, including folded explanations, at 180 words a minute. Practice allows two minutes per item. These are planning assumptions; take the time you need.

AI estimate unavailable.

Path to here

Open the unit’s lesson list to follow the lesson order.

    Quick review (2 minutes)

    In plain words

    Picture a vending machine with a tray for the choices it accepts and a tray for the things it delivers.

    Rule

    Domain = all permitted inputs.
    Range = all outputs actually reached by those inputs; a function assigns one output to each input.

    Step

    1. 1. Decide what the input represents and what the output represents.

    2. 2. For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.

    3. 3. Remove repeated entries because sets record membership, not frequency.

    4. 4. If a context is given, keep only physically meaningful inputs. Do not fill the spaces between separate listed values.

    Question

    Find the domain and range of {(−4, 6), (0, 6), (3, −2), (5, 9)}.

    Answer

    Domain: {−4, 0, 3, 5}.
    Range: {−2, 6, 9}.

    Trap

    Replacing a listed domain {−4, 0, 3, 5} with [−4, 5]. That interval would add every number between the endpoints. A finite list includes only its listed entries.

    Strategy

    1. 1. Decide what the input represents and what the output represents.

    2. 2. For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.

    3. 3. Remove repeated entries because sets record membership, not frequency.

    4. 4. If a context is given, keep only physically meaningful inputs. Do not fill the spaces between separate listed values.

    Term

    Function

    Definition

    A rule assigning exactly one output to each allowed input. Different inputs may share an output.

    Term

    Input

    Definition

    The value you choose or supply to a function before its rule calculates an output.

    Term

    Output

    Definition

    The result a function produces from a chosen allowed input.

    Term

    Independent variable

    Definition

    The variable representing the input. You choose its allowed value before calculating the output.

    Term

    Dependent variable

    Definition

    The variable representing the output. Its value depends on the chosen input and the function's rule.

    Term

    Formula

    Definition

    A mathematical recipe describing how quantities are related or how to calculate a result.

    Term

    Domain

    Definition

    The set of all inputs allowed for a function, considering its arithmetic and any stated context or restrictions.

    Term

    Range

    Definition

    The set of all outputs a function actually produces from its allowed inputs.

    Term

    Set

    Definition

    A collection of distinct objects or values. Its members may be listed or described by a condition.

    Term

    Element

    Definition

    One member of a set. Repeated appearances do not create additional members.

    Term

    Ordered pair

    Definition

    Two values written in a fixed order, usually (x, y): input first, output second. Reversing them usually changes the point.

    Term

    Coordinate

    Definition

    One number describing a point's position along an axis. In (x, y), x is horizontal and y is vertical.

    Term

    Real number

    Definition

    A number with a position on the number line, including whole numbers, fractions, decimals and numbers such as 2.

    Term

    Restriction

    Definition

    A condition limiting allowed inputs, from arithmetic, a stated rule, or a meaningful physical situation.

    Term

    Undefined

    Definition

    Having no assigned value in the number system or function being used. Division by zero is undefined in real arithmetic.

    Term

    Denominator

    Definition

    The bottom expression in a fraction. It is the divisor and cannot equal 0.

    Term

    Inequality

    Definition

    A comparison using <, >, ≤ or >=. It describes which amount is smaller or larger and whether equality is allowed.

    Term

    Nonnegative

    Definition

    Greater than or equal to 0. It includes positive numbers and 0, but excludes negative numbers.

    Term

    Positive

    Definition

    Strictly greater than 0. Zero is excluded.

    Term

    Negative

    Definition

    Strictly less than 0. Negative numbers lie to the left of 0 on a number line.

    Term

    Radicand

    Definition

    The number or expression inside a root symbol. An even root requires a nonnegative real radicand.

    Term

    Even root

    Definition

    A root undoing an even power, such as a square or fourth power. Real even roots require nonnegative radicands.

    Term

    Principal square root

    Definition

    The nonnegative square root chosen by the √ symbol. It is one value even when a squared equation has two solutions.

    Term

    Number line

    Definition

    A straight line placing real numbers in order, with smaller numbers left and greater numbers right.

    Term

    Interval

    Definition

    A set containing every real number between its limits, with endpoints included or excluded as specified. It may extend without bound.

    Term

    Endpoint

    Definition

    A finite boundary value at an interval's end, included or excluded according to its bracket or parenthesis.

    Term

    Bracket

    Definition

    The interval symbols [ and ], indicating that the adjacent finite endpoint belongs to the set.

    Term

    Parenthesis

    Definition

    In interval notation, ( or ) excludes the adjacent finite endpoint. It also appears beside infinity, which is never an included number.

    Term

    Infinity

    Definition

    The symbol ∞ describes continuing without a finite bound. It is not a real number or an endpoint you can include.

    Term

    Graph

    Definition

    A picture of points representing input and output pairs, usually with inputs horizontal and outputs vertical.

    Term

    Piecewise function

    Definition

    A function using different formulas on specified parts of its domain. Each allowed input must have exactly one output.

    Term

    Boundary

    Definition

    An input where an interval starts or ends, or where a piecewise condition changes. Check which condition includes it.

    1 In plain words

    Picture a vending machine with a tray for the choices it accepts and a tray for the things it delivers. You choose something that can go in. The machine follows its rule and gives you one result.

    A function works the same way. Its domain is the whole collection of allowed inputs. Its range is the whole collection of outputs it actually makes. You keep these collections separate because choosing a button and receiving a snack are different jobs.

    You may have several buttons that deliver the same snack. List that snack once in the output collection. A choice the machine cannot accept belongs in neither its input tray nor its domain.

    2 Picture it

    allowed choiceone ruleinputoutputactual result
    allowed choice goes in, the rule is one rule, and actual result comes out.

    Reminder

    Reminder: Ordered pairs, Squaring a negative
    • Ordered pairs. The input comes first: (4, 11) records input 4 and output 11.
    • Squaring a negative. (−2)2 = (−2) × (−2) = 4, so negative and positive inputs may share an output.

    3 Why

    An ordered pair records an input first and its output second. Collecting the first coordinates tells you exactly which choices were used, so it gives the domain. Collecting the second coordinates gives the results, so it gives the range. These are sets, meaning collections in which listing an element twice adds nothing. A formula may accept a number arithmetically while a real situation rejects it. You can square a negative ticket count, but a negative number of tickets does not describe a purchase.

    4 The rule

    Domain = all permitted inputs.

    Range = all outputs actually reached by those inputs; a function assigns one output to each input.

    The same idea, five ways

    Say it

    Say domain as allowed inputs and range as reached outputs.

    Write it

    The domain collects every permitted input; the range collects every output actually produced.

    In math
    • For {(−4, 6), (0, 6), (3, −2), (5, 9)}:
    • Domain = {−4, 0, 3, 5}
    • Range = {−2, 6, 9}
    • Graph words: input positions and output heights
    Like

    The accepted choices and delivered snacks of a vending machine.

    See it
    allowed choiceone ruleinputoutputactual result
    The same picture again: allowed choice goes in, the rule is one rule, and actual result comes out.

    The same idea, other ways

    As two trays

    The domain tray holds every choice the machine accepts. The range tray holds every result it can deliver. A result must actually come from an allowed choice.

    -40356-29function
    -4 → 6, 0 → 6, 3 → -2 and 5 → 9: a function.
    With small numbers

    For x2 with allowed inputs {−2, 0, 2}, the domain is {−2, 0, 2} and the range is {0, 4}. Both −2 and 2 produce 4, and sets list 4 once.

    As a question

    Ask, What may I put in? for the domain. Ask, What can actually come out? for the range. Do not answer the second question by listing the inputs again.

    In a real situation

    An independent variable is the input you select or record. A dependent variable is the resulting output. A movie title can be the input and its earnings the output, so the two sets need not even contain the same kind of object.

    RecordInput, or independent variableOutput, or dependent variable
    Movie earningsMovie titleGross receipts in dollars
    Ticket sales by yearYear in the recorded dataTickets sold that year
    A formula y = x2Chosen real number xCalculated number y

    Part 1: Know cold

    Keep a few decisions ready without a reference. These decisions tell you which arithmetic checks to make and which boundary symbols to use. The reminders below are memory devices, not substitutes for understanding the reasons you will learn.

    • Domain is input; range is output. Memory device: in goes with input and domain, out with output and range. (4, 11) means input 4 produces output 11.
    • A denominator cannot equal zero. Memory device: zero below means no go. 50 cannot produce a quotient because no number times 0 equals 5. Developed in Find the domain by checking the arithmetic.
    • An even-root radicand must be nonnegative. Memory device: even root, zero or more. 0 = 0 because 02 = 0. Developed in Find the domain by checking the arithmetic.
    • A bracket includes an endpoint; a parenthesis leaves it out. Memory device: square brackets hold the endpoint. [2, 5) includes 2 and excludes 5. Developed in Write the same set three ways.
    • Negative multiplication or division reverses an inequality. Memory device: a negative turns the number line around. −2x < 10 becomes x > −5 because division by −2 reverses the order. Taught in the inequality refresher and used in Find the domain by checking the arithmetic.
    • Choose a piecewise condition before its formula. Memory device: choose the lane, then calculate. For a rule giving 7 if x ≤ 2 and 9 if x > 2, input 2 gives 7 because the first condition includes equality. Developed in Write and evaluate a piecewise function.

    Domain: what goes in

    Range: what comes out

    Choose the condition before calculating

    Reminder

    Reminder: Ordered pairs, Squaring a negative
    • Ordered pairs. The input comes first: (4, 11) records input 4 and output 11.
    • Squaring a negative. (−2)2 = (−2) × (−2) = 4, so negative and positive inputs may share an output.

    The same idea, five ways

    Say it

    Remember the decisions before calculating.

    Write it

    Domain concerns inputs; range concerns outputs.

    In math
    • (4, 11): input 4, output 11
    • Denominator ≠ 0
    • Even-root radicand ≥ 0
    • [2, 5) = {x | 2 ≤ x < 5}
    Like

    Keep a few road signs recognizable so you can make the next decision quickly.

    See it

    Domain: what goes in

    Range: what comes out

    Choose the condition before calculating

    Worked example

    Use the input-output reminder

    A function takes 4 as input and produces 11. Which collection contains 4, and which contains 11?

    Show the steps and the answer
    4the given ruleinputoutput11
    Input 4 goes into the function; output 11 comes out.
    1. We need to identify which collection contains the input 4 and which contains the output 11.The question asks us to distinguish the role of an input from the role of its output.
    2. Place 4 in the domain.4 was the allowed input.
    3. Place 11 in the range.11 was an output the function produced.
    Answer
    • 4 belongs to the domain.
    • 11 belongs to the range.
    Double-check The record (4, 11) puts the domain member first and the range member second.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Use the same comparison after negative division: −2x < 10 becomes x < −5.
    Negative division reverses order; x = 0 satisfies the original but not the proposed wrong result.
    ✓ Instead: x>−5.
    ✗ Not this: Treat every root equal to zero as undefined.
    Zero is a permitted root output; division by that output would be a separate operation.
    ✓ Instead: 0 = 0, but 50 is undefined.
    ✗ Not this: Keep the endpoint 5 in [2, 5).
    The right parenthesis records exclusion.
    ✓ Instead: 2 ≤ x < 5.
    ✗ Not this: Choose the condition x > 2 when the input is 2.
    Strictly greater excludes equality.
    ✓ Instead: Use the condition x ≤ 2, giving the assigned output 7 in the tiny example.

    Tips and tricks

    • Use the reminders to choose a check, then use the developed lesson for the reason and full worked method.

    Part 2: Understand, then rebuild it when needed

    Do not memorize a separate answer for every shifted formula. Learn which operations can fail and how a graph covers its axes. Then rebuild a domain or range from the actual formula. A remembered answer from a different function can move the boundary to the wrong place.

    • Rebuild a denominator exclusion by setting the denominator equal to zero.
    • Rebuild an even-root restriction by solving a nonnegative-radicand inequality.
    • Rebuild the toolkit ranges from distance, squaring, cubing and division.
    • Rebuild a changed function's range by asking which outputs can be produced.
    • Rebuild a piecewise graph one interval at a time. Read its shadows after all pieces are present.
    −2squareinputoutput4
    Squaring the input explains the output without a memorized table.

    Reminder

    Reminder: Ordered pairs, Squaring a negative
    • Ordered pairs. The input comes first: (4, 11) records input 4 and output 11.
    • Squaring a negative. (−2)2 = (−2) × (−2) = 4, so negative and positive inputs may share an output.

    The same idea, five ways

    Say it

    Rebuild the result from the formula’s operations.

    Write it

    A changed formula needs its own arithmetic checks.

    In math
    • x + 4 ≥ 0
    • x≥−4
    • {x|x≥−4}
    • [−4,∞)
    Like

    Follow the current recipe rather than copying the answer from a different recipe.

    See it
    −4add 4principalsquare rootfirstsecond00
    Rebuild the boundary by checking the inside: input −4 makes x + 4 equal zero, and its principal root is zero.

    Worked example

    Rebuild rather than guess

    For the allowed input −2, what does the rule square the input produce?

    Show the steps and the answer
    −2multiply (−2) × (−2)inputoutput4
    The squared input produces 4 because two negative factors give a positive product.
    1. We need the output produced by squaring the allowed input −2.The question gives the input and the rule, so our task is to apply the rule to that input.
    2. Multiply −2 by itself: (−2)2=(−2)×(−2)=4.Squaring means multiplying the number by itself, and two negative factors give a positive product.
    Answer
    The output is 4.
    Double-check The input 2 also gives 4, so the output does not reveal which sign went in.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Use an old function's remembered endpoint for a new formula.
    The actual denominator or radicand may become zero at a different input.
    ✓ Instead: Rebuild the condition from the current expression.

    Tips and tricks

    • Write the failing operation before trying to remember an answer.

    Part 3: Put on the cheat sheet

    Use a small practice reference for details that are quicker to reconstruct than to memorize. The exam is closed book, so the sheet helps you study rather than giving you permission to bring it. Practice explaining each entry and rebuilding an answer after you cover the sheet.

    • Notation key: < or > uses a parenthesis; ≤ or ≥ uses a bracket; infinity always uses a parenthesis.
    • Domain checklist: context, every denominator, every even-root radicand, then keep all restrictions at once.
    • Toolkit comparison table: formula, domain and range for the nine basic functions.
    • Piecewise checklist: boundaries, condition, formula, endpoint dots, domain union, then range union.
    • Range check: show why forbidden outputs fail and why every claimed output can occur.

    Domain: check the arithmetic

    Range: check the possible results

    Endpoint: substitute it to decide

    Reminder

    Reminder: Ordered pairs, Squaring a negative
    • Ordered pairs. The input comes first: (4, 11) records input 4 and output 11.
    • Squaring a negative. (−2)2 = (−2) × (−2) = 4, so negative and positive inputs may share an output.

    The same idea, five ways

    Say it

    Read the reference, then practice with it covered.

    Write it

    A study reference records conventions and methods you can rebuild for the exam.

    In math
    • {2, 7}: two inputs
    • {5}: one output
    • (−∞, ∞): all real inputs
    Like

    A map legend reminds you what the signs mean while you practice reading a map.

    See it

    Domain: check the arithmetic

    Range: check the possible results

    Endpoint: substitute it to decide

    Worked example

    A one-line reference example

    A rule accepts exactly the inputs 2 and 7 and produces 5 for each. Write its domain and range.

    Show the steps and the answer
    275function
    Two allowed inputs share the single range member 5.
    1. We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
    2. List {2, 7} for the domain.The allowed inputs are given as two separate choices.
    3. List {5} for the range.Both choices produce the same output, so there is one range member.
    Answer
    • Domain: {2, 7}.
    • Range: {5}.
    Double-check There are two arrows going in and one distinct destination coming out; an interval [2, 7] would add choices the rule never offered.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: Copy a range from the reference without identifying the function.
    The reference explains basic behavior, while a changed formula may move or reverse output bounds.
    ✓ Instead: Use the checklist to rebuild the range of the given formula.

    Tips and tricks

    • Cover the reference after one example and repeat the method in your own words.

    5 How

    1. Decide what the input represents and what the output represents.
    2. For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.
    3. Remove repeated entries because sets record membership, not frequency.
    4. If a context is given, keep only physically meaningful inputs. Do not fill the spaces between separate listed values.

    Separate domain and range

    1
    Is the function supplied as pairs or a table?
    YesCollect listed inputs and outputs without duplicates.
    NoUse the formula or graph method taught next.
    ↓
    2
    Does a real context limit the inputs?
    YesKeep meaningful choices, such as whole-number ticket counts.
    NoKeep the domain specified by the mathematical description.
    1. Decide what the input represents and what the output represents.
    2. For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.
    3. Remove repeated entries because sets record membership, not frequency.
    4. If a context is given, keep only physically meaningful inputs. Do not fill the spaces between separate listed values.

    6 Worked example

    Worked example

    Separate the input and output trays

    Find the domain and range of {(−4, 6), (0, 6), (3, −2), (5, 9)}.

    Show the steps and the answer
    -40356-29function
    The same picture again: -4 → 6, 0 → 6, 3 → -2 and 5 → 9: a function.
    1. We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
    2. Read the first coordinate of each ordered pair: −4, 0, 3, 5.An ordered pair writes the input before the output.
    3. Collect the inputs: {−4,0,3,5}.Only these four inputs are listed; numbers between them were not supplied.
    4. Read the second coordinates: 6, 6, −2, 9.The second coordinate tells what came out for that input.
    5. Collect the outputs without duplicates: {−2,6,9}.The two appearances of 6 refer to the same member of the range.
    Answer
    • Domain: {−4, 0, 3, 5}.
    • Range: {−2, 6, 9}.
    Double-check Draw four arrows. The arrows start at the four domain members and end at three different range members, with two arrows ending at 6.

    Counterexamples

    What it is not, and the tempting wrong moves.

    ✗ Not this: The listed domain {−4, 0, 3, 5} is the interval [−4, 5].
    An interval adds every intervening real number, but the listed function supplied only four inputs.
    ✓ Instead: Keep the finite domain {−4, 0, 3, 5}.
    ✗ Not this: Two different inputs produce 6, so this is not a function.
    A function requires one output per input. It permits several inputs to share an output.
    ✓ Instead: The pair list is a function, and 6 appears once in its range.

    Tips and tricks

    • Write input and output above the two collections before listing their members.
    • Memory device: in identifies domain and out identifies range. Several inputs may share one output.
    • For a head count, list whole-number choices instead of filling in fractional people.

    7 The trap

    Replacing a listed domain {−4, 0, 3, 5} with [−4, 5]. That interval would add every number between the endpoints. A finite list includes only its listed entries.

    Comes back in