College Algebra / Domain and range
Domain and range
All 10 lessons, in order.
The unit at a glance
- Domain and range: what can go in and what can come out
Picture a vending machine with a tray for the choices it accepts and a tray for the things it delivers.
- Find the domain by checking the arithmetic
Think of a recipe that tells you what to do with the number you choose.
- Factor a denominator and keep every original exclusion
Picture taking a tiled rectangle apart so you can see the lengths that made its area.
- Write the same set three ways
Think of directions for a stretch of road.
- Read domain and range as shadows of a graph
Imagine shining a light straight down onto a graph.
- The first five toolkit functions
Think of a toolkit function as a familiar tool in your drawer.
- Reciprocals and roots complete the toolkit
Picture a recipe card with two kinds of jobs.
- Use toolkit behavior to find a changed function's range
Imagine relabeling the buttons on a familiar machine and then changing what comes out.
- Write and evaluate a piecewise function
Picture a parking sign with different prices for different lengths of stay.
- Graph each piece only where its condition allows it
Think of laying several sections of road on one map.
Rules (10)
- Domain and range: what can go in and what can come out
Domain = all permitted inputs.
Range = all outputs actually reached by those inputs; a function assigns one output to each input. - Find the domain by checking the arithmetic
Every denominator must be nonzero; every even-root radicand must be ≥ 0.
Keep inputs satisfying all restrictions, plus any supplied domain or contextual conditions. - Factor a denominator and keep every original exclusion
(x + p)(x + q) = + (p + q)x + pq. To factor + Bx + C, find p + q = B and pq = C.
Exclude every input making the original denominator zero, and retain those exclusions after cancellation. - Write the same set three ways
Use [ or ] for an included endpoint, ( or ) for an excluded endpoint or infinity.
Write intervals from smaller to larger; union (∪) means or, including membership in both sets. - Read domain and range as shadows of a graph
Domain = the graph's horizontal shadow on the x-axis.
Range = its vertical shadow on the y-axis; include a coordinate if any included point reaches it. - The first five toolkit functions
For the toolkit formulas c, x, |x|, , and , the domain is (−∞, ∞).
Their ranges are {c}, (−∞, ∞), [0, ∞), [0, ∞), and (−∞, ∞), respectively. - Reciprocals and roots complete the toolkit
For : x ≠ 0 and y ≠ 0. For : x ≠ 0 and y > 0.
For : x ≥ 0 and y ≥ 0. For : x and y may be any real numbers. - Use toolkit behavior to find a changed function's range
Find the domain from the inside arithmetic. Find the range from the final output, and show every claimed output is attained.
A function continuous on the whole real line, with arbitrarily negative and positive outputs, has range (−∞, ∞). - Write and evaluate a piecewise function
Choose the condition your input satisfies, then use that piece's formula.
The whole domain is the union of the pieces' domains; each allowed input must receive one output. - Graph each piece only where its condition allows it
Draw each branch only on its assigned interval, using open dots for strict boundaries and closed dots for included ones.
Combine the pieces; domain is the input union and range is the union of reached output heights.
Recipes (10)
- Domain and range: what can go in and what can come out
- 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.
- Find the domain by checking the arithmetic
- 1. Start with all real inputs unless a domain or context is supplied.
- 2. Find every denominator. Set the whole denominator equal to zero to locate exactly the inputs where division would fail. Solve that equation, substitute each answer into the original denominator to confirm zero, and exclude those inputs.
- 3. Find every even-root radicand, require it to be ≥ 0, and solve the inequality.
- 4. If a root is part of a denominator, check the whole denominator as well as the radicand.
- 5. Keep only inputs that meet every condition. Write intervals from smaller to larger endpoints.
- 6. Substitute each boundary or excluded value to see which operation permits or rejects it.
- Factor a denominator and keep every original exclusion
- 1. Copy the original denominator before changing the fraction. Its zero inputs are the values you must exclude.
- 2. For + Bx + C, identify B and C, including their signs. B is the coefficient of x, meaning the number multiplying x; C is the constant term. The constant term is the fixed number added or subtracted without being multiplied by x; here it is C.
- 3. Generate the whole-number factor-pair sizes of the size of C. Try positive whole-number candidates in order and divide the size of C by each one. Keep a pair only when the quotient is a whole number. Stop when the candidate is larger than its quotient, because further pairs would repeat earlier pairs in reverse. Choose signs so the product is C, then find the pair whose sum is B. If C = 0, factor out x directly instead of making a nonzero-constant pair list.
- 4. Write (x + p)(x + q) and multiply it out to check both middle and constant terms.
- 5. Set each denominator factor equal to zero to find forbidden inputs. Solve each smaller equation, then substitute each result into the original denominator to confirm that it produces zero.
- 6. If a common factor cancels, write the simplified expression together with every original exclusion. Cancel only at inputs where the common factor is nonzero.
- 7. Keep any other root or context restrictions as well, then write the remaining input intervals.
- Write the same set three ways
- 1. Identify the shaded or allowed portion of the number line.
- 2. Use the closed dot / open dot convention: a filled dot is included and a hollow dot is excluded.
- 3. State comparisons with <, >, ≤ or ≥ for inequality notation.
- 4. Put the condition after the bar in {x | condition} for set-builder notation.
- 5. Write the lower limit first and the upper limit second in interval notation.
- 6. For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
- Read domain and range as shadows of a graph
- 1. Identify the x-axis as the input axis and the y-axis as the output axis; read their units.
- 2. Sweep left to right and collect all input positions covered by included graph points.
- 3. Sweep bottom to top and collect all reached output heights.
- 4. Check boundary dots. A hollow point excludes only that point, so look for other points sharing its coordinate.
- 5. Follow arrows beyond the visible window, and preserve genuine gaps with unions.
- 6. Write each interval from smaller to larger and label estimates from a data graph as approximate.
- The first five toolkit functions
- 1. Name the toolkit formula and say what its calculation does.
- 2. Check whether that calculation permits every real input.
- 3. Identify outputs the calculation cannot produce, including any sign restriction.
- 4. Show that every output in the proposed range has an input that produces it.
- 5. Write domain and range separately, and use the graph as a memory cue.
- Reciprocals and roots complete the toolkit
- 1. Identify whether you are dividing, squaring a denominator, taking a square root, or taking a cube root.
- 2. Find the domain by checking denominators and the number under an even root.
- 3. Determine the sign and possible zero value of the output.
- 4. Supply an input for every proposed allowed output by undoing the calculation.
- 5. Write domain and range on separate lines and compare the formula with its toolkit shape.
- Use toolkit behavior to find a changed function's range
- 1. Identify the toolkit calculation inside the formula and teach yourself what number is actually fed into it.
- 2. Apply all denominator and even-root restrictions to find the domain.
- 3. Track each operation on the output, including a negative multiplier or an added constant.
- 4. Prove the full range by constructing an input for any allowed output, or by using a continuous graph with heights on both sides of every target.
- 5. Confirm a few values with substitution or a picture, keeping the proof separate from the sample check.
- Write and evaluate a piecewise function
- 1. Identify what the input measures and where the rule changes.
- 2. Write a formula for each region and state its condition with the boundary ownership explicit.
- 3. Include any context limits, such as positive whole-number people counts.
- 4. To evaluate, compare the input with all conditions before using a formula.
- 5. Substitute into the selected formula and follow the order of operations.
- 6. At a boundary, check which condition includes equality. Do not add the outputs of different pieces.
- Graph each piece only where its condition allows it
- 1. Mark every boundary input on one common x-axis.
- 2. Identify each formula's known shape and calculate at least two useful points, or include a turning point for a curve.
- 3. Keep only the portion satisfying that branch's condition.
- 4. Calculate the boundary height and make its dot open or closed according to that branch's inequality.
- 5. Combine all allowed portions without inventing connecting segments across jumps or gaps.
- 6. Check the vertical line test at every boundary, then collect the domain and range shadows.
Traps (10)
- Domain and range: what can go in and what can come out
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.
- Find the domain by checking the arithmetic
Changing ≥ 0 to > 0 whenever you see a square root. is allowed. Strict positivity is needed for a square root that must itself be a nonzero denominator, such as .
- Factor a denominator and keep every original exclusion
Canceling a factor and then forgetting its zero input. The shorter expression equals the original only where the original denominator was nonzero. Record every exclusion before canceling.
- Write the same set three ways
Writing [1, ∞) for [1, 3] ∪ (5, ∞). That would fill the missing region after 3 through 5. The union symbol joins sets without filling gaps.
- Read domain and range as shadows of a graph
Deleting an output height because one point at that height is hollow. Look across the whole graph. A different included point can still put that height in the range.
- The first five toolkit functions
Giving every unrestricted formula an all-real range. An unrestricted domain tells you about inputs. It does not make negative outputs possible for a square or a distance.
- Reciprocals and roots complete the toolkit
Treating all roots as square roots, or all reciprocals as positive. An odd root accepts negative inputs. A reciprocal can be negative; reciprocal squared is positive because its denominator is squared.
- Use toolkit behavior to find a changed function's range
Listing outputs that seem possible without showing that an input produces them. Excluding zero, or observing a sign, may give a restriction but does not by itself prove the whole range.
- Write and evaluate a piecewise function
Using a formula because it is familiar before reading its condition. At g = 2 the data plan uses the g ≥ 2 piece. At g = 0 neither piece applies.
- Graph each piece only where its condition allows it
Joining the endpoint (1, 1) to the hollow endpoint (1, 3) with a vertical segment. That segment would create many outputs for x = 1. A jump stays a jump; it is not filled in.
Lesson 1 of 10
Domain and range: what can go in and what can come out
Open this lessonLeans on 0Comes back in 4
Leans on
No lesson links recorded.
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
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) = 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 domain as allowed inputs and range as reached outputs.
The domain collects every permitted input; the range collects every output actually produced.
- 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
The accepted choices and delivered snacks of a vending machine.
The same idea, other ways
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.
For 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.
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.
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.
| Record | Input, or independent variable | Output, or dependent variable |
|---|---|---|
| Movie earnings | Movie title | Gross receipts in dollars |
| Ticket sales by year | Year in the recorded data | Tickets sold that year |
| A formula y = | Chosen real number x | Calculated 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. 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 because = 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) = 4, so negative and positive inputs may share an output.
The same idea, five ways
Remember the decisions before calculating.
Domain concerns inputs; range concerns outputs.
- (4, 11): input 4, output 11
- Denominator ≠ 0
- Even-root radicand ≥ 0
- [2, 5) = {x | 2 ≤ x < 5}
Keep a few road signs recognizable so you can make the next decision quickly.
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
- 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.
- Place 4 in the domain.4 was the allowed input.
- Place 11 in the range.11 was an output the function produced.
- 4 belongs to the domain.
- 11 belongs to the range.
Counterexamples
What it is not, and the tempting wrong moves.
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.
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) = 4, so negative and positive inputs may share an output.
The same idea, five ways
Rebuild the result from the formula’s operations.
A changed formula needs its own arithmetic checks.
- x + 4 ≥ 0
Follow the current recipe rather than copying the answer from a different recipe.
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
- We need the output produced by squaring the allowed input .The question gives the input and the rule, so our task is to apply the rule to that input.
- Multiply −2 by itself: .Squaring means multiplying the number by itself, and two negative factors give a positive product.
Counterexamples
What it is not, and the tempting wrong moves.
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) = 4, so negative and positive inputs may share an output.
The same idea, five ways
Read the reference, then practice with it covered.
A study reference records conventions and methods you can rebuild for the exam.
- {2, 7}: two inputs
- {5}: one output
- (−∞, ∞): all real inputs
A map legend reminds you what the signs mean while you practice reading a map.
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
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- List {2, 7} for the domain.The allowed inputs are given as two separate choices.
- List {5} for the range.Both choices produce the same output, so there is one range member.
- Domain: {2, 7}.
- Range: {5}.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Cover the reference after one example and repeat the method in your own words.
5 How
- Decide what the input represents and what the output represents.
- For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.
- Remove repeated entries because sets record membership, not frequency.
- If a context is given, keep only physically meaningful inputs. Do not fill the spaces between separate listed values.
Separate domain and range
- Decide what the input represents and what the output represents.
- For listed ordered pairs or a table, collect the inputs for the domain and the outputs for the range.
- Remove repeated entries because sets record membership, not frequency.
- 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
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Read the first coordinate of each ordered pair: , 0, 3, 5.An ordered pair writes the input before the output.
- Collect the inputs: .Only these four inputs are listed; numbers between them were not supplied.
- Read the second coordinates: 6, 6, , 9.The second coordinate tells what came out for that input.
- Collect the outputs without duplicates: .The two appearances of 6 refer to the same member of the range.
- Domain: {−4, 0, 3, 5}.
- Range: {−2, 6, 9}.
Counterexamples
What it is not, and the tempting wrong moves.
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.
Lesson 2 of 10
Find the domain by checking the arithmetic
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Think of a recipe that tells you what to do with the number you choose. Each instruction has to be possible. A fraction asks you to divide, so its bottom number cannot be zero. An even root asks which number has a certain even power, so the number inside cannot be negative when you work with real numbers. Your domain is the collection of inputs that pass every instruction. Start by considering the whole number line, then cross out the choices that break something. A choice that passes one instruction but breaks another still cannot go into this recipe.
2 Picture it
Reminder
Reminder: Solving a linear equation, Inequality reversal, Fraction arithmetic
- Solving a linear equation. 2 − x = 0 becomes −x = −2, then x = 2. This finds the input to exclude.
- Inequality reversal. −x ≥ −7 becomes x ≤ 7 because division by −1 reverses order.
- Fraction arithmetic. = 0 is defined, but is undefined.
3 Why
Division undoes multiplication. To divide 1 by zero you would need a number whose product with zero is 1, and every such product is zero. Even powers fail in a different way: a real number squared, or raised to another positive even integer power, cannot be negative. Zero causes no trouble for a square root itself because = 0. If that zero root becomes a denominator, division fails. These reasons tell you exactly where to use a nonstrict inequality and where to exclude an endpoint.
4 The rule
Every denominator must be nonzero; every even-root radicand must be .
Keep inputs satisfying all restrictions, plus any supplied domain or contextual conditions.
The same idea, five ways
Say an input belongs only when every arithmetic instruction works.
Remove inputs causing division by zero or an even root of a negative number.
- Denominator ≠ 0
- Even-root radicand ≥ 0
- For : x ≤ 7
- {x | x ≤ 7}
- Graph words: include 7 and shade to the left
A recipe works only when every instruction can be carried out.
The same idea, other ways
Check every instruction before using an input. A fraction must divide by a nonzero number, and an even root must start from a nonnegative number. A successful input passes both checks when both appear.
works at x = 7 because its inside is 0. It fails at x = 8 because its inside is −1. Substitution gives a concrete reason for the bracket at 7.
After 7 − x ≥ 0 becomes −x ≥ −7, division by −1 turns the number line around. The side that was greater becomes smaller, so x ≤ 7. Addition and positive division do not turn it around.
For a polynomial, ordinary sums and products work for every real input. An odd root allows negative radicands, and absolute value measures a distance for any real input. Still inspect anything inside those expressions: ∛() excludes zero because its interior divides by x.
Part 1: Expressions with no arithmetic restriction
A polynomial is made from finitely many additions, subtractions and products of constants and nonnegative whole-number powers of the input. These instructions accept any real number. Absolute value and an odd root also accept any real number supplied to them. An undefined expression inside one of them remains undefined.
- Polynomial domain: (−∞, ∞), unless another domain or a context is specified.
- Absolute value domain: (−∞, ∞) for |x| itself.
- Odd root domain: (−∞, ∞) for itself; (−2 = −8 explains a negative cube root.
- A nonzero constant denominator imposes no restriction. Always inspect nested operations.
Reminder
Reminder: Solving a linear equation, Inequality reversal, Fraction arithmetic
- Solving a linear equation. 2 − x = 0 becomes −x = −2, then x = 2. This finds the input to exclude.
- Inequality reversal. −x ≥ −7 becomes x ≤ 7 because division by −1 reverses order.
- Fraction arithmetic. = 0 is defined, but is undefined.
The same idea, five ways
Every real input works for the basic polynomial.
The polynomial − 1 accepts every real input.
- x is real
- {x | x is real}
- Graph words: the horizontal shadow has no finite end
A copying or multiplying machine can process any real number handed to it.
Worked example
A polynomial accepts every real input
Find the domain of f(x) = − 1.
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Identify the operations: square the input, then subtract 1.These are multiplication and subtraction, with no variable denominator or even root.
- Keep all real inputs.Both operations are defined for every real number.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Inspect the inside operations even when the outside rule is an odd root or absolute value.
Part 2: A denominator excludes its zeros
The denominator is the number below the fraction bar. It tells you what to divide by. A negative denominator is allowed, and a zero numerator is allowed when the denominator is nonzero. Find the inputs that make the bottom zero and remove those inputs. Cancellation means dividing the numerator and denominator by the same nonzero factor. For , that gives 1 only when x − 6 is nonzero. At x = 6 the original formula is . Every proposed quotient multiplied by 0 gives 0, so division cannot choose a unique answer. Removing a factor from the written formula never adds that forbidden input back to the original domain.
- Denominator check: set the denominator equal to zero, solve, then exclude the solutions.
- Do not set the numerator equal to zero to find restrictions.
- Keep an original denominator restriction even if later algebra cancels a factor.
Reminder
Reminder: Solving a linear equation, Inequality reversal, Fraction arithmetic
- Solving a linear equation. 2 − x = 0 becomes −x = −2, then x = 2. This finds the input to exclude.
- Inequality reversal. −x ≥ −7 becomes x ≤ 7 because division by −1 reverses order.
- Fraction arithmetic. = 0 is defined, but is undefined.
The same idea, five ways
The bottom of a fraction must stay nonzero.
For the fraction with denominator 2 − x, the input 2 is excluded.
- x ≠ 2
- x < 2 or x > 2
- {x | x ≠ 2}
Dividing an amount asks how much goes in each equal group.
Worked example
A denominator
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Set .A denominator equal to zero makes division undefined.
- Subtract 2 from both sides: .The same subtraction preserves the equality.
- Divide both sides by −1: .This equation finds the input to exclude, not the input to keep.
- Keep every real number except 2.The numerator x + 1 is defined for all real inputs, and no other input makes the denominator zero.
- Write .Both intervals stop before the forbidden value, and together they include all other inputs.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- The bottom decides division's restriction; the top may legitimately equal zero.
Part 3: Even roots allow zero unless division forbids it
A square root asks for the nonnegative number that squares to its inside. Since a real square cannot be negative, a negative inside has no real answer. Zero does have an answer. Fourth roots and other even roots have the same restriction because an even number of negative factors also produces a nonnegative value.
- Radicand means the expression inside a radical, or root symbol.
- An even root requires radicand ≥ 0.
- If the entire denominator is , require A > 0.
- If the denominator is something larger such as 1 + , inspect that whole expression rather than automatically rejecting A = 0.
- With roots in both numerator and denominator, inspect every root separately. The numerator may equal zero; the whole denominator may not.
Reminder
Reminder: Solving a linear equation, Inequality reversal, Fraction arithmetic
- Solving a linear equation. 2 − x = 0 becomes −x = −2, then x = 2. This finds the input to exclude.
- Inequality reversal. −x ≥ −7 becomes x ≤ 7 because division by −1 reverses order.
- Fraction arithmetic. = 0 is defined, but is undefined.
The same idea, five ways
The inside of an even root is zero or more.
A root used as the entire denominator also has to be nonzero.
- Radicand ≥ 0
- For denominator : x − 3 > 0
- x > 3
- {x | x > 3}
- (3, ∞)
A square tile's area cannot be negative, and its side length can be zero.
Worked example
A square root used as the denominator
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Require .The square root must be a real number before you can divide by it.
- Also require .This entire square root is the denominator, and division by zero is undefined.
- Combine the checks to require .Zero would satisfy the root check but fail the denominator check.
- Add 3: x > 3, so write .Adding the same number preserves the strict inequality and the excluded endpoint.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Check the root and any denominator as two separate operations.
Part 4: Build a formula for a requested domain
Imagine designing an entrance gate instead of reading one that already exists. You want the gate to admit exactly the inputs in the requested set. Different arithmetic operations can supply different checks. A denominator can reject one input. An even root can reject all inputs on one side of a boundary. A root used as the entire denominator also rejects the boundary itself. Build the check into a formula, then verify its actual domain rather than guessing from its appearance.
- For a nonstrict ray x ≥ a, has exactly that domain.
- For a strict ray x > a, has exactly that domain.
- For all real inputs except a, has exactly that domain.
- This is a construction strategy: many formulas can have the same domain.
Reminder
Reminder: Root versus divisor
- Root versus divisor. = 0 works as a value, but divides by zero.
The same idea, five ways
Say create a formula that accepts exactly the requested inputs.
For a strict rightward ray, a square root in the entire denominator rejects the boundary and everything below it.
- x > 14
- {x | x > 14}
- (14, ∞)
- Graph words: hollow dot at 14, shade right
Build an entrance gate with the checks required by the visitor list.
Worked example
Build a function whose domain is a strict ray
Construct one real-valued function with exactly the domain x > 14. You are creating a formula that permits every input above 14 and rejects 14 and all smaller inputs.
Show the steps and the answer
- Choose an inside expression .It is positive precisely when x > 14, locating the required boundary.
- A square root alone would allow .A square root accepts inside zero, so this would give a nonstrict domain and miss the requested exclusion.
- Put that root in the entire denominator and choose a nonzero constant numerator: .The root must be real and nonzero, combining the two arithmetic checks into x − 14 > 0.
- Add 14 to to get x > 14.Solving verifies that the constructed formula has exactly the requested domain.
- At , the denominator is ; at , its radicand is . Every input above 14 gives a positive denominator.Plugging the boundary and both sides into the original formula confirms that all and only the requested inputs work.
- One possible function: F(x) = .
- Domain: {x | x > 14} = (14, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Verify the constructed domain in both directions: every requested input must work, and every excluded input must fail.
5 How
- Start with all real inputs unless a domain or context is supplied.
- Find every denominator. Set the whole denominator equal to zero to locate exactly the inputs where division would fail. Solve that equation, substitute each answer into the original denominator to confirm zero, and exclude those inputs.
- Find every even-root radicand, require it to be ≥ 0, and solve the inequality.
- If a root is part of a denominator, check the whole denominator as well as the radicand.
- Keep only inputs that meet every condition. Write intervals from smaller to larger endpoints.
- Substitute each boundary or excluded value to see which operation permits or rejects it.
Find a formula's domain
- Start with all real inputs unless a domain or context is supplied.
- Find every denominator. Set the whole denominator equal to zero to locate exactly the inputs where division would fail. Solve that equation, substitute each answer into the original denominator to confirm zero, and exclude those inputs.
- Find every even-root radicand, require it to be ≥ 0, and solve the inequality.
- If a root is part of a denominator, check the whole denominator as well as the radicand.
- Keep only inputs that meet every condition. Write intervals from smaller to larger endpoints.
- Substitute each boundary or excluded value to see which operation permits or rejects it.
6 Worked example
Worked example
A polynomial accepts every real input
Find the domain of f(x) = − 1.
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Identify the operations: square the input, then subtract 1.These are multiplication and subtraction, with no variable denominator or even root.
- Keep all real inputs.Both operations are defined for every real number.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 8
A denominator
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Set .A denominator equal to zero makes division undefined.
- Subtract 2 from both sides: .The same subtraction preserves the equality.
- Divide both sides by −1: .This equation finds the input to exclude, not the input to keep.
- Keep every real number except 2.The numerator x + 1 is defined for all real inputs, and no other input makes the denominator zero.
- Write .Both intervals stop before the forbidden value, and together they include all other inputs.
Rung 2 of 8
Domain of a function with a square root inside the denominator
Find the domain of g(x) = . Write your answer in interval notation.
Show the steps and the answer
- Start with all real numbers as possible inputs.No domain or context is supplied, so only the arithmetic can rule inputs out.
- Identify the even root and require its radicand to be nonnegative: .A square root of a negative number is not a real number.
- Solve to get .Adding x to both sides gives 6 ≥ x. No division by a negative number is needed, so the inequality does not flip.
- Identify the whole denominator and set it equal to zero: .Division by zero is undefined. The root sits inside the denominator, so the whole denominator must be checked, not only the radicand.
- Solve: , square both sides to get , so .Isolating the root and then squaring turns the equation into a linear one.
- Substitute into the original denominator: . Exclude .Squaring can create false solutions, so we confirm that x = 2 really makes the denominator zero. It does, so x = 2 is excluded.
- Combine the conditions: and . In interval notation this is .Only inputs that meet every restriction are kept. Intervals are written from smaller to larger endpoints. Use a parenthesis at 2 because 2 is excluded, and a bracket at 6 because 6 is allowed.
- Check the boundary and excluded values. At : the radicand is , which is allowed, and the denominator is , so 6 is included. At : the denominator is 0, so division rejects 2. At : the radicand is , so the square root rejects 7.Testing each boundary shows which operation permits or rejects that value.
Work to write
- Radicand: 6 − x ≥ 0, so x ≤ 6
- Denominator: − 2 = 0, so = 2, so 6 − x = 4, so x = 2
- Check: − 2 = 0, so exclude x = 2
- At x = 6: radicand is 0 (allowed) and denominator is −2 ≠ 0, so include 6
- Domain: (−∞, 2) ∪ (2, 6]
Rung 3 of 8
Domain of a quotient with a square root in the denominator
Find the domain of h(x) = . Write your answer in interval notation.
Show the steps and the answer
- Start with all real numbers as possible inputs.No domain or context is supplied, so only the arithmetic can restrict x.
- Radicand condition: require , so .An even (square) root of a negative number is not a real number.
- Denominator condition: set the whole denominator equal to zero: , so .Division fails exactly where the entire denominator is zero, not just where the root is zero.
- Square both sides: , so . Substitute into the original denominator: . Exclude .Squaring can create false solutions, so substituting confirms that x = 2 really makes the denominator zero.
- Combine the conditions: and . In interval notation this is .Inputs must satisfy every restriction. −7 is included because the radicand may equal 0. 2 is removed with open parentheses. Intervals are written from smaller to larger endpoints.
- Test the boundary values. At : , so , which is allowed. At the denominator is 0, so 2 is rejected. At the radicand is , so is rejected.Substituting each boundary or excluded value shows which operation permits or rejects it.
Work to write
- Check: − 3 = 0, so exclude x = 2
- x = −7 is allowed: denominator is −3 ≠ 0
- Domain: [−7, 2) ∪ (2, ∞)
Rung 4 of 8
Domain of a quotient with a square root inside the denominator
Find the domain of k(x) = . Write your answer in interval notation.
Show the steps and the answer
- Start with all real numbers as candidate inputs.No domain or context is supplied, so only the arithmetic can remove inputs.
- Identify the even-root radicand and require .A square root of a negative number is not a real number.
- Solve : , so .Subtracting 6 and dividing by the positive number 2 keeps the inequality direction.
- Set the whole denominator equal to zero: , so .Division fails exactly where the entire denominator is zero. The root sits inside the denominator, so the whole expression is checked, not just the radicand.
- Square both sides: , so and .Squaring undoes the square root. This value satisfies x ≥ −3, so it is a real candidate.
- Substitute into the original denominator: , and . Exclude .Squaring can create false solutions, so the value is confirmed in the original denominator. It really gives zero.
- Combine the conditions: and . Write the result as .Only inputs that meet every condition are kept. The intervals are written from smaller to larger endpoints.
- Test the boundaries. At the radicand is 0 and , so the denominator is 5 and . This value is included. At the denominator is 0, so this value is excluded.The square root permits radicand 0, so the bracket is used at −3. Division rejects , so parentheses are used on both sides of it.
Work to write
- Radicand: 2x + 6 ≥ 0 ⇒ x ≥ −3
- Denominator: 5 − = 0 ⇒ = 5 ⇒ 2x + 6 = 25 ⇒ x =
- Check: 5 − = 0, so exclude x =
- x = −3 is allowed: denominator 5 − = 5 ≠ 0
- Domain: [−3, ) ∪ (, ∞)
Rung 5 of 8
Both restrictions at once
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Require , which gives .The numerator contains an even root, so its radicand must be nonnegative.
- Require , which gives .The whole denominator must be nonzero.
- Keep inputs meeting both restrictions: and .Both operations must work for the same input.
- Split the allowed ray at 5: .−2 is included, while 5 is excluded from both pieces.
Rung 6 of 8
Two forbidden inputs from one denominator
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Set .Inputs where the denominator is zero must be excluded.
- Factor: .The difference-of-squares identity replaces 16 with .
- Solve or , giving 4 or .A product is zero when at least one factor is zero.
- Remove both values and write the three remaining intervals.One interval before −4, one between −4 and 4, and one after 4 are needed.
Rung 7 of 8
Two roots impose different checks
Find the domain of R(x) = . You need every input for which both roots exist and the denominator is nonzero.
Show the steps and the answer
- Require ; add 12 to both sides to get .The numerator’s even root must exist. It may equal zero because it is not being used as a divisor.
- Require ; add 7 to both sides to get x > 7.The denominator’s root must exist and stay nonzero, so its inside must be strictly positive.
- Keep inputs passing both checks: .Every number at least 12 is also greater than 7; a number between 7 and 12 fails the numerator check.
- At , the original expression is , so include the starting input.The denominator is positive here and a zero numerator is allowed.
Rung 8 of 8
A denominator that contains a square root
Find the domain of f(x) = .
Show the steps and the answer
- We need every input for which the stated rule is defined.State what is being found before choosing the calculation.
- Require .The radicand of must be nonnegative.
- For these inputs, , so .The principal square root never produces a negative output.
- The whole denominator can never equal zero on these inputs.Being at least 1 makes it nonzero, including at x = 0.
- Keep .There is no additional exclusion after the root condition.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write denominator ≠ 0 and radicand ≥ 0 before solving anything.
- Memory device: zero below means no go. A zero numerator can still be valid.
- Test the endpoint in the original formula to decide whether the interval needs a bracket.
- Keep restrictions from the original expression even if later cancellation makes it look unrestricted.
7 The trap
Changing ≥ 0 to > 0 whenever you see a square root. is allowed. Strict positivity is needed for a square root that must itself be a nonzero denominator, such as .
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.
Lesson 3 of 10
Factor a denominator and keep every original exclusion
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Picture taking a tiled rectangle apart so you can see the lengths that made its area. Factoring does a similar job with a formula. It rewrites one expression as multiplied pieces called factors, without changing the result. This helps you find a denominator's forbidden inputs. A multiplied result is zero when a factor is zero, so smaller equations replace one larger equation. Sometimes a matching factor appears above and below a fraction bar. You may cancel it where it is nonzero. Keep the original forbidden inputs written down. Changing the way you write the recipe cannot make its original division by zero work.
2 Picture it
Reminder
Reminder: Distribution, Zero product property, Negative denominators, Keep all restrictions
- Distribution. Multiply each term in one factor by each term in the other: (x + 5)(x − 4) = − 4x + 5x − 20.
- Zero product property. AB = 0 requires A = 0 or B = 0. For a denominator, those inputs are exclusions.
- Negative denominators. A negative denominator is allowed: = −. The forbidden denominator is zero.
- Keep all restrictions. A root and denominator must both work: x ≥ −11 and x ≠ −5 and x ≠ 4 keeps [−11, −5) ∪ (−5, 4) ∪ (4, ∞).
3 Why
Multiplying each term in x + p by each term in x + q gives + px + qx + pq. The middle terms combine into (p + q)x, so the two factor numbers must have the required sum and product. A product of nonzero real numbers cannot be zero: if AB = 0 and A ≠ 0, division by A gives B = 0. This explains why each zero factor finds a denominator exclusion. Cancellation divides the top and bottom by the same factor. That operation requires a nonzero factor, so it cannot restore an input already excluded by the original denominator.
4 The rule
pq.
To factor Bx , find and pq .
Exclude every input making the original denominator zero, and retain those exclusions after cancellation.
The same idea, five ways
Say factor the original denominator, exclude its zeros, and retain those exclusions after cancellation.
A shorter fraction describes the original function only when you keep the original domain conditions.
- (x + p)(x + q) = + (p + q)x + pq
- For + x − 20: p + q = 1 and pq = −20
- Denominator restrictions: x ≠ −5 and x ≠ 4
- Graph words: hollow dots at both original denominator-zero inputs
Taking a rectangle apart reveals its multiplied lengths; shortening a recipe leaves its accepted choices unchanged.
The same idea, other ways
A rectangle cut into two rows and two columns gives four products. The two middle products are px and qx, so their combined size is (p + q)x. The last product is pq. This is why matching only the constant term is not enough.
A factor pair must open two locks. For + 12x + 35, the product lock needs 35 and the sum lock needs 12. The pair 1 and 35 opens only the product lock. The pair 5 and 7 opens both.
Simplifying a fraction changes the recipe's writing, not the original guest list of permitted inputs. For , input 8 was already forbidden. Cancellation may shorten the recipe for other inputs, but it cannot admit 8.
Part 1: Find a pair by its product and sum
Think of choosing two tile lengths. They must create both the right corner area and the right combined middle strip. A monic quadratic has with coefficient 1, meaning one copy of . For + Bx + C, the factor numbers multiply to C and add to B. Keep the signs attached to the numbers.
- Coefficient means the number multiplying a variable or power. In 12x, the coefficient is 12.
- For + Bx + C, seek two numbers whose product is C and whose sum is B.
- To generate whole-number factor pairs, try positive whole-number divisors in order. Keep a divisor and quotient only when the quotient is whole. For 20, 20 ÷ 1 = 20, 20 ÷ 2 = 10, and 20 ÷ 4 = 5 give the pairs; 20 ÷ 3 is not whole. At candidate 5 the quotient is 4, so stop: larger candidates would repeat pairs in reverse. Then choose signs and check sums.
- If C is negative, the factor numbers have opposite signs. If B is positive, the positive number has the larger size; if B is negative, the negative number has the larger size.
- If C is positive, the factor numbers have the same sign. A positive sum uses two positives, and a negative sum uses two negatives.
- This whole-number pair search works for examples with whole-number factors. If no pair works, do not invent a factorization or conclude that the domain is empty. Another method may be needed.
- If C = 0, x is a common factor: + Bx = x(x + B), because distributing x gives both original terms.
Reminder
Reminder: Signed multiplication
- Signed multiplication. 5 × (−4) = −20. One positive and one negative factor give a negative product.
The same idea, five ways
Say find two numbers that multiply to negative twenty and add to one.
The factor numbers must match the constant by multiplication and the middle coefficient by addition.
- p + q = 1
- pq = −20
Two tile lengths must fit both the corner area and the combined middle strip.
Worked example
A negative constant needs opposite signs
Factor + x − 20. You need multiplied pieces that reproduce the coefficient 1 of x and the constant −20.
Show the steps and the answer
- We need and pq .The expansion has middle coefficient p + q and constant term pq; the unwritten coefficient of x is 1.
- Generate the factor-pair sizes of 20 by division: gives 1 and 20; gives 2 and 10; is not whole, so skip it; gives 4 and 5. Stop at candidate 5 because its quotient is 4, so that pair repeats in reverse. The picture gives each larger number a positive sign and the smaller one a negative sign.A divisor and its whole-number quotient multiply back to 20. After the candidate exceeds its quotient, the smaller member of every possible pair has already been tried.
- Read the sums below those pairs: 19, 8, and 1. The column for 5 and is the only one with sum 1.A negative product needs one positive and one negative factor number, so their sum is a difference of sizes.
- Choose and . Their product is and their sum is 1.The positive number must have the larger size to make the required positive sum.
- Write .Both the sum and product match, so these factors rebuild the original quadratic.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write sum and product on separate lines, and check both before accepting a pair.
Part 2: Zero factors locate forbidden inputs
Imagine a product counting boxes times items per box. The total is zero if either count is zero. The zero product property says the same thing for real numbers: a product is zero exactly when at least one factor is zero. For a denominator, these zero inputs are the choices to remove, rather than the choices to keep.
- The zero product property says AB = 0 exactly when A = 0 or B = 0.
- Set the denominator equal to zero to locate the inputs where division fails.
- Solve each factor's zero equation, then substitute its result into the original denominator.
- A product equaling a nonzero number does not let you set its factors equal to zero.
x + 5 = 0 or x − 4 = 0
x = −5 or x = 4
These inputs are excluded
Reminder
Reminder: Solving a linear equation
- Solving a linear equation. x + 5 = 0 gives x = −5 by subtracting 5 from both sides; −5 + 5 = 0 checks the result.
The same idea, five ways
Say keep every real input except negative five and four.
The original denominator vanishes at −5 and 4, so both inputs are excluded.
- x ≠ −5 and x ≠ 4
- x < −5 or −5 < x < 4 or x > 4
- {x | x ≠ −5 and x ≠ 4}
- Graph words: hollow dots at −5 and 4, with every other position shaded
Keep the whole guest list except the two names that fail the entry check.
Worked example
A quadratic denominator excludes two inputs
Find the domain of f(x) = . You need every input for which the original fraction is defined.
Show the steps and the answer
- Set to locate the inputs that would make division fail.The domain excludes zero denominators; this equation finds the values to throw out.
- Factor the denominator as .The factor numbers 5 and −4 have sum 1 and product −20.
- Set or . Subtract 5 in the first equation to get ; add 4 in the second to get .A zero product requires a zero factor. Each smaller equation finds one forbidden input.
- Check the original denominator: at it is ; at 4 it is .Substitution confirms that each solved value really makes the original fraction undefined.
- Exclude and 4, and keep all other real inputs.The numerator is a polynomial, and the factored denominator has no other zeros.
- Write .Three open intervals keep every real input except the two forbidden values.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write forbidden inputs beside the answers to a denominator's zero equation.
Part 3: Cancel a common factor without changing the domain
Think of shortening a written recipe after checking which ingredients it can accept. You may remove a matching multiplication above and below a fraction bar, but only where that common factor is nonzero. This is cancellation. It divides the numerator and denominator by the same nonzero factor. A choice that failed the original recipe still fails it, even if the shorter recipe could calculate a number there.
- Cancel factors that multiply the entire numerator and denominator. A term inside a sum is not a factor of that entire sum.
- Cancellation requires the common factor to be nonzero.
- The simplified expression agrees with the original expression only on the original domain.
- Keep every original denominator exclusion, including an exclusion hidden by a canceled factor.
= only where x ≠ −8 and x ≠ 8
The original exclusions stay
Reminder
Reminder: Difference of squares, Division by zero
- Difference of squares. − 64 = (x − 8)(x + 8), because the middle terms cancel when multiplied back.
- Division by zero. is undefined too. Every number multiplied by 0 gives 0, so the multiplication question cannot select one unique quotient.
The same idea, five ways
Say the shorter fraction works on the original domain, with both exclusions retained.
Canceling x − 8 does not allow input 8 into the original function.
- = for x ≠ −8 and x ≠ 8
- {x | x ≠ −8 and x ≠ 8}
- Graph words: omit both original denominator-zero inputs
Shortening the recipe's writing does not change which choices the original recipe accepted.
Worked example
The shorter fraction keeps two original exclusions
Find the domain of f(x) = , then simplify the formula where it is defined. You must identify permitted inputs from the original fraction before canceling anything.
Show the steps and the answer
- Factor the numerator: .Both numerator terms contain a factor x; multiplying x into x − 8 gives − 8x back.
- Factor the original denominator: .64 = , so the difference-of-squares pattern applies.
- Set the denominator factors equal to zero to find forbidden inputs. gives , and gives .Either zero factor makes the original denominator zero. These equations locate inputs to exclude.
- Check the original denominator: and . Write and before canceling.Substitution confirms both original exclusions, including the one a shorter formula might hide.
- For those permitted inputs, cancel the common factor x − 8: .x ≠ 8 makes the common factor nonzero, so dividing the top and bottom by it is legal.
- Write the shorter formula with and , and retain as the original domain.Cancellation changes the expression's appearance while preserving its value only where the original fraction was defined.
- Original domain: (−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
- Simplified formula: , with x ≠ −8 and x ≠ 8
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Copy every original exclusion above the line before simplifying.
- Ask whether the proposed canceled object multiplies the entire numerator and the entire denominator.
5 How
- Copy the original denominator before changing the fraction. Its zero inputs are the values you must exclude.
- For + Bx + C, identify B and C, including their signs. B is the coefficient of x, meaning the number multiplying x; C is the constant term. The constant term is the fixed number added or subtracted without being multiplied by x; here it is C.
- Generate the whole-number factor-pair sizes of the size of C. Try positive whole-number candidates in order and divide the size of C by each one. Keep a pair only when the quotient is a whole number. Stop when the candidate is larger than its quotient, because further pairs would repeat earlier pairs in reverse. Choose signs so the product is C, then find the pair whose sum is B. If C = 0, factor out x directly instead of making a nonzero-constant pair list.
- Write (x + p)(x + q) and multiply it out to check both middle and constant terms.
- Set each denominator factor equal to zero to find forbidden inputs. Solve each smaller equation, then substitute each result into the original denominator to confirm that it produces zero.
- If a common factor cancels, write the simplified expression together with every original exclusion. Cancel only at inputs where the common factor is nonzero.
- Keep any other root or context restrictions as well, then write the remaining input intervals.
Find all exclusions before simplifying
- Copy the original denominator and identify any other arithmetic or context restrictions.
- For + Bx + C, try positive whole-number divisors of the size of C in order, keeping only whole quotients. Stop when the candidate exceeds its quotient; then choose signs and test product C and sum B. If C = 0, factor out x instead. Check by multiplying back.
- Set each denominator factor equal to zero to locate forbidden inputs. Solve and plug each value into the original denominator.
- Record every exclusion before canceling any common factor.
- Cancel only a nonzero common factor multiplying the entire top and bottom.
- Keep every original exclusion and any root or context condition when writing the domain.
6 Worked example
Worked example
Find two numbers that rebuild a quadratic
Factor + 12x + 35. This asks you to rewrite the expression as multiplied pieces with the same value.
Show the steps and the answer
- The coefficient of x is 12 and the constant term is 35. We need and pq .Expanding (x + p)(x + q) gives middle coefficient p + q and constant term pq.
- Generate the positive factor-pair sizes of 35 by division. gives 1 and 35. Dividing by 2, 3, or 4 does not give a whole-number quotient, so skip those candidates. gives 5 and 7. Stop before trying larger candidates: 6 is already greater than its quotient , because .A whole-number divisor and its quotient multiply back to 35. Once the candidate is larger than its quotient, any further whole-number pair reverses a pair with a smaller member that was already tried.
- Read the factor-pair picture. Under 1 and 35, the sum is 36. Under 5 and 7, the sum is 12. Both pairs have product 35.A positive product with a positive sum needs two positive numbers here. Checking the pairs finds the required sum.
- Choose and , then write .5 + 7 = 12 and 5 × 7 = 35, so both coefficients are reproduced.
- Multiply back: .Each term in the first factor multiplies each term in the second, and the two middle terms combine.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
A positive product and a positive sum
Factor + 12x + 35. You are rewriting the expression as multiplied factors with exactly the same value.
Show the steps and the answer
- Seek and pq .Expanding two factors gives + (p + q)x + pq.
- Generate the positive factor-pair sizes of 35 by division. gives 1 and 35. Dividing by 2, 3, or 4 does not give a whole-number quotient, so skip those candidates. gives 5 and 7. Stop before trying larger candidates: 6 is already greater than its quotient , because .A whole-number divisor and its quotient multiply back to 35. Once the candidate is larger than its quotient, any further whole-number pair reverses a pair with a smaller member that was already tried.
- Read the factor-pair picture. Under 1 and 35, the sum is 36. Under 5 and 7, the sum is 12. Both pairs have product 35.A positive product and positive sum use two positive factor numbers here.
- Write .5 + 7 = 12 and 5 × 7 = 35 satisfy both requirements.
- Multiply back to obtain .Distribution checks the identity for every input.
Rung 2 of 5
A negative product and a small positive sum
Factor + x − 20. You need factors whose multiplication leaves middle coefficient 1 and constant −20.
Show the steps and the answer
- Seek and pq .The coefficient of x is an unwritten 1, and the constant term includes its negative sign.
- Generate the factor-pair sizes of 20 by division: gives 1 and 20; gives 2 and 10; is not whole, so skip it; gives 4 and 5. Stop at candidate 5 because its quotient is 4, so that pair repeats in reverse. The picture gives each larger number a positive sign and the smaller one a negative sign.A divisor and its whole-number quotient multiply back to 20. After the candidate exceeds its quotient, the smaller member of every possible pair has already been tried.
- Choose and , and write .Their product is −20 and their sum is 1.
- Multiply back: .The opposite middle products leave exactly one copy of x.
Rung 3 of 5
Factor to find a fraction's domain
Find the domain of f(x) = . You are finding every input that keeps the original fraction defined.
Show the steps and the answer
- Set to find denominator-zero inputs, then factor it as .These inputs would make division fail. The factor numbers add to 1 and multiply to −20.
- Set or . Solve to get or .The zero product property locates every zero through the smaller factor equations.
- Substitute and 4 into the original denominator: and .Each substitution confirms an input that must be excluded.
- Remove both values and write .Every remaining denominator is nonzero, and the polynomial numerator imposes no additional restriction.
Rung 4 of 5
Cancellation keeps the original exclusions
Find the domain of f(x) = , then simplify it on that domain. You must preserve inputs excluded by the original denominator.
Show the steps and the answer
- Rewrite the fraction as .Factoring out x rebuilds the numerator, and the difference-of-squares identity rebuilds the denominator.
- Set or to find forbidden inputs. Solving gives or .A zero factor makes the original denominator zero, so these equations identify exclusions.
- Check and , then record and .The exclusions must be confirmed in the original denominator before any factor disappears.
- Cancel at the remaining inputs to obtain .The recorded condition x ≠ 8 permits division by this common factor.
- Keep as the original domain, and write the shorter formula with both exclusions.A canceled factor does not assign a value where the original fraction had a zero denominator.
- Domain: (−∞, −8) ∪ (−8, 8) ∪ (8, ∞)
- Simplified formula: , for x ≠ −8 and x ≠ 8
Rung 5 of 5
Factor and keep a root restriction too
Find the domain of f(x) = . You need inputs that make the root real and the original denominator nonzero at the same time.
Show the steps and the answer
- Require and subtract 11 to obtain .The root's radicand must be nonnegative; this inequality identifies the inputs permitted by the numerator.
- Set to locate forbidden denominator inputs. Factor to obtain .Division fails at those zero inputs, and the factor numbers 5 and −4 add to 1 and multiply to −20.
- Solve or , giving or . Check and in the original denominator.A zero product has a zero factor; substitution confirms both exclusions.
- Keep and exclude and 4 from that ray.The root and division must work together, and both forbidden denominator inputs lie inside the root's allowed ray.
- At , the numerator is and the denominator is , so keep this endpoint.A zero numerator over a nonzero denominator is a valid zero output.
- Write .The starting root endpoint is included, while both original denominator zeros are omitted.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For factoring, write product = C and sum = B before trying pairs.
- For a domain, mark denominator zeros as forbidden before writing any intervals.
- Copy original restrictions before cancellation, then compare the final domain with that list.
7 The trap
Canceling a factor and then forgetting its zero input. The shorter expression equals the original only where the original denominator was nonzero. Record every exclusion before canceling.
Lesson 4 of 10
Write the same set three ways
Open this lessonLeans on 0Comes back in 11
Leans on
No lesson links recorded.
Comes back in
- Rate of change and average rate of change
- Increasing, decreasing, and constant
- A composite domain has two gates
- Combine shifts and read the domain and range
- Domain and range trade places
- Restricting a domain so an inverse exists
- Domain and range of a quadratic
- The domain of a rational function
- Graphing a rational function from its features
- Why a quadratic needs its domain cut to have an inverse
- Radical functions and their domains
1 In plain words
Think of directions for a stretch of road. You can say which mile markers a driver may pass, state a condition for an allowed position, or write the beginning and ending markers. These are three descriptions of the same road. Inequality notation states the comparisons. Set-builder notation wraps the condition in braces and reads it as a collection. Interval notation writes the two limits. You must also say whether each boundary is part of the road. A filled dot means you may stand there; a hollow dot means you may get close but that exact position is excluded.
2 Picture it
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
3 Why
The notations are conventions chosen to record the same membership decisions compactly. A square bracket includes its endpoint; a parenthesis excludes it. Ignoring that distinction changes whether an input is allowed. Infinity is a direction of unlimited continuation, not a real endpoint you can reach, so it always takes a parenthesis. Writing the smaller limit first matches the number line's order. A union combines membership in either set, including any overlap. Without it, writing only the outside limits could accidentally fill an excluded gap.
4 The rule
Use [ or ] for an included endpoint, ( or ) for an excluded endpoint or infinity.
Write intervals from smaller to larger; union () means or, including membership in both sets.
The same idea, five ways
Say at least negative two and less than three.
The set includes −2, excludes 3, and contains every real number between them.
- Graph words: closed dot at −2, open dot at 3, shade between
A road segment where one boundary post belongs to your route and the other does not.
The same idea, other ways
An interval gives the stretch between two fence posts. A square bracket keeps a post in your property; a parenthesis leaves the post outside. A missing stretch needs two intervals rather than one.
For [−2, 3), ask whether each candidate satisfies −2 ≤ x < 3. This includes −2 and excludes 3. Set-builder notation records exactly that question.
x ≤ 7, {x | x ≤ 7}, and (−∞, 7] all include 7 and every smaller real number. The descriptions change, but the allowed members do not.
| Inequality notation | Set-builder notation | Interval notation |
|---|---|---|
| x > 5 | {x | x > 5} | (5, ∞) |
| x ≤ 7 | {x | x ≤ 7} | |
| 1 ≤ x ≤ 3 or x > 5 | {x | 1 ≤ x ≤ 3 or x > 5} | [1, 3] ∪ (5, ∞) |
Part 1: Inequality notation
Inequality notation compares a candidate number with its limits. The word and means the candidate must pass both comparisons. The word or means one comparison or the other is enough. Do not turn two separate stretches into a single and statement.
- A strict < or > comparison excludes its boundary.
- A ≤ or ≥ comparison includes its boundary.
- A compound inequality such as −2 ≤ x < 3 means both limits hold.
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say strictly greater than five.
The number must exceed 5, so equality is excluded.
- x > 5
- {x | x > 5}
- (5, ∞)
- Graph words: open dot at 5, shade right
An entry sign admits only positions passing the stated height checks.
Worked example
Notation ladder 1: one open ray
Write x > 5 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Read > as strictly greater than, so 5 is excluded.The inequality has no equality part.
- Write {x | x > 5}.The braces name a set and the bar means such that.
- Write .The set starts beyond 5 and has no upper endpoint; both symbols use parentheses.
- Set-builder: {x | x > 5}.
- Interval: (5, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Read the comparison aloud before choosing an endpoint symbol.
Part 2: Set-builder notation
Set-builder notation is a sentence compressed into symbols. Braces, { and }, mean the set of. The vertical bar means such that. After the bar comes the condition an element must satisfy. Here x is understood to be a real number unless another kind of input is specified.
- {x | x > 5} reads the set of x such that x is greater than 5.
- A condition may use words as well as inequalities.
- A listed set {2, 7} names its elements; a set-builder condition explains membership.
{x | x ≤ 7}
the set of real x
such that x is at most 7
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say the set of real x such that x is at most seven.
Braces name a set and the bar introduces its membership condition.
- x ≤ 7
- {x | x ≤ 7}
- Graph words: closed dot at 7, shade left
A guest-list rule states who qualifies without listing every possible guest.
{x | x ≤ 7}
the set of real x
such that x is at most 7
Worked example
A closed ray extending to the left
Write x ≤ 7 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include 7 and all smaller real values.The ≤ symbol includes equality.
- Write {x | }.Set-builder notation names the same membership condition.
- Write .The smaller end comes first, and the finite endpoint is included.
- Set-builder: {x | x ≤ 7}.
- Interval: (−∞, 7].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Say the set of at the braces and such that at the bar.
Part 3: Interval notation
Interval notation names a continuous stretch of real numbers by its endpoints. It includes all numbers between those limits, not only integers. Use it for a stretch, but use a list for isolated values. An interval may run without an upper or lower bound.
- Lower limit first, upper limit second: [−2, 3), not (3, −2].
- Inclusive means included; exclusive means excluded.
- A bracket is square, while a parenthesis is curved.
- [c, c] is a one-element set; (c, c) has no elements because no number lies strictly between c and itself.
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say at least negative two and less than three.
The interval contains every real number between −2 and 3, with only the left endpoint included.
- Graph words: closed at −2, open at 3, shade between
Two mile markers describe an unbroken permitted stretch of road.
Worked example
Notation ladder 2: one endpoint in, one out
Write −2 ≤ x < 3 in words, set-builder notation and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include and exclude 3.The left comparison has equality, while the right comparison is strict.
- Say all real numbers at least and less than 3.Both bounds must hold at the same time.
- Write {x | } and .The left bracket includes −2 and the right parenthesis excludes 3.
- Words: at least −2 and less than 3.
- Set-builder: {x | −2 ≤ x < 3}.
- Interval: [−2, 3).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Ask whether intervening fractions should belong.
Part 4: Union of sets
Union means gather everything belonging to one collection or the other, or both. Picture pouring two trays of labeled keys onto one table. Keep every different label once. The collections may be separated, overlap, or contain only a few isolated members.
- The symbol ∪ joins sets without inventing members.
- Shared members appear once.
- An intersection keeps only members in both sets. It explains why an input must pass all arithmetic restrictions, while union combines allowed pieces.
{2, 4, 6} ∪ {4, 7}
= {2, 4, 6, 7}
The shared member 4 is listed once
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say in either set or in both.
Union collects all members from both sets, listing shared members once.
- {2, 4, 6} ∪ {4, 7} = {2, 4, 6, 7}
- {x | x = 2 or x = 4 or x = 6 or x = 7}
Combine two guest lists and keep each different guest once.
{2, 4, 6} ∪ {4, 7}
= {2, 4, 6, 7}
The shared member 4 is listed once
Worked example
Union can combine overlapping finite sets
Find {2, 4, 6} ∪ {4, 7}.
Show the steps and the answer
{2, 4, 6, 7}.
- We are collecting all members that belong to either set, keeping repeated members once.Naming the requested values tells us which taught method to use.
- Collect members belonging to either set: 2, 4, 6, 4, 7.Union means the first set or the second set or both.
- List 4 once and write {2, 4, 6, 7}.A set records whether an element belongs, not how many times it appears.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Union keeps either collection's members and removes only repeated listings.
5 How
- Identify the shaded or allowed portion of the number line.
- Use the closed dot / open dot convention: a filled dot is included and a hollow dot is excluded.
- State comparisons with <, >, ≤ or ≥ for inequality notation.
- Put the condition after the bar in {x | condition} for set-builder notation.
- Write the lower limit first and the upper limit second in interval notation.
- For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
Translate an allowed set
- Identify the shaded or allowed portion of the number line.
- Read a filled dot as included and a hollow dot as excluded.
- State comparisons with <, >, ≤ or ≥ for inequality notation.
- Put the condition after the bar in {x | condition} for set-builder notation.
- Write the lower limit first and the upper limit second in interval notation.
- For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
6 Worked example
Worked example
Textbook: read two shaded intervals
A number line shades 1 through 3 with filled endpoints, and everything to the right of 5 with a hollow endpoint at 5. Describe the set three ways.
Show the steps and the answer
- We are expressing the same allowed values in the requested notation.Naming the requested values tells us which taught method to use.
- For the first shaded piece, write .Both endpoints have filled dots, so both are included.
- For the second piece, write x > 5.The dot at 5 is hollow and the shading continues to the right without a last number.
- Join the conditions with or and the intervals with .Membership in either piece is enough; the unshaded gap is not included.
- Read the braces and bar in {x | or x > 5}.This says the set of real x such that one of the two stated conditions holds.
- Inequality: 1 ≤ x ≤ 3 or x > 5.
- Set-builder: {x | 1 ≤ x ≤ 3 or x > 5}.
- Interval: [1, 3] ∪ (5, ∞).
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Notation ladder 1: one open ray
Write x > 5 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Read > as strictly greater than, so 5 is excluded.The inequality has no equality part.
- Write {x | x > 5}.The braces name a set and the bar means such that.
- Write .The set starts beyond 5 and has no upper endpoint; both symbols use parentheses.
- Set-builder: {x | x > 5}.
- Interval: (5, ∞).
Rung 2 of 5
Notation ladder 2: one endpoint in, one out
Write −2 ≤ x < 3 in words, set-builder notation and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include and exclude 3.The left comparison has equality, while the right comparison is strict.
- Say all real numbers at least and less than 3.Both bounds must hold at the same time.
- Write {x | } and .The left bracket includes −2 and the right parenthesis excludes 3.
- Words: at least −2 and less than 3.
- Set-builder: {x | −2 ≤ x < 3}.
- Interval: [−2, 3).
Rung 3 of 5
Textbook: read two shaded intervals
A number line shades 1 through 3 with filled endpoints, and everything to the right of 5 with a hollow endpoint at 5. Describe the set three ways.
Show the steps and the answer
- We are expressing the same allowed values in the requested notation.Naming the requested values tells us which taught method to use.
- For the first shaded piece, write .Both endpoints have filled dots, so both are included.
- For the second piece, write x > 5.The dot at 5 is hollow and the shading continues to the right without a last number.
- Join the conditions with or and the intervals with .Membership in either piece is enough; the unshaded gap is not included.
- Read the braces and bar in {x | or x > 5}.This says the set of real x such that one of the two stated conditions holds.
- Inequality: 1 ≤ x ≤ 3 or x > 5.
- Set-builder: {x | 1 ≤ x ≤ 3 or x > 5}.
- Interval: [1, 3] ∪ (5, ∞).
Rung 4 of 5
Notation ladder 4: every real number except one
Write x ≠ 2 using inequalities, set-builder notation and intervals.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Split the allowed inputs into x < 2 or x > 2.Every real number except 2 lies on one side of 2.
- Write {x | }.The condition says to omit that single member.
- Write .Neither interval includes 2, and their union contains everything else.
- Inequality: x < 2 or x > 2.
- Set-builder: {x | x ≠ 2}.
- Interval: (−∞, 2) ∪ (2, ∞).
Rung 5 of 5
Notation ladder 5: overlap and a single-value set
Simplify [0, 4] ∪ [2, 6]. Also write {8} in interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- The first interval includes every real number from 0 through 4, and the second from 2 through 6.Both use brackets, so all listed endpoints belong.
- The pieces overlap from 2 through 4, leaving no gap between 0 and 6.Union includes elements in either piece and does not duplicate shared elements.
- Write the union as [0, 6].Its smallest member is 0 and largest is 6, and every number between is included.
- Write {8} as [8, 8].The only number between equal included endpoints is that endpoint itself.
- Union: [0, 6].
- Single-value interval: [8, 8].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Translate one endpoint at a time: equality means included, and strict means excluded.
- Write or next to ∪ as a memory cue.
- Test one boundary and one gap value to check that a notation translation has kept the same set.
7 The trap
Writing [1, ∞) for [1, 3] ∪ (5, ∞). That would fill the missing region after 3 through 5. The union symbol joins sets without filling gaps.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.
Lesson 5 of 10
Read domain and range as shadows of a graph
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Imagine shining a light straight down onto a graph. The shadow on the horizontal number line shows every input position the graph visits. That shadow is the domain. Now shine a light from the side. The shadow on the vertical number line shows every output height the graph reaches. That shadow is the range. You are collecting coordinates, not measuring the length of the curve. A curve can turn around, cross the same height twice, or have separate pieces. You still collect each covered input or output once, and leave a gap only when no included point reaches that coordinate.
2 Picture it
Reminder
Reminder: Coordinates, Solving for an input
- Coordinates. The point (2, 4) has input coordinate 2 and output coordinate 4.
- Solving for an input. y = −2x + 3 gives x = , an input for any chosen real y.
3 Why
Every point on a function graph is an ordered pair (x, y). Its horizontal coordinate tells which input was used; its vertical coordinate tells the resulting output. Projecting every included point onto an axis therefore collects exactly the relevant set. A hollow point excludes that point alone. Another point with the same x or y may keep that coordinate in a shadow. Arrows indicate continuation beyond the viewing window, so the edge of a picture is not automatically an endpoint. The answer describes the function's graph, not the camera frame.
4 The rule
Domain the graph's horizontal shadow on the x-axis.
Range its vertical shadow on the y-axis; include a coordinate if any included point reaches it.
The same idea, five ways
Say domain as horizontal shadow and range as vertical shadow.
An included graph point contributes its x-coordinate to the domain and its y-coordinate to the range.
- For the pictured original curve:
- Horizontal extent: x ≥ 6
- Domain: {x | x ≥ 6} = [6, ∞)
- Vertical extent: y ≤ 2
- Range: {y | y ≤ 2} = (−∞, 2]
- For the textbook graph in the ladder:
- Horizontal extent: −3 < x ≤ 1
- Domain: {x | −3 < x ≤ 1} = (−3, 1]
- Vertical extent: −4 ≤ y ≤ 0
- Range: {y | −4 ≤ y ≤ 0} = [−4, 0]
Two lights project the same curve onto two different walls.
The same idea, other ways
Drop every graph point onto the x-axis to gather the domain. Push every graph point sideways onto the y-axis to gather the range. The two shadows can have different limits.
Every graph point carries an address (input, output). If the graph contains (2, 4), then 2 belongs to the domain and 4 belongs to the range. One address supplies membership on both axes.
For y = on −2 < x ≤ 2, the left point (−2, 4) is absent. The right point (2, 4) is present. The input −2 is excluded, but the output 4 is still reached.
A window may show a line only between x = −3 and x = 3. If arrows continue past the frame, those marks are viewing limits, not domain endpoints. Ask what the graph does beyond the picture.
Part 1: A bounded graph with endpoints
A bounded graph fits between finite input limits or output limits. Inclusion belongs to a coordinate whenever the graph actually reaches it. A turn in the curve can make its lowest output occur in the middle rather than at an endpoint.
- Read all reached heights, including a high or low point inside the interval.
- Use brackets for reached endpoint coordinates.
- One missing point does not remove a coordinate reached somewhere else.
Reminder
Reminder: Coordinates, Solving for an input
- Coordinates. The point (2, 4) has input coordinate 2 and output coordinate 4.
- Solving for an input. y = −2x + 3 gives x = , an input for any chosen real y.
The same idea, five ways
Say inputs after negative two through two; outputs zero through four.
Removing (−2, 4) does not remove height 4 when (2, 4) still belongs.
- Domain: {x | −2 < x ≤ 2} = (−2, 2]
- 0 ≤ y ≤ 4
- Range: {y | 0 ≤ y ≤ 4} = [0, 4]
A fence marks finite positions a path may reach.
Worked example
A dipping curve that starts at a hollow dot
The graph shown is one unbroken curve, part of the parabola y = (x − 1 − 3. The horizontal axis is x and the vertical axis is y. Both are plain number lines with no units. The curve starts at a hollow dot at (−2, 6). It falls to its lowest point (1, −3), then rises without a break to a solid dot at (3, 1). There are no arrows on the graph. Find the domain and the range of the graph, and write each as an interval.
Show the steps and the answer
- Identify the axes. The horizontal x-axis is the input axis and the vertical y-axis is the output axis. Both carry plain numbers with no units, so the domain and the range will be sets of plain numbers.The domain collects inputs, so it is read along the x-axis. The range collects outputs, so it is read along the y-axis. Settling this first stops the two shadows from being swapped.
- Sweep a vertical line from left to right. The horizontal shadow begins at , where the hollow dot sits, and ends at , where the solid dot (3, 1) sits. The curve has no breaks in between, so the shadow covers every x from to 3. Whether each end belongs is settled when the dots are checked below.The domain is the graph's horizontal shadow on the x-axis: every x that has an included point of the graph directly above or below it. An unbroken curve casts an unbroken shadow.
- Sweep a horizontal line from bottom to top. The lowest height it meets is , at the turning point . From there the curve rises on both sides. On the right it climbs only to height 1 at the solid dot. On the left it climbs toward height 6 at the hollow dot. So the vertical shadow covers every height from up to 6. The point lies in the middle of the unbroken curve, so it is included and is reached. Whether 6 itself is reached is checked at the hollow dot below.The range is the graph's vertical shadow on the y-axis: every height reached by an included point. On a curve that dips, the lowest height can come from a turning point instead of an endpoint. Reading only the endpoint heights 6 and 1 would miss the dip to −3.
- Check the solid dot (3, 1). It is part of the graph, so is in the domain. Its height 1 already lies between and 6, so it adds nothing new to the range.A solid dot is an included point, so both of its coordinates are reached.
- Check the hollow dot for its input. The vertical line meets the graph only at this hollow dot, because the curve starts there. No other point has , so is not in the domain.A hollow dot excludes only that one point. Its x-value is lost only when no included point shares it, and here none does.
- Check the hollow dot for its output. Every other point of the piece is lower than 6. The left part falls away from 6 toward , and the right part climbs back only to 1. So no included point has height 6, and 6 is not in the range, even though every height just below 6 is reached.A height belongs to the range only if some included point reaches it. Height 6 belongs to the hollow dot alone.
- Look for arrows and gaps. Both ends of the curve finish at dots, there are no arrows, and there are no breaks or missing points between the ends.With no arrows, nothing continues beyond the drawn piece. With no gaps, each shadow is a single interval, so no union is needed.
- Write each interval from its smaller end to its larger end. Use a round bracket for an excluded end and a square bracket for an included end: domain , range . The numbers are exact, not estimates.Interval notation lists the smaller number first. The one hollow dot gives the domain a round bracket on the left, because −2 is the domain's smaller end. It gives the range a round bracket on the right, because 6 is the range's larger end. Every coordinate is stated exactly, so no 'approximately' label is needed; that label is only for readings estimated from a data graph.
Work to write
- x-axis = input, y-axis = output; plain numbers, no units
- Hollow dot (−2, 6): no other point has x = −2, so −2 is not in the domain
- Solid dot (3, 1): 3 is in the domain
- Domain: (−2, 3]
- Lowest point (1, −3) is on the curve, so −3 is in the range
- Height 6 occurs only at the hollow dot, so 6 is not in the range
- Range: [−3, 6)
- No arrows and no gaps: each shadow is one interval, and the values are exact
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Check the whole curve before removing an output height.
Part 2: An unbounded graph
Unbounded means the graph continues without a finite limit in the direction being discussed. Arrows are a promise of continuation. They do not turn infinity into a point. A nonhorizontal line reaches arbitrarily large positive and negative heights as you travel along it.
- Infinity always takes a parenthesis.
- A viewing window is not an input restriction.
- To check a line's full range, solve for the input that produces an arbitrary output.
Reminder
Reminder: Coordinates, Solving for an input
- Coordinates. The point (2, 4) has input coordinate 2 and output coordinate 4.
- Solving for an input. y = −2x + 3 gives x = , an input for any chosen real y.
The same idea, five ways
Say the line continues without an input or output limit.
The stated continuation extends the line beyond the viewing frame.
- Domain: {x | x is real} = (−∞, ∞)
- Range: {y | y is real} = (−∞, ∞)
A long road continues beyond the edge of a photograph.
Worked example
A viewing window does not stop a line
The picture shows part of y = −2x + 3. Its caption states that the line continues in both directions, and no input restriction is supplied. Find domain and range. This asks which input positions and output heights belong to the entire line.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Keep every real x.Multiplication and addition are defined for every real input, and the caption states that the line continues.
- To reach a chosen output y, solve .Finding an input for every proposed output checks the entire range.
- Subtract 3 and divide by −2: .The number −2 multiplying x is nonzero, so dividing by it gives a real input for every real y.
- Write all real numbers for both sets.Neither input positions nor output heights stop at the window's edges.
- Domain: (−∞, ∞).
- Range: (−∞, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Distinguish an arrow from an endpoint marker.
Part 3: A graph of real data
A graph from measurements has labels and units as well as a curve. Read the years on one axis and the measured quantity on the other. If the curve falls between grid lines, say that your limits are approximate instead of treating a visual estimate as an exact number.
- The oil graph's visible inputs run from about 1973 through 2008.
- Its output unit is thousands of barrels of oil per day.
- The visible range is approximately [180, 2010] in that unit.
- A continuous plotted model fills a time span; a table listing separate yearly observations gives only those listed years.
Visible years: [1973, 2008]
Production: about [180, 2010]
Output unit: thousand barrels per day
Reminder
Reminder: Coordinates, Solving for an input
- Coordinates. The point (2, 4) has input coordinate 2 and output coordinate 4.
- Solving for an input. y = −2x + 3 gives x = , an input for any chosen real y.
The same idea, five ways
Say the visible years and production levels with their units.
The oil graph describes a shown time span and approximately read production levels.
- 1973 ≤ t ≤ 2008
- Visible domain: [1973, 2008]
- 180 ≤ b ≤ 2010, approximately
- Visible range: approximately [180, 2010] thousand barrels per day
Read a measuring instrument's units before interpreting its marks.
Visible years: [1973, 2008]
Production: about [180, 2010]
Output unit: thousand barrels per day
Worked example
Textbook: a visible oil-production graph
For the portion of the textbook oil-production graph shown, the horizontal extent is about 1973 through 2008 and the vertical extent is about 180 through 2010 thousand barrels per day. State the visible domain and range with units.
Visible domain: [1973, 2008], in years.
Visible range: approximately [180, 2010], in thousand barrels per day.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Identify the input as year and the output as oil production.The horizontal axis records time, and the vertical axis records thousands of barrels per day.
- Write [1973, 2008] for the visible domain.These are the first and last years in the portion being described, with endpoints included in the displayed model.
- Write approximately [180, 2010] for the range.These are the estimated smallest and largest plotted production levels, not output years.
- Retain thousand barrels per day as the output unit.180 on this vertical axis represents about 180000 barrels per day, not 180 barrels per day.
- Limit the claim to the shown portion of the graph.The supplied picture does not establish the behavior outside its displayed time span.
- Visible domain: [1973, 2008], in years.
- Visible range: approximately [180, 2010], in thousand barrels per day.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write the unit immediately beside every approximate limit.
5 How
- Identify the x-axis as the input axis and the y-axis as the output axis; read their units.
- Sweep left to right and collect all input positions covered by included graph points.
- Sweep bottom to top and collect all reached output heights.
- Check boundary dots. A hollow point excludes only that point, so look for other points sharing its coordinate.
- Follow arrows beyond the visible window, and preserve genuine gaps with unions.
- Write each interval from smaller to larger and label estimates from a data graph as approximate.
Read the graph's two shadows
- Identify the x-axis as the input axis and the y-axis as the output axis; read their units.
- Sweep left to right and collect all input positions covered by included graph points.
- Sweep bottom to top and collect all reached output heights.
- Check boundary dots. A hollow point excludes only that point, so look for other points sharing its coordinate.
- Follow arrows beyond the visible window, and preserve genuine gaps with unions.
- Write each interval from smaller to larger and label estimates from a data graph as approximate.
6 Worked example
Worked example
Read a starting point and two directions
Read the pictured curve’s domain and range. It has an included start at (6, 2) and continues rightward and downward without bound. You are collecting its horizontal input positions and vertical output heights.
Show the steps and the answer
- Locate the start at input 6 and output 2.The first coordinate is horizontal input, and the second is vertical output.
- Project the entire curve onto the input axis: it begins at 6 and continues through every larger input.The curve continues rightward and has no gap in its horizontal shadow.
- Include input 6 and write .The starting point belongs, so the domain begins with a bracket.
- Project onto the output axis: the highest height is 2 and the curve continues through every smaller height.The curve moves downward without a break or a lowest height.
- Write for the range.Height 2 belongs, smaller heights continue without limit, and limits are written in increasing order.
- Domain: [6, ∞).
- Range: (−∞, 2].
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Read a starting point and two directions
Read the pictured curve’s domain and range. It has an included start at (6, 2) and continues rightward and downward without bound. You are collecting its horizontal input positions and vertical output heights.
Show the steps and the answer
- Locate the start at input 6 and output 2.The first coordinate is horizontal input, and the second is vertical output.
- Project the entire curve onto the input axis: it begins at 6 and continues through every larger input.The curve continues rightward and has no gap in its horizontal shadow.
- Include input 6 and write .The starting point belongs, so the domain begins with a bracket.
- Project onto the output axis: the highest height is 2 and the curve continues through every smaller height.The curve moves downward without a break or a lowest height.
- Write for the range.Height 2 belongs, smaller heights continue without limit, and limits are written in increasing order.
- Domain: [6, ∞).
- Range: (−∞, 2].
Rung 2 of 5
Textbook: read the full horizontal and vertical extents
The textbook graph has a hollow left endpoint at x = −3 and an included right endpoint at x = 1. It covers every x between them, reaches y = −4 and y = 0, and covers every height between them. Find domain and range. This asks which input positions and output heights belong, including the endpoint decisions.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Read the horizontal extent from through 1.The x-coordinate is the input, so the horizontal shadow gives the domain.
- Exclude , include 1, and write .The left endpoint is hollow and no other point has x = −3. The right endpoint is included. Input endpoints and output endpoints are separate decisions.
- Read the vertical extent from through 0.The y-coordinate is the output, and the smaller height must be written first.
- Include both reached heights and write .Every height between them is reached, including the endpoints.
- Domain: (−3, 1].
- Range: [−4, 0].
Rung 3 of 5
Shadows of an arch with one hollow end
A graph is one unbroken arch that is part of the parabola y = −(x − 2 + 5. It is drawn on a grid with 1 unit per square on both axes. The arch starts at a hollow dot at (−1, −4), rises to its highest point (2, 5), and falls to a solid dot at (5, −4). It has no arrows and no breaks. Use the graph's shadows to write its domain and its range in interval notation.
Show the steps and the answer
- Name the axes. The horizontal x-axis is the input axis and the vertical y-axis is the output axis. Each is marked 1 unit per grid square.The domain is read on the input axis and the range on the output axis, so we need to know where each shadow lands and what its marks count.
- Sweep left to right. The arch runs from its left end dot at to its right end dot at and covers every x between them without a gap. So the horizontal shadow stretches from to 5.The domain is every input that has a graph point directly above or below it. That set is the shadow the graph casts onto the x-axis.
- Sweep bottom to top. The lowest marked height is , shared by both end dots. The highest is 5, at the top point (2, 5). The curve passes through every height between them, so the vertical shadow stretches from to 5.The range is every output height the graph reaches. That set is the shadow the graph casts sideways onto the y-axis.
- Check the boundary dots. No other point of the arch sits on the line , so the hollow dot leaves out of the domain. Height is also reached by the solid dot , so stays in the range. The solid dot puts 5 in the domain, and the included top point (2, 5) puts 5 in the range.A hollow dot removes only its own point, not its coordinates. A coordinate drops out of a shadow only when no included point shares it.
- Look for arrows and gaps. There are none: the arch stops at its two end dots and has no breaks. So each shadow is a single interval and no union is needed.Arrows would carry a shadow past the visible window, and a genuine break would split a shadow into pieces joined by ∪. This graph has neither.
- Write each interval from smaller to larger. Use a round bracket for an excluded end and a square bracket for an included end: domain , range . Both ends come from exact labeled points, not readings off a data graph, so no 'approximately' label is needed.Interval notation lists the left end first, and the bracket shape records whether each end belongs to the set.
Work to write
- Domain: (−1, 5]
- Range: [−4, 5]
- −1 is excluded from the domain: the only point at x = −1 is the hollow dot (−1, −4)
- −4 is included in the range: the solid dot (5, −4) reaches height −4
- 5 is included in both: the solid dot at x = 5 and the top point (2, 5)
Rung 4 of 5
A viewing window does not stop a line
The picture shows part of y = −2x + 3. Its caption states that the line continues in both directions, and no input restriction is supplied. Find domain and range. This asks which input positions and output heights belong to the entire line.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Keep every real x.Multiplication and addition are defined for every real input, and the caption states that the line continues.
- To reach a chosen output y, solve .Finding an input for every proposed output checks the entire range.
- Subtract 3 and divide by −2: .The number −2 multiplying x is nonzero, so dividing by it gives a real input for every real y.
- Write all real numbers for both sets.Neither input positions nor output heights stop at the window's edges.
- Domain: (−∞, ∞).
- Range: (−∞, ∞).
Rung 5 of 5
Textbook: a visible oil-production graph
For the portion of the textbook oil-production graph shown, the horizontal extent is about 1973 through 2008 and the vertical extent is about 180 through 2010 thousand barrels per day. State the visible domain and range with units.
Visible domain: [1973, 2008], in years.
Visible range: approximately [180, 2010], in thousand barrels per day.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Identify the input as year and the output as oil production.The horizontal axis records time, and the vertical axis records thousands of barrels per day.
- Write [1973, 2008] for the visible domain.These are the first and last years in the portion being described, with endpoints included in the displayed model.
- Write approximately [180, 2010] for the range.These are the estimated smallest and largest plotted production levels, not output years.
- Retain thousand barrels per day as the output unit.180 on this vertical axis represents about 180000 barrels per day, not 180 barrels per day.
- Limit the claim to the shown portion of the graph.The supplied picture does not establish the behavior outside its displayed time span.
- Visible domain: [1973, 2008], in years.
- Visible range: approximately [180, 2010], in thousand barrels per day.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Label the axes input and output before reading their shadows.
- Read the bottom height first when writing the range.
- Look for another included point at a hollow point's height before excluding that height.
7 The trap
Deleting an output height because one point at that height is hollow. Look across the whole graph. A different included point can still put that height in the range.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.
Lesson 6 of 10
The first five toolkit functions
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Think of a toolkit function as a familiar tool in your drawer. You recognize what a hammer does before you pick it up. In the same way, you can recognize what a basic formula does before you calculate many points. A constant function always returns one fixed number. An identity function returns the number you entered. An absolute value function reports distance from zero. A quadratic function squares the input, and a cubic function cubes it. Each has a familiar picture. You still ask two separate questions: which numbers can go in, and which numbers can actually come out? The picture helps you remember the arithmetic behind those answers.
2 Picture it
Reminder
Reminder: Substitution and parentheses, Principal square root and cube root
- Substitution and parentheses. Replace x with the whole input: at x = −4, becomes (−4, not −.
- Principal square root and cube root. = 3 is the nonnegative square root. ∛(−8) = −2 because (−2 = −8.
3 Why
All five formulas accept every real input because copying, measuring distance, multiplying, and returning a constant never require division by zero or an even root of a negative number. Their outputs differ. Squaring and distance cannot produce a negative output, while cubing preserves a negative sign. To establish a full range, go beyond ruling out bad outputs. Choose any proposed allowed output and explain how an input produces it.
4 The rule
For the toolkit formulas c, x, |x|, , and , the domain is .
Their ranges are {c}, , and , respectively.
The same idea, five ways
A toolkit function is a familiar basic rule with a familiar shape.
Recognizing a basic formula helps you explain both its allowed inputs and its attainable outputs.
- f(x) = c
- f(x) = x
- f(x) = |x|
- Domain for these five: (−∞, ∞)
You recognize a hammer, a screwdriver, or a wrench before using it. You learn basic function shapes the same way.
The same nine graphs again, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.
The same idea, other ways
A horizontal line has one output height. The identity line reaches every height. The absolute value V and the quadratic bowl stay on or above zero. The cubic curve extends downward in one direction and upward in the other.
The same nine graphs a third time, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.
For the identity function, to get 13, enter 13. For the absolute value function, to get 13, enter 13 or −13. For the quadratic function, to get 13, enter . For the cubic function, to get 13, enter . The same choices work with any permitted output, so the ranges contain more than the values in a short sample.
Part 1: Constant function
Picture a parking lot charging one fixed fee, whatever number you enter on a practice calculator. The calculator always returns 6. A constant function works that way: it ignores changes in the input and returns one fixed output. This mathematical version accepts negative numbers and fractions too. The parking story is a memory picture, not an extra restriction on the formula.
- Formula: f(x) = c, where c is one fixed real number. Here c = 6.
- Shape: a horizontal line at height c.
- Domain: (−∞, ∞), because no calculation can fail for an input.
- Range: {c}, or [c, c]. Only c comes out, and it is attained at every input, for example x = 0.
Reminder
Reminder: Substitution and parentheses, Principal square root and cube root
- Substitution and parentheses. Replace x with the whole input: at x = −4, becomes (−4, not −.
- Principal square root and cube root. = 3 is the nonnegative square root. ∛(−8) = −2 because (−2 = −8.
The same idea, five ways
Say return the same fixed number every time.
The constant function returns 6 for every real input.
- f(x) = 6
- Domain: {x | x is real} = (−∞, ∞)
- Range: {6} = [6, 6]
- Graph words: horizontal line at height 6
A practice fee calculator that always displays the same fixed charge.
Worked example
A constant with zero and a fractional input
For f(x) = 6, find f(0), f(−), the domain, and the range. You are checking two inputs and then identifying all possible inputs and outputs.
Show the steps and the answer
- .The rule returns 6 without using the input.
- .A fractional or negative input does not change a constant output.
- Write domain .Returning 6 is defined for every real input.
- Write range {6}, or [6, 6]. Input 0 already produces 6, and no input produces any other number.A range lists outputs actually attained. The closed interval beginning and ending at 6 contains exactly that one number.
- f(0) = 6
- Domain: (−∞, ∞)
- Range: {6} = [6, 6]
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For a constant, ask what single height the line has. Use braces for that one-number range.
Part 2: Identity function
Think of a mirror that returns the number you show it without changing anything. Show it 0, and you get 0. Show it a negative fraction, and you get the same negative fraction. The identity function is the copying rule f(x) = x. Its domain and range match because every real number is both a usable input and the output of itself.
- Formula: f(x) = x.
- Shape: the straight diagonal line through (0, 0), rising one unit for each one-unit move right.
- Domain: (−∞, ∞), because copying any real number is permitted.
- Range: (−∞, ∞). For any desired real output y, input x = y produces that output.
Reminder
Reminder: Substitution and parentheses, Principal square root and cube root
- Substitution and parentheses. Replace x with the whole input: at x = −4, becomes (−4, not −.
- Principal square root and cube root. = 3 is the nonnegative square root. ∛(−8) = −2 because (−2 = −8.
The same idea, five ways
Say copy the input unchanged.
The identity function returns each real number itself.
- f(x) = x
- y = x
- Domain and range: (−∞, ∞)
- Graph words: diagonal line through (0, 0)
A mirror returns the number you show it.
Worked example
Copy zero and a negative fraction
For f(x) = x, find f(0), f(−), the domain, and the range. You are asking what the copying rule returns and what numbers it can return overall.
Show the steps and the answer
- .Substituting 0 for x leaves 0.
- .The identity rule keeps the whole input unchanged.
- The domain is .Copying does not divide or take a root, so every real input works.
- The range is . Given any real y, choose ; then .This produces every proposed real output, rather than only a few sampled outputs.
- f(0) = 0
- Domain: (−∞, ∞)
- Range: (−∞, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For identity, write matching coordinates: (input, the same input).
Part 3: Absolute value function
Imagine you walk left or right from home, which is zero on a number line. Your address records direction, but your distance from home does not. Both 3 steps left and 3 steps right put you 3 steps away. The absolute value function returns that distance. The words magnitude and modulus also describe this size without the sign. Distance can be zero or positive, but never negative.
- Formula: f(x) = |x|. If x ≥ 0, |x| = x; if x < 0, |x| = −x.
- Shape: a V with its lowest point at (0, 0).
- Domain: (−∞, ∞), because every real position has a distance from zero.
- Range: [0, ∞). For any y ≥ 0, input x = y has distance |y| = y. Thus every nonnegative height, including zero, is attained.
Reminder
Reminder: Opposite of a negative
- Opposite of a negative. Reversing a negative twice restores a positive: −(−3) = 3.
The same idea, five ways
Say the distance from zero.
Absolute value records size without direction, also called magnitude or modulus.
- f(x) = |x|
- |x| = x if x ≥ 0
- |x| = −x if x < 0
- Range: {y | y ≥ 0} = [0, ∞)
- Graph words: V with bottom (0, 0)
Walking left or right from home changes direction but not the distance you traveled.
Worked example
Distance of zero and a negative fraction
For f(x) = |x|, find f(0), f(−), the domain, and the range. You are finding distances from zero, not keeping the original directions.
Show the steps and the answer
- .Home is zero distance from itself.
- .The input lies units left of zero, and distance records a nonnegative size.
- Write domain .Every real number has a distance from zero.
- Write range . For any , choosing gives .No distance is negative, and the chosen input reaches every proposed nonnegative distance.
- f(0) = 0
- Domain: (−∞, ∞)
- Range: [0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Absolute value asks how far, not which way. Include zero because |0| = 0.
Part 4: Quadratic function
Picture a square tile whose side has length 3. Its area is 3 × 3 = 9. The toolkit quadratic function makes the same multiplication, f(x) = . A negative input is allowed in the mathematical formula, even though a physical side length is not negative. Two negative factors still give a positive output. The graph is a bowl, called a parabola, with its lowest point at zero.
- Formula: the toolkit quadratic function is f(x) = .
- Shape: an upward-opening bowl, called a parabola, with lowest point (0, 0).
- Domain: (−∞, ∞), because every real number can be squared.
- Range: [0, ∞). A square cannot be negative. For any y ≥ 0, choose x = ; then = y. Zero and every positive height are therefore attained.
Reminder
Reminder: Squaring a fraction
- Squaring a fraction. ( = = ; square both the top and the bottom.
The same idea, five ways
Say multiply the input by itself.
The toolkit quadratic accepts all real inputs and produces all nonnegative outputs.
- y ≥ 0
- Range: {y | y ≥ 0} = [0, ∞)
- Graph words: parabola with bottom (0, 0)
A square tile's area is its side length multiplied by itself.
Worked example
A square at zero and a negative fraction
For f(x) = , find f(0), f(−), the domain, and the range. You are multiplying each input by itself before describing every possible output.
Show the steps and the answer
- .The square of zero is zero, so the lowest output is actually included.
- .Two negative factors give a positive product. Fractions multiply top times top and bottom times bottom: 7 × 7 = 49 and 2 × 2 = 4.
- The domain is .Squaring is defined for all real inputs, including fractions and negatives.
- The range is . For any gives .No square is negative, and the square-root choice reaches every output at or above zero.
- f(0) = 0
- Domain: (−∞, ∞)
- Range: [0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- A squared input includes its sign. Put a negative substitution inside parentheses before multiplying.
Part 5: Cubic function
Imagine a cube-shaped box. A side of 2 gives volume 2 × 2 × 2 = 8. The toolkit cubic function performs that three-factor multiplication, f(x) = . Its mathematical inputs can also be negative. A negative input keeps a negative output because the first two negative factors make a positive and the third makes it negative again. The graph bends through zero, extending down to the left and up to the right.
- Formula: the toolkit cubic function is f(x) = .
- Shape: a rising curve through (0, 0), reaching arbitrarily negative and arbitrarily positive heights.
- Domain: (−∞, ∞), because every real number can be cubed.
- Range: (−∞, ∞). For any real y, choose x = . Cubing that input returns y, including negative targets.
- Cubing keeps input order: if a < b, then < . For nonnegative inputs, larger factors give a larger cube. For two negative inputs, their positive distances have the reverse order and negating those cubes restores the input order. If the inputs are on opposite sides of zero, their cubes are too.
Reminder
Reminder: Substitution and parentheses, Principal square root and cube root
- Substitution and parentheses. Replace x with the whole input: at x = −4, becomes (−4, not −.
- Principal square root and cube root. = 3 is the nonnegative square root. ∛(−8) = −2 because (−2 = −8.
The same idea, five ways
Say multiply three copies of the input.
The toolkit cubic accepts and produces every real number.
- Domain and range: (−∞, ∞)
- Graph words: curve through zero extending downward and upward
A cube-shaped box's volume uses three equal side factors; the formula also allows signed numbers.
Worked example
Cube zero and a negative fraction
For f(x) = , find f(0), f(−), the domain, and the range. You are multiplying each input three times and then identifying all attainable outputs.
Show the steps and the answer
- .Multiplying zero by itself three times still gives zero.
- .Cubing means three copies of the entire input.
- The first two factors give , and .Two negatives make a positive, the remaining negative makes the product negative, and fractions multiply straight across.
- Both domain and range are . Every real input can be cubed, and every real output y is produced by .Cube roots undo cubes for negative, zero, and positive real numbers.
- f(0) = 0
- Domain: (−∞, ∞)
- Range: (−∞, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Count factors: two copies erase a negative sign; three copies keep it.
5 How
- Name the toolkit formula and say what its calculation does.
- Check whether that calculation permits every real input.
- Identify outputs the calculation cannot produce, including any sign restriction.
- Show that every output in the proposed range has an input that produces it.
- Write domain and range separately, and use the graph as a memory cue.
Explain a toolkit function's domain and range
- Name the calculation.
- Check all real inputs for arithmetic restrictions.
- Explain which output signs and zero values are possible.
- Produce an input for any proposed allowed output.
- Write the two sets separately and compare with the shape.
6 Worked example
Worked example
The same negative input in a square and a cube
Let p(x) = and q(x) = . Find p(−4) and q(−4), then state each function's full domain and range. The input is −4; you are finding its two outputs and the complete sets of allowed inputs and attainable outputs.
Show the steps and the answer
- .The parentheses put the negative sign inside the square. Two negative factors give a positive product.
- .A cube has three factors, so one negative factor remains after the first pair makes a positive product.
- Both domains are .Every real number can be multiplied by itself two or three times.
- The range of p is : a square is nonnegative, and for any , input gives .The square root supplies an input for every proposed nonnegative output, including zero.
- The range of q is : for any real y, input gives .A real cube root exists for negative, zero, and positive numbers.
- p domain: (−∞, ∞)
- p range: [0, ∞)
- q domain: (−∞, ∞)
- q range: (−∞, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Remember the shape together with the reason: distance and a square stay nonnegative; a cube can keep a negative sign.
- After writing a range, finish the sentence: every output in it is possible because I can choose this input.
7 The trap
Giving every unrestricted formula an all-real range. An unrestricted domain tells you about inputs. It does not make negative outputs possible for a square or a distance.
Lesson 7 of 10
Reciprocals and roots complete the toolkit
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Picture a recipe card with two kinds of jobs. One job shares an amount by division. Another finds the side length of a square or a cube when you know its area or volume. The last four toolkit functions do those jobs: reciprocal, reciprocal squared, square root, and cube root. Division needs a nonzero amount on the bottom. A real square root needs a nonnegative number inside it and returns the nonnegative root. A cube root can accept a negative number and return a negative number. Check both the input permission and the output possibilities. A rule can exclude the same number from both sets, but for different reasons.
2 Picture it
Reminder
Reminder: Reciprocal of a fraction, Positive and nonnegative
- Reciprocal of a fraction. Dividing 1 by a nonzero fraction flips it: 1 ÷ = .
- Positive and nonnegative. Positive means > 0; nonnegative means ≥ 0. The difference decides whether zero gets a bracket.
3 Why
For a reciprocal, zero cannot be an input because division by zero is undefined. Zero cannot be an output either: if = 0, multiplying by an allowed x would give 1 = 0. Squaring a nonzero denominator makes it positive, so reciprocal squared outputs are strictly positive. Square root outputs are nonnegative by the principal-root convention. Cube roots preserve sign because cubing preserves sign. Working backward from a target output establishes the full range of each function.
4 The rule
For : and .
For : and y > 0.
For : and . For : x and y may be any real numbers.
The same idea, five ways
Reciprocals divide, and roots undo powers. Check what each operation allows.
A denominator excludes zero, a principal square root requires nonnegative inside and output values, and a cube root accepts either sign.
- Reciprocal: , x ≠ 0, y ≠ 0
- Reciprocal squared: , x ≠ 0, y > 0
- Square root: , x ≥ 0, y ≥ 0
- Cube root: , domain and range (−∞, ∞)
Sharing a batch uses division; finding a square or cube's side uses a root.
The same nine graphs again, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.
The same idea, other ways
In , input zero makes the division fail. Output zero would require 1 to equal zero after multiplication, which cannot happen. Domain and range both omit zero, but the explanations are different.
To produce output 4, uses input , uses , uses 16, and uses 64. A desired output tells you which operation to undo.
| Toolkit function | Formula | Shape | Domain | Range |
|---|---|---|---|---|
| Constant function | c | horizontal line | {c}, or [c, c] | |
| Identity function | x | diagonal line through zero | ||
| Absolute value function | |x| | V with bottom at zero | [0, ∞) | |
| Quadratic function | bowl with bottom at zero | [0, ∞) | ||
| Cubic function | curve from negative to positive heights | |||
| Reciprocal function | two branches with matching input and output signs | |||
| Reciprocal squared function | two branches above zero | (0, ∞) | ||
| Square root function | curve starting at zero, going right and up | [0, ∞) | [0, ∞) | |
| Cube root function | curve through zero with negative and positive heights |
Part 1: Reciprocal function
Think of dividing one whole batch into an amount x. The reciprocal function returns 1 divided by x, written . A larger positive denominator gives a smaller positive share. The mathematical rule also allows negative denominators, which give negative answers. It cannot divide by zero. Its graph has two separated branches, one with positive inputs and outputs and one with negative inputs and outputs.
- Formula: f(x) = .
- Shape: two branches, with x and y having the same sign; neither branch reaches either axis.
- Domain: (−∞, 0) ∪ (0, ∞), because the denominator cannot be zero.
- Range: (−∞, 0) ∪ (0, ∞). Zero would require 1 = 0 after multiplying by x. Every nonzero output y is attained by the nonzero input x = .
Reminder
Reminder: Reciprocal of a fraction, Positive and nonnegative
- Reciprocal of a fraction. Dividing 1 by a nonzero fraction flips it: 1 ÷ = .
- Positive and nonnegative. Positive means > 0; nonnegative means ≥ 0. The difference decides whether zero gets a bracket.
The same idea, five ways
Say one divided by the input.
Reciprocal input and output both exclude zero.
- x ≠ 0
- y ≠ 0
- Domain and range: (−∞, 0) ∪ (0, ∞)
One whole batch divided by a nonzero sharing amount.
Worked example
Reciprocal of one and a negative fraction
For f(x) = , find f(1), f(−), the domain, and the range. You are dividing 1 by each supplied input, then describing every permitted input and attainable output.
Show the steps and the answer
- .One divided by one is one.
- .Dividing by a nonzero fraction multiplies by its flip, and the negative sign stays.
- Write domain .All real inputs work except the input that makes the denominator zero.
- Zero is not an output: would imply .Multiplying an equation by a permitted nonzero denominator cannot change its truth.
- For any , choose . Then . Write range .The chosen input is nonzero and produces every nonzero target output.
- f(1) = 1
- Domain: (−∞, 0) ∪ (0, ∞)
- Range: (−∞, 0) ∪ (0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For a reciprocal, input × output must equal 1. That checks the sign and the fraction.
Part 2: Reciprocal squared function
Use the sharing calculation again, but square the input before putting it on the bottom. The reciprocal squared function is . Whether the original input is positive or negative, its nonzero square is positive. So every output is positive. At input zero, squaring still gives zero, and division fails. Its two graph branches both sit above the horizontal axis because neither a negative output nor output zero can occur.
- Formula: f(x) = .
- Shape: two matching branches above zero, rising near input zero and approaching output zero for large input size.
- Domain: (−∞, 0) ∪ (0, ∞), because = 0 exactly when x = 0.
- Range: (0, ∞). Each denominator is positive and the numerator is 1. For any y > 0, choose x = ; then = , so = y.
Reminder
Reminder: Reciprocal of a fraction, Positive and nonnegative
- Reciprocal of a fraction. Dividing 1 by a nonzero fraction flips it: 1 ÷ = .
- Positive and nonnegative. Positive means > 0; nonnegative means ≥ 0. The difference decides whether zero gets a bracket.
The same idea, five ways
Say square the input, then take its reciprocal.
Reciprocal squared outputs are strictly positive.
- x ≠ 0
- y > 0
- Domain: (−∞, 0) ∪ (0, ∞)
- Range: {y | y > 0} = (0, ∞)
A sharing machine squares its divisor before dividing, so the divisor's original sign disappears.
Worked example
Square the denominator before dividing
For f(x) = , find f(1), f(−), the domain, and the range. You are squaring the supplied input first and then taking its reciprocal.
Show the steps and the answer
- .The denominator is the square of 1, which is 1.
- .Square the numerator and denominator; two negative factors give a positive square.
- .The reciprocal of a nonzero fraction is its flip.
- Write domain .The squared denominator is zero only at x = 0.
- Write range . For any y > 0, gives and then .The output must be positive and cannot be zero, and this input reaches every positive target.
- f(1) = 1
- Domain: (−∞, 0) ∪ (0, ∞)
- Range: (0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Put parentheses around a negative input in the denominator. Compute the square on a separate line.
Part 3: Square root function
Suppose a square tile has area 16. Its side length is 4, the nonnegative number whose square is 16. The square root function makes that choice: returns the principal square root, meaning the nonnegative root. Although both 4 and −4 square to 16, returns only 4. This convention gives each input one output. A square cannot have negative real area, so negative inputs have no real square root.
- Formula: f(x) = , the principal square root.
- Shape: a curve starting at (0, 0) and extending right and upward.
- Domain: [0, ∞), because no real square is negative and zero is allowed.
- Range: [0, ∞). The principal-root convention requires nonnegative outputs. For any y ≥ 0, input x = gives = = y. Thus every nonnegative output is attained.
- A principal square root preserves order on nonnegative inside values. For example, an inside greater than 4 has root greater than 2: a nonnegative output at most 2 would square to at most 4 and could not produce that inside.
Reminder
Reminder: Reciprocal of a fraction, Positive and nonnegative
- Reciprocal of a fraction. Dividing 1 by a nonzero fraction flips it: 1 ÷ = .
- Positive and nonnegative. Positive means > 0; nonnegative means ≥ 0. The difference decides whether zero gets a bracket.
The same idea, five ways
Say the nonnegative number whose square is the input.
The principal square-root convention selects one nonnegative output.
- x ≥ 0
- y ≥ 0
- Domain and range: [0, ∞)
Find a square tile's nonnegative side length from its area.
Worked example
Principal roots at zero and a fraction
For f(x) = , find f(0), f(), the domain, and the range. You are selecting the nonnegative number whose square equals each input.
Show the steps and the answer
- .Zero is nonnegative and = 0.
- .The square of is , and is nonnegative.
- Write domain .Zero and positive numbers have real principal square roots; negative numbers do not.
- Write range . For any , choose ; then .The square-root symbol returns only nonnegative values, and every such value has a usable squared input.
- f(0) = 0
- Domain: [0, ∞)
- Range: [0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Check a square root twice: square it to recover the input, then check that the output is nonnegative.
Part 4: Cube root function
Picture finding the side of a cube-shaped box when you know its volume. The cube root undoes the three-factor multiplication. In the mathematical rule, a negative input works too: the cube of −2 is −8, so the cube root of −8 is −2. Unlike squaring, cubing keeps the sign. The cube root function therefore accepts every real input and can produce every real output, including negative numbers and zero.
- Formula: f(x) = .
- Shape: a rising curve through (0, 0), extending to negative inputs and outputs on the left and positive inputs and outputs on the right.
- Domain: (−∞, ∞), because every real number has a real cube root.
- Range: (−∞, ∞). For any real y, choose x = ; then = y.
- It is an odd function: f(−x) = −f(x). Opposite inputs have opposite outputs because (−y = −.
Reminder
Reminder: Reciprocal of a fraction, Positive and nonnegative
- Reciprocal of a fraction. Dividing 1 by a nonzero fraction flips it: 1 ÷ = .
- Positive and nonnegative. Positive means > 0; nonnegative means ≥ 0. The difference decides whether zero gets a bracket.
The same idea, five ways
Say the real number whose cube is the input.
Cube roots allow either sign, and opposite inputs have opposite outputs.
- Domain and range: (−∞, ∞)
Undo the three equal factors of a cube, keeping a negative direction when the signed input has one.
Worked example
Cube roots at zero and a negative fraction
For f(x) = , find f(0), f(−), the domain, and the range. Explain how the negative input fits the odd-function rule. You are finding the real number that cubes to each input.
Show the steps and the answer
- .
- .Three negative numerator factors keep a negative sign; the cubes of 5 and 4 are 125 and 64.
- Therefore .A cube root is the real number whose cube equals the input.
- Write domain and range . For any proposed real output y, input produces .Cubing and cube-rooting work with negative, zero, and positive real numbers.
- , so .The odd-function rule says that opposite inputs produce opposite outputs.
- f(0) = 0
- Domain: (−∞, ∞)
- Range: (−∞, ∞)
- Odd-function check: f(−) = −f()
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Odd root, original sign. A cube root undoes a cube without losing a negative sign.
5 How
- Identify whether you are dividing, squaring a denominator, taking a square root, or taking a cube root.
- Find the domain by checking denominators and the number under an even root.
- Determine the sign and possible zero value of the output.
- Supply an input for every proposed allowed output by undoing the calculation.
- Write domain and range on separate lines and compare the formula with its toolkit shape.
Choose the reciprocal or root restrictions
- Identify the actual operation and its order.
- Exclude zero denominators and negative even-root insides.
- Determine whether output zero and each sign are possible.
- Undo the formula to reach any claimed output.
- Write the full domain and range.
6 Worked example
Worked example
Compare reciprocal, reciprocal squared, and two roots
Evaluate r(−3) for r(x) = , s(−3) for s(x) = , t(9) for t(x) = , and u(−125) for u(x) = . Then state the domain and range of each. The inputs are supplied; first find the outputs, then describe the full sets.
Show the steps and the answer
The same nine graphs a third time, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.
- We need all permitted inputs and all outputs they actually produce.Translate the question into what must be found before calculating.
- .A positive number divided by a negative number is negative, and the denominator is not zero.
- .Square the whole denominator first. Two negative factors make 9, so this reciprocal is positive.
- .The principal square root chooses the nonnegative number whose square is 9.
- .(−5) × (−5) × (−5) = −125, so a negative cube root is real.
- For r, omit input 0 and output 0. Every comes from .Division cannot have a zero denominator, and substituting this nonzero x into gives y.
- For s, omit input 0 and require output y > 0. Every positive y comes from .Squaring this nonzero input gives , and taking its reciprocal gives y.
- For t, domain and range are . Every comes from . For u, domain and range are ; every real y comes from .The indicated powers undo their matching roots. The principal square root returns y only when y is nonnegative, whereas cubing and cube-rooting preserve every real sign.
- t(9) = 3
- r domain: (−∞, 0) ∪ (0, ∞)
- r range: (−∞, 0) ∪ (0, ∞)
- s domain: (−∞, 0) ∪ (0, ∞)
- s range: (0, ∞)
- t domain: [0, ∞)
- t range: [0, ∞)
- u domain: (−∞, ∞)
- u range: (−∞, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Read the denominator before deciding the sign: is negative; is positive.
- Square root means the principal square root. It includes output zero, but a root placed in a denominator may have to exclude input zero.
7 The trap
Treating all roots as square roots, or all reciprocals as positive. An odd root accepts negative inputs. A reciprocal can be negative; reciprocal squared is positive because its denominator is squared.
Lesson 8 of 10
Use toolkit behavior to find a changed function's range
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Imagine relabeling the buttons on a familiar machine and then changing what comes out. If a square-root machine receives x + 4 instead of x, its inside first reaches zero when your button says −4. That is why its graph starts farther left. If you then double every output, zero stays zero while other heights double. You can understand these changes by doing the arithmetic in order. First check which original inputs survive the calculation. Then ask which final outputs can be reached. A familiar graph helps you see the behavior, but a few plotted points cannot guarantee that every height in an interval occurs.
2 Picture it
Reminder
Reminder: Principal square root, Solving backward, Multiplying an inequality by a negative
- Principal square root. = |z|. You may replace it with z only when you already know z ≥ 0.
- Solving backward. Undo outside operations first: if y = 2t + 3, subtract 3 and divide by 2 to get t = .
- Multiplying an inequality by a negative. A negative multiplier reverses order: t ≥ 0 implies −3t ≤ 0.
3 Why
Horizontal changes act on the number fed into the toolkit rule. Setting that inside number to zero locates a square-root start or a reciprocal input that would make its denominator zero. Outside multiplication and addition act on outputs instead. To prove a range, either solve backward for a valid input or explain why a continuous graph crosses every proposed height. Continuous means the graph has no jumps or breaks on the interval in question, so it cannot skip an intermediate height while passing from below it to above it.
4 The rule
Find the domain from the inside arithmetic.
Find the range from the final output, and show every claimed output is attained.
A function continuous on the whole real line, with arbitrarily negative and positive outputs, has range .
The same idea, five ways
Check what feeds the basic machine, then what changes its output.
Inside changes determine the permitted original inputs, while outside changes alter the attainable output heights.
- For , solve x + 4 ≥ 0 to get x ≥ −4
- For 2, y ≥ 0 and range [0, ∞)
- Every y ≥ 0 comes from x = ( − 4
Relabel a machine's buttons before its calculation, then change the result after the calculation.
The same idea, other ways
For , an original input of −4 feeds 0 into the square-root rule. An original input of −3 feeds 1. To reproduce the basic square-root point (1, 1), solve x + 4 = 1, giving x = −3. The point moved left by 4 because of this equation, not because a plus sign always moves every kind of quantity left.
For 2, suppose the desired output is 6. Divide the output by 2 to get root value 3. Square to get inside value 9. Subtract 4 to get input 5. Substitution returns 2 = 6. Doing the same steps with any y ≥ 0 gives an input for every nonnegative output.
For a continuous graph, think of walking along a connected ramp. To get from a height below 10 to a height above 10, you must pass through height 10. A graph with a jump could skip that height, so the no-jump condition is essential.
Part 1: Shifted reciprocal
Think of changing the number of groups on a sharing machine before it divides. For f(x) = , the denominator is the original input plus 1. At input −1, that number becomes zero and division fails. To give the basic reciprocal denominator a value of 1, you now enter 0, since 0 + 1 = 1. This algebra explains the leftward change before you use the shifted picture.
- Formula: f(x) = . It takes the reciprocal of x + 1 and doubles it.
- Shape: the reciprocal branches lie around the forbidden input x = −1; the output level zero is still never reached.
- Domain: (−∞, −1) ∪ (−1, ∞), because x + 1 must not equal zero.
- Range: (−∞, 0) ∪ (0, ∞). The nonzero numerator prevents output zero. For any y ≠ 0, choose x = − 1; the denominator becomes , so the output is y.
Reminder
Reminder: Principal square root, Solving backward, Multiplying an inequality by a negative
- Principal square root. = |z|. You may replace it with z only when you already know z ≥ 0.
- Solving backward. Undo outside operations first: if y = 2t + 3, subtract 3 and divide by 2 to get t = .
- Multiplying an inequality by a negative. A negative multiplier reverses order: t ≥ 0 implies −3t ≤ 0.
The same idea, five ways
Say add one, then divide two by the result.
The denominator fails at input −1, while no input produces output zero.
- Domain: (−∞, −1) ∪ (−1, ∞)
- y ≠ 0
- Range: (−∞, 0) ∪ (0, ∞)
A sharing machine adds a group before division, moving the original input at which its divisor is zero.
Worked example
Domain and range of the given shifted reciprocal
Find the domain and range of f(x) = . You need every input for which division works and every output some such input can produce.
Show the steps and the answer
- Require . Subtract 1 to get . At , the denominator is , confirming the excluded input. Domain: .A denominator cannot equal zero; every other real input gives a defined fraction.
- The output cannot be zero: if , multiplying by the allowed denominator would give .A nonzero numerator cannot produce a zero fraction.
- Take any proposed and solve : , then , then .Multiplication undoes division by the denominator, division by the nonzero target y isolates x + 1, and subtraction undoes the inside addition.
- This input is not because is not zero. Substituting it gives . Range: .Every proposed nonzero output has a valid input, so no other output is missing.
- Domain: (−∞, −1) ∪ (−1, ∞)
- Range: (−∞, 0) ∪ (0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Write the forbidden input and omitted output in separate columns on scratch paper.
Part 2: Shifted and scaled square root
Imagine adding 4 to the area display before a square-root machine finds a side length, then doubling the returned length. The formula is f(x) = 2. The original input may be negative as long as the inside area is not. At −4 the inside becomes zero, so the graph starts there. Doubling acts after the root, so it changes output heights and keeps their nonnegative sign.
- Formula: f(x) = 2. The principal square root is taken before multiplying by 2.
- Shape: a square-root curve starting at (−4, 0), with heights doubled.
- Domain: [−4, ∞), because x + 4 ≥ 0 gives x ≥ −4.
- Range: [0, ∞). Principal square roots are nonnegative, and doubling preserves that sign. For any y ≥ 0, input x = ( − 4 is valid and produces y.
Reminder
Reminder: Principal square root, Solving backward, Multiplying an inequality by a negative
- Principal square root. = |z|. You may replace it with z only when you already know z ≥ 0.
- Solving backward. Undo outside operations first: if y = 2t + 3, subtract 3 and divide by 2 to get t = .
- Multiplying an inequality by a negative. A negative multiplier reverses order: t ≥ 0 implies −3t ≤ 0.
The same idea, five ways
Say add four, take the square root, then double.
The root’s inside starts at zero when the original input is −4.
- x + 4 ≥ 0
- Domain: [−4, ∞)
- y ≥ 0
- Range: [0, ∞)
Add four to the area display before finding a side, then double the displayed side.
Worked example
Domain and range of the given doubled square root
Find the domain and range of f(x) = 2. You are deciding which original inputs give a real root and which final outputs are attainable.
Show the steps and the answer
- Require . Subtract 4 to obtain . Domain: .The radicand, the expression inside an even root, must be nonnegative. Zero is permitted here because the root is not a denominator.
- At , the output is . All outputs are nonnegative.The principal square root returns a nonnegative number, and multiplying by positive 2 keeps that sign.
- For any proposed , solve : divide by 2 to get , then square to get , then subtract 4 to get .Undo the outside multiplication before undoing the root and the inside addition. The chosen root value is nonnegative.
- The constructed input is at least . Substitution gives . Range: .The nonnegative target makes the principal-root check valid, and every such target is attained.
- Domain: [−4, ∞)
- Range: [0, ∞)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- The inside must be nonnegative, even when the original input is negative. Keep those two numbers separate.
Part 3: Cubic minus a linear term
Picture walking along a ramp that bends but has no gaps or jumps. If one end goes farther and farther below you while the other goes farther and farther above you, the ramp must cross every possible height somewhere. The graph of f(x) = − x behaves that way. It is continuous, meaning its curve does not break or jump. Subtracting x changes the curve near zero, but it cannot stop the cubic term from reaching very large positive and negative outputs.
- Formula: f(x) = − x, a polynomial, which is a sum or difference of constant multiples of whole-number powers of x.
- Shape: a continuous curve with bends near zero; it is not merely a shifted graph of .
- Domain: (−∞, ∞), because cubing and subtracting are defined for every real input.
- Continuous here means no jumps or breaks. Powers, multiplication, and subtraction vary without jumps, so this polynomial graph is continuous.
- Range: (−∞, ∞). For t ≥ 2, f(t) = t( − 1) ≥ 3t, which grows without bound; f(−t) = −f(t) falls without bound. A continuous curve between those outputs must cross every intermediate height.
Reminder
Reminder: Principal square root, Solving backward, Multiplying an inequality by a negative
- Principal square root. = |z|. You may replace it with z only when you already know z ≥ 0.
- Solving backward. Undo outside operations first: if y = 2t + 3, subtract 3 and divide by 2 to get t = .
- Multiplying an inequality by a negative. A negative multiplier reverses order: t ≥ 0 implies −3t ≤ 0.
The same idea, five ways
Say a connected curve cannot skip a height.
The continuous polynomial − x extends in both output directions, so it reaches every real output.
- For t ≥ 2: f(t) ≥ 3t
- Domain and range: (−∞, ∞)
A connected ramp must pass through a middle height when you walk from below that height to above it.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- You do not need a formula solving the cubic for every y. A continuous crossing argument can prove every target is attained.
Part 4: Absolute value after another function
Imagine a thermometer reporting positions on either side of zero. You now ask how far each reported position is from zero, rather than whether it is above or below. Applying absolute value to a function’s outputs makes that change. Keep the original input choices. Transform the entire old output set into distances. A negative endpoint moves to a positive distance, but the smaller resulting distance may occur inside the old interval at zero, rather than at either endpoint. A value such as −9 and a value such as 9 both have distance 9. To reach a target distance, it is enough for either of those old outputs to belong to the old range.
- For g(x) = |f(x)| on f’s domain, turn every old range member into its nonnegative distance.
- If the old range contains 0, the new range contains 0.
- For a bounded interval, compare both endpoint distances for the output bound, then check whether an old output attains that bound. An excluded outer endpoint can give a bound that is approached but never reached.
- Check all intermediate distances, rather than applying absolute value to only two endpoints.
Reminder
Reminder: Absolute value as distance
- Absolute value as distance. |−8| = 8, |7| = 7, and |0| = 0.
The same idea, five ways
Say take the distance from zero of every old output.
Applying absolute value changes output heights to nonnegative distances while preserving the supplied domain.
- g(x) = |f(x)|
- Old range: [−12, 7]
- New output: y = |z| for an old output z
- New range: {y | 0 ≤ y ≤ 12} = [0, 12]
Replace a signed thermometer reading with its distance from zero.
Worked example
Take the distance of every output
A function f has range [−12, 7]. Find the range of g(x) = |f(x)| on the same domain. You are taking the distance from zero of every output f can produce.
Show the steps and the answer
- The given range contains every real output from through 7, including 0.An interval includes the numbers between its limits, not only the endpoints.
- Taking absolute value turns each negative output into its positive distance and leaves each nonnegative output unchanged.Absolute value is distance from zero, so its final outputs cannot be negative.
- Output 0 is attained because f actually produces 0; output 12 is attained because f actually produces .A range consists of attained outputs, and both given values belong to f’s range.
- For any desired distance y with , the old output lies in , so some allowed input produces it. At that input .This supplies every intervening distance and proves there are no missing values in the claimed range.
- No output distance can exceed 12: old outputs lie no farther than 12 from zero. Write [0, 12].The old left endpoint has distance 12 and the old right endpoint has distance 7, so 12 is the greatest possible distance.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Mark zero in the old output interval if it belongs. Find the lower and upper distance bounds, then check which bounds are attained.
5 How
- Identify the toolkit calculation inside the formula and teach yourself what number is actually fed into it.
- Apply all denominator and even-root restrictions to find the domain.
- Track each operation on the output, including a negative multiplier or an added constant.
- Prove the full range by constructing an input for any allowed output, or by using a continuous graph with heights on both sides of every target.
- Confirm a few values with substitution or a picture, keeping the proof separate from the sample check.
Find a changed function's domain and prove its range
- Name the toolkit operation and the expression it receives.
- Solve the arithmetic restrictions on the original input.
- Track all operations performed on the toolkit output.
- Find a valid input for each allowed target, or use a continuous crossing argument on an interval.
- Substitute sample inputs to check the result.
6 Worked example
Worked example
A square root moved right and lifted
Find the domain and range of f(x) = + 3. Find an input that gives output 8. You are identifying permitted inputs, attainable final heights, and one input producing the specified height.
Show the steps and the answer
- The inside must satisfy , so add 10 to get . Domain: .The square root accepts nonnegative inside values. The inside first equals zero at x = 10.
- At . Every output is at least 3.The principal square root is nonnegative, and the outside addition lifts that root value by 3.
- For an arbitrary target , subtract 3: . The right side is nonnegative. Square and add 10 to obtain .These operations undo the output addition and then the square root. The nonnegative condition keeps the principal-root convention.
- This input is at least 10, and . Range: .Every proposed y ≥ 3 has a valid input, while no smaller output can occur.
- For output 8, .Use the backward formula with the desired output y = 8.
- Domain: [10, ∞)
- Range: [3, ∞)
- Output 8 occurs at input 35
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Add a height to a square
Find the domain and range of f(x) = + 8. You are checking the inputs and the possible square outputs after adding 8.
Show the steps and the answer
- Domain: .Every real input can be squared and then have 8 added.
- Since ; attains output 8.Adding 8 moves the square's minimum from 0 to 8.
- For any , choose . Then . Range: .The target condition makes the root real and constructs an input for every claimed height.
- Domain: (−∞, ∞)
- Range: [8, ∞)
Rung 2 of 6
Move the square-root start
Find the domain and range of g(x) = . You are deciding which original inputs feed nonnegative numbers into the root and which root outputs occur.
Show the steps and the answer
- Require ; add 10 to get . Domain: .The inside, rather than the original x alone, must be nonnegative.
- , and every output is nonnegative.The root is principal and zero is included.
- For any , choose . Then . Range: .The input is at least 10, and the nonnegative target passes the principal-root check.
- Domain: [10, ∞)
- Range: [0, ∞)
Rung 3 of 6
Reflect a square root and raise its start
Find the domain and range of h(x) = −3 + 2. You are tracking an inside addition, a negative output multiplier, and an outside addition.
Show the steps and the answer
- Require ; subtract 8 to get . Domain: .The square-root inside is nonnegative, first becoming zero at x = −8.
- The principal root is at least 0. Multiplying it by gives a number at most 0; adding 2 gives .A negative multiplier reverses the order of the output heights, so the starting height is now a maximum.
- .The upper bound is attained and therefore included.
- To find an input for any target , start with . Subtract 2 from both sides: .We are undoing the outside addition to find an input that reaches the target output, not solving a domain restriction.
- Divide both sides by : . Rewrite the fraction as . This root value is nonnegative because .Negative division changes both signs in the fraction. The target restriction is what lets a principal square root equal that value.
- Square both sides: . Subtract 8: .Squaring recovers the inside value from the nonnegative root value. Subtracting 8 then finds the original input.
- This input is at least and gives . Range: .Every proposed output at or below 2 has a valid input, and no output exceeds 2.
- Domain: [−8, ∞)
- Range: (−∞, 2]
Rung 4 of 6
A decreasing inside and a reflected square root
Find the domain and range of K(x) = −. You are checking which inputs make the root real and which final heights appear after reversing the output sign.
Show the steps and the answer
- Require . Subtract 17: . Divide by and reverse the comparison: .The inside must be nonnegative; negative division reverses the order of the input condition.
- At . For every valid input, .A principal root is nonnegative and its opposite is nonpositive. Nonpositive means negative or zero, written ≤ 0.
- For any target , solve . Multiply by : ; the right target is nonnegative. Square: . Subtract 17 and multiply by : .Undoing the final sign and the root constructs the original input that would produce the target output.
- This input is at most 17. Substitution gives , because .The target sign makes |y| = −y, so every nonpositive output is attained.
- Domain: (−∞, 17].
- Range: (−∞, 0].
Rung 5 of 6
A reciprocal with an omitted height of 3
Find the domain and range of p(x) = + 3. You are locating the forbidden denominator input and the final output height that no input reaches.
Show the steps and the answer
- Require , so . At , the denominator is , confirming the excluded input. Domain: .Only input 7 makes the denominator zero.
- The fraction cannot equal zero. Therefore p(x) cannot equal 3.If the final output were 3, subtracting 3 would force a fraction with nonzero numerator 5 to equal zero.
- For any , subtract 3 from and solve: , so .The target condition permits division by y − 3, and reversing the denominator calculation isolates x.
- This input is not 7 and produces y. Range: .The added fraction is nonzero, and substitution returns 5 ÷ + 3 = y − 3 + 3 = y.
- Domain: (−∞, 7) ∪ (7, ∞)
- Range: (−∞, 3) ∪ (3, ∞)
Rung 6 of 6
Reciprocal squared below a new height
Find the domain and range of q(x) = − + 7. You are locating the forbidden squared denominator and tracking the negative fraction before adding 7.
Show the steps and the answer
- Find the input that makes the denominator zero: gives . Substitution gives , so exclude . Domain: .A square equals zero only when its base equals zero, and division by that zero denominator would be undefined.
- For every valid input, , so . Adding 7 gives q(x) < 7.The fraction has a positive denominator and a negative numerator, and it never equals zero.
- To find an input for any target y < 7, start with . Subtract 7: . Multiply both sides by : .These steps isolate the fraction so we can find an input producing the target. The target condition gives 7 − y > 0.
- Multiply both sides by the nonzero denominator : . Divide both sides by the positive number : .The first multiplication undoes division by the original denominator. The second division isolates the square; both divisions use nonzero quantities.
- Choose . This input is not , since the root is strictly positive.The positive number under the root gives a nonzero base whose square is the required denominator.
- Substituting gives . Range: .Every output strictly below 7 has a permitted input, while 7 itself and greater outputs are impossible.
- Domain: (−∞, −2) ∪ (−2, ∞)
- Range: (−∞, 7)
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- For an inside change, solve an equation such as x + 4 = 0 before describing the graph's movement.
- For a square-root range, check the starting height and whether the outside multiplier is positive or negative.
- For a range proof, an input formula or a continuous crossing argument covers infinitely many outputs at once.
7 The trap
Listing outputs that seem possible without showing that an input produces them. Excluding zero, or observing a sign, may give a restriction but does not by itself prove the whole range.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.
Lesson 9 of 10
Write and evaluate a piecewise function
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Picture a parking sign with different prices for different lengths of stay. You first read which time interval your stay belongs to. Only then do you calculate its price. A piecewise function works this way: one rule applies on one part of its domain, and another rule applies somewhere else. Each part is called a piece. The conditions beside the formulas tell you which lane to choose. A boundary is the input where a lane starts or stops. Look carefully at whether equality is allowed there. The price rule for the next lane may be different, even though the two inputs are very close.
2 Picture it
C(g) = 25 if 0 < g < 2
C(g) = 25 + 10(g − 2) if g ≥ 2
Choose the condition first
Reminder
Reminder: Order of operations, Percentages, Negating a negative
- Order of operations. 25 + 10(4 − 2) means subtract first, multiply next, then add: 25 + 20 = 45.
- Percentages. 10% of 10000 is × 10000 = 1000.
- Negating a negative. −(−11) = 11, so the negative-input absolute value branch gives a positive distance.
3 Why
A function must give one output for each allowed input. Several formulas can work together if their conditions tell you which formula supplies that output. The domain is the union of the allowed branch inputs because an input may belong to any available piece. Boundary conditions show which inputs are assigned or omitted, and help you spot two conflicting outputs. A deliberate gap is allowed outside the domain. Some rules meet at the same height, like the data plan at its threshold. Other rules jump to a new height. Meeting is not required; a single assigned output is required.
4 The rule
Choose the condition your input satisfies, then use that piece's formula.
The whole domain is the union of the pieces' domains; each allowed input must receive one output.
The same idea, five ways
Say choose the condition, then calculate its formula.
A piecewise function assigns different formulas to specified parts of its domain.
- C(g) = 25 if 0 < g < 2
- C(g) = 25 + 10(g − 2) if g ≥ 2
- Domain: {g | g > 0} = (0, ∞)
- Graph words: each formula is used only on its own input interval
A price sign routes your purchase to the rate for its size.
C(g) = 25 if 0 < g < 2
C(g) = 25 + 10(g − 2) if g ≥ 2
Choose the condition first
The same idea, other ways
A museum sign can say $5 per person for a small group and $50 for a larger group. The group size chooses the rule. You do not pay both listed prices.
Send the input to the condition it satisfies, then let that branch calculate the output. A boundary value belongs wherever equality is included.
|−11| uses the rule −x because its input is negative, giving 11. |11| uses x because its input is nonnegative, also giving 11. Two processes produce the same kind of distance.
If an input receives different answers from overlapping conditions, the rule is not a function at that input. Usual piecewise notation avoids this by assigning each input to one branch. If overlapping formulas agree, they still give only one output.
Part 1: Absolute value as two formulas
Absolute value measures how far a number is from zero. This distance is also called its magnitude or modulus. A nonnegative number already tells its distance. A negative number needs its opposite, so the two sides of zero use different formulas.
- |x| = x when x ≥ 0.
- |x| = −x when x < 0.
- −x is positive when x is negative; it does not mean the output is always negative.
- The domain is (−∞, ∞) and the range is [0, ∞).
Reminder
Reminder: Order of operations, Percentages, Negating a negative
- Order of operations. 25 + 10(4 − 2) means subtract first, multiply next, then add: 25 + 20 = 45.
- Percentages. 10% of 10000 is × 10000 = 1000.
- Negating a negative. −(−11) = 11, so the negative-input absolute value branch gives a positive distance.
The same idea, five ways
Say keep a nonnegative input; take the opposite of a negative input.
Absolute value uses the formula matching the input’s sign.
- |x| = x if x ≥ 0
- |x| = −x if x < 0
- Domain: (−∞, ∞)
- Range: [0, ∞)
Your distance from home is nonnegative. At home it is zero; walking either way makes it positive.
Worked example
Absolute value uses the negative-input piece
Write |x| as a piecewise rule and use it to find |−11|.
Show the steps and the answer
|x| = x if x ≥ 0.
|x| = −x if x < 0.
- We need one formula for nonnegative inputs, another for negative inputs, then the output at .Absolute value measures distance from zero, so an input’s sign determines which formula returns that distance.
- For , use .A nonnegative coordinate is already its own distance from zero.
- For x < 0, use .The distance to zero is positive, so negating a negative coordinate gives its length.
- The input satisfies x < 0, so choose .The input's sign selects the piece; you do not use both rules.
- Evaluate .Taking the opposite of a negative number produces the positive distance.
- |x| = x if x ≥ 0.
- |x| = −x if x < 0.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Substitute the whole negative input in parentheses.
Part 2: A museum group discount
For a small tour group, adding one person adds $5 to the bill. At ten people, the group pays a fixed $50. A discrete function here uses whole-number people counts. For the exercise, you extend the rule to real inputs between counts. This particular extension is a continuous function because its graph has no jumps or holes, including at ten.
- Actual small-group charge: 5n for n in {1, 2, …, 9}.
- Actual larger-group charge: 50 for integers n ≥ 10.
- For the textbook continuous drawing, use 0 < n < 10 and n ≥ 10, with domain (0, ∞).
- The actual count domain is {1, 2, 3, …}; a fractional person is not a real group member.
Small group: $5 × n
At least 10 people: $50
Actual n is a positive whole number
Reminder
Reminder: Order of operations, Percentages, Negating a negative
- Order of operations. 25 + 10(4 − 2) means subtract first, multiply next, then add: 25 + 20 = 45.
- Percentages. 10% of 10000 is × 10000 = 1000.
- Negating a negative. −(−11) = 11, so the negative-input absolute value branch gives a positive distance.
The same idea, five ways
Say small groups pay per person; larger groups pay one fixed fee.
Actual groups use positive integer counts; the textbook drawing extends the rule to every positive real input.
- M(n) = 5n if 0 < n < 10
- M(n) = 50 if n ≥ 10
- Actual domain: {1, 2, 3, …}
- Continuous domain: (0, ∞)
- Continuous range: (0, 50]
A cash register switches from per-person pricing to one fixed group fee.
Small group: $5 × n
At least 10 people: $50
Actual n is a positive whole number
Worked example
Textbook: write a museum group-pricing function
A museum charges $5 per person for groups of 1 to 9 people and a fixed $50 for groups of 10 or more. Write the actual pricing rule and the textbook continuous exercise model.
Show the steps and the answer
- We need a pricing formula on each group-size condition, then the actual and continuous input and output sets.The price changes its calculation at a group size of 10; the actual visitor counts and the continuous exercise model use different input sets.
- Use 5n when n is a whole number from 1 through 9.Per person means multiply the number of people by $5.
- Use 50 when n is a whole number at least 10.A fixed group fee stays $50 even when the group is larger.
- The actual domain is {1, 2, 3, …}.A group contains a positive whole-number count of people.
- For a continuous drawing, use 5n on 0 < n < 10 and 50 on .The source asks for a continuous drawing; here we extend the small-group rule over every real input strictly between 0 and 10 so it forms a line segment with an open point at (0, 0).
- The actual range is {5, 10, 15, 20, 25, 30, 35, 40, 45, 50}; the continuous range is (0, 50].Positive integer counts give separate actual prices. In the continuous model, positive inputs can approach 0 without reaching it, so their costs can approach $0 without attaining it. The first branch approaches $50 and the second branch supplies $50 itself.
- Actual rule: M(n) = 5n for n in {1, …, 9}.
- Actual rule: M(n) = 50 for integers n ≥ 10.
- Actual domain: {1, 2, 3, …}.
- Actual range: {5, 10, 15, 20, 25, 30, 35, 40, 45, 50}.
- Textbook continuous model: M(n) = 5n if 0 < n < 10.
- Textbook continuous model: M(n) = 50 if n ≥ 10.
- Continuous domain: (0, ∞).
- Continuous range: (0, 50].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- State whether you are using the real counting rule or the continuous exercise model.
Part 3: A fictional marginal tax model
Imagine placing the first portion of income in one basket and the excess in a second basket. The baskets have different percentage charges. Crossing the boundary puts only the added income into the second basket. This is a fictional teaching model, not a statement about a current tax law.
- A tax bracket is an income interval with a specified tax rate in this model.
- For income through $10000, use 10% of that income.
- Above $10000, retain $1000 on the first portion and add 20% of only the excess.
- At $10000 the first branch includes the boundary; the second branch starts above it.
First $10000: 10%
Income above $10000: 20%
Keep the first portion's $1000 tax
Reminder
Reminder: Order of operations, Percentages, Negating a negative
- Order of operations. 25 + 10(4 − 2) means subtract first, multiply next, then add: 25 + 20 = 45.
- Percentages. 10% of 10000 is × 10000 = 1000.
- Negating a negative. −(−11) = 11, so the negative-input absolute value branch gives a positive distance.
The same idea, five ways
Say the first portion and the excess have separate rates.
Only income above the threshold gets the higher rate in this fictional tax model.
- T(i) = 0.10i if 0 ≤ i ≤ 10000
- T(i) = 1000 + 0.20(i − 10000) if i > 10000
- Domain: [0, ∞)
Put the first portion of income and the excess into two baskets with different rates.
First $10000: 10%
Income above $10000: 20%
Keep the first portion's $1000 tax
Worked example
A fictional tax bracket charges only the excess at the higher rate
In this fictional model, income through $10000 is taxed at 10%, and only additional income is taxed at 20%. Write T(i) for i ≥ 0 and find T(15000).
Show the steps and the answer
T(i) = 0.10i if 0 ≤ i ≤ 10000.
T(i) = 1000 + 0.20(i − 10000) if i > 10000.
T(15000) = $2000.
- We need the tax formula in each income bracket and its value at $15000.The lower rate covers the first $10000, and only the excess uses the higher rate.
- For , write .Ten percent is = 0.10 of the income in this first bracket.
- The tax on the first $10000 is .This charge remains part of the total when income enters the second bracket.
- For i > 10000, write .The second rate applies to the income above $10000, not to the whole income.
- At , excess income is .Subtracting the threshold isolates the amount charged at 20%.
- Compute .The total includes tax from both portions of the income.
- T(i) = 0.10i if 0 ≤ i ≤ 10000.
- T(i) = 1000 + 0.20(i − 10000) if i > 10000.
- T(15000) = $2000.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Find the excess amount before applying the second rate.
Part 4: A data plan with a threshold
The plan charges a base amount for usage below two gigabytes. Beyond that threshold, it adds a price for excess usage. The given formula includes two gigabytes in the second branch. It does not assign a price to zero usage, so do not invent one.
- C(g) = 25 for 0 < g < 2.
- C(g) = 25 + 10(g − 2) for g ≥ 2.
- Domain: (0, 2) ∪ [2, ∞) = (0, ∞).
- Range: [25, ∞), because the base charge is reached and arbitrary nonnegative excess charges can be added.
g = 2 belongs to g ≥ 2
C(2) = 25 + 10 × 0 = 25
g = 0 belongs to neither piece
Reminder
Reminder: Order of operations, Percentages, Negating a negative
- Order of operations. 25 + 10(4 − 2) means subtract first, multiply next, then add: 25 + 20 = 45.
- Percentages. 10% of 10000 is × 10000 = 1000.
- Negating a negative. −(−11) = 11, so the negative-input absolute value branch gives a positive distance.
The same idea, five ways
Say a base price plus an extra charge above two gigabytes.
The conditions assign one formula to each positive usage input.
- C(g) = 25 if 0 < g < 2
- C(g) = 25 + 10(g − 2) if g ≥ 2
- Domain: (0, ∞)
- Range: [25, ∞)
Pay a base entrance price, then pay for extra usage beyond what it includes.
g = 2 belongs to g ≥ 2
C(2) = 25 + 10 × 0 = 25
g = 0 belongs to neither piece
Worked example
Piecewise ladder 3: the threshold itself
For the same data-plan rule, find C(2) and decide whether C(0) is defined.
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- At , the condition 0 < g < 2 is false.A strict inequality excludes its boundary.
- The condition is true, so .The second condition includes equality, and the excess usage is zero.
- At , neither condition is true.Zero is not strictly positive and is not at least 2.
- Report C(0) as undefined for this given rule.No branch assigns an output to zero; a real provider's policy would require a separately supplied rule.
- C(2) = $25.
- C(0) is undefined for the stated function.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Check zero in the given conditions instead of guessing a policy.
5 How
- Identify what the input measures and where the rule changes.
- Write a formula for each region and state its condition with the boundary ownership explicit.
- Include any context limits, such as positive whole-number people counts.
- To evaluate, compare the input with all conditions before using a formula.
- Substitute into the selected formula and follow the order of operations.
- At a boundary, check which condition includes equality. Do not add the outputs of different pieces.
Write or evaluate a piecewise rule
- Identify what the input measures and where the rule changes.
- Write a formula for each region and state its condition with the boundary ownership explicit.
- Include any context limits, such as positive whole-number people counts.
- To evaluate, compare the input with all conditions before using a formula.
- Substitute into the selected formula and follow the order of operations.
- At a boundary, check which condition includes equality. Do not add the outputs of different pieces.
6 Worked example
Worked example
Evaluate a data-plan function
A data plan has C(g) = 25 for 0 < g < 2, and C(g) = 25 + 10(g − 2) for g ≥ 2. Here g is gigabytes and C is dollars. Find C(1.5) and C(4).
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- For , test 0 < 1.5 < 2.The condition decides which formula applies before any calculation.
- Use the first formula: .Every input strictly between 0 and 2 has the flat charge.
- For , test .This input belongs to the second piece.
- Subtract the included 2 gigabytes: .Only usage above the threshold is charged at the extra rate.
- Calculate .The base charge and the charge for two excess gigabytes must both be paid.
- C(1.5) = $25.
- C(4) = $45.
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Absolute value uses the negative-input piece
Write |x| as a piecewise rule and use it to find |−11|.
Show the steps and the answer
|x| = x if x ≥ 0.
|x| = −x if x < 0.
- We need one formula for nonnegative inputs, another for negative inputs, then the output at .Absolute value measures distance from zero, so an input’s sign determines which formula returns that distance.
- For , use .A nonnegative coordinate is already its own distance from zero.
- For x < 0, use .The distance to zero is positive, so negating a negative coordinate gives its length.
- The input satisfies x < 0, so choose .The input's sign selects the piece; you do not use both rules.
- Evaluate .Taking the opposite of a negative number produces the positive distance.
- |x| = x if x ≥ 0.
- |x| = −x if x < 0.
Rung 2 of 5
Piecewise ladder 2: a flat-charge input
For C(g) = 25 if 0 < g < 2 and C(g) = 25 + 10(g − 2) if g ≥ 2, find C(1).
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- Check 0 < 1 < 2.The input fits the condition of the first branch.
- Use .This branch has no variable in its formula, so every input in it has the same cost.
Rung 3 of 5
Piecewise ladder 3: the threshold itself
For the same data-plan rule, find C(2) and decide whether C(0) is defined.
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- At , the condition 0 < g < 2 is false.A strict inequality excludes its boundary.
- The condition is true, so .The second condition includes equality, and the excess usage is zero.
- At , neither condition is true.Zero is not strictly positive and is not at least 2.
- Report C(0) as undefined for this given rule.No branch assigns an output to zero; a real provider's policy would require a separately supplied rule.
- C(2) = $25.
- C(0) is undefined for the stated function.
Rung 4 of 5
Piecewise ladder 4: usage above the threshold
For the same data plan, find C(6.5).
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- Since , choose .The input belongs to the excess-usage branch.
- Calculate gigabytes above the included amount.The first two gigabytes are accounted for by the base charge.
- Calculate , then add 25 to get 70.The excess amount is charged at $10 per gigabyte, on top of the base charge.
Rung 5 of 5
Piecewise ladder 5: two boundary owners
Let P(x) = x + 6 if x < −2, P(x) = 7 if −2 ≤ x ≤ 4, and P(x) = 3x − 5 if x > 4. Find P(−5), P(−2), P(4), and P(6).
Show the steps and the answer
- We need the outputs for the given inputs, choosing a condition before calculating.State what is being found before choosing the calculation.
- For , use and get .−5 satisfies the first condition x < −2.
- For , use the constant 7.Equality at −2 is included in the middle condition, not the first.
- For 4, also use the constant 7.Equality at 4 is included in the middle condition, not the last.
- For 6, use and get .6 satisfies x > 4.
- P(4) = 7.
- P(6) = 13.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory device: choose the lane, then calculate.
- Underline the condition that contains the boundary's equality sign.
- For a threshold charge, write excess = input − threshold before multiplying by the extra rate.
7 The trap
Using a formula because it is familiar before reading its condition. At g = 2 the data plan uses the g ≥ 2 piece. At g = 0 neither piece applies.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.
Lesson 10 of 10
Graph each piece only where its condition allows it
Open this lessonLeans on 0Comes back in 1
Leans on
No lesson links recorded.
Comes back in
1 In plain words
Think of laying several sections of road on one map. Each section has its own shape and its own starting and stopping positions. To graph a piecewise function, draw the shape for one formula, then keep it only where its condition allows it. Put all the permitted sections on the same axes. A filled endpoint says the road includes that exact location. A hollow endpoint shows where the shape would go if extended, but that point is absent. At a boundary, a different section may include a point at a different height. Read the assigned height rather than connecting every nearby endpoint.
2 Picture it
Reminder
Reminder: Substitution, Equality at a boundary, Principal square root
- Substitution. If f(x) = on the selected branch, f(1) means replace x by 1 and compute = 1.
- Equality at a boundary. 1 < x ≤ 2 includes 2, while x > 2 does not.
- Principal square root. If y ≥ 0, is nonnegative and (− = y.
3 Why
Graphing the whole formula of every branch can give inputs several competing outputs. Restricting each shape to its branch condition preserves the function's assigned pairs. At a strict boundary, the limiting point can help show where the curve approaches, but it is not part of the graph. The vertical line test counts only included points, so open boundary circles do not create extra outputs. After drawing all pieces, take the union of their horizontal shadows for the domain and their vertical shadows for the range. Different branch ranges may overlap.
4 The rule
Draw each branch only on its assigned interval, using open dots for strict boundaries and closed dots for included ones.
Combine the pieces; domain is the input union and range is the union of reached output heights.
The same idea, five ways
Say keep the permitted piece and mark whether its endpoint belongs.
A piecewise graph consists of the formula's points only where its condition allows them.
- x ≤ 1: draw with a closed endpoint at (1, 1)
- 1 < x ≤ 2: draw 3 with open (1, 3), closed (2, 3)
- x > 2: draw x with open (2, 2)
- Whole domain: {x | x is real} = (−∞, ∞)
- Whole range: {y | y ≥ 0} = [0, ∞)
Cut unused road sections away before placing the remaining pieces on one map.
The same idea, other ways
Imagine drawing the full square curve, horizontal line and identity line on separate sheets. Cut away the inputs their conditions reject. Place the remaining pieces on one coordinate plane.
At x = 1 in the given function, (1, 1) belongs and (1, 3) does not. At x = 2, (2, 3) belongs and (2, 2) does not. The filled point gives the function value.
A filled endpoint is present, and a hollow endpoint is absent. A piecewise graph can show several endpoint markers at one input, but the vertical line test counts only the included points.
The given function's input pieces fill the whole real number line. Its square branch alone already reaches every nonnegative output. Other pieces can change which input gives a height without adding new heights to the range.
Part 1: Draw the quadratic branch
The first branch uses the familiar square curve. Its condition keeps all inputs at most 1, including negative inputs far to the left. That left arm keeps rising, so this one branch reaches output heights much larger than its right endpoint's height.
- Formula: for x ≤ 1.
- Closed endpoint: (1, 1).
- Included vertex: (0, 0).
- Branch domain: (−∞, 1]; branch range: [0, ∞).
Reminder
Reminder: Substitution, Equality at a boundary, Principal square root
- Substitution. If f(x) = on the selected branch, f(1) means replace x by 1 and compute = 1.
- Equality at a boundary. 1 < x ≤ 2 includes 2, while x > 2 does not.
- Principal square root. If y ≥ 0, is nonnegative and (− = y.
The same idea, five ways
Say keep the square curve through input one and all inputs to its left.
The quadratic branch includes its boundary and reaches every nonnegative height.
- f(x) = if x ≤ 1
- Branch domain: (−∞, 1]
- Branch range: [0, ∞)
- Graph words: closed (1, 1), vertex (0, 0), left arm continues
Cut away only the forbidden input side of a drawn square curve.
Worked example
Draw the first branch of the given function
Graph only the branch f(x) = for x ≤ 1.
Show the steps and the answer
- We need the included graph points, keeping only the assigned input interval.State what is being found before choosing the calculation.
- Mark the boundary and choose sample inputs , 0 and 1.All these inputs satisfy this branch's condition.
- Read the column under : . Under . Under 0, . Under 1, .Squaring each selected input supplies points on the quadratic shape.
- Draw the U-shaped curve through these points, keeping only .The formula is assigned to this interval alone.
- Place a closed dot at (1, 1) and extend the left side upward with an arrow.Equality includes x = 1, and there is no lower input bound.
- This branch has domain and range .The vertex reaches zero, and arbitrarily negative inputs have arbitrarily large squares.
- Plot (−2, 4), (−1, 1), (0, 0) and the closed point (1, 1).
- Keep the curve only for x ≤ 1.
- Branch domain: (−∞, 1].
- Branch range: [0, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Use a negative sample input to remember the rising left arm.
Part 2: Draw the constant branch
The middle branch is a horizontal shelf at height 3. It begins after input 1 and includes input 2. Every position on that shelf has the same output. The endpoints have different inclusion rules even though the shelf is flat.
- Formula: 3 for 1 < x ≤ 2.
- Open endpoint: (1, 3); closed endpoint: (2, 3).
- Branch domain: (1, 2]; branch range: {3}.
Reminder
Reminder: Substitution, Equality at a boundary, Principal square root
- Substitution. If f(x) = on the selected branch, f(1) means replace x by 1 and compute = 1.
- Equality at a boundary. 1 < x ≤ 2 includes 2, while x > 2 does not.
- Principal square root. If y ≥ 0, is nonnegative and (− = y.
The same idea, five ways
Say a shelf after input one through input two.
The constant branch excludes its left boundary and includes its right boundary.
- f(x) = 3 if 1 < x ≤ 2
- Branch domain: (1, 2]
- Branch range: {3} = [3, 3]
- Graph words: open (1, 3), closed (2, 3)
A horizontal shelf keeps the same height across its allowed span.
Worked example
Draw the middle branch of the given function
Graph only f(x) = 3 for 1 < x ≤ 2.
Show the steps and the answer
- We need the included graph points, keeping only the assigned input interval.State what is being found before choosing the calculation.
- Mark the interval from 1 to 2.The condition restricts this branch to those input positions.
- Draw a horizontal segment at .The output stays 3 for every input in this interval.
- Use an open dot at (1, 3) and a closed dot at (2, 3).The left comparison is strict and the right comparison includes equality.
- The branch domain is (1, 2] and range is {3}.Many allowed inputs produce the single output 3.
- Draw a horizontal segment at height 3.
- Open point: (1, 3).
- Closed point: (2, 3).
- Branch domain: (1, 2].
- Branch range: {3}, also [3, 3].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Mark each endpoint from its own comparison sign.
Part 3: Draw the identity branch
The last branch follows the slanted line where output equals input. It starts strictly after 2, so the point (2, 2) is hollow. The whole function still has a value at input 2 because the middle branch supplies it at height 3.
- Formula: x for x > 2.
- Open boundary point: (2, 2).
- Sample included points: (3, 3) and (4, 4).
- Branch domain and branch range: (2, ∞).
Open boundary: (2, 2)
Included points: (3, 3), (4, 4)
Continue upward and rightward
Reminder
Reminder: Substitution, Equality at a boundary, Principal square root
- Substitution. If f(x) = on the selected branch, f(1) means replace x by 1 and compute = 1.
- Equality at a boundary. 1 < x ≤ 2 includes 2, while x > 2 does not.
- Principal square root. If y ≥ 0, is nonnegative and (− = y.
The same idea, five ways
Say copy each input strictly above two.
The last branch is the identity line only to the right of its excluded boundary.
- f(x) = x if x > 2
- Branch domain and range: (2, ∞)
- Graph words: open (2, 2), ray through (3, 3) and (4, 4)
A diagonal path keeps the horizontal position and vertical height equal.
Open boundary: (2, 2)
Included points: (3, 3), (4, 4)
Continue upward and rightward
Worked example
Draw the final branch of the given function
Graph only f(x) = x for x > 2.
Show the steps and the answer
Open boundary: (2, 2)
Included points: (3, 3), (4, 4)
Continue upward and rightward
- We need the included graph points, keeping only the assigned input interval.State what is being found before choosing the calculation.
- Compute the boundary position (2, 2), but leave it open.The formula would give 2 there, but the condition excludes that input from this branch.
- Plot (3, 3) and (4, 4).Both inputs are above 2, and the identity rule keeps their values.
- Draw a straight ray through the included points and continue upward to the right.The identity graph is a line and has no upper input bound.
- Write for both this branch's domain and range.The included inputs and identical outputs are strictly greater than 2.
- Open point: (2, 2).
- Draw the ray through (3, 3) and (4, 4), continuing rightward.
- Branch domain: (2, ∞).
- Branch range: (2, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- A branch exclusion does not remove an input assigned by another branch.
5 How
- Mark every boundary input on one common x-axis.
- Identify each formula's known shape and calculate at least two useful points, or include a turning point for a curve.
- Keep only the portion satisfying that branch's condition.
- Calculate the boundary height and make its dot open or closed according to that branch's inequality.
- Combine all allowed portions without inventing connecting segments across jumps or gaps.
- Check the vertical line test at every boundary, then collect the domain and range shadows.
Build a piecewise graph
- Mark every boundary input on one common x-axis.
- Identify each formula's known shape and calculate at least two useful points, or include a turning point for a curve.
- Keep only the portion satisfying that branch's condition.
- Calculate the boundary height and make its dot open or closed according to that branch's inequality.
- Combine all allowed portions without inventing connecting segments across jumps or gaps.
- Check the vertical line test at every boundary, then collect the domain and range shadows.
6 Worked example
Worked example
Graph and read all three pieces
Let f(x) = if x ≤ 1, f(x) = 3 if 1 < x ≤ 2, and f(x) = x if x > 2. Graph it, find f(1), f(1.5), f(2) and f(4), and state domain and range.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Draw only for , with a closed point at (1, 1).The first condition includes its boundary; the square curve has its lowest point at (0, 0).
- Draw on , with an open point at (1, 3) and a closed point at (2, 3).This condition excludes its left endpoint and includes its right endpoint.
- Draw only for x > 2, beginning with an open point at (2, 2).The third condition excludes 2, so its line does not assign an output there.
- At , choose the first branch and calculate .The ≤ 1 condition owns this boundary.
- At , choose the middle branch and get 3.1 < 1.5 ≤ 2.
- At , also choose the middle branch and get 3.The middle condition includes equality at 2; the final branch does not.
- At , choose the last branch and get 4.4 satisfies x > 2.
- Take the input union .Every real input belongs to one of these three intervals, with no gap.
- The first branch already reaches every , and neither other branch goes below zero.For any y ≥ 0 the allowed input − supplies that output through the first branch.
- Write range .Union with {3} and (2, ∞) adds no new values beyond the first branch's range.
- f(1) = 1.
- f(1.5) = 3.
- f(2) = 3.
- f(4) = 4.
- Domain: (−∞, ∞).
- Range: [0, ∞).
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 6
Graphing ladder 1: two pieces that meet
Graph F(x) = x for x < 0 and F(x) = 2x for x ≥ 0. State domain and range.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Draw the line only left of 0 with an open point at (0, 0).The first branch excludes its boundary and gives negative outputs for negative inputs.
- Draw the line on and right of 0 with a closed point at (0, 0), passing through (1, 2).The second branch includes the boundary and has twice the input as its output.
- Keep the included point at (0, 0) where the branches meet.An open marker from the first piece does not remove a point included by the second piece.
- Take the domain union .All negative and nonnegative inputs are covered.
- Take the range union .The first piece reaches every negative output; the second reaches every nonnegative output.
- Domain: (−∞, ∞).
- Range: (−∞, ∞).
- The graph has an included point at (0, 0).
Rung 2 of 6
Graphing ladder 2: a jump creates a missing output interval
Graph G(x) = x − 2 for x < 4 and G(x) = x + 3 for x ≥ 4. Find domain and range.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Draw left of 4, ending at the open point (4, 2).Inputs below 4 use the first branch. At 4 it would give 4 − 2 = 2, but 4 is not below 4, so that point is hollow and these outputs stay strictly below 2.
- Draw on and right of 4, starting at the closed point (4, 7) and passing through (5, 8).The second branch includes 4, where 4 + 3 = 7, and it produces outputs at least 7.
- The input intervals join to all real numbers.Every real input is either below 4 or at least 4.
- The output intervals remain and .No included point reaches a height from 2 up to but not including 7.
- Join the output intervals with .A union preserves the missing heights rather than filling them.
- Domain: (−∞, ∞).
- Range: (−∞, 2) ∪ [7, ∞).
- G(4) = 7.
Rung 3 of 6
Graph and read all three pieces
Let f(x) = if x ≤ 1, f(x) = 3 if 1 < x ≤ 2, and f(x) = x if x > 2. Graph it, find f(1), f(1.5), f(2) and f(4), and state domain and range.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Draw only for , with a closed point at (1, 1).The first condition includes its boundary; the square curve has its lowest point at (0, 0).
- Draw on , with an open point at (1, 3) and a closed point at (2, 3).This condition excludes its left endpoint and includes its right endpoint.
- Draw only for x > 2, beginning with an open point at (2, 2).The third condition excludes 2, so its line does not assign an output there.
- At , choose the first branch and calculate .The ≤ 1 condition owns this boundary.
- At , choose the middle branch and get 3.1 < 1.5 ≤ 2.
- At , also choose the middle branch and get 3.The middle condition includes equality at 2; the final branch does not.
- At , choose the last branch and get 4.4 satisfies x > 2.
- Take the input union .Every real input belongs to one of these three intervals, with no gap.
- The first branch already reaches every , and neither other branch goes below zero.For any y ≥ 0 the allowed input − supplies that output through the first branch.
- Write range .Union with {3} and (2, ∞) adds no new values beyond the first branch's range.
- f(1) = 1.
- f(1.5) = 3.
- f(2) = 3.
- f(4) = 4.
- Domain: (−∞, ∞).
- Range: [0, ∞).
Rung 4 of 6
Graphing ladder 4: missing inputs and missing outputs
Let H(x) = x if x < −1 and H(x) = x + 2 if x ≥ 2. Graph it and state its domain and range.
Show the steps and the answer
- We need every allowed input and every output the rule actually reaches.State what is being found before choosing the calculation.
- Draw for , ending with an open point at .The first branch excludes its right boundary and extends downward to the left.
- Leave all inputs from through values below 2 blank.Neither condition assigns an output to those inputs.
- Draw for , starting with a closed point at (2, 4) and passing through (3, 5).The second condition includes 2 and gives output 2 + 2 = 4 there.
- Write domain .These are exactly the two allowed input intervals.
- Write range .The first line reaches every height below −1; the second reaches every height at least 4.
- Domain: (−∞, −1) ∪ [2, ∞).
- Range: (−∞, −1) ∪ [4, ∞).
- H(0) is undefined.
Rung 5 of 6
Graph a constant and a square-root branch
Let Q(x) = 5 if x < −4 and Q(x) = if x ≥ −4. Graph the two assigned pieces and find domain and range. You are drawing each shape only for its own input condition, then collecting the whole graph’s two shadows.
Show the steps and the answer
- For , draw a horizontal ray at height 5, with an open point at and continuation to the left.The constant rule gives one height on its assigned inputs, and the strict condition excludes the boundary.
- For , draw the root curve beginning at the closed point . At it passes through (0, 2), and at it passes through (5, 3).Substitution gives = 0, = 2, and = 3. The second condition includes the starting input and its root is real for every assigned input.
- Take the input union .Every input below the boundary uses the constant, and every input at or above it uses the root, so none is missing.
- The constant branch gives {5}. The root branch gives , because any target comes from .The nonnegative root outputs are all attained by the constructed input.
- The full output union is .Output 5 already lies in the root range, so including the constant branch adds no new height.
- Domain: (−∞, ∞).
- Range: [0, ∞).
Rung 6 of 6
Three shapes with two omitted boundary inputs
Let P(x) = if x < −3, P(x) = −7 if −3 < x < 9, and P(x) = if x > 9. Graph the pieces and find domain and range. You are retaining the branch shapes only on the stated intervals, including any missing inputs or isolated output heights.
Show the steps and the answer
- Draw the cube curve only for . At its right boundary the formula would give , so place an open point at .The strict condition excludes −3. Every earlier input gives a cube below −27.
- Draw a horizontal segment at height only for , with both and open.Both comparisons are strict, although every interior input supplies the actual output −7.
- For x > 9, the root curve’s boundary location is (9, 2), because . Leave that point open, and draw the curve through (14, 3), continuing rightward.Only inputs above 9 belong to this branch; they make the root inside greater than 4, so their root outputs are strictly greater than 2.
- Keep both missing input values and write .No condition includes −3 or 9; each other real input belongs to exactly one branch.
- The cube branch reaches exactly : for any , the input is below and cubes to y. The middle branch reaches the single value .Cubing preserves input order, and the constant branch has only one output despite its many inputs.
- The root branch reaches : for any target y > 2, choose ; then .The target is positive, so its square exceeds 4 and the principal root returns y. This proves every claimed root height is attained.
- Combine the three output sets as .The isolated height −7 belongs. A one-member set can be written [−7, −7], and union must preserve all missing heights around it.
- Domain: (−∞, −3) ∪ (−3, 9) ∪ (9, ∞).
- Range: (−∞, −27) ∪ [−7, −7] ∪ (2, ∞).
- P(−3) and P(9) are undefined.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- List each branch's domain and range separately before taking the two unions.
- Count only filled points in a vertical line test at a boundary.
- Keep jumps and missing intervals visible. Do not draw extra connecting segments.
7 The trap
Joining the endpoint (1, 1) to the hollow endpoint (1, 3) with a vertical segment. That segment would create many outputs for x = 1. A jump stays a jump; it is not filled in.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.