Quarry School

College Algebra / Functions and function notation

Functions and function notation

Subject: Mathematics

All 10 lessons, in order.

The unit at a glance

  1. A function gives one answer to each input

    Picture a vending machine with a fixed menu.

  2. Read function notation as an instruction

    A recipe has a name, an ingredient amount, and a finished result.

  3. Evaluate a formula

    Think of a recipe with a blank for an ingredient amount.

  4. The difference quotient: average rate of change

    Think of driving between two mile markers.

  5. Solve when the output is given

    Suppose a vending machine's receipt says the price was 3 dollars, and you want to know which buttons could have produced that price.

  6. Turn an equation into a function when possible

    Picture a bill with two amounts mixed together.

  7. Evaluate and solve from tables and graphs

    Think of a train timetable.

  8. One-to-one means each output identifies one input

    Imagine a coat check where every ticket number belongs to one coat, and every coat has its own ticket number.

  9. Vertical and horizontal lines answer different questions

    Picture scanning shelves with a straight ruler.

  10. Meet the nine toolkit functions

    Think of a toolbox holding a few familiar tools.

Rules (10)
  • A function gives one answer to each input

    A relation is a set of ordered pairs (input, output). It is a function when every input in its domain has exactly one output. The range is the set of outputs it produces.

  • Read function notation as an instruction

    y = f(x): f is the function name, x is the input, and y or f(x) is the output. Evaluate means find an output. Solve means find the input or inputs producing a specified output.

  • Evaluate a formula

    To evaluate a formula, replace every input variable with the whole stated input in parentheses, then calculate or expand. The value or expression you obtain is the output.

  • The difference quotient: average rate of change

    Difference quotient: f(x+h)−f(x)h, with h ≠ 0 and both inputs in the domain. Read it: f of x plus h, minus f of x, all over h. The starting input can also be named a: f(a+h)−f(a)h.

  • Solve when the output is given

    To solve f(x) = k, set the function's formula equal to k and find every allowed input x.
    Zero product rule: AB = 0 means A = 0 or B = 0, or both.

  • Turn an equation into a function when possible

    Choose the input and output. An explicit rule gives the output alone in terms of the input.
    An implicit rule keeps them mixed in an equation. Function status requires exactly one output for each allowed input.

  • Evaluate and solve from tables and graphs

    Evaluate g(3): input 3 is given; read its output. Solve g(n) = 6: output 6 is given; find every input paired with it. A point (x, y) on a function graph means y = f(x).

  • One-to-one means each output identifies one input

    A one-to-one function gives different outputs to different inputs. Equivalently, each value in its range comes from exactly one input. Check function status first, then check for shared outputs.

  • Vertical and horizontal lines answer different questions

    Vertical line test: a graph represents a function exactly when every vertical line meets it at most once. Horizontal line test: a function is one-to-one exactly when every horizontal line meets its graph at most once.

  • Meet the nine toolkit functions

    Toolkit functions: constant c, identity x, absolute value |x|, quadratic x2, cubic x3, reciprocal 1x, reciprocal squared 1x2, square root x, and cube root x3. For each, connect formula, graph, domain, range, and a sample table.

Recipes (10)
  • A function gives one answer to each input
    1. Name what you are starting with; that quantity is the input.
    2. Name what you want to find; that quantity is the output.
    3. Inspect every input and its assigned outputs.
    4. Accept shared outputs. Reject an input with two different outputs.
    5. List distinct inputs as the domain and distinct outputs as the range.
  • Read function notation as an instruction
    1. Identify the function name and what its input and output represent.
    2. Read everything inside the parentheses as the entire input.
    3. For evaluate, apply the rule to that input.
    4. For solve, require the rule's output to equal the given value.
    5. Include units when the quantities have units.
  • Evaluate a formula
    1. Say what the question asks. Evaluate f(2) means the input is 2; find its output. It does not ask which input produces 2.
    2. Copy the formula, replacing every input letter with the given input in parentheses.
    3. For a number, do powers first, then multiplication, then addition and subtraction. For an expression, multiply out parentheses before collecting like terms.
    4. Check by putting a numerical input into both the starting recipe and the expanded expression. Matching results can catch an expansion error.
  • The difference quotient: average rate of change
    1. Write f(x + h) by replacing every x with the whole (x + h). Also write f(x) separately.
    2. Multiply out. A square has the middle term: (x + h)2 = x2 + 2xh + h2. A number in front multiplies every piece.
    3. Subtract f(x) in parentheses, then reverse every sign in that subtracted group.
    4. In these polynomial examples, every term without h must cancel. If one remains, recheck the expansion, copied terms, and subtraction signs.
    5. Factor h from the entire numerator, or divide every numerator term by h. Cancel only the shared nonzero factor.
    6. Write the simplified answer and h ≠ 0. Both starting and ending inputs must still be allowed. Check with chosen numbers.
  • Solve when the output is given
    1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
    2. Replace the function notation with its formula, keeping the requested output on the other side.
    3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
    4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.
    5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
    6. Solve each smaller equation and keep every permitted input.
    7. Substitute each answer into the original function. Each checked output must equal the requested output.
  • Turn an equation into a function when possible
    1. Name the input letter and the requested output letter.
    2. Undo addition or subtraction around the output, doing the same operation to both sides.
    3. Divide every remaining term by the output's nonzero coefficient.
    4. For a cubed output, take its unique real cube root. For a squared output, keep both signs and test an input where they differ.
    5. Write the output alone as f(input) when possible, and check a pair in the equation you started with.
    6. If the equation stays mixed, remember that an awkward formula alone does not disprove a function.
  • Evaluate and solve from tables and graphs
    1. Translate the question into either given input, find output, or given output, find inputs.
    2. In a table, stay in the same column when moving between its input and output rows.
    3. On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
    4. For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
    5. Check each answer against its original column or point. Do not invent values between isolated data points.
  • One-to-one means each output identifies one input
    1. State the domain and the direction of the rule.
    2. Confirm that each input has one output.
    3. Search for two different inputs with the same output. One such pair proves the function is not one-to-one.
    4. If claiming one-to-one, explain why every output the function actually produces recovers exactly one allowed input. A few sample pairs alone do not prove it for an infinite domain.
  • Vertical and horizontal lines answer different questions
    1. Identify the input on the horizontal axis and the output on the vertical axis.
    2. Try vertical lines across the graph. One line meeting two distinct graph points proves it is not a function.
    3. If every vertical line meets at most once, the graph is a function. Some lines may miss the graph.
    4. For a function, try horizontal lines. One line meeting two distinct points proves it is not one-to-one.
    5. Passing every horizontal line proves one-to-one. State which test supports each conclusion.
  • Meet the nine toolkit functions
    1. Identify the operation in the formula and match its familiar graph shape.
    2. Check which real inputs the operation accepts. These make its domain.
    3. Ask which outputs it can actually produce. These make its range.
    4. Evaluate one small input with parentheses, then check the result against the graph or sample table.
    5. When an output is given, reverse the operation and check every candidate against the domain.
Traps (10)

Lesson 1 of 10

A function gives one answer to each input

Subject: MathematicsLeans on: Ordered pairs and setsOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Picture a vending machine with a fixed menu. You choose a button. That choice is the input. The snack it gives you is the output. Any collection of these matched choices and results is a relation, like a list of (button, snack) pairs. A function is a relation that gives exactly one answer for each allowed choice.

Two buttons may both give crackers. Each button still has one answer. Trouble begins if one button is assigned both crackers and pretzels, with no instruction choosing between them.

The domain lists the allowed inputs. The range lists only outputs that actually appear. You will read the same matched pairs in lists, tables, pictures, and formulas.

2 Picture it

Button AFixed menuinputoutputCrackers
An allowed button determines one snack.

Reminder

Reminder: Ordered pairs and sets
  • Ordered pairs and sets. (1, 2) records input 1 followed by output 2. A set such as {2, 4} lists distinct values.

3 Why

A relationship is useful as a function because knowing an input settles the output. If one input had two different assigned outputs, a request for its value would have no definite answer. Repeated outputs do not cause that problem: you still know what happens at each input. You must choose the direction first. A menu can identify a price from an item even when a price cannot identify a unique item.

4 The rule

A relation is a set of ordered pairs (input, output).

It is a function when every input in its domain has exactly one output. The range is the set of outputs it produces.

The same idea, five ways

Say it

y is a function of x.

Write it

Each allowed input has exactly one output. In f(x) = 2x, f names the doubling rule, x is the input, and f(x), read f of x, is its output.

In math
  • {(1, 2), (2, 4), (3, 6)}
  • y = 2x
  • f(x) = 2x
  • On a graph, each allowed horizontal input has one height.
Like

One accepted vending-machine button selects one snack.

See it
123246function
Each input sends one arrow to its output.

The same idea, other ways

As a machine

One allowed button must settle which snack the rule gives. A missing choice is outside the domain.

AMenuinputoutputCrackers
A gives a definite output.
As arrows

Many arrows may arrive at the same output. Each input must send exactly one arrow.

ABCCrackersPretzelsfunction
Different inputs may share crackers.
As a question

Start with an item and ask its price. If the menu has one price per item, your question has a definite answer.

With numbers

The rule x2 gives 4 at both 2 and −2. Each individual input still has only one square.

Given asHow to check
Ordered pairsNo input has two different paired outputs.
A tableCompare all columns sharing the same input.
A graphSlide an upright ruler across the graph. Two contacts at the same horizontal position mean one input has two outputs. The line-test lesson explains this picture.
An equationChoose an input and find every permitted output. For x2 + y2 = 1 at x = 0, y = 1 and y = −1 both work, so this relation fails.

Part 1: Domain and range

The domain is the menu of accepted inputs. The range is the collection of answers actually reached. A relation has a domain and range even if it fails to be a function. Read each pair as input first, output second. The range lists only outputs that actually appear.

  • Domain: first coordinates of the ordered pairs.
  • Range: second coordinates of the ordered pairs, without duplicate set members.
  • Inputs may be numbers or labels. Natural numbers are 1, 2, 3 and so on.
-20240function
-2 → 4, 0 → 0 and 2 → 4: a function.
The same idea, five ways
Say it

Domain means what may go in. Range means what comes out.

Write it

List each distinct input once for domain and each distinct output once for range.

In math
  • {(−2,4),(0,0),(2,4)}
  • Domain: {−2, 0, 2}
  • Range: {0, 4}
Like

The available buttons and the available snacks are different lists.

See it
-20240function
The same picture again: -2 → 4, 0 → 0 and 2 → 4: a function.

Worked example

Shared outputs do not add extra range members

For the relation {(−2, 4), (0, 0), (2, 4)}, decide function status and list its domain and range.

What it asks. Decide whether the three listed inputs each have one output, then list domain and range.

Show the steps and the answer

The plan. Read every first coordinate, then every second coordinate. Remove repeated set members, then check the input arrows.

-20240function
The same picture a third time: -2 → 4, 0 → 0 and 2 → 4: a function.
  1. Plan. Read every first coordinate, then every second coordinate. Remove repeated set members, then check the input arrows.
  2. The first numbers are −2, 0, and 2.
  3. The output 4 appears twice, but it is one range member.
  1. Read the three first coordinates: −2, 0 and 2.These are the accepted inputs.
  2. Read the second coordinates: 4, 0 and 4, then list the distinct values 0 and 4.Range is a set, so a repeated output is listed once.
  3. Check each input's arrows. Each input points to only one output.Different inputs may share the output 4 without creating ambiguity at either input.
Answer
  • Function.
  • Domain: {−2, 0, 2}.
  • Range: {0, 4}.
Double-check This is the rule 'square the input' restricted to the three listed inputs, and each square matches its pair.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The range of {(1, 2), (3, 2)} has two distinct members because the output 2 appears twice.
Two occurrences of the same value do not make two different set members.
✓ Instead: The range has one member: {2}.
Tips and tricks
  • Read first coordinates for domain and second coordinates for range.
  • As a guest list: The domain names who may enter; the range names results that actually occur.
  • As two collections: In {(1, 2), (3, 2)}, the domain has two members and the range has one.

Part 2: Odd and even labels

Odd and even sort whole counting numbers into two labels. Even numbers split into pairs with nothing left over; odd numbers leave one unpaired object. A label can describe many numbers, so starting with the label does not choose one particular number.

  • 2 and 4 are even because 2 = 2 × 1 and 4 = 2 × 2.
  • 1, 3 and 5 are odd because each leaves one after pairing.
  • Number to label, odd or even, is a function for these inputs. Label to number is not, because one label names several numbers.
OddEven12345not a function
Odd → 1, Even → 2, Odd → 3, Even → 4 and Odd → 5: not a function.
The same idea, five ways
Say it

An even number makes complete pairs. An odd number leaves one over.

Write it

Starting with a number tells you its label; starting with the label does not identify one number.

In math
  • 2 → even
  • 4 → even
  • 1 → Odd
  • 3 → Odd
  • Odd → 1 and Odd → 3
Like

Four chairs form two pairs. Three chairs leave one chair unpaired.

See it
OddEven12345not a function
The same picture again: Odd → 1, Even → 2, Odd → 3, Even → 4 and Odd → 5: not a function.

Worked example

Odd and even labels do not determine a unique number

OpenStax problem

In the pictured relation, each label points to natural numbers of that type. Does the label determine a number as a function?

What it asks. Starting with Odd or even, can you recover one number?

Show the steps and the answer

The plan. Read every arrow leaving each label. If a label has several different destinations, label to number is not a function.

OddEven12345not a function
The same picture a third time: Odd → 1, Even → 2, Odd → 3, Even → 4 and Odd → 5: not a function.
  1. Plan. Read every arrow leaving each label. If a label has several different destinations, label to number is not a function.
  2. Odd is the starting label in three of the arrows.
  3. A label input must obey the same one-output condition as a number input.
  1. Odd means a counting number not divisible into whole-number pairs; even means one divisible into such pairs.The input labels need meanings before their outputs can be interpreted.
  2. Input Odd points to 1, 3 and 5.Each of those listed natural numbers is odd.
  3. Input even points to 2 and 4.Each of those listed natural numbers is even.
  4. Reject function status for the direction label to number.Each input label is assigned several different outputs.
Answer
Not a function from label to number.
Double-check Reverse the listed pairs. Every number from 1 through 5 has one label, so number to label is a function. Changing direction changes the question.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Odd identifies one number because it is one word.
One input word can still have several assigned outputs.
✓ Instead: Odd maps to 1, 3 and 5 in this relation, so it does not determine a unique output.
Tips and tricks
  • Labels can be inputs; test their assigned outputs the same way you test numeric inputs.
  • As pairing: Four chairs form two pairs. Five chairs form two pairs and one leftover chair.
  • As grouped labels: The word Odd describes several choices, so it cannot tell you which number was chosen.

Part 3: Choose the direction

You decide which row is the starting row. A price list can answer 'What does tea cost?' even when it cannot answer 'What item costs three dollars?' Directions are part of the question, not a feature you can ignore.

  • The independent variable is the input you choose from the domain.
  • The dependent variable is the output determined by that input.
input itemoutput dollarsTea3Cocoa4Juice3
item: Tea, Cocoa, Juice; dollars: 3, 4, 3.
The same idea, five ways
Say it

Price is a function of item.

Write it

Start with the item to find its price. Reversing the direction asks a different question.

In math
  • Tea → 3
  • Juice → 3
  • 3 → Tea and 3 → Juice
Like

Two snacks can have the same price, so the receipt alone may not name the snack.

See it
input itemoutput dollarsTea3Cocoa4Juice3
The same picture again: item: Tea, Cocoa, Juice; dollars: 3, 4, 3.

Worked example

Read a menu in both directions

The pictured menu assigns a price to each item. Is price a function of item? Is item a function of price?

What it asks. Check item to price, then check price to item.

input itemoutput dollarsTea3Cocoa4Juice3
The same picture a third time: item: Tea, Cocoa, Juice; dollars: 3, 4, 3.
Show the steps and the answer

The plan. Choose the input row first. Follow each column to its partner. Reverse the rows and check again.

input itemoutput dollarsTea3Cocoa4Juice3
The same picture, shown 4 times now: item: Tea, Cocoa, Juice; dollars: 3, 4, 3.
  1. Plan. Choose the input row first. Follow each column to its partner. Reverse the rows and check again.
  2. Tea and Juice both give 3 dollars.
  3. When 3 dollars becomes the input, count all the item outputs.
  1. Read the columns from item to price: tea gives 3, cocoa gives 4, and juice gives 3.Each item has a single listed price.
  2. Reverse the direction. Input price 3 gives both tea and juice.The reversed relationship has one input with two different outputs.
  3. Conclude that item-to-price is a function and price-to-item is not.Function status depends on which quantity you chose as input.
Answer
  • Price is a function of item.
  • Item is not a function of price.
Double-check Two items sharing a price causes no uncertainty when you start with an item. It creates uncertainty when you start with price 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A menu is a function in both directions because every item has a price.
Shared prices create several outputs if price becomes the input.
✓ Instead: Check each chosen direction separately.
Tips and tricks
  • Write 'input → output' in words before deciding function status.
  • As a menu: An item selects one price, while one price can name several items.
  • As a reversed lookup: Start with Tea and the answer is 3. Start with 3 and both Tea and Juice match.

5 How

  1. Name what you are starting with; that quantity is the input.
  2. Name what you want to find; that quantity is the output.
  3. Inspect every input and its assigned outputs.
  4. Accept shared outputs. Reject an input with two different outputs.
  5. List distinct inputs as the domain and distinct outputs as the range.

Check one output for each input

1
Are the pairs listed or arranged in a table?
YesFind repeated inputs and compare the outputs assigned to each. A matching repeated pair causes no conflict.
NoUse the graph or equation branch.
↓
2
Is one input assigned two different outputs?
YesWrite not a function, followed by that input and both outputs.
NoEvery listed input has one output, so the listed relation is a function.
↓
3
Are you given a graph?
YesSlide an upright ruler across it. If one horizontal input position has two graph heights, the relation is not a function.
NoFor an equation, choose an input and solve for every possible output. Two different outputs at one input disprove a function.
  1. Name what you are starting with; that quantity is the input.
  2. Name what you want to find; that quantity is the output.
  3. Inspect every input and its assigned outputs.
  4. Accept shared outputs. Reject an input with two different outputs.
  5. List distinct inputs as the domain and distinct outputs as the range.

6 Worked example

Worked example

Function or not from ordered pairs

OpenStax problem

Decide whether each relation gives one output per input.
(a) {(1, 2), (2, 4), (3, 6), (4, 8), (5, 10)}
(b) {(1, 3), (2, 5), (1, 7)}

What it asks. For each list, does one input have two different outputs? Also list the first relation’s allowed inputs and actual outputs.

Show the steps and the answer

The plan. Read the first number in each pair as input. Compare pairs with the same input, then collect distinct first and second numbers.

12345246810function
In (a), each input sends one arrow.
12357not a function
Two arrows leave input 1 for different outputs.
  1. Plan. Read the first number in each pair as input. Compare pairs with the same input, then collect distinct first and second numbers.
  2. In (1, 3), 1 is the input and 3 is its output.
  3. In list (b), find both pairs whose first number is 1.
  1. For (a), each of the inputs 1, 2, 3, 4 and 5 has one paired output.The first coordinate is the input, and none has conflicting outputs.
  2. Collect the domain {1, 2, 3, 4, 5} and the range {2, 4, 6, 8, 10}.Domain lists accepted inputs; range lists produced outputs.
  3. For (b), input 1 pairs with both 3 and 7.A function cannot give two different answers for the same input.
Answer
  • (a) function.
  • Domain: {1, 2, 3, 4, 5}.
  • Range: {2, 4, 6, 8, 10}.
  • (b) Not a function. Input 1 has outputs 3 and 7.
Double-check In (a), the instruction 'double the input' gives the listed output every time. In (b), asking for the output at 1 leaves two competing answers.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Input 1 has output 3 and output 7, so choose whichever you prefer.
The relation itself must assign a definite answer; choosing later changes the problem.
✓ Instead: This relation is not a function.
✗ Not this: Two inputs share output 4, so it is not a function.
Neither input has conflicting outputs.
✓ Instead: It can be a function; shared outputs are allowed.
✗ Not this: Write the range of {(−2, 4), (0, 0), (2, 4)} as [0, 4].
That interval includes every number between 0 and 4, but the relation produces only 0 and 4.
✓ Instead: Write the separate outputs in braces: {0, 4}.

Tips and tricks

  • First identify the input. The phrase 'B is a function of A' means start with A and find B.
  • Memory cue: one arrow OUT of each input. Many arrows IN to one output are allowed.
  • On the exam, give the evidence: not a function, because input 1 has outputs 3 and 7.
  • A few separate values go in braces, such as {0, 4}. An interval means a whole stretch, such as [0, 4], which also contains 1 and 2.5.

7 The trap

Checking for repeated outputs instead of conflicting inputs. Two arrows arriving together are allowed; two arrows leaving one input for different answers are not.

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 2 of 10

Read function notation as an instruction

Subject: MathematicsLeans on: DistributionOpen this lesson
Leans on 0Comes back in 11

1 In plain words

A recipe has a name, an ingredient amount, and a finished result. Function notation keeps those three jobs visible. In f(x), f names the recipe, x is the ingredient you supply, and f(x) names the result. Read it as 'f of x.' The parentheses mark the input slot. They do not tell you to multiply f by x. If you see f(3), the input is already chosen and you find its result. If you see f(x) = 3, the result is chosen and you find which inputs could produce it. A letter, a number, or a whole expression can fill the input slot.

2 Picture it

xfinputoutputf(x)
The name of the rule and the name of its output have different jobs.

Reminder

Reminder: Distribution
  • Distribution. 2(a + 2) = 2a + 4 because the multiplier reaches both terms.

3 Why

Naming the function separately from its output lets you use one rule at many inputs. The name f stays the same in f(2), f(5), and f(a + h), while the chosen input changes. Parentheses are a convention for showing that choice clearly. Treating them as multiplication would erase the instruction to apply a rule, and it would make a word input such as March meaningless as a product.

4 The rule

y=f(x): f is the function name, x is the input, and y or f(x) is the output.

Evaluate means find an output. Solve means find the input or inputs producing a specified output.

The same idea, five ways

Say it

f of two equals six.

Write it

The output of f at input 2 is 6.

In math
  • f(2) = 6
  • (2, 6)
  • When x = 2, y = 6.
  • The column with input 2 over output 6 gives the same pair.
Like

Button 2 gives the result labeled 6.

See it
2finputoutput6
For f(x) = x2 + 3x − 4, input 2 gives output 6.

The same idea, other ways

As a recipe

f is the recipe name, x is your ingredient amount, and f(x) is the finished amount.

As three labels

In d(March) = 31, d names the rule, March names the input, and 31 is the output.

Marchdays in monthinputoutput31
A word input can determine a number output.
As opposite requests

f(3) starts at input 3. f(x) = 3 starts at output 3. Put your finger on the given side before moving.

Why the letters stay useful

Once you name a rule f, you can ask for many outputs without rewriting its full recipe each time.

For f(x) = x2 + 3x − 4It asksFirst move and result
f(2)Input 2 is given. Find its output.(2)2+3(2)−4=6.
f(a + h)The whole input a + h is given. Find its output expression.(a + h)2 + 3(a + h) − 4. Here a is the starting input and h is a step added to it. The evaluating lesson expands this expression.
f(x) = 6Output 6 is given. Find every input.Set x2 + 3x − 4 = 6. The solving lesson shows why the inputs are 2 and −5.

Part 1: Names, numbers and units

The input does not have to be x, and the output does not have to be y. Think of labels on measuring cups. Choose letters that make the quantities recognizable. If a is a pig’s age in days, W(a) can mean its weight in pounds at that age. The definition supplies the units. The parentheses alone cannot tell you them.

  • The independent variable a measures age in days; the dependent variable W(a) measures weight in pounds.
  • h(a) can mean height at age a, if you first define that meaning.
  • Science books sometimes write y(x), using y as the rule name. This course writes y = f(x) so the rule name and the output remain separate.
  • An algebraic expression such as a + 2 combines numbers, letters and operations.
2018Pinputoutput240
2018 goes in, the rule is P, and 240 comes out.
The same idea, five ways
Say it

P of twenty eighteen equals two hundred forty.

Write it

In the input year 2018, the officer-count output is 240.

In math
  • P(2018) = 240
  • (2018, 240)
  • t = 2018 gives P(t) = 240
Like

The date label on a record tells you when its count applies.

See it
2018Pinputoutput240
The same picture again: 2018 goes in, the rule is P, and 240 comes out.

Worked example

Explain a statement with units

The function P(t) gives the number of officers in a town in year t. Interpret P(2018) = 240.

What it asks. Turn the function statement into a sentence that keeps year and officer count in their correct roles.

Show the steps and the answer

The plan. Read the definition for units, then read input inside parentheses and output after equals.

2018Pinputoutput240
The same picture a third time: 2018 goes in, the rule is P, and 240 comes out.
  1. Plan. Read the definition for units, then read input inside parentheses and output after equals.
  2. t was defined as the year.
  3. 240 is the count returned by P.
  1. Read the input inside the parentheses: t=2018.The model defines t as a calendar year, not an officer count.
  2. Read the output after the equals sign: 240 officers.P(t) is defined as the count of officers.
  3. State the relationship in words: in 2018 the town had 240 officers.Including both units prevents swapping the input and output.
Answer
In 2018, the town had 240 officers.
Double-check Write the pair (2018, 240). Its first value is the year and its second is the count, matching the interpretation.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: P(2018) = 240 means year 240 had 2018 officers.
The input and output positions were swapped.
✓ Instead: It means 240 officers in the input year 2018.
Tips and tricks
  • Read the definition of the function before interpreting its notation.
  • As labeled containers: A year and an officer count can both be numbers; their units tell you which container each belongs in.
  • As a sentence: 'Weight is a function of age' becomes W(a), after you define pounds and days.

Part 2: Expression inputs

An expression can be an input even when you cannot turn it into a number yet. Treat a + 2 as one sealed package. Put that whole package wherever the old input variable occurred, then open it using distribution. Do not add 2 to the old output unless the formula itself tells you those results match.

  • Replace every occurrence of the input variable.
  • Parentheses protect sums and negative inputs.
  • In general j(a + 2) differs from j(a) + 2; the first changes the input, the second changes an output.
a + 2j(x) = 2x + 1inputoutput2a + 5
a + 2 goes in, the rule is j(x) = 2x + 1, and 2a + 5 comes out.
The same idea, five ways
Say it

j of a plus two.

Write it

Apply the j rule to the complete input a + 2.

In math
  • j(x) = 2x + 1
  • j(a + 2) = 2(a + 2) + 1
  • j(a + 2) = 2a + 5
Like

Keep the whole ingredient package together before the recipe doubles it.

See it
a + 2j(x) = 2x + 1inputoutput2a + 5
The same picture again: a + 2 goes in, the rule is j(x) = 2x + 1, and 2a + 5 comes out.

Worked example

A whole expression can occupy the input slot

For j(x) = 2x + 1, evaluate j(3) and j(a + 2). Evaluate means find the output for the stated input.

What it asks. Find one numerical output and one expression output for the same rule j.

Show the steps and the answer

The plan. Copy the entire input into the x slot. Multiply the complete parentheses by 2, then add 1.

a + 2j(x) = 2x + 1inputoutput2a + 5
The same picture a third time: a + 2 goes in, the rule is j(x) = 2x + 1, and 2a + 5 comes out.
  1. Plan. Copy the entire input into the x slot. Multiply the complete parentheses by 2, then add 1.
  2. For input a + 2, first write 2(a + 2) + 1.
  3. The multiplier reaches a and 2: 2a + 4.
  1. Write j(3)=2(3)+1=6+1=7.The input 3 replaces x in the rule.
  2. Write j(a+2)=2(a+2)+1.The entire expression a + 2 replaces the input variable.
  3. Distribute: 2a+4+1=2a+5.Two copies of a + 2 contain 2a plus 4.
Answer
  • j(3) = 7.
  • j(a + 2) = 2a + 5.
Double-check At a = 1 the new input is 3. The symbolic answer gives 2(1) + 5 = 7, matching j(3).
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: For j(x) = 2x + 1, j(a + 2) = j(a) + 2.
The extra 2 in the input is doubled by the rule.
✓ Instead: j(a + 2) = 2a + 5, while j(a) + 2 = 2a + 3.
Tips and tricks
  • Replace first, simplify second.
  • As a sealed package: Copy (a + 2) into every input slot before doing any arithmetic.
  • With numbers: For j(x) = 2x + 1, j(3) = 7, while j(1) + 2 = 5. Input changes and output changes differ.

Part 3: Read and check a table of values

Think of a table as a row of paired recipe cards. Each column keeps a starting value above its result. You read down one column to keep that pair together. A table of values can define a whole small function, such as the twelve months of a nonleap year. It can also show only a few observations from a larger situation. You cannot assume it tells you missing values. To check whether it is a function, look for repeated starting values and compare their results. A repeated starting value is harmless if its result agrees; it causes a problem if two different results are assigned.

  • Columns carry the same information as ordered pairs, so the function definition does not change when the layout changes. Two columns with the same input and different outputs still make an output request ambiguous. Two columns sharing an output do not. A sample table also gives no automatic rule between its entries: many possible functions can agree at the shown inputs and disagree elsewhere.
  • A table is a function when no input appears with two different outputs. Outputs may repeat. A table listing every accepted input gives the entire domain; a table of selected values gives only the information shown.
  • Read the input and output labels and units.
  • Keep each column together as one ordered pair.
  • Locate every repeated input and compare all its outputs.
  • Accept matching repeats and shared outputs; reject conflicting outputs.
  • Decide whether the definition is complete or only a sample before answering about missing inputs.
input xoutput g(x)−350145
x:−3,0,4;g(x):5,1,5.
Reminder
Reminder: Function definition
  • Function definition. One input must settle one output. Shared outputs, such as −3 → 5 and 4 → 5, are allowed.
The same idea, five ways
Say it

The column under two says f of two equals one.

Write it

A table column is one input-output pair.

In math
  • f(2) = 1
  • (2, 1)
  • Input 2 → output 1
  • The output directly below input 2 is 1.
Like

Read the two halves of one paired recipe card together.

See it
input xoutput f(x)215386
Each listed input has one output.

Worked example

Reading function notation from a table: a cooling cup of tea

A cup of tea is poured and left on a desk. The function T gives the tea's temperature, T(m), in degrees Celsius, m minutes after pouring. The table lists every value of T that we know:

m (minutes): 0, 5, 10, 15, 20
T(m) (°C): 90, 74, 62, 54, 48

(a) Evaluate T(10) and say what it means.
(b) Solve T(m) = 54 and say what it means.
(c) A classmate says T(5 + 15) = T(5) + T(15) = 74 + 54 = 128 °C. Find T(5 + 15) correctly and explain the mistake.

input time m (minutes)output temperature T(m) (°C)090574106215542048
A table of 5 values of temperature T(m) (°C), for time m (minutes) from 0 to 20.
Show the steps and the answer
input time m (minutes)output temperature T(m) (°C)090574106215542048↓ evaluate: input given, read the output below it
Table of the tea's temperature T(m) in °C at m = 0, 5, 10, 15.
  1. Name the parts: the function is T, the input m is the time in minutes since pouring, and the output T(m) is the temperature in °C.Before reading any value, we need to know which row of the table is the input and which is the output.
  2. (a) Find the input 10 in the m row. The entry below it in the T(m) row is 62, so T(10)=62.Evaluating means finding an output. We start from the given input and read across to its output.
  3. Interpret: T(10)=62 means that 10 minutes after pouring, the tea is 62 °C.An answer in function notation should be stated with its units and in terms of the situation.
  4. (b) Find 54 in the T(m) row. The input above it is m=15, so the solution is m=15.Solving means finding the input that gives a specified output. Here we start from the output 54 and read back to the input.
  5. Check the T(m) row for any other entry equal to 54. There is none, so m=15 is the only solution in the table. Interpret: the tea is 54 °C exactly 15 minutes after pouring.Solving asks for every input that gives the output, so we must not stop at the first match without checking the rest.
  6. (c) Treat everything inside the parentheses as one input: 5+15=20. Then T(5+15)=T(20)=48°C.The parentheses hold a single input. We simplify it first, then apply the function once.
  7. Explain the error: the classmate applied T separately to 5 and to 15 and added the outputs. T(5)+T(15)=128°C is the sum of two temperatures and does not describe the tea at 20 minutes.T(a + b) is one instruction with a single input. It is not the same as T(a) + T(b), which applies T twice.
Answer
(a) T(10) = 62: ten minutes after pouring, the tea is 62 °C. (b) m = 15: the tea is 54 °C at 15 minutes. (c) T(5 + 15) = T(20) = 48 °C. The classmate wrongly split T across the sum.
Double-check Each result can be read back from the table. In the column m = 10 the temperature is 62. The temperature 54 appears only once, in the column m = 15. In the column m = 20 the temperature is 48. The temperatures fall steadily (90, 74, 62, 54, 48), so a value of 128 °C at 20 minutes is impossible. It is even higher than the starting temperature of 90 °C, which confirms the classmate's answer is wrong.

Work to write

  1. T(10) = 62, so after 10 minutes the tea is 62 °C
  2. T(m) = 54 when m = 15, so the tea is 54 °C after 15 minutes
  3. 5 + 15 = 20, so T(5 + 15) = T(20) = 48 °C
  4. T(5 + 15) ≠ T(5) + T(15), because the whole sum is a single input
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The second table is not a function because its output 5 repeats.
A function permits different inputs to have the same answer.
✓ Instead: It is a function because each input has exactly one output.
✗ Not this: Three listed pairs determine every value between them.
Different unseen rules can share the same three shown pairs.
✓ Instead: Say the missing value is not determined by this table alone.
Tips and tricks
  • A repeated identical pair such as (2, 4) listed twice does not create a second output.
  • Never connect table dots or guess values in between unless a formula tells you those extra values.
  • For a yes-or-no answer, write the input and the conflicting outputs, such as not a function: input 5 has outputs 2 and 4.
  • A repeated output alone is allowed. Do not confuse the input row with the output row.
  • As paired cards: A column is one record, so reading across unrelated columns breaks the pairing.
  • As a list of arrows: The columns of the second table mean −3 → 5, 0 → 1, and 4 → 5. Two arrows arriving at 5 are allowed.

Part 4: A complete month table

This table uses month numbers rather than month names. January is 1, February is 2, and so on through December at 12. That change labels the inputs differently without changing the calendar counts. The nonleap-year condition fixes February at 28 days. A nonleap year has 28 days in February. A leap year has 29.

  • Every one of the twelve accepted inputs is shown.
  • Repeated day counts are allowed.
  • The domain is a finite set of month integers, not every number between 1 and 12.
input moutput d(m)131228331430531630
m: 1, 2, 3, 4, 5, 6; d(m): 31, 28, 31, 30, 31, 30.
The same idea, five ways
Say it

d of three equals thirty-one.

Write it

Month input 3, March, gives output 31 days.

In math
  • d(3) = 31
  • (3, 31)
  • Domain: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}
  • Range: {28, 30, 31}
Like

Month numbers are labels on twelve calendar pages, not all numbers between 1 and 12.

See it
input moutput d(m)131228331430531630
The same picture again: m: 1, 2, 3, 4, 5, 6; d(m): 31, 28, 31, 30, 31, 30.

Worked example

Reading a complete month table: a bakery's loaves sold

A bakery records how many loaves of bread it sells in each month of one year. The function B gives the number of loaves sold, B(n), in hundreds of loaves, during month n, where n = 1 is January and n = 12 is December. The table lists every value of B for that year:

n (month): 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
B(n) (hundreds of loaves): 42, 38, 45, 51, 56, 60, 63, 60, 52, 47, 49, 70

(a) Evaluate B(5) and say what it means.
(b) Evaluate B(2·3 + 1) and say what it means.
(c) Solve B(n) = 60 and say what it means.
(d) Solve B(n) = 40.

input month noutput loaves sold (hundreds)142238345451556660763860952
A table of 9 values of loaves sold (hundreds), for month n from 1 to 9.
Show the steps and the answer
input month noutput loaves sold (hundreds)142238345451556660763860952↓ evaluate: input given, read the output below it
Monthly bread sales B(n), in hundreds of loaves, for months n = 1 (January) through 12 (December).
  1. Name the parts. B is the function name. The input n is a month number from 1 to 12. The output B(n) is the number of loaves sold in that month, in hundreds of loaves.Before reading the table, we need to know which row is the input and which is the output, and what units the output carries.
  2. (a) The input is 5. Find n = 5 in the input row and read the output below it: B(5)=56.To evaluate is to find an output. For a function given by a table, the rule is to look up the input and read its output.
  3. Attach meaning and units: 56 hundred loaves is 5600 loaves. In May (month 5) the bakery sold 5600 loaves.The output is measured in hundreds of loaves, so an answer with no units would not describe the sales.
  4. (b) Treat everything inside the parentheses as one input and simplify it first: 2·3+1=7. So B(2·3+1)=B(7).Whatever sits inside the parentheses is the whole input. B(2·3 + 1) does not mean B(2)·3 + 1.
  5. Read the table at n=7: B(7)=63. In July the bakery sold 63 hundred loaves, which is 6300 loaves.Once the input has been simplified to a single month number, we evaluate it exactly as in part (a).
  6. (c) Search the output row for every entry equal to 60. It appears at n=6 and at n=8, so n=6 or n=8.To solve is to find the inputs that give a stated output. We scan the whole output row, because more than one input can give the same output.
  7. Interpret the result: the bakery sold 6000 loaves in June and also in August, and in no other month.The table lists every month, so there are no other solutions.
  8. (d) Search the output row for 40. No entry equals 40. The smallest value is 38, in February, and 42 is the next value above 40. So B(n)=40 has no solution.A solve question can have no answer. This table covers the whole year, so no month had sales of exactly 4000 loaves.
Answer
(a) B(5) = 56: in May the bakery sold 56 hundred loaves (5600 loaves). (b) B(2·3 + 1) = B(7) = 63: in July it sold 63 hundred loaves (6300 loaves). (c) n = 6 or n = 8: sales were 6000 loaves in June and in August. (d) No solution: in no month were exactly 4000 loaves sold.
Double-check Substitute each result back into the table. The entry under n = 5 is 56 and the entry under n = 7 is 63. The entries under n = 6 and n = 8 are both 60, and every other entry differs from 60. Going through all twelve outputs (42, 38, 45, 51, 56, 60, 63, 60, 52, 47, 49, 70) shows that none equals 40.

Work to write

  1. B is the function; n = month number (input); B(n) = loaves sold in hundreds (output)
  2. B(5) = 56, so 5600 loaves were sold in May
  3. 2·3 + 1 = 7, so B(2·3 + 1) = B(7) = 63, which is 6300 loaves in July
  4. B(n) = 60 when n = 6 or n = 8 (June and August)
  5. B(n) = 40 has no solution, because no table entry equals 40
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The table accepts month 3.5 because 3.5 lies between 3 and 4.
Month numbers are integer labels; this domain does not include fractional months.
✓ Instead: Use one of the twelve listed integer inputs.
✗ Not this: Write the month range as [28, 31].
An interval includes every real number between its endpoints, while the table produces only three separate day counts.
✓ Instead: Range: {28, 30, 31}.
Tips and tricks
  • State whether the year is a leap year before fixing February's output.
  • Use braces for the separate day counts {28, 30, 31}. The interval [28, 31] would also include 29 and 30.5, which no month in this table has.
  • As a calendar: Several months last 31 days, but each named month has one length in this year.
  • As relabeling: input March and input 3 identify the same month under two different definitions.
  • As relabeling: Input March and input 3 identify the same month under two different definitions.

Part 5: Conflicting age data

A group of children can contain two children of the same age and different heights. That is useful data, but age alone cannot predict a unique listed height for that group. The question is about the defined input, not about whether the measurements are sensible.

  • Age 5 occurs with both 40 inches and 42 inches.
  • Those two outputs make the relation fail to be a function of age for this group.
input ageoutput inches5405426447478509521054↓ evaluate: input given, read the output below it
age: 5, 5, 6, 7, 8, 9, 10; inches: 40, 42, 44, 47, 50, 52, 54, read at age = 5.
The same idea, five ways
Say it

Age five gives forty inches and forty-two inches.

Write it

One input, age 5, has two different listed height outputs.

In math
  • (5, 40)
  • (5, 42)
  • 5 → 40 and 5 → 42
Like

Two five-year-old children need not have the same height.

See it
input ageoutput inches5405426447478509521054↓ evaluate: input given, read the output below it
The same picture again: age: 5, 5, 6, 7, 8, 9, 10; inches: 40, 42, 44, 47, 50, 52, 54, read at age = 5.

Worked example

A repeated input can conflict

OpenStax problem

Does the age-height table make height a function of age for the whole listed group?

What it asks. Does age alone select one height in this table?

input ageoutput inches5405426447478509521054
age: 5, 5, 6, 7, 8, 9, 10; inches: 40, 42, 44, 47, 50, 52, 54.
Show the steps and the answer

The plan. Find all columns for age 5 and compare their heights. One conflicting input is enough to reject the relation as a function.

input ageoutput inches5405426447478509521054↓ evaluate: input given, read the output below it
The same picture a third time: age: 5, 5, 6, 7, 8, 9, 10; inches: 40, 42, 44, 47, 50, 52, 54, read at age = 5.
  1. Plan. Find all columns for age 5 and compare their heights. One conflicting input is enough to reject the relation as a function.
  2. There are two highlighted age-5 columns.
  3. Their outputs are 40 and 42, which are different.
  1. Find both columns with input age 5.The same starting input must be checked wherever it appears.
  2. Read their outputs: 40 inches and 42 inches.Those are different heights for the same input.
  3. Classify the relation as not a function of age alone.Age 5 does not determine one height for this group.
Answer
Not a function of age alone.
Double-check Asking for height at age 5 gives two answers, 40 and 42. The table cannot choose one of them.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Every age value looks reasonable, so the table defines a function.
Plausible data can still assign different outputs to the same input.
✓ Instead: Test uniqueness for age 5.
Tips and tricks
  • Find duplicates in the input row before inspecting the output row.
  • As two children: Knowing that a child is five does not tell you which of two different five-year-olds is meant.
  • As two arrows: One age input pointing to 40 and 42 gives two competing answers.

Part 6: Repeated outputs and conflicting inputs

Output repetition and input conflict look similar until you read the row labels. In the first table below, the two 5s are answers. Inputs −3 and 4 each have one answer. In the second table of the worked example, the two 5s are starting values, and their answers are 2 and 4. Those positions explain why the first table is a function and the second table is not.

  • The first table is a function because no input has competing answers.
  • The second table is not a function because input 5 has outputs 2 and 4.
  • Only give a table a function name after it passes the function check.
input xoutput g(x)−350145↑ solve: output given, read every input above it
x: −3, 0, 4; g(x): 5, 1, 5, solved for g(x) = 5.
The same idea, five ways
Say it

Same output is allowed. Same input with different outputs is not.

Write it

Different inputs can share one output; one input cannot choose between two outputs.

In math
  • (−3, 5) and (4, 5): allowed
  • (5, 2) and (5, 4): not a function
Like

Two buttons may give the same snack, but one button must not have two assigned snacks.

See it
input Inputoutput Output105254↓ evaluate: input given, read the output below it
Input: 1, 5, 5; Output: 0, 2, 4, read at Input = 5.

Worked example

Why one repeated 5 is allowed and the other is not

Use the first and second table pictures below. Decide which table is a function.

What it asks. Compare a repeated output with a repeated input.

input xoutput g(x)−350145
The same picture again: x: −3, 0, 4; g(x): 5, 1, 5.
input Inputoutput Output105254
Input: 1, 5, 5; Output: 0, 2, 4.
Show the steps and the answer

The plan. Point to the input row in each picture, then compare the columns carrying the repeated number.

input xoutput g(x)−350145↑ solve: output given, read every input above it
The same picture again: x: −3, 0, 4; g(x): 5, 1, 5, solved for g(x) = 5.
input Inputoutput Output105254↓ evaluate: input given, read the output below it
The same picture again: Input: 1, 5, 5; Output: 0, 2, 4, read at Input = 5.
  1. Plan. Point to the input row in each picture, then compare the columns carrying the repeated number.
  2. In the first table, 5 is in the output row.
  3. In the second table, 5 is in the input row.
  1. In the first table, inputs −3 and 4 both give 5, while input 0 gives 1.Every input still has one assigned output.
  2. In the second table, input 5 gives 2 in one column and 4 in another.The same input has two different outputs.
Answer
  • First table: function.
  • Second table: not a function. Input 5 gives 2 and 4.
Double-check Read down from any first-table input and you get one answer. Read down from 5 in the second table and there are two competing answers.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Reject the first table because output 5 appears twice.
The repeated 5 is an output. Inputs −3 and 4 each have one output, so that repetition is allowed.
✓ Instead: Accept the first table. Reject the second because input 5 gives both 2 and 4.
Tips and tricks
  • Point to the row labels before interpreting a repeated number.
  • By position: A repeated number matters differently in the input row and the output row.
  • By a request: Ask for the output at input 5 in the second table; there is no unique answer.

5 How

  1. Identify the function name and what its input and output represent.
  2. Read everything inside the parentheses as the entire input.
  3. For evaluate, apply the rule to that input.
  4. For solve, require the rule's output to equal the given value.
  5. Include units when the quantities have units.

Choose evaluation or solving

1
Is the input already given inside the parentheses, as in f(3)?
YesEvaluate: apply the rule to the whole given input and find its output.
NoRead which quantity is given.
↓
2
Is the output given after the equals sign, as in f(x) = 3?
YesSolve: set the formula equal to that output and find every allowed input. The solving lesson works this method.
NoUse the definition to identify the input, output, and units before calculating.
  1. Identify the function name and what its input and output represent.
  2. Read everything inside the parentheses as the entire input.
  3. For evaluate, apply the rule to that input.
  4. For solve, require the rule's output to equal the given value.
  5. Include units when the quantities have units.

6 Worked example

Worked example

Evaluating and solving with a rental-cost function

A kayak rental shop charges according to C(h) = 15 + 9h, where h is the number of hours rented and C(h) is the total cost in dollars.
(a) Evaluate C(4) and say what it means.
(b) Solve C(h) = 69 and say what it means.
(c) Write C(h + 1) as an expression in h.

Show the steps and the answer
input hours rented, houtput cost C(h) ($)233451669↓ evaluate: input given, read the output below it
Values of C(h) = 15 + 9h at h = 2, 4 and 6 hours: $33, $51 and $69.
  1. Name the parts: the function is C, the input h is time in hours, and the output C(h) is cost in dollars.In y = f(x), the letter outside the parentheses names the function, the letter inside is the input, and f(x) is the output. Units come from what each quantity measures.
  2. (a) Substitute 4 for h: C(4)=15+9(4)=15+36=51.Evaluate means find the output. The number inside the parentheses is the input, so h = 4 is fed into the rule.
  3. (a) Interpret: C(4)=51 dollars, so renting for 4 hours costs $51.The output carries the output's units, which are dollars.
  4. (b) Set the rule equal to the given output: 15+9h=69.Solve means find the input that produces a given output. Here the output C(h) is 69, so the rule must equal 69.
  5. (b) Subtract 15 from both sides: 9h=54. Then divide by 9: h=6.Undoing the operations in reverse order isolates the input.
  6. (b) Interpret: h=6 hours, so a $69 bill means the kayak was rented for 6 hours.The answer to a solve question is an input, so it carries the input's units, which are hours.
  7. (c) Replace every h in the rule with the whole input (h + 1): C(h+1)=15+9(h+1).Everything inside the parentheses is the entire input. Writing (h + 1) in place of h keeps that input together.
  8. (c) Simplify: 15+9h+9=9h+24.Distribute the 9 to both terms of the input, then combine the constants.
Answer
(a) C(4) = 51: a 4-hour rental costs $51. (b) h = 6: a $69 rental lasted 6 hours. (c) C(h + 1) = 9h + 24 dollars, the cost of renting one hour longer than h hours.
Double-check (a) 9 × 4 = 36 and 36 + 15 = 51. (b) Substituting h = 6 gives C(6) = 15 + 54 = 69, which matches the given output. (c) Test with h = 3. Then C(h + 1) = C(4) = 51, and 9(3) + 24 = 27 + 24 = 51. Both agree.

Work to write

  1. C is the function, h = hours rented (input), C(h) = cost in dollars (output)
  2. C(4) = 15 + 9(4) = 51
  3. C(4) = 51 dollars: 4 hours costs $51
  4. 15 + 9h = 69
  5. 9h = 54
  6. h = 6 hours
  7. C(h + 1) = 15 + 9(h + 1) = 9h + 24

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(3) = 3f.
f is a rule name, and the parentheses select input 3.
✓ Instead: Apply the defined rule at input 3.
✗ Not this: Solve f(x) = 3 by plugging 3 in for x.
The 3 is the requested output, not the known input.
✓ Instead: Set the formula equal to 3 and find all allowed inputs.
✗ Not this: f(x + 1) = fx + f, by distribution.
Here f names a function, not a multiplying number. Only the defined formula tells you the output.
✓ Instead: For the rule f(x) = 2x + 1, f(x + 1) = 2(x + 1) + 1 = 2x + 3.

Tips and tricks

  • Memory cue: inside names the input; equals names the output.
  • Use descriptive letters for word problems, then define their units.
  • A letter in front of parentheses is a function name when a definition names it as a rule, such as f(x) = 2x + 1. A number in front multiplies: 3(x + 1) = 3x + 3. In a difference quotient, h names a step number, so h(2a + h + 3) means multiplication.
  • Function names are name tags: f, g, h, q, r, s, d, M, P, and W can all name rules. Read the formula or table that defines the chosen name.

7 The trap

Reading f(x) as f times x. A function name identifies a rule rather than a number being multiplied.

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

Evaluate a formula

Subject: MathematicsLeans on: Signed arithmeticLeans on: Distributive propertyLeans on: Squaring a sumLeans on: Subtracting parenthesesLeans on: Nonzero factor cancellationOpen this lesson
Leans on 0Comes back in 4

1 In plain words

Think of a recipe with a blank for an ingredient amount. You choose a number and put that same number in every copy of the blank. A function formula works that way: evaluating means the input is known and you want the output. Parentheses are a seat belt around the whole input. They keep a negative sign or a sum attached while you square or multiply. If the input is a letter, you make a recipe for any value of that letter. If the input is a sum, put the entire sum in every blank, then multiply out and collect matching terms.

2 Picture it

−3x² + 3x − 4inputoutput−4
−3 goes in, the rule is x2 + 3x − 4, and −4 comes out.

Reminder

Reminder: Signed arithmetic, Distributive property, Squaring a sum, Subtracting parentheses, Nonzero factor cancellation
  • Signed arithmetic. A negative squared is positive when enclosed: (−2)2 = 4, while 3(−2) = −6.
  • Distributive property. Multiply every term inside: 3(a + h) = 3a + 3h.
  • Squaring a sum. (a + h)2 = a2 + 2ah + h2 because it contains four products, not two.
  • Subtracting parentheses. −(a2 + 3a − 4) = −a2 − 3a + 4; each sign changes.
  • Nonzero factor cancellation. h(2a+h)h = 2a + h only for h ≠ 0.

3 Why

A formula tells how an output is built from its input. Replacing every occurrence of the input variable by the same value applies that definition consistently. Replacing only one occurrence changes the recipe. Parentheses preserve the input as a whole: (−3)2 squares −3, whereas −32 negates the square of 3. For sums, distribution rewrites the result without changing its value, because each term multiplies every relevant term in the other group.

4 The rule

To evaluate a formula, replace every input variable with the whole stated input in parentheses, then calculate or expand.

The value or expression you obtain is the output.

The same idea, five ways

Say it

f of negative three

Write it

The input is −3. Find the output of f at that input.

In math
  • f(−3)
  • f(−3)=(−3)2+3(−3)−4=−4
Like

Fill every ingredient blank with the same amount.

See it
−3x² + 3x − 4inputoutput−4
The same picture again: −3 goes in, the rule is x2 + 3x − 4, and −4 comes out.

The same idea, other ways

Follow a recipe

For f(x) = x2 + 3x − 4, the recipe is square the input, add three times the input, then subtract 4. Input 2 gives 4 + 6 − 4 = 6. The name f stays on the machine; 2 is the input and 6 is the output.

2x² + 3x − 4inputoutput6
Every use of the input in this recipe receives the same number, 2.
Fill every blank

Read x2 + 3x − 4 as (blank)2 + 3(blank) − 4. If the input is a + h, write (a + h) in both blanks. This makes f(a + h) = (a + h)2 + 3(a + h) − 4 before any expansion. The parentheses act like a bag keeping all of the input together.

(input)2 + 3(input) − 4

input = a + h

(a+h)2+3(a+h)−4

See the four pieces of a square

A square with side a + h splits into four rectangles: a2, ah, ha and h2. The two middle pieces add to 2ah. That is why (a + h)2 = a2 + 2ah + h2. The picture uses positive lengths, while multiplication gives the same identity for any real a and h.

a²ahahah²hah
There are two middle rectangles, so the expansion needs 2ah.

Part 1: Numeric substitution

Think of a recipe with two places asking for the same ingredient amount. A function such as f(x) = x2 + 3x − 4 uses the input twice, so you must place your number in both spots. A negative input belongs in parentheses. The square uses the whole negative number, while the separate multiplication by 3 keeps its negative sign. Follow the order of operations after replacing the input.

  • Evaluate means input is known and output is wanted.
  • f(−3) uses (−3)2, which is 9. Writing −32 without parentheses means −(32), which is −9.
−3x² + 3x − 4inputoutput−4
The same picture a third time: −3 goes in, the rule is x2 + 3x − 4, and −4 comes out.
Reminder
Reminder: Order of operations
  • Order of operations. Powers and products come before sums: 22 + 3 × 2 = 4 + 6 = 10.
The same idea, five ways
Say it

f of negative three equals negative four.

Write it

Replace both input positions by the whole negative input, then compute the output.

In math
  • f(x)=x2+3x−4
  • f(−3)=(−3)2+3(−3)−4=−4
  • (−3,−4)
Like

Put the same ingredient amount in every matching blank in a recipe.

See it
−3x² + 3x − 4inputoutput−4
The same picture, shown 4 times now: −3 goes in, the rule is x2 + 3x − 4, and −4 comes out.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(−3)=−32−9−4=−22.
−32 means negate the square of 3. The formula asks to square the entire input −3 instead.
✓ Instead: f(−3)=(−3)2+3(−3)−4=9−9−4=−4.
Tips and tricks
  • Draw parentheses around every replacement before doing arithmetic.
  • Two blanks, one number: Write f(2) = (2)2 + 3(2) − 4. Both blanks receive 2, as both copies of your name on a form receive the same name.
  • Signed multiplication: For input −3, the square is (−3)(−3) = 9, while 3(−3) = −9. Compute these pieces separately so the two signs cannot get mixed together.

Part 2: Symbolic substitution

A letter can stand for an amount you have not chosen yet, like an empty measuring cup marked a. Replacing x with a gives a recipe for any value of a. Replacing x with a + h puts the entire sum into each input spot. You can leave a correct answer unexpanded, or use the distributive property, multiplying each piece, to rewrite it. Expansion changes the appearance of the output expression, not the value it will have when numbers are chosen.

  • An algebraic expression can be an input: f(a + h) means use the whole sum a + h.
  • (a + h)2 = (a + h)(a + h) = a2 + ah + ha + h2 = a2 + 2ah + h2.
  • 3(a + h) = 3a + 3h because 3 multiplies each term in the sum.
a²aaa11a1
An area model with sides a + 1 and a + 1.
Reminder
Reminder: Subtracting parentheses
  • Subtracting parentheses. A subtraction applies to every term: 7 − (a + 1) = 7 − a − 1.
The same idea, five ways
Say it

q of the whole sum a plus one equals a squared plus a.

Write it

The complete expression a + 1 replaces each input variable before the result is expanded.

In math
  • q(x)=x2−x
  • q(a+1)=(a+1)2−(a+1)
  • q(a+1)=a2+a
Like

Keep a sealed ingredient bag together when filling each recipe blank.

See it
a²aaa11a1
The same picture again: An area model with sides a + 1 and a + 1.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: (a+h)2=a2+h2.
This leaves out the products ah and ha. With a = 1 and h = 2, the left side is 9 while the proposed right side is 5.
✓ Instead: (a + h)2 = a2 + 2ah + h2, giving 1 + 4 + 4 = 9 in that check.
Tips and tricks
  • Write the squared sum as two identical parentheses before expanding; the middle term becomes visible.
  • A sealed input bag: Place a + h inside parentheses before following the recipe. You are squaring the bag's whole contents, not squaring a and then adding h.
  • Multiply every pair: In (a + h)(a + h), the first a multiplies a and h, then the first h multiplies a and h. The four products are a2, ah, ha and h2. None can be skipped.

5 How

  1. Say what the question asks. Evaluate f(2) means the input is 2; find its output. It does not ask which input produces 2.
  2. Copy the formula, replacing every input letter with the given input in parentheses.
  3. For a number, do powers first, then multiplication, then addition and subtraction. For an expression, multiply out parentheses before collecting like terms.
  4. Check by putting a numerical input into both the starting recipe and the expanded expression. Matching results can catch an expansion error.

Evaluate the entire input

1
Is the input a number?
YesKeep it in parentheses and follow the order of operations.
NoKeep the whole letter expression in parentheses, then distribute and collect like terms.
↓
2
Does the input have a minus sign or more than one term?
YesKeep its parentheses through every power and multiplication.
NoStill replace every occurrence of the input variable.
  1. Say what the question asks. Evaluate f(2) means the input is 2; find its output. It does not ask which input produces 2.
  2. Copy the formula, replacing every input letter with the given input in parentheses.
  3. For a number, do powers first, then multiplication, then addition and subtraction. For an expression, multiply out parentheses before collecting like terms.
  4. Check by putting a numerical input into both the starting recipe and the expanded expression. Matching results can catch an expansion error.

6 Worked example

Worked example

Evaluate g(-2) and g(k - 2) for a function machine

A function machine named g accepts any real number as its input x and produces the output
g(x) = 3x2 - 8x + 6.
In words, the recipe is: square the input and multiply by 3, subtract 8 times the input, then add 6.
(a) Evaluate g(-2).
(b) Evaluate g(k - 2), where k stands for any real number. Write the output as an expanded expression in k with like terms collected.

Show the steps and the answer
  1. Say what each part asks. In (a) the input is the number -2; find its output. In (b) the input is the whole expression k-2; find its output, which will be an expression in k.g(-2) names the output of the machine when -2 goes in. It does not ask which input produces an output of -2, so there is no equation to solve: we substitute and calculate.
  2. For (a), copy the recipe with (-2) in place of every x: g(-2)=3(-2)2-8(-2)+6.The input letter x appears twice, and each one must be replaced. Parentheses keep the negative sign attached to the input, so the square acts on the whole number -2, sign included.
  3. Do the power first: (-2)2=(-2)(-2)=4, so g(-2)=3(4)-8(-2)+6.Powers come before multiplication. A negative number times itself is positive, so the square is 4. Without the parentheses, -22 would mean -(22) = -4, which is not the square of the input.
  4. Multiply next: 3(4)=12 and 8(-2)=-16, so g(-2)=12-(-16)+6. Then add and subtract: 12+16+6=34.Multiplication comes before addition and subtraction, and subtracting -16 is the same as adding 16. The number 34 is the output for the input -2.
  5. For (b), copy the recipe with (k - 2) in place of every x: g(k-2)=3(k-2)2-8(k-2)+6.The whole input k - 2 replaces x, so it goes in parentheses in both places. This is not g(k) - 2: that would subtract 2 from the output, while here 2 is subtracted from the input before the machine works on it.
  6. Multiply out the square: (k-2)2=(k-2)(k-2)=k2-2k-2k+4=k2-4k+4.The power is still handled first, and for an expression that means multiplying out the parentheses. Squaring multiplies the binomial by itself, which produces the middle term -4k; (k - 2)2 is not k2 - 4 and not k2 + 4.
  7. Distribute the 3 and the -8: 3(k2-4k+4)=3k2-12k+12 and -8(k-2)=-8k+16. So g(k-2)=3k2-12k+12-8k+16+6.A number in front of parentheses multiplies every term inside. The -8 multiplies the -2 too, and a negative times a negative gives +16.
  8. Collect like terms: -12k-8k=-20k and 12+16+6=34, so g(k-2)=3k2-20k+34.Only terms with the same power of k can be combined. Nothing more can be simplified, so this expression is the output for the input k - 2.
  9. Check (b) with a number, say k=3. Starting recipe: the input is 3-2=1, and g(1)=3(1)2-8(1)+6=3-8+6=1. Expanded expression: 3(3)2-20(3)+34=27-60+34=1.The recipe and the expanded expression must give the same output for every value of k, so a numerical input can catch an expansion error. Here both give 1. A slip such as -8(k - 2) = -8k - 16 would have produced 3k2 - 20k + 2, which gives -31 at k = 3 and would not match.
Answer
(a)g(-2)=34.(b)g(k-2)=3k2-20k+34.
Double-check Part (a) is a special case of part (b): when k = 0, the input k - 2 equals -2. The expanded expression gives 3(0)2 - 20(0) + 34 = 34, the same as g(-2) from part (a). One more input tests the terms that contain k: for k = 1 the input is -1; the recipe gives g(-1) = 3(-1)2 - 8(-1) + 6 = 3 + 8 + 6 = 17, and the expanded expression gives 3(1)2 - 20(1) + 34 = 3 - 20 + 34 = 17. The results match each time.

Work to write

  1. g(-2)=3(-2)2-8(-2)+6
  2. g(-2) = 3(4) - 8(-2) + 6 = 12 + 16 + 6 = 34
  3. g(k-2)=3(k-2)2-8(k-2)+6
  4. (k-2)2=k2-4k+4
  5. g(k-2)=3k2-12k+12-8k+16+6
  6. g(k-2)=3k2-20k+34
  7. Check with k = 3: g(1) = 3 - 8 + 6 = 1 and 3(3)2 - 20(3) + 34 = 27 - 60 + 34 = 1

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 3

Evaluation rung 1: a constant and a line

Let k(x) = 5 and L(x) = 4x − 3. Evaluate k(3) and L(4). Each question gives an input and asks for its output.

What it asks. Use each stated input to find its output from the named formula.

Show the steps and the answer

The plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.

4times 4, thensubtract 3inputoutput13
Keep the recipe's operations in their stated order.
  1. Plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.
  2. Every input slot receives the complete input, including its sign.
  3. Square a negative input in parentheses: (−2)2 = 4. A constant recipe gives the same output for every input.
  4. Keep separate requested outputs on separate answer lines.
  1. k(3)=5.This formula always returns 5 and contains no input variable to replace.
  2. L(4)=4(4)−3.Replace the x in the second formula with 4.
  3. L(4)=16−3=13.Multiply before subtracting.
Answer
  • k(3) = 5.
  • L(4) = 13.
Double-check The first rule returns 5 for every input. The second gives 4 × 4 − 3 = 13; adding 3 to that output and dividing by 4 recovers the input 4.

Rung 2 of 3

Protect a negative input

Let r(x) = 3x − 7. Evaluate r(−4). This means use −4 as the input and find the output.

What it asks. Use each stated input to find its output from the named formula.

Show the steps and the answer

The plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.

−18−12−60−7lands on −19
Subtracting 7 from −12 lands at −19.
  1. Plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.
  2. Every input slot receives the complete input, including its sign.
  3. Square a negative input in parentheses: (−2)2 = 4. A constant recipe gives the same output for every input.
  4. Keep separate requested outputs on separate answer lines.
  1. r(−4)=3(−4)−7.The whole negative input replaces x.
  2. r(−4)=−12−7.A positive times a negative is negative.
  3. r(−4)=−19.Starting at −12 and subtracting 7 moves seven more places left.
Answer
r(−4)=−19
Double-check Undo the recipe on the output: −19 + 7 = −12, then −12 ÷ 3 = −4, the given input.

Rung 3 of 3

A sum in both input spots

For s(x) = x2, evaluate s(a + h). The input is the entire sum a + h; find its output expression.

What it asks. Use the entire expression as input and find the simplified output expression.

Show the steps and the answer

The plan. Replace every input-variable slot with the whole input in parentheses. Expand a squared sum with all four products and distribute multiplication or subtraction through the entire group. Combine matching terms and check by assigning numbers to the input letters.

a²ahahah²hah
Every rectangle is one required product.
  1. Plan. Replace every input-variable slot with the whole input in parentheses. Expand a squared sum with all four products and distribute multiplication or subtraction through the entire group. Combine matching terms and check by assigning numbers to the input letters.
  2. Every input slot receives the complete input, including its sign.
  3. A square of a sum includes two middle products. A negative sign outside parentheses changes every enclosed sign.
  4. Keep separate requested outputs on separate answer lines.
  1. s(a+h)=(a+h)2=(a+h)(a+h).A square multiplies the whole input by itself.
  2. s(a+h)=a2+ ah + ha +h2.Multiply each term in the first parentheses by each term in the second.
  3. s(a+h)=a2+2ah +h2.ah and ha are equal, so together they are 2ah.
Answer
s(a + h) = a2 + 2ah + h2
Double-check Set a = 2 and h = 3. The input is 5 and its square is 25. The expansion gives 4 + 12 + 9 = 25.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(a + h) = f(a) + h.
The change happens to the input before the function recipe runs. The output generally changes by a different amount. Here f(3) = 14 while f(1) + 2 = 2.
✓ Instead: Replace every x by a + h: f(a + h) = (a + h)2 + 3(a + h) − 4.
✗ Not this: f(−3)=−32−9−4=−22.
−32 means negate the square of 3. The formula asks to square the entire input −3 instead.
✓ Instead: f(−3)=(−3)2+3(−3)−4=9−9−4=−4.
✗ Not this: (a+h)2=a2+h2.
This leaves out the products ah and ha. With a = 1 and h = 2, the left side is 9 while the proposed right side is 5.
✓ Instead: (a + h)2 = a2 + 2ah + h2, giving 1 + 4 + 4 = 9 in that check.

Tips and tricks

  • Put a seat belt of parentheses around each whole input before doing arithmetic.
  • A numerical spot-check can expose a wrong expression. A derivation proves the expression for every allowed input.

7 The trap

Losing the middle term when squaring a sum. Write (a + h)(a + h) and keep all four products before combining the two ah terms.

Lesson 4 of 10

The difference quotient: average rate of change

Subject: MathematicsLeans on: Signed arithmeticLeans on: Distributive propertyLeans on: Squaring a sumLeans on: Subtracting parenthesesLeans on: Nonzero factor cancellationLeans on: Pulling out a common factorOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Think of driving between two mile markers. Your car has traveled some extra miles over some extra hours. Dividing the extra miles by the extra hours gives your average speed. A difference quotient does the same comparison for a function: new output minus old output, divided by the step in input. Difference means the result of subtraction. Quotient means the result of division. The answer tells you how much the output changes for each 1 step of input, on average. On a graph, it is the steepness, called the slope, of the straight line joining the two points. The step is called h, and it must be nonzero.

2 Picture it

(1, 0)(3, 14)24−4481216(1, 0)(3, 14)−11234−4481216
y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.

Reminder

Reminder: Signed arithmetic, Distributive property, Squaring a sum, Subtracting parentheses, Nonzero factor cancellation, Pulling out a common factor
  • Signed arithmetic. A negative squared is positive when enclosed: (−2)2 = 4, while 3(−2) = −6.
  • Distributive property. Multiply every term inside: 3(a + h) = 3a + 3h.
  • Squaring a sum. (a + h)2 = a2 + 2ah + h2 because it contains four products, not two.
  • Subtracting parentheses. −(a2 + 3a − 4) = −a2 − 3a + 4; each sign changes.
  • Nonzero factor cancellation. h(2a+h)h = 2a + h only for h ≠ 0.
  • Pulling out a common factor. 2xh + h2 + 3h = h(2x + h + 3). Distributing back verifies every term.

3 Why

If a car travels 12 extra miles in 2 extra hours, 12 ÷ 2 = 6 miles per hour makes 2 × 6 = 12. The same reasoning compares any output change with its matching input change. The input moves from x to x + h, so its change is (x + h) − x = h. The outputs at those same inputs are f(x) and f(x + h). Subtract in the same direction before dividing. A zero input step gives zero in the denominator, so that quotient has no value.

4 The rule

Difference quotient: f(x+h)−f(x)h, with h≠0 and both inputs in the domain.

Read it: f of x plus h, minus f of x, all over h. The starting input can also be named a: f(a+h)−f(a)h.

The same idea, five ways

Say it

f of x plus h, minus f of x, all over h

Write it

Average output change for each 1 step of input, from x to x + h.

In math
  • f(x+h)−f(x)h
  • f(a+h)−f(a)h
  • riserun
  • h ≠ 0
Like

Extra miles divided by extra hours measures average speed.

See it
(1, 0)(3, 14)24−4481216
The same picture again: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.

The same idea, other ways

As average speed

Your odometer reads 20 miles at hour 1 and 32 miles at hour 3. The extra distance is 32 − 20 = 12 miles. The extra time is 3 − 1 = 2 hours. Average speed is 122 = 6 miles per hour. The unit comes from dividing miles by hours.

(1, 20)(3, 32)241218243036
Two extra hours give 12 extra miles: 6 miles per hour.
As steepness on a picture

For f(x) = x2, the points (1, 1) and (3, 9) have a sideways step of 2 and an upward change of 8. Rise means the output change. Run means the input change. Their joining line has slope riserun = 82 = 4. The curve itself need not be a straight line.

(1, 1)(3, 9)24246810
The two points have rise 8 and run 2. The dashed line has slope 8 ÷ 2 = 4.
As cost per extra unit

For C(n) = 15 + 2n dollars for n gigabytes, C(3) = 21 and C(5) = 25. The difference quotient is 25−215−3 = 42 = 2 dollars per extra gigabyte. The fixed 15-dollar fee cancels because both costs contain it.

input noutput C(n)321525↓ evaluate: input given, read the output below it
The same two columns supply both the cost change and the input step.
Why the terms without h cancel

For these polynomial examples, expanding f(x + h) gives a copy of f(x) and extra terms that each contain h. Subtracting f(x) removes that copy. For f(x) = x2 + 3x − 4, the x2, 3x, and −4 cancel; 2xh + h2 + 3h remain. Factor h or divide each term by h. This polynomial self-check is not a rule for expanding root or reciprocal formulas.

f(x + h): x2 + 2xh + h2 + 3x + 3h − 4

subtract f(x): −x2 − 3x + 4

difference: 2xh + h2 + 3h

quotient: 2x + h + 3, h ≠ 0

Part 1: Numbers first: what the quotient is for

Compare two readings on the same trip. The difference quotient measures the average rate of change, meaning the average output change for each 1 step of input. This becomes average speed when the output is distance and the input is time. On a graph it measures the slope of the line through the two points. Section 1.3 develops this same rate-of-change idea. Calculus later considers steps closer and closer to zero to describe change at one instant.

  • Difference means subtraction; quotient means division.
  • Use the same two inputs for the top change and the bottom change.
  • Across these two readings, a positive rate means the output at the larger input is higher. A negative rate means it is lower. Zero means the two outputs agree. The average does not assert what happens at every input between the two readings.
(1, 0)(3, 14)24−4481216
The same picture a third time: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.
The same idea, five ways
Say it

f of three minus f of one, all over three minus one, equals seven.

Write it

The two output readings change by 14 while their inputs change by 2, giving 7 output units per input unit.

In math
  • f(x)=x2+3x−4
  • f(3)−f(1)3−1=14−02=7
  • 2 × 7 = 14
Like

Extra miles divided by the matching extra hours gives average speed.

See it
(1, 0)(3, 14)24−4481216
The same picture, shown 4 times now: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.

Worked example

See the quotient with numbers first

For f(x) = x2 + 3x − 4, compare input 1 with input 3. The input step is h = 2. Find f(3)−f(1)2, the average output change for each 1 step of input.

What it asks. Find the two output readings, subtract the starting reading from the ending reading, and divide by the matching input change.

Show the steps and the answer

The plan. Evaluate the ending and starting inputs. Subtract new minus old for the outputs and for the inputs. Divide output change by input change and check by multiplication.

(1, 0)(3, 14)24−4481216
The same picture, shown 5 times now: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.
(1, 0)(3, 14)24−4481216
The same picture, shown 6 times now: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.
input xoutput f(x)10314↓ evaluate: input given, read the output below it
The input moves by 2 while the output moves by 14.
  1. Plan. Evaluate the ending and starting inputs. Subtract new minus old for the outputs and for the inputs. Divide output change by input change and check by multiplication.
  2. Keep the input and output from each reading together.
  3. Subtract ending minus starting in both the top and bottom.
  4. Multiply the rate by the input step to check that it recovers the output change.
  1. f(3)=(3)2+3(3)−4=9+9−4=14.The ending input is 3; replace every x with 3.
  2. f(1)=(1)2+3(1)−4=1+3−4=0.The starting input is 1; replace every x with 1.
  3. The output change is 14−0=14. The input change is 3−1=2.Subtract the starting reading from the ending reading in both places.
  4. f(3)−f(1)2=14−02=142=7.Divide the output change by the nonzero input change.
Answer
The average rate of change is 7 output units per input unit.
Double-check The calculated output change is 14. Multiplying the quotient 7 by the input change 2 recovers 14, so the division matches the two readings. On the dashed line, two steps right give a rise of 2 × 7 = 14, matching the change on the curve.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Use f(3) + f(2) = 14 + 6 = 20 as the output change.
A change compares new with old by subtraction. Addition totals both readings instead of measuring how much they differ.
✓ Instead: Use f(3) − f(2) = 14 − 6 = 8. The matching input step is 3 − 2 = 1, so the average rate is 8 ÷ 1 = 8.
Tips and tricks
  • Say new minus old in both places.
  • As an everyday comparison: Compare two readings on the same trip. The difference quotient measures the average rate of change, meaning the average output change for each 1 step of input. This becomes average speed when the output is distance and the input is time. On a graph it measures the slope of the line through the two points. Section 1.3 develops this same rate-of-change idea. Calculus later considers steps closer and closer to zero to describe change at one instant.
  • With the worked values: The calculated output change is 14. Multiplying the quotient 7 by the input change 2 recovers 14, so the division matches the two readings. On the dashed line, two steps right give a rise of 2 × 7 = 14, matching the change on the curve.

Part 2: Difference quotient

Imagine checking a car's mileage at the start and end of a trip. You need the difference between the readings, not their sum. Then divide by the time spent traveling. A difference quotient does this for any function: it compares the output at input a + h with the output at input a, then divides by the input change h. Here h is a number measuring a change, not a function name. It may be negative, but it must not be zero.

  • The input change is (a + h) − a = h.
  • The output change is f(a + h) − f(a).
  • Cancel only a common factor of the whole numerator and denominator, with h ≠ 0.
  • h is the size and direction of the input step. A step of zero gives no move and division by zero. Both inputs must belong to the function’s domain.
(1, 0)(3, 14)24−4481216
The same picture, shown 7 times now: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.
Reminder
Reminder: Canceling fractions
  • Canceling fractions. Only common nonzero factors cancel: 3×83 = 8, but 3+83 does not equal 8.
The same idea, five ways
Say it

f of the whole sum a plus h, minus f of a, all over h; h is not zero.

Write it

Subtract the starting output from the ending output, then divide by the same input step.

In math
  • f(a+h)−f(a)h
  • (a+h)−a=h
  • h ≠ 0
Like

Compare an odometer’s ending and starting readings over the matching travel time.

See it
(1, 0)(3, 14)24−4481216
The same picture, shown 8 times now: y = (x + 1.5)2 − 6.25, solid, beside y = 7x − 7, dashed.

Worked example

Reversing the input step reverses both changes

For f(x) = x2 + 3x − 4, compare starting input 3 with ending input 1. The input step is h = −2. Find the average output change per input step.

What it asks. Find the two output readings, subtract the starting reading from the ending reading, and divide by the matching input change.

Show the steps and the answer

The plan. Evaluate the ending and starting inputs. Subtract new minus old for the outputs and for the inputs. Divide output change by input change and check by multiplication.

(1, 0)(3, 14)24−4481216
Starting at input 3 and ending at input 1 gives output change −14 and input change −2.
  1. Plan. Evaluate the ending and starting inputs. Subtract new minus old for the outputs and for the inputs. Divide output change by input change and check by multiplication.
  2. Keep the input and output from each reading together.
  3. Subtract ending minus starting in both the top and bottom.
  4. Multiply the rate by the input step to check that it recovers the output change.
  1. f(3)=14 and f(1)=0.Both values were found in the numbers-first example.
  2. The input change is 1−3=−2 and the output change is 0−14=−14.Both subtractions use the same ending-minus-starting direction.
  3. 0−141−3=−14−2=7.A negative divided by a negative is positive, so reversing both changes keeps their ratio the same.
Answer
The average rate is 7 output units per input unit.
Double-check Multiplying the input step −2 by the rate 7 gives −14, which is the actual output change.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Cancel h directly in 2ah+h2+3hh by crossing out only one h in one term.
The numerator is a sum, not one product. Cancellation removes a common factor multiplying the entire numerator.
✓ Instead: First write h(2a+h+3)h, then cancel h to get 2a + h + 3, with h ≠ 0.
✗ Not this: After cancellation, the original quotient allows h = 0.
The original denominator is still h. At zero it is undefined, even though the simplified expression can be calculated there.
✓ Instead: Keep the condition h ≠ 0 on the quotient's simplified answer.
Tips and tricks
  • Use three lines: first f(a + h), next f(a), then the quotient. Keep the subtraction parentheses until every sign has changed.
  • A before and after comparison: The numerator asks how much the output changed. The denominator asks how much the input changed. Both must describe the same move from a to a + h.
  • Whole groups cancel: If the numerator becomes h(2a + h + 3), it is h times one whole group. Dividing by h removes that repeated nonzero factor. A term such as 3h cannot be canceled alone while other terms stay in the numerator.

Part 3: One letter keeps many step sizes

A letter h saves you from doing the same calculation for every possible step. For f(x) = x2, the algebra gives 2x + h. At starting input x = 3, it becomes 6 + h. Put any nonzero allowed step into that one expression to get its average rate. A smaller step compares points closer together. You are still dividing by a nonzero step, even when the algebra is simplified.

  • The picture lists exact step sizes and their exact rates for starting input x = 3. The decimal rates shown are exact, not rounded.
  • a and x are alternate names for the starting input. h names the step.
  • h(2x + h) means h × (2x + h) here because h is a number, not the function name.
input houtput 6 + h170.56.50.16.10.016.01
h: 1, 0.5, 0.1, 0.01; 6 + h: 7, 6.5, 6.1, 6.01.
The same idea, five ways
Say it

For the square rule, the average rate from x to x plus h is two x plus h, with h not zero.

Write it

One expression gives the square rule’s average rate for many different nonzero input steps.

In math
  • s(x+h)−s(x)h=2x+h,h≠0
  • At x = 3: 2x + h = 6 + h
  • h = 12 gives 6.5
Like

One adjustable recipe handles many choices of the ingredient amount.

See it
input houtput 6 + h170.56.50.16.10.016.01
The same picture again: h: 1, 0.5, 0.1, 0.01; 6 + h: 7, 6.5, 6.1, 6.01.

Worked example

Check a square quotient with a negative step

For s(x) = x2, find s(a+h)−s(a)h, with h ≠ 0. Compare the squares of the ending and starting inputs.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.

(a + h)2 − a2 = 2ah + h2

2ah + h2 = h(2a + h)

h(2a+h)h=2a+h

h ≠ 0

  1. Plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.
  2. Every input variable receives the whole sum in parentheses.
  3. A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
  4. Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
  1. s(a+h)=(a+h)2=a2+2ah +h2.Expand the square using its four products.
  2. s(a)=a2.The starting input is a.
  3. s(a+h)−s(a)= (a2+2ah +h2) −a2=2ah +h2.The starting square a2 is removed from the ending output.
  4. 2ah+h2h=h(2a+h)h.Both terms in the numerator contain a factor h.
  5. h(2a+h)h=2a+h, with h≠0.Cancel the nonzero factor h multiplying the whole numerator.
Answer
s(a+h)−s(a)h = 2a + h, with h ≠ 0
Double-check Choose a = 2 and h = −1. Directly, s(1)−s(2)−1 = 1−4−1 = 3. The simplified expression gives 4 − 1 = 3. A negative nonzero h is allowed.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Use h = 0 in the starting quotient.
It would be 00, which gives no unique value.
✓ Instead: Use a nonzero h, even after canceling.
Tips and tricks
  • Write the condition h ≠ 0 beside the answer.
  • As an everyday comparison: A letter h saves you from doing the same calculation for every possible step. For f(x) = x2, the algebra gives 2x + h. At starting input x = 3, it becomes 6 + h. Put any nonzero allowed step into that one expression to get its average rate. A smaller step compares points closer together. You are still dividing by a nonzero step, even when the algebra is simplified.
  • With the worked values: Choose a = 2 and h = −1. Directly, s(1)−s(2)−1 = 1−4−1 = 3. The simplified expression gives 4 − 1 = 3. A negative nonzero h is allowed.

5 How

  1. Write f(x + h) by replacing every x with the whole (x + h). Also write f(x) separately.
  2. Multiply out. A square has the middle term: (x + h)2 = x2 + 2xh + h2. A number in front multiplies every piece.
  3. Subtract f(x) in parentheses, then reverse every sign in that subtracted group.
  4. In these polynomial examples, every term without h must cancel. If one remains, recheck the expansion, copied terms, and subtraction signs.
  5. Factor h from the entire numerator, or divide every numerator term by h. Cancel only the shared nonzero factor.
  6. Write the simplified answer and h ≠ 0. Both starting and ending inputs must still be allowed. Check with chosen numbers.

Build a difference quotient in six stages

1
Is the formula a line mx + b?
YesThe output change is mh, so division by h gives m, the slope.
NoCalculate both outputs and subtract.
↓
2
Does the formula contain a squared sum?
YesExpand two copies, keeping the middle term, before applying an outside coefficient.
NoUse the operations actually in the given formula.
↓
3
In a polynomial example, did a term without h survive?
YesRecheck expansion and subtraction. Do not cancel h until every numerator term contains it.
NoFactor h or divide each term by h, then keep h ≠ 0.
  1. Write f(x + h) by replacing every x with the whole (x + h). Also write f(x) separately.
  2. Multiply out. A square has the middle term: (x + h)2 = x2 + 2xh + h2. A number in front multiplies every piece.
  3. Subtract f(x) in parentheses, then reverse every sign in that subtracted group.
  4. In these polynomial examples, every term without h must cancel. If one remains, recheck the expansion, copied terms, and subtraction signs.
  5. Factor h from the entire numerator, or divide every numerator term by h. Cancel only the shared nonzero factor.
  6. Write the simplified answer and h ≠ 0. Both starting and ending inputs must still be allowed. Check with chosen numbers.

6 Worked example

Worked example

Average rate of change of a raised bed's area

A community garden is building rectangular raised beds. A bed that is x meters wide is made 4 meters longer than twice its width, so it is 2x + 4 meters long and its area, in square meters, is
A(x) = x(2x + 4) = 2x2 + 4x, for x > 0.
The figure graphs A(x) for widths up to 4 meters and marks the points (1, 6) and (3, 30).
(a) Find the difference quotient A(x+h)−A(x)h, where h is a change in the width, and simplify it. State the conditions on x and h.
(b) Use your answer to (a) to find the average rate of change of the area as the width grows from 1 meter to 3 meters. Give the units and say what the number means.

(1, 6)(3, 30)24515253545
The raised bed's area A(x) = 2x2 + 4x, in square meters, plotted against its width x, in meters.
Show the steps and the answer
  1. Write A(x+h) by replacing every x in 2x2+4x with the whole (x+h): A(x+h)=2(x+h)2+4(x+h). Write A(x)=2x2+4x separately.The difference quotient compares the area at the ending width x + h with the area at the starting width x. Every x must be replaced, including the one in 4x, and the parentheses keep the 2 and the 4 attached to the whole new input.
  2. Multiply out. (x+h)2=x2+2xh +h2, so 2(x+h)2=2x2+4xh +2h2, and 4(x+h)=4x+4h. Together: A(x+h)=2x2+4xh +2h2+4x+4h.Squaring a sum produces the middle term 2xh; writing only x2 + h2 would lose it. A number in front multiplies every piece in its parentheses, so the 2 reaches all three terms of the square and the 4 reaches both x and h.
  3. Subtract A(x) in parentheses, then reverse every sign in that group: A(x+h)−A(x)=2x2+4xh +2h2+4x+4h−(2x2+4x)=2x2+4xh +2h2+4x+4h−2x2−4x.The minus sign applies to all of A(x), so both 2x2 and 4x become negative, not just the first term.
  4. Combine like terms: 2x2−2x2=0 and 4x−4x=0, so A(x+h)−A(x)=4xh +2h2+4h.Every term without h must cancel: if h were 0, the two widths would be equal and the change in area would be 0. Nothing without h is left, so the expansion, the copied terms and the signs are consistent.
  5. Factor h from the entire numerator and cancel it with the h in the denominator: A(x+h)−A(x)h=4xh+2h2+4hh=h(4x+2h+4)h=4x+2h+4.h is a factor of every term, so it is a shared factor of the whole numerator and the denominator. Because h ≠ 0, hh = 1. Cancelling h from only one term would be wrong.
  6. State the result with its conditions: A(x+h)−A(x)h=4x+2h+4, where h≠0, x > 0 and x+h>0.The quotient divides by h, so h cannot be 0, and the simplified expression no longer shows that, so the condition must be written. A bed exists only with a positive width, so both the starting width x and the ending width x + h must be in the domain x > 0.
  7. For (b), the width starts at 1 m and ends at 3 m, so x = 1 and h = 3 − 1 = 2. Both widths are positive and h ≠ 0. Substitute: 4(1)+2(2)+4=4+4+4=12.In the difference quotient, x is the starting input and h is the change in the input, so the ending width is x + h = 3. Using h = 3 would describe a change from 1 m to 4 m.
  8. Attach units and interpret: 12 square meters per meter. As the width grows from 1 m to 3 m, the area increases on average by 12 square meters for each extra meter of width, a total of 2×12=24 square meters.Area is measured in square meters and width in meters, so the rate is square meters per meter. Multiplying the average rate by the 2 m change in width gives the total change in area.
Answer
(a) A(x+h)−A(x)h = 4x + 2h + 4, with h ≠ 0, x > 0 and x + h > 0. (b) 12 square meters per meter: from a width of 1 m to a width of 3 m, the bed's area grows on average by 12 square meters for each additional meter of width.
Double-check Compute (b) directly from A(x) = 2x2 + 4x: A(1) = 2(1)2 + 4(1) = 6 and A(3) = 2(3)2 + 4(3) = 18 + 12 = 30, matching the marked points. So A(3)−A(1)3−1 = 30−62 = 242 = 12. ✓ The dimensions agree too: a 1 m by 6 m bed has area 6, and a 3 m by 10 m bed has area 30. Test the general formula with other numbers, x = 2 and h = −1 (ending width 1 m, still allowed): A(2) = 8 + 8 = 16, so A(1)−A(2)−1 = 6−16−1 = −10−1 = 10, and 4(2) + 2(−1) + 4 = 8 − 2 + 4 = 10. ✓

Work to write

  1. A(x + h) = 2(x + h)2 + 4(x + h) = 2x2 + 4xh + 2h2 + 4x + 4h
  2. A(x + h) − A(x) = 2x2 + 4xh + 2h2 + 4x + 4h − (2x2 + 4x) = 4xh + 2h2 + 4h
  3. A(x+h)−A(x)h=h(4x+2h+4)h=4x+2h+4
  4. h ≠ 0, x > 0, x + h > 0
  5. (b) x = 1, h = 2: 4(1) + 2(2) + 4 = 12
  6. 12 square meters per meter: on average the area grows by 12 square meters for each extra meter of width from 1 m to 3 m

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 7

DQ rung 1: a constant

For k(x) = 7, simplify k(x+h)−k(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Evaluate any given numerical inputs first. Then compare the constant outputs and divide their difference by the nonzero input step.

Show the steps and the answer

The plan. For each requested evaluation, apply its own recipe. A constant recipe returns the same fixed value at a and at a + h. Subtract those equal outputs to obtain zero, then divide zero by nonzero h. Keep h ≠ 0 because the original fraction still excludes a zero step.

(1, 7)(2, 7)25678910
The line changes by 0 for one step of input.
  1. Plan. For each requested evaluation, apply its own recipe. A constant recipe returns the same fixed value at a and at a + h. Subtract those equal outputs to obtain zero, then divide zero by nonzero h. Keep h ≠ 0 because the original fraction still excludes a zero step.
  2. A constant output ignores the input.
  3. Equal ending and starting outputs have difference zero.
  4. Zero divided by a nonzero number is zero; division by zero has no value.
  1. k(x+h)=7 and k(x)=7.A constant rule returns the same 7 regardless of input, so both the starting and ending outputs are 7.
  2. k(x+h)−k(x)=7−7=0.The new and old outputs are equal, and subtracting equal numbers gives zero.
  3. 0h=0,h≠0.Zero divided by a nonzero input step is zero; the quotient still requires h ≠ 0.
Answer
0, with h ≠ 0.
Double-check At x = 1 and h = 1, k(1) = 7 and k(2) = 7. Directly the quotient is 7−(7)1 = 0. The expression 0 also gives 0.

Rung 2 of 7

DQ rung 2: a rising line

For L(x) = 6x + 11, simplify L(x+h)−L(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Complete any requested evaluations. In the linear recipe, substitute the whole sum a + h or x + h, distribute its multiplier, and subtract the entire starting output. The terms unchanged by h cancel. Divide the remaining multiple of h by nonzero h and check with numbers.

(1, 17)(2, 23)21014182226
The line changes by 6 for one step of input.
  1. Plan. Complete any requested evaluations. In the linear recipe, substitute the whole sum a + h or x + h, distribute its multiplier, and subtract the entire starting output. The terms unchanged by h cancel. Divide the remaining multiple of h by nonzero h and check with numbers.
  2. A multiplier outside the changed input reaches both its terms.
  3. The minus before the starting output changes every sign in that output.
  4. Cancel only after the entire numerator is a multiple of nonzero h.
  1. L(x+h)=6(x+h)+11=6x+6h+11.Replace x with the whole x + h; distributing 6 gives 6x + 6h.
  2. L(x+h)−L(x)=(6x+6h+11)−(6x+11)=6h.Subtracting the whole old output reverses both signs. The 6x terms and 11 terms cancel, leaving 6h.
  3. 6hh=6,h≠0.The same nonzero h multiplies the whole numerator and denominator, so dividing removes that factor.
Answer
6, with h ≠ 0.
Double-check At x = 1 and h = 1, L(1) = 17 and L(2) = 23. Directly the quotient is 23−(17)1 = 6. The expression 6 also gives 6.

Rung 3 of 7

DQ rung 3: a falling line

For g(x) = 9 − 5x, simplify g(x+h)−g(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Complete any requested evaluations. In the linear recipe, substitute the whole sum a + h or x + h, distribute its multiplier, and subtract the entire starting output. The terms unchanged by h cancel. Divide the remaining multiple of h by nonzero h and check with numbers.

(1, 4)(2, −1)24812
The line changes by −5 for one step of input.
  1. Plan. Complete any requested evaluations. In the linear recipe, substitute the whole sum a + h or x + h, distribute its multiplier, and subtract the entire starting output. The terms unchanged by h cancel. Divide the remaining multiple of h by nonzero h and check with numbers.
  2. A multiplier outside the changed input reaches both its terms.
  3. The minus before the starting output changes every sign in that output.
  4. Cancel only after the entire numerator is a multiple of nonzero h.
  1. g(x+h)=9−5(x+h)=9−5x−5h.Replace x with x + h. The multiplier −5 reaches both x and h, giving −5x and −5h.
  2. g(x+h)−g(x)=(9−5x−5h)−(9−5x)=9−5x−5h−9+5x=−5h.Subtracting 9 − 5x gives −9 + 5x. The 9 terms and x terms then cancel, leaving −5h.
  3. −5hh=−5,h≠0.The numerator is −5 times nonzero h. Division by h returns −5.
Answer
−5, with h ≠ 0.
Double-check At x = 1 and h = 1, g(1) = 4 and g(2) = −1. Directly the quotient is −1−(4)1 = −5. The expression −5 also gives −5.

Rung 4 of 7

DQ rung 4: a square

For s(x) = x2, simplify s(x+h)−s(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.

(1, 1)(2, 4)2−22468
y = x2, solid, beside y = 3x − 2, dashed.
  1. Plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.
  2. Every input variable receives the whole sum in parentheses.
  3. A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
  4. Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
  1. s(x+h)=(x+h)2=x2+2xh +h2.Multiply two whole copies of x + h. The cross products xh and hx add to 2xh.
  2. s(x+h)−s(x)=x2+2xh +h2−x2=2xh +h2.The starting output x2 is subtracted from the ending output, so x2 − x2 cancels to zero.
  3. 2xh +h2=h(2x+h).Both 2xh and h2 contain h: they are h × 2x and h × h.
  4. h(2x+h)h=2x+h,h≠0.Cancel the common factor h multiplying the entire numerator, retaining the nonzero restriction.
Answer
2x + h, with h ≠ 0.
Double-check At x = 1 and h = 1, s(1) = 1 and s(2) = 4. Directly the quotient is 4−(1)1 = 3. The expression 2x + h also gives 3.

Rung 5 of 7

DQ rung 5: multiply the entire squared sum

For P(x) = 4x2, simplify P(x+h)−P(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.

(1, 4)(2, 16)248121620
y = 4x2, solid, beside y = 12x − 8, dashed.
  1. Plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.
  2. Every input variable receives the whole sum in parentheses.
  3. A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
  4. Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
  1. P(x+h)=4(x+h)2.Replace the x in the square by the whole sum x + h while leaving its outside multiplier 4 outside.
  2. First square: (x+h)2=x2+2xh +h2.The square is computed first. Its four products are x2, xh, hx, and h2.
  3. Then multiply every term by 4: P(x+h)=4x2+8xh +4h2.Distribution applies the outside 4 to each term: 4 × 2xh = 8xh and 4 × h2 = 4h2.
  4. P(x+h)−P(x)=4x2+8xh +4h2−4x2=8xh +4h2.The old output is 4x2, so subtracting it removes the ending expression’s 4x2 term.
  5. 8xh +4h2=h(8x+4h).8xh = h × 8x and 4h2 = h × 4h. Reverse distribution to place the shared h outside and the group 8x + 4h inside.
  6. h(8x+4h)h=8x+4h,h≠0.The whole numerator is h times one group, so nonzero h cancels from that product.
Answer
8x + 4h, with h ≠ 0.
Double-check At x = 1 and h = 1, P(1) = 4 and P(2) = 16. Directly the quotient is 16−(4)1 = 12. The expression 8x + 4h also gives 12.

Rung 6 of 7

DQ rung 6: quadratic, linear, and constant terms

For Q(x) = 3x2 − 2x + 6, simplify Q(x+h)−Q(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.

(1, 7)(2, 14)2481216
y = 3(x − 0.3333)2 + 5.6667, solid, beside y = 7x, dashed.
  1. Plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.
  2. Every input variable receives the whole sum in parentheses.
  3. A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
  4. Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
  1. Q(x+h)=3(x+h)2−2(x+h)+6.Both occurrences of x receive the complete sum x + h.
  2. Q(x+h)=3x2+6xh +3h2−2x−2h+6.Expand (x + h)2 first, multiply all three terms by 3, and distribute −2 to both terms of x + h.
  3. Q(x+h)−Q(x)= (3x2+6xh +3h2−2x−2h+6) −(3x2−2x+6).The entire old output has three terms. Parentheses keep all three together for subtraction.
  4. =3x2+6xh +3h2−2x−2h+6−3x2+2x−6=6xh +3h2−2h.Negating the old output gives −3x2 + 2x − 6; these cancel the matching x2, x, and constant terms.
  5. 6xh +3h2−2h=h(6x+3h−2).Each of the three remaining terms contains h; taking it out leaves 6x, 3h, and −2.
  6. h(6x+3h−2)h=6x+3h−2,h≠0.Divide out the same nonzero h from the whole numerator and denominator.
Answer
6x + 3h − 2, with h ≠ 0.
Double-check At x = 1 and h = 1, Q(1) = 7 and Q(2) = 14. Directly the quotient is 14−(7)1 = 7. The expression 6x + 3h − 2 also gives 7.

Rung 7 of 7

DQ rung 7: a negative squared coefficient

For R(x) = −2x2 + 9, simplify R(x+h)−R(x)h, with h ≠ 0. This asks for the average output change per input step.

What it asks. Find any requested outputs first, then compare the ending and starting outputs and divide by their nonzero input step.

Show the steps and the answer

The plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.

(1, 7)(2, 1)24812
y = −2x2 + 9, solid, beside y = −6x + 13, dashed.
  1. Plan. Write the starting output and the output at x + h or a + h. Expand the whole changed input. Subtract the entire starting output in parentheses. In these line and quadratic examples, terms without h cancel. Factor h or divide every remaining term by h. Keep h ≠ 0 and check with numbers.
  2. Every input variable receives the whole sum in parentheses.
  3. A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
  4. Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
  1. R(x+h)=−2(x+h)2+9.The whole x + h replaces x inside the square; the multiplier −2 remains outside.
  2. R(x+h)=−2x2−4xh −2h2+9.Expand the square and multiply every term by −2: 2xh becomes −4xh and h2 becomes −2h2.
  3. R(x+h)−R(x)= (−2x2−4xh −2h2+9) −(−2x2+9).Subtract the entire starting output −2x2 + 9 as one group.
  4. =−2x2−4xh −2h2+9+2x2−9=−4xh −2h2.Subtracting −2x2 + 9 adds 2x2 and subtracts 9. Both matching old-output terms cancel.
  5. −4xh −2h2=h(−4x−2h).Both remaining terms contain h, and dividing each by h leaves −4x and −2h.
  6. h(−4x−2h)h=−4x−2h,h≠0.The shared nonzero h cancels from the whole product, preserving the quotient value.
Answer
−4x − 2h, with h ≠ 0.
Double-check At x = 1 and h = 1, R(1) = 7 and R(2) = 1. Directly the quotient is 1−(7)1 = −6. The expression −4x − 2h also gives −6.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(a + h) = f(a) + h.
The change happens to the input before the function recipe runs. The output generally changes by a different amount. Here f(3) = 14 while f(1) + 2 = 2.
✓ Instead: Replace every x by a + h: f(a + h) = (a + h)2 + 3(a + h) − 4.
✗ Not this: −(a2+3a−4)=−a2+3a−4.
Subtracting a whole group multiplies every term by −1, not only the first term.
✓ Instead: −(a2+3a−4)=−a2−3a+4.
✗ Not this: The simplified quotient means h can equal zero.
Canceling preserves the value where the original quotient is defined. It does not create a value for division by zero.
✓ Instead: Write 2a + h + 3 with h ≠ 0.
✗ Not this: For g(x) = 9 − 5x, write −(9 − 5x) as −9 − 5x.
The second term has a minus already. Subtracting that whole term gives plus 5x; failing to reverse it leaves an incorrect −10x term without h.
✓ Instead: −(9 − 5x) = −9 + 5x. The output difference is −5h, giving quotient −5 for h ≠ 0.
✗ Not this: 4(x + h)2 = 4x2 + 2xh + h2, or (4x + 4h)2.
The first version multiplies only one term by 4. The second moves 4 inside the square, multiplying the squared result by 16. At x = h = 1 they give 7 and 64, while 4(2)2 = 16.
✓ Instead: 4(x + h)2 = 4x2 + 8xh + 4h2.

Tips and tricks

  • New output minus old output, over the step h. Say this before writing the symbols.
  • For the polynomial ladder, circle any remaining term without h after subtraction. Check all expansion and subtraction signs if one survives.
  • a and x both mean the starting input. h is the step.
  • On the exam, write the simplified expression and h ≠ 0. Rebuild the algebra rather than memorize a quadratic’s final answer.

7 The trap

Subtracting only the first term of the starting output. Keep −(f(x)) as one group, then change every sign inside.

Lesson 5 of 10

Solve when the output is given

Subject: MathematicsLeans on: Equal operations on both sidesLeans on: FactoringLeans on: Square roots and two signsLeans on: Negative substitutionOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Suppose a vending machine's receipt says the price was 3 dollars, and you want to know which buttons could have produced that price. You are searching backward from an output to possible inputs. To solve a function equation means find every allowed input that gives the stated output. This differs from evaluation, where the input is already known. A function promises one output for each input, but several inputs may share that output. Your search might find two inputs, one input, or none. Substituting each answer back into the original recipe checks whether it really produces the requested result.

2 Picture it

-313function
Solving for output 3 finds both inputs pointing to it.

Reminder

Reminder: Equal operations on both sides, Factoring, Square roots and two signs, Negative substitution
  • Equal operations on both sides. p + 3 = 0 becomes p = −3 by subtracting 3 from both sides.
  • Factoring. 3 + (−1) = 2 and 3 × (−1) = −3, so p2 + 2p − 3 = (p + 3)(p − 1).
  • Square roots and two signs. 9 = 3, but solving x2 = 9 gives x = 3 and x = −3.
  • Negative substitution. h(−3) uses (−3)2 = 9 and 2(−3) = −6.

3 Why

The equation h(p) = 3 means that the output h(p) equals 3, so replace h(p) with its formula and find p. Equal changes to both sides preserve equality, like removing equal weights from a balance. For a quadratic, rewriting as a product equal to zero makes the search manageable. A product can be zero only if at least one factor is zero: two nonzero factors cannot multiply to zero. Each factor then gives a smaller equation. Check every resulting input in the original formula.

4 The rule

To solve f(x)=k, set the function's formula equal to k and find every allowed input x.

Zero product rule: AB =0 means A=0 or B=0, or both.

The same idea, five ways

Say it

Solve h of p equals three

Write it

Find every input p whose output is 3.

In math
  • h(p) = 3
  • p2+2p=3
  • p = −3 or p = 1
Like

A receipt gives the price; find every matching button.

See it
(−3, 3)(1, 3)−4−22−22468
The requested output 3 occurs at two different input positions.

The same idea, other ways

Search backward through a machine

Evaluation gives the button and asks for the receipt. Solving gives the receipt and asks for every matching button. For h(p) = p2 + 2p, input 1 and input −3 both produce 3, so both belong in the answer.

-313function
Two different inputs can share the requested output without breaking the function.
Keep a scale balanced

If 3x − 7 = 8, adding 7 to both sides gives 3x = 15, and dividing both sides by 3 gives x = 5. You preserve the balance while uncovering the unknown input.

=3x − 78do the same thing to both sides
Apply the same operation to both sides while finding the input.
Split a zero product into two doors

If (p + 3)(p − 1) = 0, the first factor can be zero or the second can be zero. These possibilities give p = −3 and p = 1. Keep both doors open until you check each candidate in the original function.

(p+3)(p−1)=0

p + 3 = 0 or p − 1 = 0

p = −3 or p = 1

Part 1: One rule, two directions

Use the same recipe to move forward from an input or backward from an output. The name h labels the rule h(p) = p2 + 2p. Here h is the function name and p is its input. In the earlier difference quotient, h instead named a numerical step. A letter gets its meaning from its definition. First evaluate h(4), then solve the output question h(p) = 3 in the main example.

  • h(4) gives input 4 and asks for output.
  • h(p) = 3 gives output 3 and asks for every matching input.
4p² + 2pinputoutput24
4 goes in, the rule is p2 + 2p, and 24 comes out.
The same idea, five ways
Say it

h of four asks for an output; h of p equals three asks for inputs.

Write it

Evaluation starts with input 4, while solving starts with the specified output 3.

In math
  • h(p)=p2+2p
  • h(4) = 24
  • h(p) = 3
  • p = −3 or p = 1
Like

A button finds its receipt; a receipt may identify several matching buttons.

See it
4p² + 2pinputoutput24
The same picture again: 4 goes in, the rule is p2 + 2p, and 24 comes out.

Worked example

Evaluate a rule whose input letter is p

For h(p) = p2 + 2p, evaluate h(4). The input is 4; find the output.

What it asks. Use each stated input to find its output from the named formula.

Show the steps and the answer

The plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.

4p² + 2pinputoutput24
The same picture a third time: 4 goes in, the rule is p2 + 2p, and 24 comes out.
  1. Plan. Replace every input-variable slot with the whole input in parentheses. Work powers before multiplication, and multiplication before adding or subtracting. For a square root, compute its inside first and choose the nonnegative root. Check by following the original recipe again.
  2. Every input slot receives the complete input, including its sign.
  3. Square a negative input in parentheses: (−2)2 = 4. A constant recipe gives the same output for every input.
  4. Keep separate requested outputs on separate answer lines.
  1. h(4)=(4)2+2(4)=16+8=24.The input letter is p in this new formula. Replace every p with 4, then square and multiply before adding.
Answer
h(4) = 24.
Double-check Compute the two parts separately: 4 × 4 = 16 and 2 × 4 = 8. Their sum is 24.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: h(p) = 3 means the input p equals 3.
The equals sign sets the function output to 3.
✓ Instead: Set p2 + 2p = 3 and find the matching p values.
Tips and tricks
  • Read the entire question before deciding its direction.
  • As an everyday comparison: Use the same recipe to move forward from an input or backward from an output. The name h labels the rule h(p) = p2 + 2p. Here h is the function name and p is its input. In the earlier difference quotient, h instead named a numerical step. A letter gets its meaning from its definition. First evaluate h(4), then solve the output question h(p) = 3 in the main example.
  • With the worked values: Compute the two parts separately: 4 × 4 = 16 and 2 × 4 = 8. Their sum is 24.

Part 2: Balance a linear equation

A linear recipe multiplies the input by a fixed number, then adds or subtracts a fixed number. Think of a price made from a fixed fee and a charge per item. To find the number of items from the total, undo the fixed fee first, then undo the per-item charge. An equation acts like a balance scale. Whatever you add, subtract, multiply or divide on one side must also happen on the other, so the two amounts stay equal.

  • An equation states that its two sides have the same value.
  • Adding or subtracting the same amount on both sides preserves equality.
  • Dividing both sides by the same nonzero number preserves equality.
=3x − 78do the same thing to both sides
The same picture again: A balance: 3x − 7 on the left, 8 on the right.
Reminder
Reminder: Canceling a nonzero factor
  • Canceling a nonzero factor. 3x3 = x because 3 multiplies all of the numerator and 3 ≠ 0.
The same idea, five ways
Say it

Three x minus seven equals eight, so x equals five.

Write it

Undo the last operation first and do the same operation on both sides of the equation.

In math
  • 3x−7=8
  • 3x = 15
  • x = 5
  • 3(5)−7=8
Like

Keep both pans of a scale balanced while removing equal amounts.

See it
=3x − 78do the same thing to both sides
The same picture a third time: A balance: 3x − 7 on the left, 8 on the right.

Worked example

Find the input for output 8

For r(x) = 3x − 7, solve r(x) = 8. The output is 8; find the input.

What it asks. The output is given. Find every allowed input that produces it.

Show the steps and the answer

The plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.

3x−7=8.

3x − 7 + 7 = 8 + 7, so 3x = 15.

3x3 = 153, so x = 5.

  1. Plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.
  2. The value after the equals sign is the requested output.
  3. Use the same operation on both sides to preserve equality.
  4. Substitution in the starting formula must return the target output.
  1. 3x−7=8.Replace r(x) with the function's formula.
  2. 3x−7+7=8+7, so 3x=15.Add 7 to both sides to undo the subtraction of 7.
  3. 3x3=153, so x=5.Divide both sides by the nonzero factor 3.
Answer
x = 5
Double-check r(5) = 3(5) − 7 = 15 − 7 = 8, the required output.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: From 3x − 7 = 8, write 3x = 8 − 7 = 1.
Subtracting 7 does not undo the existing subtraction of 7. Adding 7 to both sides does.
✓ Instead: 3x = 8 + 7 = 15, so x = 5.
Tips and tricks
  • Write the operation on both sides once, so a sign mistake is visible.
  • Undo a recipe in reverse: The recipe 3x − 7 triples first and subtracts 7 second. Undo it by adding 7 first and dividing by 3 second.
  • Equal changes preserve equal totals: Two equal piles stay equal when each receives seven more pieces. Two equal totals also stay equal when each is divided into three equal groups.

Part 3: Factor and use the zero product rule

Factoring repacks a sum as a multiplication, like putting loose items back into equal bags. A factor is a quantity being multiplied. For a quadratic beginning with x2, look for two numbers whose product gives the constant term and whose sum gives the coefficient of x. Their two parentheses multiply back to the original expression. This becomes useful for solving after the equation equals zero, because a zero product tells you that at least one whole factor must be zero.

  • The constant term is the number without the variable. In x2 + 3x − 10, that term is −10.
  • For x2 + bx + c, if r + s = b and rs = c, then x2 + bx + c = (x + r)(x + s).
  • The reason is expansion: (x + r)(x + s) = x2 + sx + rx + rs = x2 + (r + s)x + rs.
  • The zero product rule applies to a product equal to zero. First move the requested output to the other side.
x²−2xx5x−105x−2
An area model with sides x + 5 and x + −2.
Reminder
Reminder: Distributive property, Solving a small equation
  • Distributive property. (x + 3)(x − 1) gives four products: x2 − x + 3x − 3.
  • Solving a small equation. p + 3 = 0 gives p = −3 after subtracting 3 from both sides.
The same idea, five ways
Say it

x squared plus three x minus ten equals the quantity x plus five times the quantity x minus two.

Write it

Factoring repacks the quadratic sum as a product; a product equal to zero has at least one zero factor.

In math
  • 5+(−2)=3
  • 5×(−2)=−10
  • x2+3x−10=(x+5)(x−2)
  • (x+5)(x−2)=0
  • x = −5 or x = 2
Like

Repack loose items into multiplied groups, then find which group count can be zero.

See it
x²−2xx5x−105x−2
The same picture again: An area model with sides x + 5 and x + −2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Choose numbers that multiply to the constant without checking their sum.
For x2 + 2x − 3, choosing −3 and 1 gives the right product −3 but the wrong sum −2.
✓ Instead: Choose 3 and −1, giving both product −3 and sum 2.
✗ Not this: (x − 1)(x + 2) = 4 gives x = 1 or x = −2.
Those values make the product 0, but the required product is 4. The zero product rule requires zero on the other side.
✓ Instead: Expand to x2 + x − 2 = 4. Subtract 4 to get x2 + x − 6 = 0, which makes the zero product rule usable. Factor as (x + 3)(x − 2) = 0, giving x = −3 or x = 2. Check: (−4)(−1) = 4 and 1 × 4 = 4.
Tips and tricks
  • Write the required sum and product beside the quadratic. Expand your factors once to check both.
  • Rebuild the middle and last terms: In (x + r)(x + s), the two middle products combine to (r + s)x, while the last product is rs. Matching the sum and product makes the multiplication reproduce your quadratic.
  • One zero factor stops the product: If either bag count in a multiplication is zero, the total is zero. If both factors are nonzero, their product stays nonzero. That is why checking each factor finds every way a factored quadratic can equal zero.

Part 4: Practice the factoring search before solving

The sum-and-product rule tells you what to look for. To find the pair, list whole-number pairs of the constant and test their sums. Matching signs give a positive product. Opposite signs give a negative product. If both numbers must be negative, start with positive factor pairs and reverse both signs. Expand the result once to check it. The five factoring rungs below show this search before the solving rungs begin.

  • If the constant is positive, the two numbers have the same sign, chosen to match the middle sum.
  • If the constant is negative, the signs differ; the number with larger absolute value has the sign of the middle sum.
  • A zero constant gives an immediate common factor x, as in x2 + 4x = x(x + 4).
  • If the middle coefficient is zero and the constant is negative, the matching numbers have equal size and opposite signs. For example, x2 − 16 = (x − 4)(x + 4), because −4 + 4 = 0 and (−4) × 4 = −16.
x²−5xx−4x20−4x−5
An area model with sides x + −4 and x + −5.
The same idea, five ways
Say it

Negative four plus negative five equals negative nine, and their product is twenty.

Write it

Choose factor numbers whose sum matches the middle coefficient and whose product matches the constant.

In math
  • −4+(−5)=−9
  • (−4)(−5)=20
  • x2−9x+20=(x−4)(x−5)
Like

A pair must fit both locks: the required sum and the required product.

See it
x²−5xx−4x20−4x−5
The same picture again: An area model with sides x + −4 and x + −5.

Worked example

Factoring rung 5: two negative numbers

Factor x2 − 9x + 20. Find two parentheses that multiply back to this sum.

What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

Show the steps and the answer

The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

x²−5xx−4x20−4x−5
The same picture a third time: An area model with sides x + −4 and x + −5.
  1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
  2. The two constant numbers must multiply to the last term.
  3. Their sum must equal the coefficient of the middle term.
  4. Check the signs, then multiply all four term pairs back.
  1. The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
  2. The positive pairs of 20 are 1 and 20, 2 and 10, 4 and 5. Their sums are 21, 12, and 9.Listing pairs prevents guessing a pair that matches only the product.
  3. Use −4 and −5: their sum is −9 and their product is 20.A positive product and negative sum require both numbers to be negative.
  4. x2−9x+20=(x−4)(x−5).The constants are the pair matching both requirements.
Answer
(x−4)(x−5).
Double-check Expansion gives x2 − 5x − 4x + 20 = x2 − 9x + 20.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x2−9x+20=(x+4)(x+5).
The product 20 matches but the sum is 9 rather than −9.
✓ Instead: Use (x − 4)(x − 5).
Tips and tricks
  • Write both targets first: sum and product.
  • As an everyday comparison: The sum-and-product rule tells you what to look for. To find the pair, list whole-number pairs of the constant and test their sums. Matching signs give a positive product. Opposite signs give a negative product. If both numbers must be negative, start with positive factor pairs and reverse both signs. Expand the result once to check it. The five factoring rungs below show this search before the solving rungs begin.
  • With the worked values: Expansion gives x2 − 5x − 4x + 20 = x2 − 9x + 20.

Part 5: Factoring the opposite-sign quadratic

For x2 + 2x − 3, a negative product requires one positive number and one negative number. The pair 3 and −1 gives the required positive sum 2. This is the same factor pattern used in the p equation. The variable’s name changes the label, not the multiplication.

  • Check both the sum and product before writing the parentheses.
x²−xx3x−33x−1
An area model with sides x + 3 and x + −1.
The same idea, five ways
Say it

x squared plus two x minus three equals the quantity x plus three times the quantity x minus one.

Write it

Opposite signs give the negative constant, while the larger positive number gives the positive middle sum.

In math
  • 3+(−1)=2
  • 3×(−1)=−3
  • x2+2x−3=(x+3)(x−1)
  • p2+2p−3=(p+3)(p−1)
Like

Two number tags must rebuild both the middle amount and the final amount.

See it
x²−xx3x−33x−1
The same picture again: An area model with sides x + 3 and x + −1.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Use −3 and 1 because their product is −3.
Their sum is −2, so the middle term is wrong.
✓ Instead: Use 3 and −1, whose sum is 2.
Tips and tricks
  • Changing x to p changes every occurrence together.
  • As an everyday comparison: For x2 + 2x − 3, a negative product requires one positive number and one negative number. The pair 3 and −1 gives the required positive sum 2. This is the same factor pattern used in the p equation. The variable’s name changes the label, not the multiplication.
  • With the worked values: Expand: (x + 3)(x − 1) = x2 − x + 3x − 3 = x2 + 2x − 3. Replacing x by p gives p2 + 2p − 3 = (p + 3)(p − 1).

Part 6: Solving an equation with a square root

A square root is like asking for the side length of a square of a known area. It returns one nonnegative length. When its output is given, square that output to recover the inside, then solve the remaining equation. Check the requested sign first. A negative requested output cannot come from this square-root symbol. After squaring, always put your input back into the starting root formula to check it.

  • t−6 requires t − 6 ≥ 0, so t ≥ 6. This finds the inputs with a nonnegative inside; at t = 6 the root is 0 = 0.
  • For a requested nonnegative output, squaring both sides removes the square-root symbol.
  • Checking in the starting equation rejects candidates created by squaring.
(10, 2)(55, 7)6183042542468
y = (x−6), solid, beside y = 7, dashed.
Reminder
Reminder: Principal square root
  • Principal square root. 4 = 2, while solving z2 = 4 gives z = 2 or z = −2.
The same idea, five ways
Say it

The square root of the whole difference t minus six equals seven, so t equals fifty-five.

Write it

A nonnegative root output can be squared to recover the inside; check the recovered input in the starting root formula.

In math
  • k(t)=t−6
  • t−6≥0
  • t ≥ 6
  • t−6=7
  • t−6=49
  • t = 55
  • 55−6=7
Like

A square’s side length recovers its area when you square that length.

See it
(10, 2)(55, 7)6183042542468
The same picture again: y = (x−6), solid, beside y = 7, dashed.

Worked example

Evaluate and solve a shifted square root

Let k(t) = t−6. Find k(10), then solve k(t) = 7. The first gives an input and wants an output. The second gives an output and wants every input.

What it asks. For the stated input, find its output first. Then find every allowed input giving the requested output.

Show the steps and the answer

The plan. For any requested evaluation, compute the inside before taking its nonnegative root. For solving, check that the requested root output is nonnegative, square both sides, isolate the input, and check it in the starting root equation.

55√(t − 6)inputoutput7
Subtract 6 before taking the nonnegative root.
  1. Plan. For any requested evaluation, compute the inside before taking its nonnegative root. For solving, check that the requested root output is nonnegative, square both sides, isolate the input, and check it in the starting root equation.
  2. The principal square root returns a nonnegative value.
  3. Squaring both sides recovers the expression inside the root.
  4. A candidate must pass the original root equation, including its sign.
  1. k(10)=10−6=4=2.Replace t by 10 and take the nonnegative square root.
  2. To solve, write t−6=7.Set the whole output formula equal to the requested nonnegative output.
  3. Square both sides: t−6=49.For a nonnegative square root, squaring removes the root; 72 = 49.
  4. Add 6 on both sides to get t=55.This isolates the input whose inside quantity must be 49.
  5. Check k(55)=55−6=49=7.Squaring can hide an original sign requirement, so check in the original root formula.
Answer
  • k(10) = 2.
  • t = 55.
Double-check The output 7 squares to the inside value 49. At input 55, the inside is 49, returning the required nonnegative 7.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Solving k(t) = −2 by squaring gives t = 10, so 10 is a solution.
The principal root cannot be negative. The candidate returns k(10) = 2, which is not −2.
✓ Instead: There is no solution to k(t) = −2.
Tips and tricks
  • Check the requested output sign before squaring, then substitute back afterward.
  • As an everyday comparison: A square root is like asking for the side length of a square of a known area. It returns one nonnegative length. When its output is given, square that output to recover the inside, then solve the remaining equation. Check the requested sign first. A negative requested output cannot come from this square-root symbol. After squaring, always put your input back into the starting root formula to check it.
  • With the worked values: The output 7 squares to the inside value 49. At input 55, the inside is 49, returning the required nonnegative 7.

5 How

  1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
  2. Replace the function notation with its formula, keeping the requested output on the other side.
  3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
  4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.
  5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
  6. Solve each smaller equation and keep every permitted input.
  7. Substitute each answer into the original function. Each checked output must equal the requested output.

Choose the solving method for this formula

1
Is the formula linear?
YesUndo addition or subtraction, then divide by the nonzero multiplier.
NoIdentify the power, root, or other operation.
↓
2
Is the equation a square equal to a number?
YesA positive number gives both square-root signs, zero gives one solution, and a negative number gives no real solution.
NoIf it is a factorable quadratic with a middle term, make one side zero, then factor.
↓
3
Is the equation a square root alone equal to a number, inside = k?
YesA negative k has no solution. For a nonnegative k, square both sides, solve, and check. An outside minus or added term must be handled first.
NoUse the operation actually shown and check every resulting input.
  1. Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
  2. Replace the function notation with its formula, keeping the requested output on the other side.
  3. For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
  4. For a quadratic that factors, subtract the requested output from both sides so one side is zero.
  5. Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
  6. Solve each smaller equation and keep every permitted input.
  7. Substitute each answer into the original function. Each checked output must equal the requested output.

6 Worked example

Worked example

Solving f(x) = k for a graphed quadratic: two answers, then one

The function f accepts any real number x as its input and produces the output
f(x) = x2 + 2x - 5.
Its graph, shown in the figure, is a parabola that opens upward. The lowest point of the graph (the vertex) is (-1, -6), and the graph crosses the y-axis at (0, -5).
(a) Solve f(x) = 10. Give every input that works.
(b) Solve f(x) = -6, and use the graph to explain how many solutions each part has.

(-1, -6)(0, -5)−6−4−224−8−44812
The upward-opening parabola y = f(x) = x2 + 2x - 5, with its vertex (-1, -6) and its y-intercept (0, -5)…
Show the steps and the answer
  1. (a) Say the question in words. Solve f(x)=10 means the output is 10; find every input x that f turns into 10.The output is known and the inputs are unknown, so we work backward from the output instead of evaluating f at a given number. The word every reminds us that more than one input may work.
  2. Replace f(x) with its formula, keeping the requested output on the other side: x2+2x-5=10.f(x) is a name for the expression x2 + 2x - 5, so the inputs that make f(x) equal 10 are exactly the inputs that make that expression equal 10.
  3. Choose the method. The equation contains x2, so it is quadratic, not linear. Subtract 10 from both sides: x2+2x-5-10=10-10, so x2+2x-15=0.Undoing addition and multiplication cannot isolate x when x appears both squared and to the first power. The zero product rule needs one side to be 0, and doing the same subtraction to both sides keeps the equation balanced.
  4. Rewrite the left side as a product. Look for two numbers that multiply to -15 and add to 2: 5 and -3 work, since 5×(-3)=-15 and 5+(-3)=2. The equation becomes (x+5)(x-3)=0.For any numbers p and q, (x + p)(x + q) = x2 + (p + q)x + pq, so p and q must add to the x-coefficient and multiply to the constant. Expanding confirms the factoring: (x + 5)(x - 3) = x2 - 3x + 5x - 15 = x2 + 2x - 15.
  5. Set each factor equal to zero: x+5=0 or x-3=0.By the zero product rule, a product equals 0 only when at least one of its factors is 0, so every solution must make x + 5 or x - 3 equal to zero.
  6. Solve each smaller equation. Subtract 5 from both sides of x+5=0 to get x=-5; add 3 to both sides of x-3=0 to get x=3. Keep both answers.Each factor equation is linear, so one inverse operation done to both sides isolates x. The function accepts every real number as input, so neither answer is ruled out.
  7. Check each answer in the original function: f(-5)=(-5)2+2(-5)-5=25-10-5=10 and f(3)=32+2(3)-5=9+6-5=10. Both outputs equal 10.Substituting into the original formula, not into a rearranged line, catches any slip made while moving terms or factoring. Each checked output must equal the requested output, 10.
  8. (b) Say the question in words: solve f(x)=-6 means the output is -6; find every input x that produces it. Replace f(x) with its formula: x2+2x-5=-6.The method does not depend on which output is requested: the formula goes on one side and the requested output stays on the other.
  9. Subtract the requested output, -6, from both sides. Subtracting -6 means adding 6: x2+2x-5+6=-6+6, so x2+2x+1=0.The equation is quadratic, so one side must be 0 before the zero product rule can be used. Subtracting a negative number is the same as adding its opposite.
  10. Rewrite the left side as a product. The two numbers must multiply to 1 and add to 2, so they are 1 and 1. The equation becomes (x+1)(x+1)=0.Expanding confirms it: (x + 1)(x + 1) = x2 + x + x + 1 = x2 + 2x + 1. The two factors are identical, so this quadratic is a perfect square, (x + 1)2.
  11. Set each factor equal to zero: x+1=0 or x+1=0. Both equations are the same; subtracting 1 from both sides gives the single answer x=-1.AB = 0 means A = 0 or B = 0, or both. Here A and B are the same factor, so they are zero together at x = -1, and no other input makes either factor zero. The input -1 is a real number, so it is permitted.
  12. Check in the original function: f(-1)=(-1)2+2(-1)-5=1-2-5=-6, the requested output.Substitution into the original formula confirms that -1 really produces the output -6.
  13. Explain the counts with the graph. The output -6 is the y-coordinate of the vertex (-1,-6), the lowest point of the parabola. The horizontal line y=10 lies above the vertex and crosses the parabola twice, at (-5,10) and (3, 10), so part (a) has two solutions. The horizontal line y=-6 touches the parabola only at the vertex, so part (b) has one solution.Each solution of f(x) = k is the x-coordinate of a point on the graph at height k, so the number of solutions equals the number of points where the horizontal line y = k meets the graph.
Answer
  • (a) x = -5 or x = 3
  • both inputs produce the output 10. (b) x = -1 is the only solution. The output 10 is above the lowest output of f, so the graph reaches height 10 at two points, (-5, 10) and (3, 10)
  • the output -6 is the height of the vertex (-1, -6), the only point of the graph at that height.
Double-check Substitute each answer into f(x) = x2 + 2x - 5: f(-5) = 25 - 10 - 5 = 10, f(3) = 9 + 6 - 5 = 10 and f(-1) = 1 - 2 - 5 = -6, so every answer gives its requested output. Graph check: a parabola is symmetric about the vertical line through its vertex, here x = -1, so two inputs with the same output must be equally far from -1. The answers -5 and 3 are each 4 units from -1, and their average is -5+32 = -1. The single answer to (b) is the vertex's own x-coordinate, as the lowest output must be.

Work to write

  1. (a)x2+2x-5=10
  2. x2+2x-15=0
  3. (x + 5)(x - 3) = 0
  4. x + 5 = 0 or x - 3 = 0
  5. x = -5 or x = 3
  6. f(-5) = 25 - 10 - 5 = 10 and f(3) = 9 + 6 - 5 = 10
  7. (b)x2+2x-5=-6
  8. x2+2x+1=0
  9. (x + 1)(x + 1) = 0
  10. x + 1 = 0, so x = -1 is the only solution
  11. f(-1) = 1 - 2 - 5 = -6
  12. -6 is the height of the vertex (-1, -6), so the line y = -6 meets the graph once, while the line y = 10 meets it twice

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 6

Factoring rung 1: pull out a common factor

Factor 2x + 6. This asks you to write the expression as a multiplication without changing its value.

What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

Show the steps and the answer

The plan. Identify a multiplier in every term. Write it outside parentheses and the remaining pieces inside. Distribute back to check.

2x62x3
Both pieces share the factor 2.
  1. Plan. Identify a multiplier in every term. Write it outside parentheses and the remaining pieces inside. Distribute back to check.
  2. Write both terms as products with the same shared number.
  3. Each inside term is what remains after its shared multiplier is taken outside.
  1. 2x+6=2×x+2×3.Both terms contain the factor 2, since 6 = 2 × 3.
  2. 2x+6=2(x+3).Reverse distribution by taking the shared factor 2 outside the parentheses.
Answer
2x + 6 = 2(x + 3)
Double-check Expand the answer: 2(x + 3) = 2x + 2 × 3 = 2x + 6, the original expression.

Rung 2 of 6

Factoring rung 2: two positive numbers

Factor x2 + 3x + 2. Find two parentheses that multiply to the original expression.

What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

Show the steps and the answer

The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

x²2xxx21x2
The middle pieces 2x and x add to 3x.
  1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
  2. The two constant numbers must multiply to the last term.
  3. Their sum must equal the coefficient of the middle term.
  4. Check the signs, then multiply all four term pairs back.
  1. The desired sum is 3 and the desired product is 2.The coefficient of x and the constant come from the sum and product of the two factor numbers.
  2. Choose 1 and 2: 1+2=3 and 1×2=2.This pair matches both required numbers.
  3. x2+3x+2=(x+1)(x+2).The two constants are the numbers 1 and 2.
Answer
x2+3x+2=(x+1)(x+2)
Double-check Multiply all four pairs: (x + 1)(x + 2) = x2 + 2x + x + 2 = x2 + 3x + 2.

Rung 3 of 6

Factoring rung 3: opposite signs

Factor x2 − x − 6. A missing written coefficient before x means the coefficient is −1.

What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

Show the steps and the answer

The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

2+(−3)=−1

2×(−3)=−6

(x+2)(x−3)=x2−x−6

  1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
  2. The two constant numbers must multiply to the last term.
  3. Their sum must equal the coefficient of the middle term.
  4. Check the signs, then multiply all four term pairs back.
  1. The desired sum is −1 and the desired product is −6.Read the middle coefficient and constant with their signs.
  2. A negative product needs opposite signs. Choose 2 and −3.2 × (−3) = −6 and 2 + (−3) = −1.
  3. x2−x−6=(x+2)(x−3).Adding −3 is written as subtracting 3.
Answer
x2−x−6=(x+2)(x−3)
Double-check Expand: (x + 2)(x − 3) = x2 − 3x + 2x − 6 = x2 − x − 6. The negative middle coefficient is preserved.

Rung 4 of 6

Factoring rung 5: two negative numbers

Factor x2 − 9x + 20. Find two parentheses that multiply back to this sum.

What it asks. Rewrite the same sum as multiplied factors. Do not change its value.

Show the steps and the answer

The plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.

x²−5xx−4x20−4x−5
The same picture, shown 4 times now: An area model with sides x + −4 and x + −5.
  1. Plan. Identify the constant and middle coefficient. List integer factor pairs of the constant, check their sums and signs, and write the pair in parentheses. Multiply the factors back to check.
  2. The two constant numbers must multiply to the last term.
  3. Their sum must equal the coefficient of the middle term.
  4. Check the signs, then multiply all four term pairs back.
  1. The required sum is −9 and product is 20.The middle coefficient and constant determine both targets.
  2. The positive pairs of 20 are 1 and 20, 2 and 10, 4 and 5. Their sums are 21, 12, and 9.Listing pairs prevents guessing a pair that matches only the product.
  3. Use −4 and −5: their sum is −9 and their product is 20.A positive product and negative sum require both numbers to be negative.
  4. x2−9x+20=(x−4)(x−5).The constants are the pair matching both requirements.
Answer
(x−4)(x−5).
Double-check Expansion gives x2 − 5x − 4x + 20 = x2 − 9x + 20.

Rung 5 of 6

Solving rung 2: undo two operations

Let r(x) = 3x − 7. Solve r(x) = 8. Find the input that produces output 8.

What it asks. The output is given. Find every allowed input that produces it.

Show the steps and the answer

The plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.

=3x15do the same thing to both sides
After removing the subtraction, divide the equal totals into three groups.
  1. Plan. Replace the function call by its formula. Set that formula equal to the requested output to turn the backward question into an equation. Undo the added or subtracted constant on both sides, then divide both sides by the nonzero input coefficient. Check the recovered input in the original formula.
  2. The value after the equals sign is the requested output.
  3. Use the same operation on both sides to preserve equality.
  4. Substitution in the starting formula must return the target output.
  1. 3x−7=8.Set the formula equal to the stated output.
  2. 3x=15.Add 7 to both sides.
  3. x=5.Divide both sides by 3.
Answer
x = 5
Double-check r(5) = 15 − 7 = 8, so the answer matches the requested output.

Rung 6 of 6

Solving rung 3: a square has two input signs

For s(x) = x2, solve s(x) = 9. Find every input whose square is 9.

What it asks. The output is given. Find every allowed input that produces it.

Show the steps and the answer

The plan. Set the formula equal to the requested output. If there is a middle term, subtract the output to make one side zero, factor, and set each factor to zero. If only the square remains, keep both root signs when the right side is positive. Check every candidate in the starting formula.

(−3, 9)(3, 9)−4−224246810
The two opposite inputs reach the same height 9.
  1. Plan. Set the formula equal to the requested output. If there is a middle term, subtract the output to make one side zero, factor, and set each factor to zero. If only the square remains, keep both root signs when the right side is positive. Check every candidate in the starting formula.
  2. An output after the equals sign is the target, not an input to substitute.
  3. The zero product rule requires the entire product to equal zero.
  4. Keep every candidate and check each one in the original formula.
  1. x2=9.Replace the function output with its formula.
  2. 9=3.3 × 3 = 9, so the nonnegative square root is 3.
  3. x=3 or x=−3.Both 3 × 3 and (−3)(−3) equal 9; squaring removes the input's sign.
Answer
  • x=−3
  • x = 3
Double-check s(−3) = 9 and s(3) = 9. A negative input is permitted here because the domain of the square recipe includes all real numbers.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Solve h(p) = 3 by evaluating h(3) = 15 and reporting 15.
The number 3 was given as the output. Feeding it in as an input answers a different question.
✓ Instead: Set p2 + 2p = 3 and solve for p, obtaining −3 and 1.
✗ Not this: A function can have only one answer when you solve for an input.
A function assigns one output to each input, but different inputs may share an output. The square recipe sends both −3 and 3 to 9.
✓ Instead: Find every input that produces the requested output, and check each one.
✗ Not this: For s(x) = x2, solving s(x) = −1 gives x = −1.
A real square is never negative. The candidate −1 has square 1, not −1.
✓ Instead: There is no real input satisfying x2 = −1.

Tips and tricks

  • Circle the stated output in the question, then write formula = that output.
  • For factoring, remember sum and product. Rebuild the factors and expand to check them.
  • Write separate answer lines for separate inputs. One checked solution does not justify throwing away another.
  • On the exam, list every solution on its own line and show a substitution check.

7 The trap

Treating a requested output as an input. In h(p) = 3, set the formula equal to 3; do not evaluate h(3).

Lesson 6 of 10

Turn an equation into a function when possible

Subject: MathematicsLeans on: Balance operationsLeans on: Reducing fractionsLeans on: Solving a squared equationLeans on: Interval notationOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Picture a bill with two amounts mixed together. You know one amount and want the other. In 2n + 6p = 12, n is the input you choose, and p is the output you want. Writing p = f(n) means get p alone on the left, with only n on the right. First remove 2n from the total, then divide the remainder into six equal groups. A formula that gives the output directly is an explicit rule. A mixed equation is an implicit rule. Either one represents a function only when each allowed input has exactly one output.

2 Picture it

Isolate p: p = 2 − n3

At x = 0: y = 1 or y = −1

A cube root gives one real output

One output for each allowed input

Reminder

Reminder: Balance operations, Reducing fractions, Solving a squared equation, Interval notation
  • Balance operations. Subtracting 2n from both sides of 2n + 6p = 12 gives 6p = 12 − 2n.
  • Reducing fractions. 2n6 = n3 because the common nonzero factor 2 cancels.
  • Solving a squared equation. y2 = 1 gives y = 1 and y = −1, while 1 alone means 1.
  • Interval notation. [−1, 1] includes both endpoints; here −1 and 1 are allowed circle inputs.

3 Why

Doing the same operation to both sides keeps the equality true. After n is chosen, 2n is a known amount. Subtracting it leaves 6p, and dividing every remaining term by 6 leaves p alone. That produces a direct rule. A squared output needs extra care: y2 = 1 allows y = 1 and y = −1. Those are two different outputs at one input. A cubed output instead has one real cube root, including for a negative input.

4 The rule

Choose the input and output.

An explicit rule gives the output alone in terms of the input.
An implicit rule keeps them mixed in an equation. Function status requires exactly one output for each allowed input.

The same idea, five ways

Say it

p is a function of n

Write it

Choose n, and the rule determines one p.

In math
  • 2n + 6p = 12
  • p=f(n)=2−13n
  • (n, p)
Like

A bill lets you recover one remaining amount after the known share is removed.

See it
n2 − 1/3ninputoutputp
The input is n. The output p is given directly by the isolated formula.

The same idea, other ways

Separate a total

In n + p = 8, choose input n = 3. The known share is 3, so the other share must be p = 5. Writing p = 8 − n does this same subtraction for every n.

=n + p8do the same thing to both sides
Subtract n from both sides to leave p = 8 − n.
Count the possible outputs

At x = 0, x2 + y2 = 1 becomes y2 = 1. Both 1 and −1 work. The full circle therefore fails the one-output promise, even though choosing only its top half would give one output per input.

01-1not a function
One input gives two different outputs on the full circle.

Part 1: An explicit linear formula

Picture a total made of two contributions. If you choose n, the amount 2n is already known, and the remaining total tells you 6p. Remove the known contribution, then divide the remainder into six equal groups to find p. That is what isolating the output means: p stands alone on one side of the equation. The other side uses the input n, so the formula gives the output directly without needing to solve a new equation each time.

  • With n as input and p as output, 2n + 6p = 12 becomes p = 12−2n6 = 2 − 13n.
  • Write p = f(n) = 2 − 13n. This is an explicit rule, also called an explicit formula. It gives the function in algebraic form.
  • There are no root or variable-denominator restrictions here, so every real n is allowed.
(0, 2)(3, 1)−2246−11234
y=−0.3333x+2.
Reminder
Reminder: Dividing a sum, Fraction multiplication
  • Dividing a sum. 12−2n6 = 126 − 2n6; every numerator term is divided by 6.
  • Fraction multiplication. 13×32=36=12.
The same idea, five ways
Say it

p equals f of n

Write it

p is the output determined by input n.

In math
  • 2n + 6p = 12
  • 6p=12−2n
  • p=f(n)=2−n3
Like

Remove the known share from a bill, then split what remains into six equal shares.

See it
(0, 2)(3, 1)−2246−11234
The same picture again: y = −0.3333x + 2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Divide only 6p by 6 and write p = 12 − 2n.
Changing only one side destroys the equality. The entire other side must also be divided by 6.
✓ Instead: p=12−2n6=2−13n.
Tips and tricks
  • Name the input and output before rearranging. Put the requested output alone on the left in the final answer.
  • After n is chosen, subtract its contribution 2n from 12. Six equal shares make 6p, so dividing that remainder by 6 finds one p.
  • 12−2n6 equals 126 − 2n6. The first fraction is 2; canceling the common factor 2 in the second gives n3. Therefore p = 2 − 13n.
  • As an everyday comparison: Picture a total made of two contributions. If you choose n, the amount 2n is already known, and the remaining total tells you 6p. Remove the known contribution, then divide the remainder into six equal groups to find p. That is what isolating the output means: p stands alone on one side of the equation. The other side uses the input n, so the formula gives the output directly without needing to solve a new equation each time.
  • With the worked values: For n = 0 and p = 2, the original left side is 0 + 12 = 12. For n = 32 and p = 32, it is 3 + 9 = 12. Both pairs satisfy the original equation.

Part 2: A circle gives two heights at one input

Imagine a round hoop centered at the crossing of two number lines. Fix a position left or right, and there may be two points on the hoop, one above and one below. The equation x2 + y2 = 1 describes this circle. At many inputs x, its two output heights y are opposites. The square root symbol selects a nonnegative number, but solving a squared equation must consider both signs. Choosing only the upper half makes a different relation with one output for each allowed input.

  • Subtract x2 to get y2 = 1 − x2. The symbol ± is read plus or minus: y = ±1−x2 includes both signs of the root. At x = 0, it gives y = 1 or y = −1.
  • At x = 0, the outputs 1 and −1 are different, so the whole circle does not define y as a function of x.
  • At x = −1 or x = 1, both signs give 0. One output at those two inputs does not repair the failures elsewhere.
  • The upper branch y = 1−x2 alone is a function with domain [−1, 1]. The lower branch y = −1−x2 alone is also a function.
  • Only −1 ≤ x ≤ 1 can work. If x is farther than 1 from zero, x2 exceeds 1 and y2 = 1 − x2 would be negative. For example, x = 2 gives y2 = −3, and no real square is negative.
(0, 1)
The point (0, 1) on the unit circle at 90°.
Reminder
Reminder: Principal square root, Real square roots
  • Principal square root. 4 = 2, while solving y2 = 4 gives y = 2 and y = −2.
  • Real square roots. A real square is nonnegative, so 1 − x2 must be at least 0 for a real circle height.
The same idea, five ways
Say it

y equals plus or minus the square root of the whole difference one minus x squared

Write it

The full circle can have a top height and a bottom height at the same input.

In math
  • x2+y2=1
  • y=±1−x2
  • (0, 1) and (0, −1)
Like

One left-right position on a hoop can have two heights.

See it
(0, 1)
The same picture again: The point (0, 1) on the unit circle at 90°.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Because 1−x2 has one value, the whole circle is a function.
The original squared equation accepts both signs. Keeping only the nonnegative root discards the lower half of the circle.
✓ Instead: The whole circle gives y = ±1−x2. Its upper half alone gives the function y = 1−x2.
✗ Not this: Any ± sign proves two different outputs, including y = ±0.
+0 and −0 are the same number. To disprove a function, you need two different outputs at one allowed input.
✓ Instead: Use x = 0, giving y = 1 and y = −1. At x = 1 there is only y = 0.
Tips and tricks
  • Distinguish evaluating a square root from solving a squared equation. Look for two different outputs, not only a ± symbol.
  • At the center's horizontal position x = 0, the hoop has a top point and a bottom point. Their heights are 1 and −1. The one-output definition fails at this single input, which is enough to reject the whole circle as a function in this direction.
  • Both 12 and (−1)2 equal 1. The equation y2 = 1 cannot select between them. The expression 1, in contrast, names the nonnegative root 1 by convention. It selects one branch rather than all circle points.
  • As an everyday comparison: Imagine a round hoop centered at the crossing of two number lines. Fix a position left or right, and there may be two points on the hoop, one above and one below. The equation x2 + y2 = 1 describes this circle. At many inputs x, its two output heights y are opposites. The square root symbol selects a nonnegative number, but solving a squared equation must consider both signs. Choosing only the upper half makes a different relation with one output for each allowed input.
  • With the worked values: For both fractional outputs, x2 + y2 = 925 + 1625 = 1. For both center outputs, 02 + (±1)2 = 1. The original equation accepts both signs, so the second output is real rather than an algebra error.

Part 3: A cube root isolates a cubed output

Imagine knowing how many blocks fill a cube and working backward to its side. A cube root undoes three copies multiplied together. For x − 64y3 = 0, choose x as the input and y as the output. First move 64y3 to the other side, then divide by 64. Taking the cube root gives one y, including when x is negative. A cube root has no plus-or-minus choice because opposite numbers have opposite cubes.

  • x − 64y3 = 0 gives 64y3 = x, then y3 = x64.
  • y = ∛(x64) = x34, because 43 = 64. Cubing x34 gives x64.
  • Every real x has one real cube root, so this defines y = f(x) = x34.
  • For comparison, x − y2 = 0 gives y2 = x. At x = 9 it permits y = 3 and y = −3, so that squared relation is not a function of x.
−8(∛x)/4inputoutput−0.5
Input −8 gives y = −12, whose cube is −18. The decimal −0.5 is exact and equals −12.
Reminder
Reminder: Signed cubes
  • Signed cubes. (−12)3=(−12)×(−12)×(−12)=−18.
The same idea, five ways
Say it

y equals the cube root of x, divided by four

Write it

Each real x gives one real output y.

In math
  • x−64y3=0
  • y3=x64
  • y=f(x)=x34
Like

Recover a cube's side by undoing three-factor multiplication.

See it
−8(∛x)/4inputoutput−0.5
A negative input also has one real cube-root output. The decimal −0.5 is exact and equals −12.

Worked example

Isolate a cubed output and check a negative input

Write x − 64y3 = 0 as y = f(x). Then find y when x = −8.

What it asks. Find a direct rule for output y, then use it at one negative input.

Show the steps and the answer

The plan. Move the cubed term, divide by 64, take its single cube root, and check in the first equation.

x = 64y3, so y3 = x64.

y=f(x)=x34.

f(−8)=∛(−8)4=−24=−12.

−8−64(−12)3=−8−64(−18)=−8+8=0.

  1. Plan. Move the cubed term, divide by 64, take its single cube root, and check in the first equation.
  2. Add 64y3 to both sides.
  3. 64 is 43, so its cube root is 4.
  4. Cube roots of negative inputs are negative.
  1. x=64y3, so y3=x64.Adding 64y3 isolates the output term, then equal division by 64 isolates the cube.
  2. y=f(x)=x34.A cube root undoes cubing, and 43 = 64.
  3. f(−8)=∛(−8)4=−24=−12.(−2)3 = −8, then reduce the fraction.
  4. −8−64(−12)3=−8−64(−18)=−8+8=0.Substitution confirms that the isolated rule satisfies the original equation.
Answer
  • y=f(x)=x34
  • At x = −8, y = −12.
Double-check Cube the output: (−12)3 = −18. Multiplying by 64 gives −8, exactly the chosen input.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Write y = ±x34.
The negative of a nonzero cube root cubes to the opposite sign, so it does not solve the same equation.
✓ Instead: Take one real cube root: y = x34.
Tips and tricks
  • A square can lose the sign; a cube keeps it. Check a proposed cube root by multiplying three copies.
  • For x = 8, the positive output is 12. For x = −8, the negative output is −12.
  • As an everyday comparison: Imagine knowing how many blocks fill a cube and working backward to its side. A cube root undoes three copies multiplied together. For x − 64y3 = 0, choose x as the input and y as the output. First move 64y3 to the other side, then divide by 64. Taking the cube root gives one y, including when x is negative. A cube root has no plus-or-minus choice because opposite numbers have opposite cubes.
  • With the worked values: Cube the output: (−12)3 = −18. Multiplying by 64 gives −8, exactly the chosen input.

Part 4: Good to know: an implicit rule

A recipe may identify one result while leaving the ingredients mixed together. In x = y + 2y, y is mixed into both pieces on the right, so the output is not isolated. Read this as an example of an implicit rule, not a formula you need to memorize or learn to solve here.

  • The symbol 2y is a power with base 2. At the values used here, 22 = 4 and 2¹ = 2. Decreasing the exponent by one divides the total by 2: 4 ÷ 2 = 2, then 2 ÷ 2 = 1. Continuing that same pattern gives 2⁰ = 1. Thus the correct check 2 ÷ 2 = 21−1 = 2⁰ = 1 follows the descending pattern rather than requiring a new exponent rule. More generally, a nonzero number to power 0 is 1; descending one step from its first power divides it by itself.
  • A negative exponent means a reciprocal, not a negative result: 2−1 = 12 and 2−2 = 14. Multiplying by 2 once moves 14 to 12, then to 1, then to 2. This extends the same doubling pattern to negative exponents.
  • If y = 0, x = 0 + 1 = 1. If y = 1, x = 1 + 2 = 3. If y = 2, x = 2 + 4 = 6.
  • As y grows, both y and 2y grow, so their total cannot give the same x twice. This proves at most one y for a given x. There are also no gaps in the totals: both pieces change without jumping over any in-between value as y changes. Far to the left, 2y shrinks toward zero while y becomes as negative as needed; far to the right, y and 2y grow without bound. The totals therefore pass through every real x. Existence, meaning an answer is reached, together with uniqueness, meaning it is the only answer, gives exactly one y for each x. The algebra taught here does not provide a short formula with y alone.
  • You can have a function without having its output written as an explicit formula. The one-output promise decides.
136012function
These three input-output pairs illustrate the implicit rule.
The same idea, five ways
Say it

x equals y plus two to the power y

Write it

The equation identifies y without writing a direct formula for it.

In math
  • x=y+2y
  • (1, 0), (3, 1), (6, 2)
Like

A clue can identify one answer without handing you a finished recipe.

See it

x=y+2y

The output y is not isolated

One output per input still matters

Worked example

See three outputs of an implicit rule

OpenStax problem

For x = y + 2y, use y = 0, 1 and 2 to find three (x, y) pairs.

What it asks. Verify three pairs rather than learn to solve the equation for arbitrary inputs.

Show the steps and the answer

The plan. Use the three power values stated above, add y, and place input x first in each pair.

At y = 0, x = 0 + 1 = 1, giving (1, 0).

At y = 1, x = 1 + 2 = 3, giving (3, 1).

At y = 2, x = 2 + 4 = 6, giving (6, 2).

  1. Plan. Use the three power values stated above, add y, and place input x first in each pair.
  2. 2⁰ = 1, 2¹ = 2, and 22 = 4.
  3. The requested pair is (x, y), even though you calculate x from y here.
  1. At y=0,x=0+1=1, giving (1, 0).Use 2⁰ = 1 and put the input x first.
  2. At y=1,x=1+2=3, giving (3, 1).Use 2¹ = 2.
  3. At y=2,x=2+4=6, giving (6, 2).Use 22 = 4.
Answer
  • (1, 0)
  • (3, 1)
  • (6, 2)
Double-check Substituting the three pairs gives 1 = 0 + 1, 3 = 1 + 2, and 6 = 2 + 4. Samples illustrate the rule; the growing-total explanation supplies the reason it does not repeat an input x.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: If the output cannot be isolated with the algebra I know, there is no function.
The definition asks how many outputs each input has. It does not demand a convenient formula.
✓ Instead: A mixed equation can define a function. Use the one-output requirement.
Tips and tricks
  • Implicit means implied by an equation. Explicit means stated directly.
  • Keep the one-output definition in view; you do not need to memorize this equation.
  • As an everyday comparison: A recipe may identify one result while leaving the ingredients mixed together. In x = y + 2y, y is mixed into both pieces on the right, so the output is not isolated. Read this as an example of an implicit rule, not a formula you need to memorize or learn to solve here.
  • With the worked values: Substituting the three pairs gives 1 = 0 + 1, 3 = 1 + 2, and 6 = 2 + 4. Samples illustrate the rule; the growing-total explanation supplies the reason it does not repeat an input x.

Part 5: Optional: why a mixed polynomial equation still has one output

An equation can identify one answer without handing you a direct recipe. In y3 + y = x, choose input x and look for the output y that makes the total match. As y grows, its cube grows and y itself grows, so their sum cannot give the same x twice. The examples below first show exact matches. The final comparison is an optional way to locate an unfamiliar output between two tested values. You can read it after the main function skills; it is a further explanation, not a formula to memorize.

  • The equation y3 + y = x defines y as a function of x even while y remains mixed into the equation.
  • Cubing keeps the order for all real inputs. Larger positive inputs have larger positive cubes. Among negative inputs, the one farther left has a larger positive magnitude; cubing that magnitude and restoring the minus makes a smaller cube. A negative cube, zero and a positive cube cannot agree.
  • Adding y to its cube keeps the total increasing: a larger y raises both pieces, so two different y values cannot give the same total x.
  • There are no gaps in the totals: addition and multiplication vary without jumps, and the sum goes indefinitely negative and indefinitely positive. Every real x has a matching y.
  • This is an implicit description. A function does not have to arrive with a short explicit formula using the algebra skills taught here.
  • As y grows, y3 grows and y grows. Adding two growing quantities keeps the total growing. A fixed total x can therefore be reached only once.
  • For input x = 1, y = 12 produces total 58, which is too small, while y = 1 produces 2, which is too large. The matching y lies between them. You can keep testing values inside the interval to locate it more closely without isolating y first.
-10-20210-2-1012function
-10 → -2, -2 → -1, 0 → 0, 2 → 1 and 10 → 2: a function.
Reminder
Reminder: Signed cubes, Adding fractions
  • Signed cubes. (−2)3=(−2)(−2)(−2)=4(−2)=−8.
  • Adding fractions. 18+12=18+48=58.
The same idea, five ways
Say it

y cubed plus y equals x

Write it

The input x identifies one output y even though y is not isolated.

In math
  • y3+y=x
  • f(2) = 1
  • f(−10)=−2
  • 12<f(1)<1
Like

A growing total passes each amount once.

See it
-10-20210-2-1012function
The same picture again: -10 → -2, -2 → -1, 0 → 0, 2 → 1 and 10 → 2: a function.

Worked example

Exact outputs and a bracket for an unfamiliar input

Define f(x) to be the y satisfying y3 + y = x. Find f(2) and f(−10). Then locate f(1) between 12 and 1. Locate means show that the answer lies between those two numbers, not give a rounded decimal.

What it asks. Verify two exact outputs. Optionally, place a third output between two trial values.

Show the steps and the answer

The plan. Substitute the basic proposed outputs first. Then compare totals at y = 12 and y = 1 with target input 1.

0.51
The matching output f(1) is between 12 and 1. Neither endpoint is the matching output.
  1. Plan. Substitute the basic proposed outputs first. Then compare totals at y = 12 and y = 1 with target input 1.
  2. The equation is y3 + y = x, with x as input and y as output.
  3. At y = 12, the total is 18 + 12 = 58, below 1.
  4. At y = 1, the total is 2, above 1. Increasing totals put the matching y between them.
  1. For x = 2, test y = 1: 13+1=1+1=2.A matching total makes the proposed output satisfy the equation.
  2. f(2)=1.The total y3 + y increases with y, so no other y can give total 2.
  3. For x = −10, test y = −2: (−2)3+(−2)=−8−2=−10.Cubing multiplies three copies of the signed input, and a negative cube is negative.
  4. f(−10)=−2.The matching total is unique for the same increasing-total reason.
  5. At y=12,y3+y=18+12=18+48=58<1.Cube the fraction, then add with a common denominator to see that this candidate's total is too small.
  6. At y=1,y3+y=2>1.This candidate's total is too large.
  7. 12<f(1)<1.The total increases without gaps, so it reaches 1 exactly once between these two tested outputs.
Answer
  • f(2) = 1
  • f(−10)=−2
  • 12<f(1)<1
Double-check Substitution gave totals 2 and −10 for the two exact outputs. For the interval, the endpoint totals 58 and 2 sit on opposite sides of 1; increasing totals ensure both a matching value and no second matching value.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: An equation is not a function whenever y cannot be isolated quickly.
Function status depends on one output per input, not on the convenience of writing a formula. y3 + y = x has exactly one y for every real x.
✓ Instead: Check existence and uniqueness of the output. This increasing implicit rule defines a function.
✗ Not this: A few sample pairs alone prove every input has a unique output.
A table of samples cannot rule out a hidden conflict elsewhere or establish that no inputs are missed.
✓ Instead: Use the increasing-total and no-gap arguments for all real values, then use sample substitutions as checks.
Tips and tricks
  • Separate two questions: does an output exist for every allowed input, and can there be more than one output? An explicit formula is one way to answer them, not a requirement.
  • As an everyday comparison: An equation can identify one answer without handing you a direct recipe. In y3 + y = x, choose input x and look for the output y that makes the total match. As y grows, its cube grows and y itself grows, so their sum cannot give the same x twice. The examples below first show exact matches. The final comparison is an optional way to locate an unfamiliar output between two tested values. You can read it after the main function skills; it is a further explanation, not a formula to memorize.
  • With the worked values: Substitution gave totals 2 and −10 for the two exact outputs. For the interval, the endpoint totals 58 and 2 sit on opposite sides of 1; increasing totals ensure both a matching value and no second matching value.

5 How

  1. Name the input letter and the requested output letter.
  2. Undo addition or subtraction around the output, doing the same operation to both sides.
  3. Divide every remaining term by the output's nonzero coefficient.
  4. For a cubed output, take its unique real cube root. For a squared output, keep both signs and test an input where they differ.
  5. Write the output alone as f(input) when possible, and check a pair in the equation you started with.
  6. If the equation stays mixed, remember that an awkward formula alone does not disprove a function.

Get the requested output alone

1
Is the output multiplied by a nonzero number?
YesFirst remove added terms, then divide every term by that number.
NoLook for a power on the output.
↓
2
Is the output cubed?
YesTake one real cube root. Check by cubing it.
NoIf it is squared, both signs may be allowed.
↓
3
Do two different outputs work at one input?
YesThe relation fails the function definition in this direction.
NoUse the isolated rule, or read the short implicit-rule part.
  1. Name the input letter and the requested output letter.
  2. Undo addition or subtraction around the output, doing the same operation to both sides.
  3. Divide every remaining term by the output's nonzero coefficient.
  4. For a cubed output, take its unique real cube root. For a squared output, keep both signs and test an input where they differ.
  5. Write the output alone as f(input) when possible, and check a pair in the equation you started with.
  6. If the equation stays mixed, remember that an awkward formula alone does not disprove a function.

6 Worked example

Worked example

Solving x2 - 4y = 12 for y, then for x

The equation x2 - 4y = 12 relates two real variables, x and y. The figure shows its graph, a parabola whose lowest point is (0, -3) and which passes through the points (-4, 1), (2, -2) and (4, 1).
(a) Use x as the input and y as the output. Solve the equation for y, write the result as f(x), and check one pair in the original equation.
(b) Now use y as the input and x as the output. Solve the equation for x and decide whether x is a function of y. Use the points (-4, 1) and (4, 1) to support your answer.

(-4, 1)(4, 1)(2, -2)(0, -3)−6−4−2246−4−2246
The graph of x2 - 4y = 12, which is the parabola y = x24 - 3 with lowest point (0, -3).
Show the steps and the answer
  1. Part (a). Name the input and the output. The input is x and the requested output is y. The rule x2-4y=12 is implicit, because x and y are mixed on the same side.The question asks for y in terms of x, so y must end up alone. Isolating it turns the implicit rule into an explicit one.
  2. Undo the addition around the output term. The left side is x2 added to the output term -4y, so subtract x2 from both sides. x2-4y-x2=12-x2 gives -4y=12-x2.Doing the same operation to both sides keeps the equation true, and it leaves only the output term on the left.
  3. Divide every remaining term by the coefficient -4. y=12-4-x2-4=-3+x24, so y=x24-3.The coefficient of y is -4. It is not zero, so dividing by it is allowed. Both the 12 and the x2 must be divided, and dividing by a negative number changes the sign of each term.
  4. Check the power on the output. y appears only to the first power and is not squared or cubed, so no root step is needed.Squaring x, dividing by 4 and subtracting 3 each produce exactly one number, so every real x gives exactly one y.
  5. Write the output alone as a function. f(x)=x24-3, for every real x. Check the pair x=2. f(2)=224-3=1-3=-2, and in the starting equation 22-4(-2)=4+8=12.An explicit rule with exactly one output for each allowed input is a function, so y is a function of x. Checking (2, -2) in the original equation, not in our own rearrangement, catches any sign or division slip.
  6. Part (b). Swap the roles. The input is now y and the requested output is x.The same equation can be read in either direction. Whether it gives a function depends on which letter is the output.
  7. Undo the subtraction around the output term. 4y is subtracted from x2, so add 4y to both sides. x2-4y+4y=12+4y gives x2=4y+12. The coefficient of x2 is 1, so dividing by it changes nothing.Adding 4y to both sides keeps the equation balanced and leaves the output term alone on the left. Dividing every term by 1 leaves each term unchanged.
  8. The output is squared, so keep both signs. x=4y+12 or x=-4y+12, which can be written x=±4y+12. Real outputs need 4y+12≥0, so the allowed inputs are y≥-3.A number and its opposite have the same square, so both signs satisfy x2 = 4y + 12. Keeping only one sign would quietly drop solutions of the original equation.
  9. Test an input where the two signs differ. y=-3 will not work, because 4(-3)+12=0 and both signs give x=0. Use y=1 instead. 4(1)+12=16, so x=16=4 or x=-16=-4.The two formulas give different outputs only when the number under the root is positive, so the test input must make 4y + 12 greater than 0.
  10. Check both pairs in the starting equation. 42-4(1)=16-4=12 and (-4)2-4(1)=16-4=12, so both (4, 1) and (-4,1) are genuine solutions.The test only counts if both outputs really satisfy the original equation, not just the rearranged one.
  11. Conclude. The allowed input y=1 has two outputs, x=4 and x=-4, so x is not a function of y and no single f(y) gives x. On the graph, the horizontal line y=1 meets the parabola at (-4,1) and (4, 1).A function needs exactly one output for each allowed input, so one input with two checked outputs is enough to fail. The verdict rests on these two outputs, not on the two-sign formula merely looking awkward.
Answer
(a) y = f(x) = x24 - 3 for every real x, so y is a function of x. (b) x = 4y+12 or x = -4y+12 for y ≥ -3. The input y = 1 gives both x = 4 and x = -4, so x is not a function of y.
Double-check Try another input in (a). f(-4) = (-4)24 - 3 = 164 - 3 = 1, and (-4)2 - 4(1) = 16 - 4 = 12, so (-4, 1) satisfies the original equation. Also f(0) = -3 and 02 - 4(-3) = 12, which gives the lowest point (0, -3). On the graph, every vertical line meets the parabola exactly once, which gives one y for each x as in (a). The horizontal line y = 1 meets it twice, at (-4, 1) and (4, 1), which gives two x-values for one y as in (b).

Work to write

  1. Part (a): input x, output y
  2. -4y=12-x2
  3. y=12-4-x2-4=x24-3
  4. f(x) = x24 - 3, for every real x
  5. Check (2, -2): 22 - 4(-2) = 4 + 8 = 12
  6. Part (b): input y, output x, so x2 = 4y + 12
  7. x = 4y+12 or x = -4y+12
  8. y = 1: x = 4 or x = -4, and 42 - 4(1) = 12, (-4)2 - 4(1) = 12
  9. y = 1 has two outputs, so x is not a function of y

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Subtract the known share

Write n + p = 8 as p = f(n).

What it asks. Get output p alone, keeping n as the input.

Show the steps and the answer

The plan. Subtract n from both sides.

n + p − n = 8 − n, so p = 8 − n.

  1. Plan. Subtract n from both sides.
  2. Treat n as the chosen amount.
  3. The remaining amount is 8 − n.
  1. n+p−n=8−n, so p=8−n.Equal subtraction removes the input term from the output side.
Answer
p=f(n)=8−n
Double-check At n = 3, p = 5, and 3 + 5 = 8.

Rung 2 of 4

Remove several copies of the input

Write 3n + p = 11 as p = f(n).

What it asks. Isolate p after removing three copies of n.

Show the steps and the answer

The plan. Subtract the entire known contribution 3n.

3n + p − 3n = 11 − 3n, so p = 11 − 3n.

  1. Plan. Subtract the entire known contribution 3n.
  2. 3n is one complete term.
  3. Subtract 3n from each side.
  1. 3n+p−3n=11−3n, so p=11−3n.Subtracting the same known contribution preserves equality and leaves p alone.
Answer
p=f(n)=11−3n
Double-check At n = 2, p = 5. The original left side is 6 + 5 = 11.

Rung 3 of 4

Divide every remaining term

Write 5n + 2p = 14 as p = f(n).

What it asks. Find one p after removing the input's share and splitting the remainder into two.

Show the steps and the answer

The plan. Subtract 5n, then divide both numerator terms by 2.

2p=14−5n.

p=14−5n2=7−52n.

  1. Plan. Subtract 5n, then divide both numerator terms by 2.
  2. First leave 2p on its own.
  3. 14−5n2=7−52n.
  1. 2p=14−5n.Equal subtraction isolates the output term.
  2. p=14−5n2=7−52n.Equal division by 2 reaches every term, including 5n.
Answer
p=f(n)=7−52n
Double-check At n = 2, p = 2. Then 5(2) + 2(2) = 10 + 4 = 14.

Rung 4 of 4

Divide by a negative coefficient

Write 6n − 3p = 18 as p = f(n).

What it asks. Isolate p when its multiplier is negative.

Show the steps and the answer

The plan. Subtract 6n, then divide every term by −3.

−3p=18−6n.

p=18−6n−3=−6+2n=2n−6.

  1. Plan. Subtract 6n, then divide every term by −3.
  2. −3p=18−6n.
  3. 18÷(−3)=−6;(−6n)÷(−3)=2n.
  1. −3p=18−6n.Subtracting 6n isolates the output term.
  2. p=18−6n−3=−6+2n=2n−6.Division by −3 changes the sign of both numerator terms.
Answer
p=f(n)=2n−6
Double-check At n = 4, p = 2. The original left side is 24 − 6 = 18.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Every equation relating two variables automatically defines one as a function of the other.
An equation can allow two different outputs for one input, as the circle does at x = 0.
✓ Instead: Identify the direction and check the one-output requirement.
✗ Not this: Any appearance of ± means the relation fails to be a function at that input.
When the square root is zero, both signs give the same output. The conflict requires two different values.
✓ Instead: For the circle, x = 1 gives only y = 0, while x = 0 gives y = 1 and y = −1, proving the relation fails overall.
✗ Not this: A mixed equation cannot define a function.
An equation can determine one output without providing a convenient direct formula.
✓ Instead: Read the implicit-rule note: x = y + 2y determines one y for each x.

Tips and tricks

  • Choose and label the direction before manipulating the equation.
  • An explicit formula makes the output visible. A mixed equation can also give one output, as the short implicit-rule note explains.
  • One input with two different outputs is enough to disprove a function. One input with one output is not enough to prove the whole relation is a function.

7 The trap

Discarding the negative square-root solution when the original equation permits it. A root expression chooses one branch; a squared equation may include both.

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 7 of 10

Evaluate and solve from tables and graphs

Subject: MathematicsLeans on: Evaluate versus solveLeans on: Squaring a negativeOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Think of a train timetable. If you know the train, you look across to find its arrival time. If you know the arrival time, you search for every train arriving then. A function table works the same way. You can start with an input and find its output, or start with an output and find all matching inputs. A graph is another picture of those same pairs. Its horizontal position shows the input, and its vertical position shows the output. Read the question first so you know which direction to search. You do not need a formula when the table or graph supplies the answer.

2 Picture it

input noutput g(n)1826374658↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
n: 1, 2, 3, 4, 5; g(n): 8, 6, 7, 6, 8, read at n = 3, solved for g(n) = 6.

Reminder

Reminder: Evaluate versus solve, Squaring a negative
  • Evaluate versus solve. In g(3), 3 is the given input. In g(n) = 6, 6 is the given output. These are different starting points.
  • Squaring a negative. Keep parentheses: (−2)2 = 4. The expression −22 means −4.

3 Why

Each column of an input and output table keeps a pair together. Moving down a column therefore preserves the connection between the two values. On a graph, a point's two coordinates preserve that same connection: (3, 7) says input 3 gives output 7. Fixing an input selects one output because the relation is a function. Fixing an output can select several inputs because different inputs may share an output.

4 The rule

Evaluate g(3): input 3 is given; read its output.

Solve g(n)=6: output 6 is given; find every input paired with it. A point (x, y) on a function graph means y=f(x).

The same idea, five ways

Say it

g of three is seven. g of n equals six asks which n values work.

Write it

Evaluation begins with an input. Solving begins with an output and collects all matching inputs.

In math
  • g(3) = 7
  • (3, 7)
  • g(n) = 6 gives n = 2 or n = 4
  • Points (2, 6) and (4, 6) share height 6.
Like

A train name finds its arrival time; an arrival time can match several trains.

See it
input noutput g(n)1826374658↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
The same picture again: n: 1, 2, 3, 4, 5; g(n): 8, 6, 7, 6, 8, read at n = 3, solved for g(n) = 6.

The same idea, other ways

As a timetable

Given a train name, look for one arrival time. Given an arrival time, collect every train name next to it. Evaluation and solving reverse the search.

As paired coordinates

The table column with input 3 and output 7 becomes the graph point (3, 7). You can read that same pair from either direction.

3ginputoutput7
Evaluation follows the input to its paired output.

Part 1: Table lookup in both directions

A table can work like a contact list. The input can be a name, and you look beside that name for the attached information. This table gives a pet label as input and memory span in hours as output. Call its rule M. Find Gold in the input row to evaluate M(Gold). Search backward from an hour value to find its pet label. The short table labels are Pup for puppy, Dog for adult dog, Gold for goldfish, and Beta for beta fish. Cat is unchanged.

  • M has the listed pet labels as its domain and the listed hour values as its range.
  • M(Gold) = 2160 hours in this table. Gold is the goldfish label.
  • A table can define the entire function or show selected values. Read the statement before assuming missing inputs are allowed.
  • Reason: A function associates an input with an output; it does not require the input to be a number or the rule to be a formula. The paired entries already tell you the rule for the listed labels. Looking up an unlisted label would need more information. Changing the direction of the search does not change any pair, so checking an answer means reading its column in the other direction.
input petoutput hoursPup0.008Dog0.083Cat16Gold2160Beta3600↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
pet: Pup, Dog, Cat, Gold, Beta; hours: 0.008, 0.083, 16, 2160, 3600.
Reminder
Reminder: Function notation
  • Function notation. M(Cat) means use Cat as the input to M. It does not mean multiplication.
The same idea, five ways
Say it

M of Gold equals two thousand one hundred sixty hours.

Write it

The goldfish input label Gold has an output of 2160 hours.

In math
  • M(Gold) = 2160
  • (Gold, 2160)
  • M(pet) = 3600 gives pet = Beta
Like

Look up a name in a contact list, then read the entry attached to that name.

See it
input petoutput hoursPup0.008Dog0.083Cat16Gold2160Beta3600↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
The same picture again: pet: Pup, Dog, Cat, Gold, Beta; hours: 0.008, 0.083, 16, 2160, 3600.

Worked example

Read a label, then reverse the search

OpenStax problem

Find M(Gold), the memory span paired with the goldfish label Gold. Then solve M(pet) = 3600, meaning find every pet label paired with 3600 hours.

What it asks. Find the number attached to Gold, then the pet label attached to 3600 hours.

Show the steps and the answer

The plan. Read down from Gold for evaluation and up from 3600 for solving.

input petoutput hoursPup0.008Dog0.083Cat16Gold2160Beta3600↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
The same picture a third time: pet: Pup, Dog, Cat, Gold, Beta; hours: 0.008, 0.083, 16, 2160, 3600.
  1. Plan. Read down from Gold for evaluation and up from 3600 for solving.
  2. Gold is the table label for goldfish.
  3. The hour value 3600 is in the last output cell.
  1. Locate Gold in the input row and read 2160 directly below it.The output in that column is M(Gold), the memory span for goldfish.
  2. Locate 3600 in the output row and read Beta directly above it.Solving reverses the lookup, and no other output cell holds 3600.
Answer
  • M(Gold) = 2160 hours.
  • M(pet) = 3600 gives pet = Beta, the beta fish label.
Double-check The Gold column contains 2160 hours. The Beta column contains 3600 hours. Read the same two columns in reverse to confirm each answer.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: M(Hamster) = 16 because a hamster seems similar to a cat.
Hamster is not a listed input, and a resemblance supplies no function value.
✓ Instead: The table does not give M(Hamster).
Tips and tricks
  • Keep the output unit: pet label goes in, hours come out.
  • If a pet label is not listed, the table gives no value for it.
  • As a contact list: A person's name can locate a phone number without an arithmetic formula. A pet label can locate its hour value the same way.
  • As arrows: Each label points to its paired number. To solve for an output, trace every arrow ending at that number back to its label.

Part 2: Graph reading in both directions

Think of a building directory on a map. Start with an input address along the horizontal axis, move straight up or down until you reach the curve, then read its height as the output. Starting with an output reverses the search: hold that height and look across for every point at that level. The curve s(x) = x2 includes the points between the marked samples because its formula defines them too. Separate table dots alone do not tell you to draw a connecting curve.

  • The graph of a function is its collection of input and output points (x, f(x)).
  • For the curve s(x) = x2, each input is squared to find its height.
  • Evaluate by choosing x first. Solve by choosing y first. A height below this square curve has no matching point.
  • Reason: All points directly above one horizontal position have the same input. That makes a vertical search useful when the input is given. All points at the same height have the same output. That makes a horizontal search useful when the output is given. Joining separate data dots would claim answers for new inputs. Only a curve or rule gives permission to include those extra points.
(2, 4)(−3, 9)(3, 9)−4−2244812
y=x2.
Reminder
Reminder: Coordinates
  • Coordinates. In (−3, 9), go 3 left and 9 up. The order is horizontal first, vertical second.
The same idea, five ways
Say it

s of two equals four. s of x equals nine asks which x values reach nine.

Write it

The curve height gives an output; the horizontal addresses at a given height give its input solutions.

In math
  • s(2) = 4
  • (2, 4)
  • s(x) = 9 gives x = −3 or x = 3
Like

An address finds one shelf height; a shelf height may occur at several addresses.

See it
(2, 4)(−3, 9)(3, 9)−4−2244812
The same picture again: y = x2.

Worked example

A square curve gives one output and two inputs

For the graph s(x) = x2, evaluate s(2), meaning read the height at input 2. Then solve s(x) = 9, meaning find every input at height 9.

What it asks. Read one output at input 2, then all inputs at output height 9.

(2, 4)(−3, 9)(3, 9)−4−2244812
Height 9 meets the square curve twice, so collect both inputs.
Show the steps and the answer

The plan. Move vertically from x = 2 to the curve. Then follow the horizontal dashed level at height 9 to both contacts.

  1. Plan. Move vertically from x = 2 to the curve. Then follow the horizontal dashed level at height 9 to both contacts.
  2. The point (2, 4) carries input 2 and output 4.
  3. Both points (−3, 9) and (3, 9) have height 9.
  1. Start at 2 on the horizontal axis and move up to the point (2, 4). Read s(2)=4.The point's vertical coordinate is the output for its horizontal coordinate.
  2. Start at height 9 on the vertical axis and look across to both curve points (−3,9) and (3, 9).Both points have the requested output 9.
  3. Read their horizontal coordinates and write x=−3 or x=3.Solving asks for the inputs, rather than the common height.
Answer
  • s(2) = 4.
  • For s(x) = 9:
  • x=−3.
  • x = 3.
Double-check Use the rule independently of the picture: 22 = 4, (−3)2 = 9, and 32 = 9.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: s(x) = 9 has the answer 9.
9 is the output already given; the question asks which inputs reach it.
✓ Instead: Read the horizontal coordinates: x = −3 or x = 3.
Tips and tricks
  • Write input or output beside the given value before touching the graph.
  • A few marked points on a curve are samples. Separate data dots without a curve do not authorize joining them.
  • As a map address: For s(2), go to horizontal position 2 and read the curve's height 4. The address (2, 4) contains the answer.
  • As a level shelf: For s(x) = 9, slide a level shelf across height 9. It touches this curve at horizontal positions −3 and 3.

Part 3: Domain and range from a graph

Imagine shining a lamp straight down onto a curve. Its shadow on the horizontal axis shows every input position the graph covers: the domain. Now shine the lamp from the side. The shadow on the vertical axis shows every output height it reaches: the range. Domain is read left to right. Range is read bottom to top. The drawn window shows a portion of an unending curve, so use its continuing direction together with the rule to decide whether a shadow continues forever.

  • Domain: the graph’s horizontal input coverage. Read its shadow on the x-axis.
  • Range: the graph’s vertical output coverage. Read its shadow on the y-axis.
  • For x, both shadows start at the included zero and continue in the positive direction.
  • For x2, the bowl reaches left and right forever, so domain is all real numbers. Its heights are zero or positive, so range is [0, ∞).
(0, 0)(4, 2)(9, 3)domainrange246810−11234
y=x.
Reminder
Reminder: Interval endpoints
  • Interval endpoints. [0, ∞) includes zero. The parenthesis at infinity means there is no last point.
The same idea, five ways
Say it

Domain is left to right. Range is bottom to top.

Write it

Inputs make the horizontal shadow; outputs make the vertical shadow.

In math
  • For y = x: domain [0, ∞), range [0, ∞).
  • For y = x2: domain (−∞, ∞), range [0, ∞).
Like

Two lamps cast two different shadows of the same curve.

See it
(0, 0)(4, 2)(9, 3)domainrange246810−11234
The same picture again: y = x.

Worked example

Read the square-root graph’s two shadows

Use the graph y = x to find its domain and range.

What it asks. Find every input position and every output height covered by the graph.

(0, 0)(4, 2)(9, 3)domainrange246810−11234
The same picture a third time: y = x.
Show the steps and the answer

The plan. Project the graph onto the x-axis for domain and onto the y-axis for range. Read included endpoints separately.

  1. Plan. Project the graph onto the x-axis for domain and onto the y-axis for range. Read included endpoints separately.
  2. Domain is read left to right.
  3. Range is read bottom to top.
  1. Read left to right: the graph starts at input 0 and continues right forever.Domain collects the horizontal input positions covered by the curve.
  2. Write domain [0,∞).The starting point (0, 0) includes input 0, and the curve has no last input.
  3. Read bottom to top: the lowest height is 0, and the graph continues upward forever.Range collects the vertical output heights the curve reaches.
  4. Write range [0,∞).Output 0 is included, and no upper height is the last output.
Answer
  • Domain: [0, ∞).
  • Range: [0, ∞).
Double-check Check the rule: negative inputs have no real square root, and a root output is nonnegative. Any output y ≥ 0 is reached by input y2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The square graph stays above the x-axis, so its domain is [0, ∞).
Above the axis describes output heights. The bowl still has points at negative horizontal inputs, such as (−2, 4).
✓ Instead: For x2, domain is (−∞, ∞); range is [0, ∞).
Tips and tricks
  • Memory cue: D before R, I before O, x before y. Domain is input x; range is output y.
  • Check whether a finite endpoint is included before choosing its bracket.
  • With shadows: Drop the graph’s points onto the x-axis for domain. Move them sideways onto the y-axis for range.
  • With a point address: The point (4, 2) contributes input 4 to the domain and output 2 to the range. Collect every graph point’s first or second coordinate.

5 How

  1. Translate the question into either given input, find output, or given output, find inputs.
  2. In a table, stay in the same column when moving between its input and output rows.
  3. On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
  4. For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
  5. Check each answer against its original column or point. Do not invent values between isolated data points.

Read a table or graph in the requested direction

1
Is an input given, as in g(3)?
YesEvaluate: keep that input and find its paired output.
NoAn output is given, so solve by finding every input producing it.
↓
2
Is the information a table?
YesRead down from the input to evaluate; read up from every matching output to solve.
NoOn a graph, move vertically from the input to the curve to evaluate. For solving, search across the given output height.
↓
3
Does the given input or output have a listed column or graph contact?
YesRead the paired coordinate. For solving, keep every matching input.
NoFor a complete function, there is no matching value there. For a sample table, a missing value needs more information.
  1. Translate the question into either given input, find output, or given output, find inputs.
  2. In a table, stay in the same column when moving between its input and output rows.
  3. On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
  4. For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
  5. Check each answer against its original column or point. Do not invent values between isolated data points.

6 Worked example

Worked example

Evaluate and solve from a shuttle's passenger table

A city shuttle makes seven stops on its morning loop, numbered s = 1 through s = 7. The function P gives the number of passengers on board, P(s), just after the shuttle pulls away from stop s. The table lists every value of P:

s (stop number): 1, 2, 3, 4, 5, 6, 7
P(s) (passengers): 8, 14, 21, 14, 11, 14, 9

(a) Evaluate P(5) and say what it means.
(b) Solve P(s) = 14 and say what it means.
(c) Solve P(s) = 17.

input stop number, soutput passengers on board, P(s)1821432141451161479
A table of 7 values of passengers on board, P(s), for stop number, s from 1 to 7.
Show the steps and the answer
input stop number, soutput passengers on board, P(s)1821432141451161479↓ evaluate: input given, read the output below it
Table of P for the shuttle loop.
  1. Translate part (a). In P(5) the number inside the parentheses is the input. This is 'given input, find output': the stop number s=5 is given and the passenger count is wanted.In function notation the value inside the parentheses is always the input, and P(5) names the output paired with it.
  2. Find 5 in the s row of the table. Stay in that same column, move down to the P(s) row and read the entry, which is 11. So P(5)=11.Each column of the table is one input-output pair. The output for s = 5 is the entry directly below it, not an entry from a neighboring column.
  3. Interpret: P(5)=11 means that just after the shuttle pulls away from stop 5, 11 passengers are on board.The input is a stop number and the output is a number of passengers, so the meaning names the stop and the count in the words of the problem.
  4. Translate part (b). In P(s)=14 the number 14 is a value of P. This is 'given output, find inputs': the passenger count 14 is given and every stop number s with that count is wanted.The equation sets the output P(s) equal to 14 and leaves the input s unknown. It is not P(14), which would treat 14 as an input, and there is no stop 14.
  5. Scan the entire P(s) row: 8, 14, 21, 14, 11, 14, 9. The value 14 appears three times. Move up each of those three columns to the s row to get s=2,s=4 and s=6.Solving means finding every input paired with the given output. A function can give the same output for different inputs, so the search cannot stop at the first 14.
  6. Interpret: P(s)=14 when s=2,s=4 or s=6. The shuttle carries 14 passengers just after leaving stop 2, just after leaving stop 4 and just after leaving stop 6.Each solution is an input, which here is a stop number, and the equation says the output 14 occurs at each of those stops.
  7. Translate part (c). P(s)=17 is again 'given output, find inputs'. Scan the entire P(s) row: 8, 14, 21, 14, 11, 14, 9. No entry is 17.The table lists every value of P, so a stop is a solution only if 17 appears in its column.
  8. Do not estimate an input between s=2 (14 passengers) and s=3 (21 passengers), such as s=2.5. Conclude that P(s)=17 has no solution.P is defined only at the stop numbers 1 through 7. There is no stop between stop 2 and stop 3, so there is no input there and no output to read. A value invented between isolated data points is not data the table contains.
Answer
(a) P(5) = 11: just after the shuttle leaves stop 5, 11 passengers are on board. (b) s = 2, s = 4 or s = 6: the shuttle carries 14 passengers just after leaving each of stops 2, 4 and 6. (c) No solution: 17 is not an output anywhere in the table, and P has no inputs between the listed stop numbers.
Double-check Return to each column. In column s = 5 the P(s) entry is 11, which matches P(5) = 11. In columns s = 2, s = 4 and s = 6 each entry is 14, so P(2) = P(4) = P(6) = 14. The other columns hold 8 (s = 1), 21 (s = 3), 11 (s = 5) and 9 (s = 7), and none of these is 14, so no solution of P(s) = 14 was missed. No column holds 17, which confirms that P(s) = 17 has no solution.

Work to write

  1. P(5) = 11
  2. Just after the shuttle leaves stop 5, 11 passengers are on board.
  3. P(s) = 14 when s = 2, s = 4 or s = 6
  4. The shuttle carries 14 passengers just after leaving stops 2, 4 and 6.
  5. P(s) = 17 has no solution, because 17 is not an output in the table and there is no stop between the listed stops.

Ladder: from easy to exam-hard

Try each rung before you open its steps.

Rung 1 of 4

Evaluate one table input

Evaluate g(1), meaning find the output under input 1 in the table.

What it asks. Find the output in the column for input 1.

input noutput g(n)1826374658
n: 1, 2, 3, 4, 5; g(n): 8, 6, 7, 6, 8.
Show the steps and the answer

The plan. Locate input 1 and read directly down.

input noutput g(n)1826374658↓ evaluate: input given, read the output below it
One highlighted input identifies one paired output.
  1. Plan. Locate input 1 and read directly down.
  2. The first column begins with input 1.
  3. Its lower cell is 8.
  1. Find 1 in the input row and read the 8 below it.Evaluation follows one known input to its paired output.
Answer
g(1) = 8.
Double-check The first column pairs 1 with 8, so the ordered pair is (1, 8).

Rung 2 of 4

Evaluate a graph input

For the curve s(x) = x2, evaluate s(−2), meaning read the output height at input −2.

What it asks. Read the square curve’s height at input −2.

Show the steps and the answer

The plan. Keep x = −2 while moving vertically to the curve, then read y.

(−2, 4)−22−2246810
Input −2 lies left of zero, but its output lies above zero.
  1. Plan. Keep x = −2 while moving vertically to the curve, then read y.
  2. −2 is left of the origin.
  3. The point there is (−2, 4).
  1. Start at −2 on the horizontal axis and move vertically to the curve at (−2,4).The input stays −2 during a vertical move.
  2. Read the height 4, so s(−2)=4.The vertical coordinate is the output.
Answer
s(−2)=4.
Double-check The rule gives (−2)2 = (−2) × (−2) = 4, agreeing with the graph.

Rung 3 of 4

Two graph solutions, then no solutions

On the curve s(x) = x2, solve s(x) = 4 and s(x) = −1. Each question gives an output height and asks for every input at that height.

What it asks. Find every input at height 4, then every input at height −1.

Show the steps and the answer

The plan. Inspect each dashed horizontal level and read the x-coordinate of every curve contact.

(−2, 4)(2, 4)−22−2246810
Height 4 cuts the curve in two places.
−22−2246810
Height −1 never touches the curve.
  1. Plan. Inspect each dashed horizontal level and read the x-coordinate of every curve contact.
  2. Height 4 has two contacts.
  3. The square curve never goes below zero.
  1. At height 4, find curve points (−2,4) and (2, 4). Read x=−2 or x=2.Both points have output 4.
  2. At height −1, find no point on the curve. Write no real solution.A square is never negative, so this curve never reaches a height below zero.
Answer
  • For s(x) = 4:
  • x=−2.
  • x = 2.
  • For s(x) = −1: no real solution.
Double-check (−2)2 = 22 = 4. Every real square is zero or positive, which independently rules out output −1.

Rung 4 of 4

Solve on a shifted square graph

Use the graph of u(x) = (x − 3)2. Evaluate u(4), then solve u(x) = 4 and u(x) = 0.

What it asks. Read one given input and two given heights. The solution inputs need not be opposites.

(4, 1)(1, 4)(5, 4)(3, 0)246246810
The bowl is centered at input 3. Height 4 meets it at inputs 1 and 5, which are not opposites.
Show the steps and the answer

The plan. Use vertical lookup for u(4), then horizontal lookup for output heights 4 and 0.

  1. Plan. Use vertical lookup for u(4), then horizontal lookup for output heights 4 and 0.
  2. The graph’s bottom is at x = 3, rather than x = 0.
  3. At height 4, the contacts lie two units to either side of 3.
  1. At input 4, read the point (4, 1), so u(4)=1.Evaluation uses the point’s height as its output.
  2. Follow height 4 to (1, 4) and (5, 4), so x=1 or x=5.Solving collects every horizontal input address at the requested height.
  3. At height 0, the graph has only the point (3, 0), so x=3.The lowest point gives one contact at this height.
Answer
  • u(4) = 1.
  • For u(x) = 4:
  • x = 1.
  • x = 5.
  • For u(x) = 0: x = 3.
Double-check Use the formula to check: (4 − 3)2 = 1, (1 − 3)2 = 4, (5 − 3)2 = 4, and (3 − 3)2 = 0.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: g(3) = 6 because 6 appears somewhere in the table.
A value elsewhere in the output row need not belong to input 3.
✓ Instead: Stay in the column under 3: g(3) = 7.
✗ Not this: A graph solution must always exist.
Some requested heights never meet the graph.
✓ Instead: For s(x) = x2, output −1 has no real input.
✗ Not this: For u(x) = (x − 3)2, solving u(x) = 4 gives x = −2 or x = 2.
The graph is centered at input 3. Those two proposed inputs give outputs 25 and 1.
✓ Instead: Height 4 meets the graph at x = 1 and x = 5: (1 − 3)2 = (5 − 3)2 = 4.

Tips and tricks

  • Remember down to evaluate, up from every match to solve in an input row above an output row.
  • On a graph, evaluation fixes horizontal position; solving fixes height.

7 The trap

Reading only the first matching output when solving. Scan the whole table or the whole horizontal level of the graph before writing the solution set.

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 8 of 10

One-to-one means each output identifies one input

Subject: MathematicsLeans on: Domain and rangeOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Imagine a coat check where every ticket number belongs to one coat, and every coat has its own ticket number. You can start at either side and recover one partner. A one-to-one function has that extra property. It already gives one output for each input, as every function must. It also keeps different inputs from sharing an output. If two account numbers show the same balance, the balance cannot tell you which account you meant. The forward rule can still be a function, but the backward search is ambiguous. Always name the accepted inputs before deciding whether the extra property holds.

2 Picture it

input Letter gradeoutput Grade pointsA4B3C2D1
The grade table has a unique partner in either direction.

Reminder

Reminder: Domain and range
  • Domain and range. Domain lists allowed inputs; range lists outputs actually reached. Restricting x2 to x ≥ 0 removes the negative-input duplicates.

3 Why

A function's definition controls the forward direction only. It allows two inputs to point to the same output. The one-to-one condition adds a separate restriction on the backward direction. If an output has two possible inputs, knowing that output cannot recover a unique original input. If every output the function actually produces has one input, reversing the pairs gives a function from the original range back to the original domain.

4 The rule

A one-to-one function gives different outputs to different inputs.

Equivalently, each value in its range comes from exactly one input. Check function status first, then check for shared outputs.

The same idea, five ways

Say it

Different inputs give different outputs

Write it

Every output actually produced identifies exactly one input.

In math
  • f(a) = f(b) only when a = b
  • For x2: f(−2) = f(2) = 4
  • For x3: f(−2) = −8 and f(2) = 8
Like

Every coat has its own ticket, so either partner identifies the other.

See it
123246function
Each input has one arrow out, and each listed output has one arrow in.

The same idea, other ways

As a coat check

Different tickets need different coats. If two tickets point to the same coat, the coat alone cannot identify which ticket to return.

As a backward machine

A one-to-one function can be read backward from every output it actually produces without having to choose between two inputs.

ABCD4321function
Each listed output receives an arrow from only one letter.

Part 1: Square versus cube

Squaring is like removing the direction from a walk before measuring its size. Input 2 and input −2 both give 4. You can still calculate one square for either input, so the square rule is a function. The result loses which side of zero you started on. Cubing multiplies three copies instead of two. Input 2 gives 8, while input −2 gives −8, so the direction survives. More generally, as an input increases, its cube increases. Every real output has one cube root, so the cube rule lets you recover the original input.

  • x2 is a function but is not one-to-one on (−∞, ∞).
  • x3 is a one-to-one function on (−∞, ∞).
  • If the square rule is restricted to x ≥ 0, it becomes one-to-one. The domain matters.
  • For positive inputs, multiplying a larger positive number three times gives a larger cube. For negative inputs, the farther-left number has a larger positive magnitude, so cubing that magnitude and restoring the minus gives a smaller cube. Across zero the signs differ. Thus a bigger real input always gives a bigger cube, and two different inputs cannot have the same cube.
  • The toolkit rule x3 is one-to-one. Other cubic functions may share outputs, as the counterexample below shows.
(−2, 4)(2, 4)−22−2246810
y = x2, solid, beside y = 4, dashed.
Reminder
Reminder: Signed powers
  • Signed powers. (−2)2 = 4 but (−2)3 = −8: two negative factors give positive, and the third makes negative.
The same idea, five ways
Say it

Negative two squared and two squared both equal four; negative two cubed equals negative eight.

Write it

Squaring loses the input’s sign, while the toolkit cube rule lets each output identify one input.

In math
  • (−2)2=22=4
  • (−2)3=−8
  • 23=8
  • x3 = y gives x = y3
  • For x ≥ 0, x2 = y gives x = y
Like

A distance may hide which side you stood on; a signed direction preserves that choice.

See it
(−2, 4)(2, 4)−22−2246810
The same picture again: y = x2, solid, beside y = 4, dashed.

Worked example

A repeated square and a unique negative cube

First decide whether the square outputs for inputs −1 and 1 are distinct. Then solve x3 = −27, meaning find the input whose cube output is −27.

What it asks. Compare two squares, then recover the input of a negative cube.

Show the steps and the answer

The plan. Multiply the signed factors and take one cube root for x3 = −27.

-111function
The repeated output defeats one-to-one but still permits a function.
(−3, −27)−4−224−24−121224
A negative cube output identifies one negative input.
  1. Plan. Multiply the signed factors and take one cube root for x3 = −27.
  2. Two negative factors give positive; three give negative.
  3. A cube root has one real answer, with no ±.
  1. Compute (−1)2=1 and 12=1; the outputs are equal.Squaring multiplies two copies, and two negative copies have a positive product.
  2. Write x=−3 since (−3)3=(−3)×(−3)×(−3)=−27.A cube root finds the single real input that produces the given cube.
Answer
  • The two square outputs are both 1, so they are not distinct.
  • x3 = −27 gives x = −3.
Double-check For the square, reverse output 1 and recover both −1 and 1. For the cube, multiply the three copies of −3 and recover −27.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The square rule is not a function because f(−2) = f(2).
A function may have shared outputs. The definition forbids one input from having two outputs.
✓ Instead: x2 is a function, but it is not one-to-one on all real inputs.
✗ Not this: Every cubic function is one-to-one because x3 is.
The cubic v(x) = x3 − 4x gives v(−2) = 0, v(0) = 0 and v(2) = 0.
✓ Instead: The toolkit cubic x3 is one-to-one. A different cubic may fail; three inputs of v share output 0.
Tips and tricks
  • A single repeated output disproves one-to-one. To prove it for all real inputs, use the rule's behavior rather than a short table.
  • (−1)2 = 12 = 1, but (−1)3 = −1 and 13 = 1. The square loses the sign; the cube keeps it.
  • Output 4 under the square rule leaves two possible inputs, −2 and 2. Output 8 under the cube rule leaves only input 2.
  • As an everyday comparison: Squaring is like removing the direction from a walk before measuring its size. Input 2 and input −2 both give 4. You can still calculate one square for either input, so the square rule is a function. The result loses which side of zero you started on. Cubing multiplies three copies instead of two. Input 2 gives 8, while input −2 gives −8, so the direction survives. More generally, as an input increases, its cube increases. Every real output has one cube root, so the cube rule lets you recover the original input.
  • With the worked values: For the square, reverse output 1 and recover both −1 and 1. For the cube, multiply the three copies of −3 and recover −27.

Part 2: Radius and area

Recall the circle-area rule from the refresher: A = πr2, where the radius r is a positive length. Picture enlarging a wheel. A radius of 2 gives area 4π, and a radius of 3 gives area 9π. Increasing a positive radius always increases its area. Therefore one area cannot belong to two different positive radii. You can work backward by dividing the area by π, then taking the positive square root. The positive-radius domain matters because a negative algebraic candidate is not a permitted length.

  • Circle: the set of points at one fixed distance from a center. Radius: that distance. Area: the space inside.
  • Area rule: A(r) = πr2, with domain r > 0 and range A > 0.
  • Backward rule: r = Aπ, the positive radius. Dividing by π and then taking the square root undoes the forward operations.
  • A larger positive radius has a larger square, and multiplying by the same positive π keeps that order. Thus every positive area identifies one positive radius.
r
A central angle of 359° with its radius r and its sector shaded.
Reminder
Reminder: Square root versus squared equation, Circle area
  • Square root versus squared equation. 25 = 5. Solving r2 = 25 gives r = 5 or r = −5 before checking the domain.
  • Circle area. A = πr2, with positive radius r. For r = 2, the area is 4π square units.
The same idea, five ways
Say it

Area equals pi times radius squared; radius is the positive square root of the whole quotient area divided by pi.

Write it

Each positive circle area recovers exactly one allowed positive radius.

In math
  • A(r)=πr2
  • r > 0
  • A > 0
  • r=Aπ
  • A = 25π gives r = 5
Like

A larger wheel covers more area; the covered area recovers one positive radius.

See it
r
The same picture again: A central angle of 359° with its radius r and its sector shaded.

Worked example

A positive radius gives a unique circle area

Find the area for radius 1, meaning evaluate the area rule at r = 1. Then find the positive radius for area 25π, meaning solve πr2 = 25π for the allowed input r.

What it asks. Find an area from a radius, then find a positive radius from an area.

Show the steps and the answer

The plan. Use A = πr2 forward. Divide by π and take the positive root to go backward.

r = 5square, then × πinputoutputA = 25π
The recovered positive radius returns the requested area.
  1. Plan. Use A = πr2 forward. Divide by π and take the positive root to go backward.
  2. Keep π for an exact answer.
  3. r > 0 excludes the negative square-root candidate.
  4. Check by returning the radius to A = πr2.
  1. A(1)=π×12=π.The area formula squares the given radius and multiplies by π.
  2. Divide πr2=25π by π on both sides to get r2=25.π is nonzero, so equal division preserves the equation and cancels the shared factor.
  3. The squared equation allows 5 and −5, but keep r=5.The radius domain is r > 0, so −5 is not an allowed input.
  4. More generally, any positive area A gives the unique positive radius r=Aπ. Therefore the area rule is one-to-one for r > 0.Dividing by π and taking the positive square root recovers one allowed input from every output in the range.
Answer
  • Radius 1 gives area π square units.
  • Area 25π square units gives radius 5 units.
  • The circle-area function A = πr2 is one-to-one for r > 0.
Double-check Substitute the recovered radius: π × 52 = 25π. The area and radius are positive, as the stated domains require.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Area 25π gives two radii, 5 and −5, so area is not one-to-one.
The algebraic squared equation has two real solutions, but −5 is outside the positive-radius domain.
✓ Instead: The single allowed radius is 5, so the area rule is one-to-one for r > 0.
Tips and tricks
  • Write r > 0 before working backward. The domain tells you which square-root candidate to keep.
  • Leave π in an exact area answer; a decimal for π makes the answer approximate.
  • For positive radii 1 and 2, the areas are π and 4π. Increasing the radius increases the covered space.
  • Forward: square the positive radius, then multiply by π. Backward: divide the area by π, then choose the positive square root.
  • As an everyday comparison: Recall the circle-area rule from the refresher: A = πr2, where the radius r is a positive length. Picture enlarging a wheel. A radius of 2 gives area 4π, and a radius of 3 gives area 9π. Increasing a positive radius always increases its area. Therefore one area cannot belong to two different positive radii. You can work backward by dividing the area by π, then taking the positive square root. The positive-radius domain matters because a negative algebraic candidate is not a permitted length.
  • With the worked values: Substitute the recovered radius: π × 52 = 25π. The area and radius are positive, as the stated domains require.

Part 3: A letter grade identifies one grade-point value

Imagine labels attached to four storage boxes. Each label names one box, and each box has its own label. The letter-grade table works that way: A gives 4 points, B gives 3, C gives 2, and D gives 1. You can look in either direction and recover one partner. Other grading rules can group different percents into one letter, so do not decide from the word grade alone. Inspect the actual pairs and state which direction you mean.

  • For this table, letters A, B, C and D give grade points 4, 3, 2 and 1.
  • Every letter has one output and every output has one letter input, so the table gives a one-to-one function.
  • Output 3 identifies B because the output row has exactly one 3.
input Letteroutput GPAA4B3C2D1↑ solve: output given, read every input above it
Letter: A, B, C, D; GPA: 4, 3, 2, 1, solved for GPA = 3.
Reminder
Reminder: Shared outputs
  • Shared outputs. 101 and 205 can both give 90 without breaking a function. They do break one-to-one.
The same idea, five ways
Say it

A gives four points, B gives three, C gives two, and D gives one.

Write it

Each letter has one point value, and each listed point value identifies one letter.

In math
  • A → 4
  • B → 3
  • C → 2
  • D → 1
  • 3 → B
Like

Each storage box has its own unique label, so either partner identifies the other.

See it
input Letteroutput GPAA4B3C2D1↑ solve: output given, read every input above it
The same picture again: Letter: A, B, C, D; GPA: 4, 3, 2, 1, solved for GPA = 3.

Worked example

Recover a letter from its grade points

OpenStax problem

In the table, A gives 4 points, B gives 3, C gives 2 and D gives 1. Which letter gives 3 grade points? Is this table one-to-one?

What it asks. Read backward from output 3 and decide whether any output has two letters.

input Letteroutput GPAA4B3C2D1
Letter: A, B, C, D; GPA: 4, 3, 2, 1.
Show the steps and the answer

The plan. Find 3 in the output row, read up, then inspect every listed output.

input Letteroutput GPAA4B3C2D1↑ solve: output given, read every input above it
The same picture a third time: Letter: A, B, C, D; GPA: 4, 3, 2, 1, solved for GPA = 3.
  1. Plan. Find 3 in the output row, read up, then inspect every listed output.
  2. Look above the single 3.
  3. Each of 4, 3, 2 and 1 appears once.
  1. The column above output 3 has input B.A backward lookup finds the input paired with the given output.
  2. The letter-to-points function is one-to-one.Each letter has one point value and each listed point value appears once.
Answer
  • 3 grade points identifies B.
  • The table is one-to-one.
Double-check The other outputs identify A, C and D respectively. No output is shared.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Every grading rule is one-to-one.
Some rules put many different percents into one letter. The later grade-band example compares 81 and 88.
✓ Instead: The letter-to-points table here is one-to-one. Inspect other grading rules separately.
Tips and tricks
  • Before reversing a table, check whether its output row contains repeated values.
  • The number of partners, rather than the context word grade, decides.
  • As an everyday comparison: Imagine labels attached to four storage boxes. Each label names one box, and each box has its own label. The letter-grade table works that way: A gives 4 points, B gives 3, C gives 2, and D gives 1. You can look in either direction and recover one partner. Other grading rules can group different percents into one letter, so do not decide from the word grade alone. Inspect the actual pairs and state which direction you mean.
  • With the worked values: The other outputs identify A, C and D respectively. No output is shared.

Part 4: Account numbers can share a balance

Picture two bank accounts holding the same amount. A snapshot gives one balance for each account number, so account number to balance is a function. But the balance alone does not identify which account it came from. The two accounts share an output, so the function is not one-to-one.

  • Account 101 has $90, account 205 has $90, and account 309 has $140.
  • At this moment, balance is a function of account number. It is not one-to-one because 101 and 205 share 90.
  • In the reverse direction, balance 90 has two account outputs, so account number is not a function of balance for these data.
input Accountoutput Dollars1019020590309140↑ solve: output given, read every input above it
Account: 101, 205, 309; Dollars: 90, 90, 140, solved for Dollars = 90.
The same idea, five ways
Say it

Account one hundred one and account two hundred five each have a ninety-dollar balance.

Write it

A shared balance leaves one output per account but prevents that balance from identifying one account.

In math
  • 101 → 90
  • 205 → 90
  • 309 → 140
  • 90 → 101 and 90 → 205
Like

Two coats can have the same price, so the price alone need not name the coat.

See it
input Accountoutput Dollars1019020590309140↑ solve: output given, read every input above it
The same picture again: Account: 101, 205, 309; Dollars: 90, 90, 140, solved for Dollars = 90.

Worked example

Check the two directions for balances

Use the account table. Is balance a function of account number? Is account number a function of balance? Is the forward rule one-to-one?

What it asks. Check both directions and the forward rule's one-to-one property.

input Accountoutput Dollars1019020590309140
Account: 101, 205, 309; Dollars: 90, 90, 140.
Show the steps and the answer

The plan. Read from account to balance first, then count partners for output 90.

input Accountoutput Dollars1019020590309140↑ solve: output given, read every input above it
The shared output 90 makes the backward question ambiguous.
  1. Plan. Read from account to balance first, then count partners for output 90.
  2. Each account column has one balance.
  3. Output 90 appears under two different accounts.
  1. Balance is a function of account number.Each listed account has one balance at the chosen moment.
  2. Account number is not a function of balance for these accounts.Balance 90 corresponds to both 101 and 205.
  3. Account number to balance is not one-to-one.Two different accounts share the same output 90.
Answer
  • Balance is a function of account number.
  • Account number is not a function of balance.
  • The forward function is not one-to-one.
Double-check The single balance in each column proves the first claim. The two columns holding 90 disprove the other two claims.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Shared balances mean account number to balance is not a function.
Each account still has exactly one balance. Shared outputs are allowed in a function.
✓ Instead: It is a function, but not one-to-one.
Tips and tricks
  • Name the direction before counting partners.
  • Write: accounts 101 and 205 both give 90, so the function is not one-to-one.
  • As an everyday comparison: Picture two bank accounts holding the same amount. A snapshot gives one balance for each account number, so account number to balance is a function. But the balance alone does not identify which account it came from. The two accounts share an output, so the function is not one-to-one.
  • With the worked values: The single balance in each column proves the first claim. The two columns holding 90 disprove the other two claims.

Part 5: A grade band groups several inputs

Imagine placing several scores in one labeled box. Under a rule where every whole-number percent from 80 through 89 earns B, the letter identifies a group rather than one exact score. Each percent earns one letter, so percent to letter is a function. The shared letter cannot recover one percent, so it is not one-to-one.

  • For this rule, every percent from 80 through 89 earns B.
  • Inputs 81 and 88 both give output B.
  • Giving one grade per score establishes function status. Sharing B defeats one-to-one.
8188Bfunction
81 → B and 88 → B: a function.
The same idea, five ways
Say it

Eighty-one and eighty-eight both give the letter B.

Write it

The grade band groups different percent inputs under one shared letter output.

In math
  • 81 → B
  • 88 → B
  • (81, B) and (88, B)
Like

One labeled box can hold several different scores.

See it
8188Bfunction
The same picture again: 81 → B and 88 → B: a function.

Worked example

Can B identify one percent?

Every percent from 80 through 89 earns B. Does B tell you whether the percent was 81 or 88? Is this percent-to-letter rule one-to-one?

What it asks. Decide whether output B recovers one exact percent.

Show the steps and the answer

The plan. Apply the stated band to both inputs and compare their letters.

8188Bfunction
One shared letter prevents unique backward recovery.
  1. Plan. Apply the stated band to both inputs and compare their letters.
  2. 81 and 88 both lie in the stated band.
  3. Different inputs with one shared output defeat one-to-one.
  1. 81 gives B, and 88 gives B.Both scores lie from 80 through 89.
  2. B cannot tell which score was used, so the rule is not one-to-one.The same output comes from two different inputs.
Answer
  • B does not distinguish 81 from 88.
  • The percent-to-letter function is not one-to-one.
Double-check Looking backward from B finds both listed inputs, so the backward question has more than one answer.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: One letter per percent means one-to-one.
That checks only the forward function requirement.
✓ Instead: Also check whether different percent inputs share a letter.
Tips and tricks
  • A function may deliberately group inputs.
  • For one-to-one, each produced output needs one input partner.
  • As an everyday comparison: Imagine placing several scores in one labeled box. Under a rule where every whole-number percent from 80 through 89 earns B, the letter identifies a group rather than one exact score. Each percent earns one letter, so percent to letter is a function. The shared letter cannot recover one percent, so it is not one-to-one.
  • With the worked values: Looking backward from B finds both listed inputs, so the backward question has more than one answer.

Part 6: One-to-one from a table

Look at the output row like a row of coat tags. A tag repeated under different inputs cannot tell you which input to return. In the g table, output 6 belongs to inputs 2 and 4; output 8 belongs to inputs 1 and 5. Every input still has one output, so g is a function. Its repeated outputs mean it is not one-to-one.

  • g(2) = g(4) = 6, and g(1) = g(5) = 8.
  • The listed relation is a function because each listed input has exactly one output. Distinct input labels identify separate columns; the decisive condition is that no input is assigned different outputs.
  • In contrast, the letter-grade table has no shared outputs and is one-to-one.
input noutput g(n)1826374658↑ solve: output given, read every input above it
n: 1, 2, 3, 4, 5; g(n): 8, 6, 7, 6, 8.
The same idea, five ways
Say it

g of two and g of four both equal six.

Write it

Each listed input has one output, but the repeated output 6 prevents unique backward recovery.

In math
  • g(2) = g(4) = 6
  • g(1) = g(5) = 8
  • 2 ≠ 4
  • (2, 6) and (4, 6)
Like

A repeated coat tag cannot tell you which of two tickets to return.

See it
input noutput g(n)1826374658↑ solve: output given, read every input above it
The same picture again: n: 1, 2, 3, 4, 5; g(n): 8, 6, 7, 6, 8.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Repeating output 6 makes g fail the function definition.
Only one input with conflicting outputs would break a function.
✓ Instead: The repeated output breaks one-to-one, while g remains a function.
Tips and tricks
  • Function: inspect input partners. One-to-one: inspect output partners.
  • A shared output disproves one-to-one; the letter-grade table illustrates a table with no shared output.
  • As an everyday comparison: Look at the output row like a row of coat tags. A tag repeated under different inputs cannot tell you which input to return. In the g table, output 6 belongs to inputs 2 and 4; output 8 belongs to inputs 1 and 5. Every input still has one output, so g is a function. Its repeated outputs mean it is not one-to-one.
  • With the worked values: Reading down each column gives one output. Reading up from either repeated output gives two inputs, which checks the two definitions separately.

Part 7: A horizontal line can meet three times

A curve can climb, turn and return to the same height. Three visits to height 0 are enough to show that the output does not identify one input. The cubic v(x) = x3 − 4x gives output 0 at inputs −2, 0 and 2. It is still a function because its formula calculates one answer at each input, but it is not one-to-one.

  • v(−2)=−8+8=0;v(0)=0;v(2)=8−8=0.
  • The three graph points (−2, 0), (0, 0) and (2, 0) lie on the horizontal line y = 0.
  • The toolkit cubic x3 is one-to-one. The cubic v(x) = x3 − 4x is not.
-2020function
-2 → 0, 0 → 0 and 2 → 0: a function.
The same idea, five ways
Say it

v of negative two, v of zero, and v of two all equal zero.

Write it

Three different inputs share output 0, so one horizontal level meets the graph three times.

In math
  • v(x)=x3−4x
  • v(−2)=v(0)=v(2)=0
  • (−2,0),(0,0),(2,0)
  • y = 0
Like

Three trains may share one arrival time, so that time cannot name a unique train.

See it
-2020function
The same picture again: -2 → 0, 0 → 0 and 2 → 0: a function.

Worked example

Three zero outputs from one cubic

For v(x) = x3 − 4x, find v(−2), v(0) and v(2). What do those outputs tell you about one-to-one?

What it asks. Find three outputs and see whether the same height identifies one input.

Show the steps and the answer

The plan. Use parentheses around each input, evaluate, and compare the results.

-2020function
The same picture a third time: -2 → 0, 0 → 0 and 2 → 0: a function.
  1. Plan. Use parentheses around each input, evaluate, and compare the results.
  2. (−2)3 = −8 and −4(−2) = 8.
  3. One shared output is enough to disprove one-to-one.
  1. v(−2)=(−2)3−4(−2)=−8+8=0.A negative cube is negative, while the two negatives in −4(−2) make positive.
  2. v(0)=03−4(0)=0.Both terms are zero.
  3. v(2)=23−4(2)=8−8=0.Cube 2, then subtract four copies of 2.
  4. v is not one-to-one.Three different inputs share output 0, so the horizontal line y = 0 meets its graph three times.
Answer
  • v(−2)=0
  • v(0) = 0
  • v(2) = 0
  • v is not one-to-one.
Double-check Factor v(x) as x(x2 − 4). Inputs −2, 0 and 2 each make a factor zero, confirming all three outputs.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A horizontal line can meet a function only twice.
This function has three points at height 0. The function definition controls vertical lines, not horizontal ones.
✓ Instead: A horizontal line can meet a function any number of times. Two or more intersections defeat one-to-one.
Tips and tricks
  • Write the repeated equality, then the conclusion.
  • Do not extend a toolkit property to every formula of the same degree.
  • As an everyday comparison: A curve can climb, turn and return to the same height. Three visits to height 0 are enough to show that the output does not identify one input. The cubic v(x) = x3 − 4x gives output 0 at inputs −2, 0 and 2. It is still a function because its formula calculates one answer at each input, but it is not one-to-one.
  • With the worked values: Factor v(x) as x(x2 − 4). Inputs −2, 0 and 2 each make a factor zero, confirming all three outputs.

5 How

  1. State the domain and the direction of the rule.
  2. Confirm that each input has one output.
  3. Search for two different inputs with the same output. One such pair proves the function is not one-to-one.
  4. If claiming one-to-one, explain why every output the function actually produces recovers exactly one allowed input. A few sample pairs alone do not prove it for an infinite domain.

Check one-to-one after checking function status

1
Does one input have two different outputs?
YesIt is not a function. Stop before asking whether it is one-to-one.
NoNow check the outputs.
↓
2
Does the table have a shared output?
YesName two inputs with that same output. It is not one-to-one.
NoIf the table lists every allowed input, its outputs each identify one input.
↓
3
Is the rule given by a graph?
YesLook for a horizontal line meeting it twice or more.
NoFor a formula, a pair of repeated outputs disproves one-to-one. To prove it for all inputs, explain why an output can come from only one input.
  1. State the domain and the direction of the rule.
  2. Confirm that each input has one output.
  3. Search for two different inputs with the same output. One such pair proves the function is not one-to-one.
  4. If claiming one-to-one, explain why every output the function actually produces recovers exactly one allowed input. A few sample pairs alone do not prove it for an infinite domain.

6 Worked example

Worked example

Swim meet: does each output identify one input?

At a swim meet, six swimmers race 100 meters, one in each of lanes 1 through 6. The function F gives the official finishing time F(L), in seconds, of the swimmer in lane L. The results board, shown in the figure, lists every value of F:

L (lane): 1, 2, 3, 4, 5, 6
F(L) (seconds): 61.84, 59.37, 58.06, 60.12, 58.06, 62.49

(a) Is F a function? Is F one-to-one? If a fan hears only a finishing time, can the fan always tell which lane it belongs to?
(b) The coach's spreadsheet accepts any real number t > 0 as a time in seconds and returns the average speed over 100 meters, v(t) = 100t meters per second. A student evaluates v(50) = 2, v(80) = 1.25 and v(100) = 1, sees three different outputs, and concludes that v is one-to-one. Explain why that check alone does not prove it. Then decide whether v is one-to-one and justify your answer. Does a speed always tell the coach the time?

input L (lane)output F(L) (seconds)161.84259.37358.06460.12558.06662.49
A table of 6 values of F(L) (seconds), for L (lane) from 1 to 6.
Show the steps and the answer
input L (lane)output F(L) (seconds)161.84259.37358.06460.12558.06662.49↓ evaluate: input given, read the output below it
Results board for F: each lane from 1 to 6 is paired with one finishing time in seconds.
  1. (a) State the domain and the direction of the rule. The input is the lane number L and the output is that lane's finishing time, so F goes from lane to time, L→F(L). The domain is the set of lanes on the board, {1, 2, 3, 4, 5, 6}.One-to-one asks whether an output leads back to a single input, so we first fix which quantity is the input and exactly which inputs are allowed.
  2. (a) Confirm that each input has one output. Each lane appears once on the board, paired with exactly one time: 1→61.84,2→59.37,3→58.06,4→60.12,5→58.06,6→62.49. So F is a function.Function status is checked before anything else. A repeated time does not break it: a function may give the same output to different inputs, but it may never give one input two outputs.
  3. (a) Search for two different inputs with the same output. The time 58.06 appears twice: F(3)=58.06 and F(5)=58.06, with 3≠5. So F is not one-to-one. A fan who hears only 58.06 seconds cannot tell lane 3 from lane 5, so the answer to the fan question is no.One-to-one requires different inputs to give different outputs. A single pair of different inputs sharing an output disproves it: the output 58.06 points back to two inputs instead of one.
  4. (b) State the domain and the direction of the rule. Now the input is a time t and the output is a speed, so v goes from time to speed, t→100t. The domain is every real number t > 0, an infinite set.With infinitely many inputs we cannot list every input and compare all the outputs, as we did for six lanes, so the kind of argument has to change.
  5. (b) Confirm that each input has one output. For each t > 0, dividing 100 by the nonzero number t gives exactly one result, 100t. So v is a function.Function status comes first again; division by a nonzero number has a single answer, so no allowed input gets two outputs.
  6. (b) Search for two different inputs with the same output, and judge the student's check. The values v(50)=2,v(80)=1.25 and v(100)=1 compare only three of the infinitely many allowed inputs; they say nothing about the pairs that were never tested. For example, w(t)=(t-60)2 also gives three different outputs at those inputs (100, 400 and 1600), yet w(50)=w(70)=100, so passing such a check does not make a function one-to-one.A few sample pairs alone do not prove one-to-one on an infinite domain. The argument must cover every output at once.
  7. (b) Describe the outputs v actually produces. When t > 0, the quotient 100t is positive, so every output is a positive speed s. Numbers such as 0 or -3 are never produced, so they need no matching input.One-to-one concerns only the outputs the function really produces, and knowing s > 0 also guarantees s ≠ 0, which the next step divides by.
  8. (b) Recover the input from any output. Take any output s > 0 and solve 100t=s. Multiply both sides by t (allowed, since t≠0): 100= st. Divide both sides by s (allowed, since s≠0): t=100s. Both steps can be reversed, so 100t=s has exactly one solution, t=100s, and it is positive, so it is an allowed input. Each speed therefore comes from exactly one time: v is one-to-one, and a speed always tells the coach the time.This is the rule's second form: each value in the range comes from exactly one input. Using a general letter s covers every output at once, which is exactly what the three samples could not do.
Answer
  • (a) F is a function, but it is not one-to-one, because F(3) = F(5) = 58.06 with 3 ≠ 5. No: a fan who hears 58.06 seconds cannot tell lane 3 from lane 5. (b) Three sample values test only three of infinitely many inputs, so untested pairs could still share an output
  • w(t) = (t - 60)2 passes the same check yet w(50) = w(70) = 100. Even so, v is one-to-one: every output is a speed s > 0, and 100t = s has exactly one solution, t = 100s, which is an allowed input. Yes: a speed always tells the coach the time.
Double-check (a) Read the board backward, from time to lane: 61.84, 59.37, 60.12 and 62.49 each lead to one lane (1, 2, 4 and 6), but 58.06 leads to both lane 3 and lane 5. The backward pairing time → lane is not even a function, which confirms that F is not one-to-one. (b) Pick a speed, 1.6 meters per second: t = 1001.6 = 62.5, and v(62.5) = 10062.5 = 1.6, so the recovered time gives back the same speed. The student's outputs also lead back to their own inputs: 1002 = 50, 1001.25 = 80 and 1001 = 100.

Work to write

  1. F goes lane → time with domain {1, 2, 3, 4, 5, 6}; each lane has exactly one time, so F is a function.
  2. F(3) = F(5) = 58.06 with 3 ≠ 5, so F is not one-to-one.
  3. The time 58.06 seconds does not identify one lane: it could be lane 3 or lane 5.
  4. v goes time → speed with domain t > 0; each t gives one value 100t, so v is a function.
  5. Three sample values cannot prove one-to-one on the infinite domain t > 0.
  6. Every output is some s > 0, and 100t = s gives exactly one input, t = 100s > 0.
  7. So v is one-to-one: each speed identifies exactly one time.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Any function can be reversed into a function.
Shared outputs become repeated backward inputs with different answers.
✓ Instead: A function reverses to a function on its range when it is one-to-one.
✗ Not this: An output never produced by the rule must have one input too.
One-to-one refers to outputs in the range; values the function never produces have no partner.
✓ Instead: For x2 restricted to x ≥ 0, output −1 has no input. Every output the function actually produces identifies one input.

Tips and tricks

  • Remember one-to-one as one partner going forward and one partner coming back.
  • A counterexample needs only two distinct inputs with the same output.
  • On an exam, write a witness: g(2) = g(4) = 6, so g is not one-to-one.
  • A vertical line represents one input. A horizontal line represents one output.

7 The trap

Calling a function one-to-one after checking only that each input has one output. Also check that no two different inputs share an output, and state the domain.

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

Vertical and horizontal lines answer different questions

Subject: MathematicsLeans on: Graph pointsLeans on: Domain and rangeOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Picture scanning shelves with a straight ruler. Holding the ruler upright keeps one left-to-right position fixed. Laying it flat keeps one height fixed. A graph uses left-to-right position for input and height for output. The vertical line test uses the upright ruler to ask whether one input could have two outputs. The horizontal line test uses the flat ruler to ask whether one output could have two inputs. First make sure the graph is a function. Then decide whether that function is one-to-one. The two tests inspect different kinds of sharing, so a curve can pass the first and fail the second.

2 Picture it

−202−2024
In this passing diagram, an upright test line meets the curve once.

Reminder

Reminder: Graph points, Domain and range
  • Graph points. (x, f(x)) places input x horizontally and output f(x) vertically, by the graphing convention taught above.
  • Domain and range. No contact at an input means outside the domain. No contact at an output height means outside the range.

3 Why

A vertical line goes straight up and down through one input position. The line through input 2 contains (2, −1), (2, 0), and (2, 5): every point has input 2. Two graph contacts on it would give that input two different outputs. A horizontal line runs level through one output height. The line at height 4 contains (−2, 4) and (2, 4): every point has output 4. Two contacts on it give one output two inputs. A line with no graph contact creates no conflicting pair.

4 The rule

Vertical line test: a graph represents a function exactly when every vertical line meets it at most once.

Horizontal line test: a function is one-to-one exactly when every horizontal line meets its graph at most once.

The same idea, five ways

Say it

A vertical line is one input. A horizontal line is one output.

Write it

The vertical line test checks whether each input has one output. The horizontal line test checks whether outputs are shared by distinct inputs.

In math
  • x = 2: all points with input 2
  • y = 4: all points with output 4
  • Vertical: at most one contact means a function.
  • Horizontal, after the function check: at most one contact means one-to-one.
Like

An upright ruler holds one aisle position. A level ruler holds one shelf height.

See it
(−2, 4)(2, 4)−22246810
y = x2, solid, beside y = 4, dashed.

The same idea, other ways

As rulers

An upright ruler locks the input position. A level ruler locks the output height. Two contacts reveal ambiguity in the locked value.

−202−2024
An upright test line holds one horizontal input position.
As a definition

One input, two outputs breaks a function. One output, two inputs breaks one-to-one. The direction of the test line fixes whichever value you are investigating.

124not a function
One input with two outputs breaks the function definition.
With points

Points (2, 1) and (2, 3) fail the vertical test because the input 2 has two outputs. Points (−2, 4) and (2, 4) fail the horizontal test because output 4 has two inputs.

(−2, 4)(2, 4)−22246810
The same picture again: y = x2, solid, beside y = 4, dashed.
As a memory cue

Check function status first with vertical lines, which hold one input. Then check one-to-one with horizontal lines, which hold one output. At most one means zero contacts or one contact.

Vertical: one input, one output?

Horizontal: one output, one input?

At most once includes zero contacts

Part 1: Vertical line test

Imagine choosing one aisle in a warehouse and asking which shelf holds your item. The aisle number should locate one height if the rule is a function. On a graph, a vertical line goes straight up and down through one input position. If it touches two different graph points, that one input has two different output heights. The graph fails the vertical line test. If every vertical line touches at most one point, the graph passes. A line can miss the graph entirely. That means its input is outside the domain, rather than that the graph has failed.

  • Vertical means straight up and down. Every point on the vertical line through 2 has input 2, including (2, −1), (2, 0), and (2, 5).
  • The test applies to separate dots as well as curves. Count distinct included graph points, not an imagined line joining data dots.
  • One failing line is enough to disprove function status. Passing requires every vertical line to meet at most once.
  • Reason: A graph point stores (input, output). Vertical lines collect exactly the points with the same input coordinate. A collection of two distinct points therefore records two outputs for one input. This is precisely the conflict excluded by the function definition. Counting zero intersections is acceptable because a function only needs an output for its allowed domain, not for every number on the axis.
−202−2024
The same picture a third time: A vertical line meets this graph once: it passes the test.
Reminder
Reminder: Coordinates
  • Coordinates. In (0, 1) and (0, −1), the first coordinate is 0 in both. That is the shared input.
The same idea, five ways
Say it

The vertical line through two holds input two.

Write it

Every point on one upright line has the same first coordinate.

In math
  • x = 2
  • (2,−1),(2,0),(2,5)
  • At most one graph contact: zero or one.
Like

Choose one aisle and scan straight up and down for its shelves.

See it
−202−2024
The same picture, shown 4 times now: A vertical line meets this graph once: it passes the test.

Worked example

One line passes; a circle fails

Apply the vertical line test to y = x and to x2 + y2 = 1. The question asks whether each fixed input x gives at most one output y.

What it asks. Does input x determine at most one y on the line and on the circle?

Show the steps and the answer

The plan. For the line, use y = x. For the circle, test input 0 and keep both signs that square to 1.

−22−2−112
The diagonal line y = x gives one height at every input position.
(0, 1)
The point (0, 1) on the unit circle at 90°.
(0, −1)
The point (0, −1) on the unit circle at 270°.
  1. Plan. For the line, use y = x. For the circle, test input 0 and keep both signs that square to 1.
  2. At input 0, the circle equation becomes y2 = 1.
  3. Both y = 1 and y = −1 satisfy it.
  1. For y=x, input 1 gives only output 1, and any other input x gives only the output x.The equation explicitly sets one output for each input.
  2. For x2+y2=1, choose input x=0. Then y2=1 gives outputs 1 and −1.Both 12 and (−1)2 equal 1.
  3. The line passes the vertical test. The circle fails it at x=0.The line always gives one height, but the circle has two heights at the chosen input.
Answer
  • y = x represents a function of x.
  • x2 + y2 = 1 does not represent y as a function of x.
Double-check The two circle points (0, 1) and (0, −1) both satisfy x2 + y2 = 1. They lie on one vertical line, proving the conflict directly.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A vertical line missing the graph proves it is not a function.
There are zero outputs there, so that input may be outside the domain. The prohibited case is two distinct outputs for one input.
✓ Instead: A passing graph allows zero or one intersection with each vertical line.
Tips and tricks
  • Memory cue: a vertical line is one input.
  • Write the witness on the exam: the circle is not a function of x because input 0 has outputs 1 and −1.
  • As one aisle: Choose one horizontal address and scan its possible heights. Finding two heights would give two outputs for that one input.
  • As pairs: (0, 1) and (0, −1) have the same first coordinate and different second coordinates. A vertical line through 0 catches both.

Part 2: Horizontal line test

Now imagine asking which aisle contains an item at a particular shelf height. A horizontal line runs level across the graph, keeping the output fixed. If it touches two points, that output came from two inputs. The function fails the horizontal line test and is not one-to-one. If every level line meets at most one point, each output the function actually produces identifies one input. Use this test after the vertical test has established that the graph is a function. The square curve passes the function test, but its left and right sides reach the same heights.

  • Horizontal means level from left to right. Every point on the line at height 4 has output 4, including (−2, 4) and (2, 4).
  • The horizontal line test checks one-to-one for a graph already known to represent a function.
  • A nonhorizontal diagonal line passes. The square curve on all real inputs fails because positive heights have two matching inputs.
  • Reason: All points on a horizontal line have the same output coordinate y. Two distinct intersections on a function graph must have different input coordinates, because the function already gives one output per input. Those intersections exhibit the repeated output forbidden by one-to-one. A level with no intersection is outside the range and causes no conflict. A level with one intersection identifies exactly one original input.
(−2, 4)(2, 4)−22246810
The same picture a third time: y = x2, solid, beside y = 4, dashed.
Reminder
Reminder: One-to-one
  • One-to-one. A function may give f(−1) = f(1) = 1. One-to-one forbids that shared output from distinct inputs.
The same idea, five ways
Say it

The horizontal line at four holds output four.

Write it

Every point on one level line has the same second coordinate.

In math
  • y = 4
  • (−2, 4) and (2, 4)
  • Every horizontal line meets a one-to-one function at most once.
Like

Choose one shelf height and search across all its aisle positions.

See it
(−2, 4)(2, 4)−22246810
The same picture, shown 4 times now: y = x2, solid, beside y = 4, dashed.

Worked example

Testing the parabola y = (x - 3)2 + 1 with vertical and horizontal lines

The graph shown is the parabola y = (x - 3)2 + 1, where x can be any real number. It opens upward, its lowest point (the vertex) is (3, 1), and it passes through the points (1, 5) and (5, 5).
(a) Use the vertical line test to decide whether the graph represents y as a function of x.
(b) If it does, call the function g, so g(x) = (x - 3)2 + 1. Use the horizontal line test to decide whether g is one-to-one.
For each conclusion, name the test that supports it.

(3, 1)(1, 5)(5, 5)246246
The parabola y = (x - 3)2 + 1 with its vertex (3, 1) marked.
Show the steps and the answer
  1. Name the axes. The input x is read along the horizontal axis, and the output y=(x-3)2+1 is read up the vertical axis.A vertical line x = c fixes one input and asks how many outputs go with it. A horizontal line y = b fixes one output and asks how many inputs produce it. Knowing which axis holds which quantity tells us what each test measures.
  2. Try vertical lines. The line x=c meets the graph only where y=(c-3)2+1, which is a single height. For example, x=1 meets the graph only at (1, 5), x=3 meets it only at the vertex (3, 1), and x=5 meets it only at (5, 5).Subtracting 3, squaring and adding 1 turns each number c into exactly one result. So no vertical line can meet the parabola at two different heights.
  3. Conclude from the vertical line test. Every vertical line meets the graph at most once, so the graph represents y as a function of x. Call it g(x)=(x-3)2+1. Here every vertical line meets the graph exactly once, because any real x can go into the formula.The vertical line test says a graph is a function exactly when no vertical line meets it at two distinct points. A vertical line that missed the graph would not break the test, and here none miss.
  4. Try horizontal lines, starting with y=5. Set (x-3)2+1=5. Then (x-3)2=4, so x-3=2 or x-3=-2, which gives x=5 or x=1. The line y=5 meets the graph at (1, 5) and at (5, 5).A horizontal line y = b meets the graph wherever g(x) = b, so solving that equation finds every meeting point. The two points are distinct because their x-coordinates, 1 and 5, are different.
  5. Conclude from the horizontal line test. The line y=5 meets the graph at two distinct points, so g is not one-to-one. Lines that meet the graph once or miss it do not change this: y=1 meets the graph only at the vertex (3, 1), and y=0 misses it entirely. In fact every line y=b with b > 1 meets the graph twice, at x=3-b-1 and at x=3+b-1.The horizontal line test says a function is one-to-one exactly when every horizontal line meets its graph at most once, so one line meeting twice is enough to rule it out. Here g(1) = g(5) = 5. Two different inputs share one output, and that is exactly what one-to-one forbids.
Answer
(a) Yes. By the vertical line test, each vertical line x = c meets the graph exactly once, at (c, (c - 3)2 + 1), so the graph represents y as a function of x. (b) No. By the horizontal line test, g is not one-to-one: the horizontal line y = 5 meets the graph at the two distinct points (1, 5) and (5, 5), so g(1) = g(5) = 5.
Double-check Put the points back into the formula: g(1) = (1 - 3)2 + 1 = 4 + 1 = 5 and g(5) = (5 - 3)2 + 1 = 4 + 1 = 5, so both points lie on the graph and on the line y = 5. The vertex checks too: g(3) = (3 - 3)2 + 1 = 0 + 1 = 1. The two points that share the horizontal line y = 5 sit on different vertical lines, x = 1 and x = 5, so they do not break the vertical line test. This is how a graph can be a function and still fail to be one-to-one: the two tests ask different questions.

Work to write

  1. Input x on the horizontal axis, output y on the vertical axis.
  2. Each vertical line x = c meets the graph exactly once, at (c, (c - 3)2 + 1).
  3. Vertical line test: the graph is a function, g(x) = (x - 3)2 + 1.
  4. (x - 3)2 + 1 = 5 gives (x - 3)2 = 4, so x = 1 or x = 5.
  5. The horizontal line y = 5 meets the graph at (1, 5) and (5, 5), two distinct points.
  6. Horizontal line test: g is not one-to-one, since g(1) = g(5) = 5 with 1 ≠ 5.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The square curve fails the horizontal test, so it is not a function.
The horizontal test checks whether different inputs share an output. Shared outputs are allowed in a function.
✓ Instead: The square curve is a function that is not one-to-one on all real inputs.
Tips and tricks
  • Memory cue: a horizontal line is one output.
  • On the exam, show the shared output: f(−1) = f(1) = 1, so the square function is not one-to-one.
  • As one shelf height: Fix the output height and count the input positions that reach it. Two positions make backward recovery ambiguous.
  • With square numbers: (−2)2 = 22 = 4. The horizontal level 4 catches both curve points, so output 4 does not identify one input.

Part 3: A sideways U is another failing graph

A hoop is not the only graph that can give two heights over one input. Picture a U turned onto its side. Its upper and lower pieces sit above and below the same horizontal address. The equation y2 = x + 3 describes the sideways U in this diagram. At input 1, both heights 2 and −2 satisfy the equation, so the upright ruler contacts two points.

  • At x = 1, y2 = 4 gives y = 2 or y = −2.
  • The graph fails the vertical line test because one input has two outputs.
  • This diagram shows a sideways U, not the circle. The circle fails for the same one-input reason at x = 0.
−202−202
A vertical line meets this graph twice: it fails the test.
Reminder
Reminder: Squared equation
  • Squared equation. y2 = 4 has y = 2 and y = −2. The expression 4 alone means 2.
The same idea, five ways
Say it

Input one gives output two and output negative two.

Write it

Two different heights over one input fail the function definition.

In math
  • y2=x+3
  • x = 1 gives y2 = 4
  • (1, 2) and (1, −2)
Like

One aisle contains two possible answer shelves.

See it
−202−202
The same picture again: A vertical line meets this graph twice: it fails the test.

Worked example

A sideways U fails the vertical line test

Does y2 = x + 3 define y as a function of x? Use input x = 1.

What it asks. Can one input x give two different y outputs?

Show the steps and the answer

The plan. Test input 1, solve the squared equation with both signs, and write the conflicting output pair.

−202−202
The same picture a third time: A vertical line meets this graph twice: it fails the test.
  1. Plan. Test input 1, solve the squared equation with both signs, and write the conflicting output pair.
  2. At input 1 the right side is 4.
  3. Both 2 and −2 square to 4.
  1. Put x = 1 into the equation: y2=1+3=4.This holds one input still while finding all its permitted outputs.
  2. Both y=2 and y=−2 work.22 = 4 and (−2)2 = 4.
  3. Write not a function of x.One input, 1, has two different outputs, 2 and −2.
Answer
Not a function of x. Input 1 gives y = 2 and y = −2.
Double-check The points (1, 2) and (1, −2) both satisfy y2 = x + 3 and lie on the same upright line.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Keep only y = 2, so input 1 has one output.
The original squared equation also permits y = −2. Discarding it changes the relation.
✓ Instead: Keep both outputs and classify the whole sideways U as not a function of x.
Tips and tricks
  • When checking a squared output, try an input that makes its square positive. Plus zero and minus zero are the same output.
  • With the equation: input 1 gives y2 = 4. Both signs, 2 and −2, square to 4.
  • With the ruler: Hold horizontal position 1. The upright line contacts an upper point and a lower point.
  • With the equation: Input 1 gives y2 = 4. Both signs, 2 and −2, square to 4.

Part 4: A horizontal line may meet three times

Picture three trains reaching a station at the same time. Each train still has one arrival time, but the arrival time alone cannot name the train. A function graph can likewise have three different inputs at one output height. Two contacts already disprove one-to-one. Finding three makes the same conflict even clearer. The rule H(x) = x3 − x gives output 0 at inputs −1, 0, and 1.

  • A horizontal line with two or more contacts disproves one-to-one.
  • H(x) = x3 − x gives H(−1) = H(0) = H(1) = 0.
  • The toolkit rule x3 is one-to-one; adding other terms to a cubic can create shared outputs.
-1010function
-1 → 0, 0 → 0 and 1 → 0: a function.
Reminder
Reminder: Subtracting a negative
  • Subtracting a negative. −1−(−1)=−1+1=0.
The same idea, five ways
Say it

Three inputs give the same output zero.

Write it

The horizontal line at output 0 meets this function at least three times.

In math
  • H(−1)=H(0)=H(1)=0
  • (−1,0),(0,0),(1,0)
  • y = 0 is the common output level.
Like

Three trains share one arrival time.

See it
-1010function
The same picture again: -1 → 0, 0 → 0 and 1 → 0: a function.

Worked example

A horizontal height can match three inputs

For H(x) = x3 − x, compute H(−1), H(0), and H(1). Does the horizontal line test show that H is one-to-one?

What it asks. Find a shared output for three different inputs and use it to decide one-to-one.

Show the steps and the answer

The plan. Evaluate each input with parentheses, then compare the three outputs.

-1010function
The same picture a third time: -1 → 0, 0 → 0 and 1 → 0: a function.
  1. Plan. Evaluate each input with parentheses, then compare the three outputs.
  2. −(−1) becomes +1.
  3. One repeated output from two inputs would already be enough; here there are three.
  1. H(−1)=(−1)3−(−1)=−1+1=0.A negative cube stays negative, and subtracting a negative adds its opposite.
  2. H(0)=03−0=0, and H(1)=13−1=0.Evaluate the same rule at the other two inputs.
  3. The graph has points (−1,0), (0, 0), and (1, 0), all on height 0.Each computed input-output pair is one graph point.
  4. H is a function, but not one-to-one.The formula gives one output per input, while the horizontal line at height 0 meets at least these three points.
Answer
  • H(−1)=0.
  • H(0) = 0.
  • H(1) = 0.
  • H is a function, but not one-to-one.
Double-check The three arrows end at 0. That is permitted in a function but prevents output 0 from identifying one input.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Every cubic function is one-to-one because x3 is one-to-one.
Other cubic formulas can have extra terms. For x3 − x, inputs −1, 0, and 1 all give 0.
✓ Instead: Use the actual rule or graph. The toolkit cubic x3 is one-to-one, but H(x) = x3 − x is not.
Tips and tricks
  • Two different inputs with one shared output are enough to disprove one-to-one. You do not need to find every matching input.
  • With arrows: Three separate input arrows arrive at output 0. The function definition permits this; one-to-one does not.
  • With graph points: The three points have different first coordinates and the same second coordinate, so one level line contains all three.

5 How

  1. Identify the input on the horizontal axis and the output on the vertical axis.
  2. Try vertical lines across the graph. One line meeting two distinct graph points proves it is not a function.
  3. If every vertical line meets at most once, the graph is a function. Some lines may miss the graph.
  4. For a function, try horizontal lines. One line meeting two distinct points proves it is not one-to-one.
  5. Passing every horizontal line proves one-to-one. State which test supports each conclusion.

Check vertical, then horizontal

1
Does any vertical line meet two different graph points?
YesNot a function of x. Name that shared input and both outputs.
NoIf every vertical line has at most one contact, the graph is a function. Some lines may have no contact.
↓
2
Has the graph passed the function test?
YesNow look for a horizontal line meeting two or more graph points.
NoStop: it is already not a function of x, so do not call it a one-to-one function of x.
↓
3
Does any horizontal line have two or more contacts?
YesFunction, but not one-to-one. Name two different inputs and their common output.
NoIf every horizontal line has at most one contact, the function is one-to-one.
  1. Identify the input on the horizontal axis and the output on the vertical axis.
  2. Try vertical lines across the graph. One line meeting two distinct graph points proves it is not a function.
  3. If every vertical line meets at most once, the graph is a function. Some lines may miss the graph.
  4. For a function, try horizontal lines. One line meeting two distinct points proves it is not one-to-one.
  5. Passing every horizontal line proves one-to-one. State which test supports each conclusion.

6 Worked example

Worked example

A line, a V, and a circle

Decide whether each relation is a function of x and then, if it is a function, whether it is one-to-one: (a) y = x, (b) y = |x|, and (c) x2 + y2 = 1.

What it asks. Check one output per input for each relation; then check shared outputs for the ones that are functions.

Show the steps and the answer

The plan. For the line and V, count vertical and horizontal contacts. For the circle, compare the shown top and bottom points at the same input 0.

(−1, −1)(0, 0)(1, 1)−22−22
For y = x, each input has one output, and each output has one input.
(−3, 3)(3, 3)−4−22424
The horizontal level y = 3 meets the V twice.
(0, 1)
The same picture again: The point (0, 1) on the unit circle at 90°.
(0, −1)
The same picture again: The point (0, −1) on the unit circle at 270°.
  1. Plan. For the line and V, count vertical and horizontal contacts. For the circle, compare the shown top and bottom points at the same input 0.
  2. The V has two points at height 3.
  3. The two circle pictures mark (0, 1) and (0, −1) on the same circle.
  1. (a) The diagonal line y=x has one point for each fixed x and one point for each fixed y. It passes both tests.The rule copies the input. Output 3 comes only from input 3, and the same statement works for every output.
  2. (b) The V-shaped graph of y=|x| has one height |x| for each input x, so it passes the vertical test.A fixed input has exactly one distance from 0.
  3. At height 3, the V has points (−3,3) and (3, 3), so it fails the horizontal test.One output is shared by two distinct inputs.
  4. (c) At x=0, the circle equation gives y=1 or y=−1. It fails the vertical test.One vertical line meets two distinct points with the same input.
  5. Do not classify the circle relation as a one-to-one function.It has already failed the requirement to be a function of x.
Answer
  • (a) function and one-to-one.
  • (b) function, but not one-to-one.
  • (c) Not a function of x; therefore not a one-to-one function of x.
Double-check Use the equations independently: y = x recovers x = y; y = |x| gives two inputs, −3 and 3, for output 3; x2 + y2 = 1 gives two outputs for input 0.

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Every vertical line must meet a function graph exactly once.
Inputs outside the domain have no graph point, so some vertical lines may miss it.
✓ Instead: Every vertical line must meet at most once.
✗ Not this: Passing one horizontal line proves the function is one-to-one.
Another height may have several inputs. On x2, height 0 has one match but height 4 has two.
✓ Instead: Every horizontal line must meet at most once; one failing height is enough to disprove it.

Tips and tricks

  • Use the memory cue V for vertical, the first function check. H holds the output height for the second check.
  • Intersects means meets at a point. A test line touching one included graph point counts as one intersection.
  • Write not a function with its shared input and different outputs. Write not one-to-one with its different inputs and shared output.

7 The trap

Using the horizontal line test to decide function status. Check vertical first, then horizontal, and label the conclusion from each test.

Lesson 10 of 10

Meet the nine toolkit functions

Subject: MathematicsLeans on: Interval notationLeans on: UndefinedOpen this lesson
Leans on 0Comes back in 1

1 In plain words

Think of a toolbox holding a few familiar tools. You recognize a hammer by its shape and know what it does before using it on a larger project. Toolkit functions are nine basic rules you will recognize by their formulas, graph shapes, and sample input and output pairs. Later lessons combine and move these shapes. Learn each rule's action first: copy, measure distance, take a power, take a reciprocal, or take a root. Then use that action to rebuild its allowed inputs and possible outputs. The table is a reference, and every function below has its own explanation and worked example.

2 Picture it

−4−2024−4−2024
constant: f(x) = c
−4−2024−4−2024
identity: f(x) = x
−4−2024−4−2024
absolute value: f(x) = |x|
−4−2024−4−2024
quadratic: f(x) = x2
−4−2024−4−2024
cubic: f(x) = x3
−4−2024−4−2024
reciprocal: f(x) = 1/x
−4−2024−4−2024
reciprocal squared: f(x) = 1/x2
−4−2024−4−2024
square root: f(x) = x
−4−2024−4−2024
cube root: f(x) = x3

Reminder

Reminder: Interval notation, Undefined
  • Interval notation. [0, ∞) includes zero; (0, ∞) excludes it. Infinity is never an endpoint you can include.
  • Undefined. 10 is undefined, not zero. Zero cannot be a denominator.

3 Why

Many complicated formulas are built from a small set of basic operations. Recognizing the operation lets you predict the graph and reject impossible inputs or outputs before calculating. For example, a denominator cannot be zero, and a real square root cannot accept a negative input. Domain and range are therefore consequences of what the rule does, rather than nine unrelated facts to memorize. A few sample points help recognize a shape but do not define its full domain.

4 The rule

Toolkit functions: constant c, identity x, absolute value |x|, quadratic x2, cubic x3, reciprocal 1x, reciprocal squared 1x2, square root x, and cube root x3.

For each, connect formula, graph, domain, range, and a sample table.

The same idea, five ways

Say it

Name the rule, then read what can go in and come out

Write it

Each toolkit formula has a graph, a domain of inputs and a range of outputs.

In math
  • f(x) = x2: domain (−∞, ∞), range [0, ∞)
  • f(x) = x: domain [0, ∞), range [0, ∞)
Like

Recognize a familiar tool, then check what the tool can do.

See it
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024

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

As a toolbox

Name the basic action before computing. A square rule makes x2; a reciprocal rule divides 1 by x. Knowing the action guides the domain and graph.

As silhouettes

The straight line copies, the V measures distance, the bowl squares, and the root curves undo powers. Each silhouette is a memory cue, checked by its formula.

−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024

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.

NameFormulaDomainRangeOne-to-one?
Constantf(x) = c(−∞,∞){c}No
Identityf(x) = x(−∞,∞)(−∞,∞)Yes
Absolute valuef(x) = |x|(−∞,∞)[0, ∞)No
Quadraticf(x)=x2(−∞,∞)[0, ∞)No
Cubicf(x)=x3(−∞,∞)(−∞,∞)Yes
Reciprocalf(x)=1x(−∞,0)∪(0,∞)(−∞,0)∪(0,∞)Yes
Reciprocal squaredf(x)=1x2(−∞,0)∪(0,∞)(0, ∞)No
Square rootf(x)=x[0, ∞)[0, ∞)Yes
Cube rootf(x)=x3(−∞,∞)(−∞,∞)Yes

Part 1: Domain and range from a picture

Imagine shining light on a graph to cast two shadows. Its shadow on the left-right input axis shows every place an input can lie. That is the domain. Its shadow on the up-down output axis shows every height the graph reaches. That is the range. Read the domain left to right and the range bottom to top. The graph of x begins at (0, 0) and continues right and up, so both shadows begin at the included zero. A picture window cuts off a drawing, so use arrows and the formula to decide whether the graph continues beyond it.

  • Domain: all horizontal input positions with a point on the graph. Read left to right.
  • Range: all vertical heights the graph reaches. Read bottom to top.
  • For x, input 0 works and every positive input works. The domain is [0, ∞).
  • For x, output 0 appears and every positive output y appears at input y2. The range is [0, ∞).
  • A graph above the horizontal axis has nonnegative outputs. That fact alone does not exclude negative inputs.
  • Use braces for separate values, such as {28, 30, 31}. Use an interval for a full stretch, such as [0, ∞).
(0, 0)(4, 2)(9, 3)domainrange246810−11234
The square-root graph has no points left of input zero and no heights below output zero.
Reminder
Reminder: Endpoint notation
  • Endpoint notation. [0, ∞) includes 0 and every positive value. {2} is one separate value, not a stretch.
The same idea, five ways
Say it

Domain: left to right. Range: bottom to top.

Write it

The graph's two shadows show accepted inputs and produced outputs.

In math
  • x: domain [0, ∞), range [0, ∞)
  • x2: domain (−∞, ∞), range [0, ∞)
  • For both, every output y ≥ 0 is possible.
Like

A map's shadow on one axis shows locations, and its shadow on the other shows heights.

See it
domainrange−4−224246810
The bowl extends left and right forever, while its heights begin at zero.

Worked example

Read the two shadows of a square

For f(x) = x2, read the full domain and range from the graph, then explain why the picture continues that way.

What it asks. List allowed inputs separately from output heights.

(−3, 9)(0, 0)(3, 9)domainrange−4−224246810
Left-right coverage gives domain. Bottom-top coverage gives range.
Show the steps and the answer

The plan. Read horizontally for domain, vertically for range, then confirm with squaring.

  1. Plan. Read horizontally for domain, vertically for range, then confirm with squaring.
  2. The bowl extends to both left and right.
  3. Every square is nonnegative.
  4. Any nonnegative output y occurs at input y.
  1. The domain is (−∞,∞).The bowl extends left and right, and every real input can be squared.
  2. The range is [0,∞).The lowest height is 0, no square is negative, and input y produces each chosen y ≥ 0.
Answer
  • Domain: (−∞, ∞)
  • range: [0, ∞)
Double-check Input −3 gives 9, so negative inputs are accepted. Input 0 gives 0, so zero belongs to the range. No real input gives −1.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The graph of x2 stays above the input axis, so its domain is [0, ∞).
Being above the axis describes output heights. Negative inputs still have graph points.
✓ Instead: Its domain is (−∞, ∞), and its range is [0, ∞).
✗ Not this: Use [28, 31] for the days-in-a-month range.
That interval includes 29 and 30.5. A nonleap-year month table produces only 28, 30 or 31.
✓ Instead: The separate outputs form the set {28, 30, 31}.
Tips and tricks
  • D before R, I before O, x before y: domain is input is x; range is output is y.
  • For a picture, domain is left to right; range is bottom to top.
  • The edge of the drawing window is not automatically the end of the graph.
  • As an everyday comparison: Imagine shining light on a graph to cast two shadows. Its shadow on the left-right input axis shows every place an input can lie. That is the domain. Its shadow on the up-down output axis shows every height the graph reaches. That is the range. Read the domain left to right and the range bottom to top. The graph of x begins at (0, 0) and continues right and up, so both shadows begin at the included zero. A picture window cuts off a drawing, so use arrows and the formula to decide whether the graph continues beyond it.
  • With the worked values: Input −3 gives 9, so negative inputs are accepted. Input 0 gives 0, so zero belongs to the range. No real input gives −1.

Part 2: Constant function

Imagine a parking lot that charges the same flat fee regardless of how long you stay. Changing the input leaves the output unchanged. A constant is a fixed number, and a constant function gives that fixed number for every input. The formula f(x) = c uses c for the chosen fixed output. It is not a new input. For the example f(x) = 2, input −2, input 0, and input 2 all produce 2. Its graph is a level horizontal line because every point has the same height. Any real input is allowed, but only one output ever appears.

  • Formula: f(x) = c, where c is a fixed real number.
  • Domain: (−∞, ∞), because the rule accepts every real input.
  • Range: {c}, because c is its only output.
  • Graph: a horizontal line at height c. The nearby graph uses c = 2.
  • Why these restrictions hold: The input x does not appear in the output c, so substituting any real number cannot create a denominator of zero or an invalid root. That gives the whole real-number domain. Since every substitution returns c, no output besides c can appear. Conversely, c really does appear, so the range is exactly the one-value set {c}. Several inputs share c, making the function fail one-to-one.
(−2, 2)(0, 2)(2, 2)domainrange−4−224−11234
Every input gives the same height 2.
Reminder
Reminder: Set versus interval
  • Set versus interval. {2} names one value. (−∞, ∞) names every real value.
The same idea, five ways
Say it

f of x equals c

Write it

The same fixed output appears for every input.

In math
  • f(x) = c
  • Domain: (−∞, ∞)
  • Range: {c}
Like

The fee stays $2 whether the input duration changes or not. Input has no effect on the fixed output.

See it
(−2, 2)(0, 2)(2, 2)domainrange−4−224−11234
The example constant output 2 gives one level line.

Worked example

Evaluate a constant, then solve its output questions

For f(x) = 2, evaluate f(−2), meaning find the output for input −2. Then solve f(x) = 2 and f(x) = 3, meaning find all inputs giving each requested output. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. The constant recipe ignores the input and always returns 2. Compare each requested output with 2. If it matches, every real input solves it; if it differs, no input solves it. Every sample point has height 2, so draw a horizontal line through them.

input xoutput f(x) = 2−22−12021222↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
The table samples show the same output for different inputs.
  1. Plan. The constant recipe ignores the input and always returns 2. Compare each requested output with 2. If it matches, every real input solves it; if it differs, no input solves it. Every sample point has height 2, so draw a horizontal line through them.
  2. The constant recipe ignores the input and always returns 2. Compare each requested output with 2. If it matches, every real input solves it; if it differs, no input solves it.
  3. Each table column gives one point: input first, output second.
  4. Every sample point has height 2, so draw a horizontal line through them.
  1. f(−2)=2.The constant rule returns 2 without changing with the input.
  2. For f(x)=2, every real x is a solution.Every allowed input gives exactly that output.
  3. For f(x)=3, there is no solution.The rule never gives output 3.
  4. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−2)=2.
  • f(x) = 2: all real inputs x.
  • f(x) = 3: no solution.
  • Sketch: a horizontal line at height 2, extending left and right forever.
Double-check The sample table has 2 in every output cell. The formula gives the same result for any input beyond those samples, so the all-real solution is justified by the rule.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The domain is {2} because the graph only shows height 2.
Height measures outputs, not inputs. The horizontal line includes every real horizontal position.
✓ Instead: The domain is all real numbers; the range is {2}.
Tips and tricks
  • Constant means the output stays constant. A horizontal line is the picture cue.
  • The fee stays $2 whether the input duration changes or not. Input has no effect on the fixed output.
  • Every point has vertical coordinate 2 for f(x) = 2. That puts the whole graph along one horizontal level.
  • As an everyday comparison: Imagine a parking lot that charges the same flat fee regardless of how long you stay. Changing the input leaves the output unchanged. A constant is a fixed number, and a constant function gives that fixed number for every input. The formula f(x) = c uses c for the chosen fixed output. It is not a new input. For the example f(x) = 2, input −2, input 0, and input 2 all produce 2. Its graph is a level horizontal line because every point has the same height. Any real input is allowed, but only one output ever appears.
  • With the worked values: The sample table has 2 in every output cell. The formula gives the same result for any input beyond those samples, so the all-real solution is justified by the rule.

Part 3: Identity function

Imagine a copier that returns exactly the number you hand it. Input 3 comes back as 3, and input −3 comes back as −3. The identity function follows that copying rule: f(x) = x. Nothing is added, multiplied, or erased. Its graph is a diagonal line through the origin, the point (0, 0), because input and output are equal at every point. Every real input is accepted, and every real output can appear by choosing that same number as the input. The output also tells you the original input, so this function is one-to-one.

  • Formula: f(x) = x.
  • Domain: (−∞, ∞), because copying accepts any real number.
  • Range: (−∞, ∞), because input y produces any desired real output y.
  • Graph: the diagonal line y = x through (0, 0).
  • Why these restrictions hold: Replacing x in f(x) = x merely writes down the selected input, so no real number is excluded. If you want any particular real output y, choose input x = y, and the rule produces it. Thus both domain and range are all real numbers. Two different inputs stay different because the rule copies each unchanged; there is no operation that could merge them into one output.
(−3, −3)(0, 0)(3, 3)domainrange−4−224−4−224
y = x.
Reminder
Reminder: Evaluating notation
  • Evaluating notation. f(−3) supplies input −3. The rule decides its output, which is −3 here.
The same idea, five ways
Say it

f of x equals x

Write it

The output equals the input.

In math
  • f(x) = x
  • Domain: (−∞, ∞)
  • Range: (−∞, ∞)
Like

Hand in −3 and receive −3. The identity rule returns the input unchanged.

See it
(−3, −3)(0, 0)(3, 3)domainrange−4−224−4−224
The same picture again: y = x.

Worked example

Copy an input, then recover a fractional input

For f(x) = x, evaluate f(−3), meaning find the output for input −3. Then solve f(x) = −52, meaning find the input that produces this fractional output. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. The identity recipe returns its input unchanged. The requested output therefore equals the input, including its sign and fraction. Plot matching input and output coordinates, then draw the rising straight line through them.

input xoutput f(x) = x−3−3−1−1001133↓ evaluate: input given, read the output below it
The input and output entries match in every sample column.
  1. Plan. The identity recipe returns its input unchanged. The requested output therefore equals the input, including its sign and fraction. Plot matching input and output coordinates, then draw the rising straight line through them.
  2. The identity recipe returns its input unchanged. The requested output therefore equals the input, including its sign and fraction.
  3. Each table column gives one point: input first, output second.
  4. Plot matching input and output coordinates, then draw the rising straight line through them.
  1. f(−3)=−3.The identity rule copies the input.
  2. Write x=−52.The output equals the input, so the required input is the given output itself.
  3. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−3)=−3.
  • f(x) = −52 gives x = −52.
  • Sketch: the diagonal line y = x through (0, 0), extending in both directions.
Double-check Substituting x = −52 into the rule returns −52. The sample table likewise keeps each input unchanged.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Identity means f(x) = 1 because 1 is used in arithmetic identities.
This function's identity action is leaving its input unchanged, rather than always returning 1.
✓ Instead: f(x) = x. The rule f(x) = 1 is a constant function.
Tips and tricks
  • Identity identifies output with input: the two coordinates match.
  • Hand in −3 and receive −3. The identity rule returns the input unchanged.
  • Points such as (1, 1) and (−2, −2) have equal coordinates, so they line up on y = x.
  • As an everyday comparison: Imagine a copier that returns exactly the number you hand it. Input 3 comes back as 3, and input −3 comes back as −3. The identity function follows that copying rule: f(x) = x. Nothing is added, multiplied, or erased. Its graph is a diagonal line through the origin, the point (0, 0), because input and output are equal at every point. Every real input is accepted, and every real output can appear by choosing that same number as the input. The output also tells you the original input, so this function is one-to-one.
  • With the worked values: Substituting x = −52 into the rule returns −52. The sample table likewise keeps each input unchanged.

Part 4: Absolute value function

Imagine measuring how far you stand from the zero mark on a road. Three steps left and three steps right are both a distance of 3. Absolute value is this distance from zero, written |x|. The bars are part of the operation's symbol. The absolute value function f(x) = |x| accepts any real input and returns its nonnegative distance from zero. Its graph has a V shape because either direction away from zero increases the distance. Zero gives zero. An output greater than zero comes from two opposite inputs, so the full function is not one-to-one.

  • Formula: f(x) = |x|, distance from zero.
  • Domain: (−∞, ∞), because every real number has a distance from zero.
  • Range: [0, ∞), because distances are nonnegative and every such distance is reachable.
  • Graph: a V with its lowest point at (0, 0). For t > 0, solving |x| = t gives x = −t or x = t.
  • Why these restrictions hold: A number can be on either side of zero, but distance has no negative direction. For x ≥ 0, its distance is x; for x < 0, the distance is −x, which turns that negative input into a positive output. Every nonnegative output y can be produced by input y, and a negative output is impossible. These facts give all real inputs as the domain and [0, ∞) as the range.
(0, 0)(−3, 3)(3, 3)domainrange−4−22424
y = |x|.
Reminder
Reminder: Signed numbers
  • Signed numbers. −3 is a location left of zero. Its distance from zero is 3, without a minus sign.
The same idea, five ways
Say it

f of x equals the absolute value of x

Write it

The output is the input's distance from zero.

In math
  • f(x) = |x|
  • Domain: (−∞, ∞)
  • Range: [0, ∞)
Like

Inputs −3 and 3 stand on opposite sides of zero but are both 3 units away.

See it
(0, 0)(−3, 3)(3, 3)domainrange−4−22424
The same picture again: y = |x|.

Worked example

A negative input and a two-input distance

For f(x) = |x|, evaluate f(−1), meaning find the distance of input −1 from zero. Then solve f(x) = 52, meaning find every input that lies 52 units from zero. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. Absolute value measures distance from zero. For a positive requested distance, take both the positive and negative locations. Zero has only one location, and a negative distance is impossible. Plot the sample pairs, then draw the two straight arms meeting at zero.

input xoutput |x|−33−11001133↓ evaluate: input given, read the output below it
Opposite sample inputs share a distance output.
  1. Plan. Absolute value measures distance from zero. For a positive requested distance, take both the positive and negative locations. Zero has only one location, and a negative distance is impossible. Plot the sample pairs, then draw the two straight arms meeting at zero.
  2. Absolute value measures distance from zero. For a positive requested distance, take both the positive and negative locations. Zero has only one location, and a negative distance is impossible.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs, then draw the two straight arms meeting at zero.
  1. f(−1)=|−1|=1.−1 is one unit left of zero, and distance is nonnegative.
  2. Choose x=−52 or x=52.Moving the requested distance to the left or right gives the two possible locations.
  3. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−1)=1.
  • f(x) = 52 gives x = −52
  • x=52.
  • Sketch: a V with its included lowest point at (0, 0), extending left and right.
Double-check Both fractional inputs have distance 52 from zero. The sample table shows the same two-direction pattern with outputs 1 and 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: |x| = −2 gives x = −2 or x = 2.
Neither input has negative distance; both have absolute value 2.
✓ Instead: |x| = −2 has no real solution.
Tips and tricks
  • The V looks like two roads meeting at zero. Its height records distance.
  • Inputs −3 and 3 stand on opposite sides of zero but are both 3 units away.
  • To end 2 units from zero, you may stand at −2 or 2. The V's two arms encode those choices.
  • As an everyday comparison: Imagine measuring how far you stand from the zero mark on a road. Three steps left and three steps right are both a distance of 3. Absolute value is this distance from zero, written |x|. The bars are part of the operation's symbol. The absolute value function f(x) = |x| accepts any real input and returns its nonnegative distance from zero. Its graph has a V shape because either direction away from zero increases the distance. Zero gives zero. An output greater than zero comes from two opposite inputs, so the full function is not one-to-one.
  • With the worked values: Both fractional inputs have distance 52 from zero. The sample table shows the same two-direction pattern with outputs 1 and 3.

Part 5: Quadratic function

Picture square floor tiles. If a square has side length 3, it covers 3 × 3 = 9 square units. The toolkit quadratic function squares its input: f(x) = x2. Numeric inputs may be negative even though a floor tile's length cannot. Squaring a negative input still gives a positive output because two negative factors multiply to a positive. The graph is a rounded bowl with its bottom at (0, 0). It is called a parabola. You may put in any real number. You can obtain zero or a positive output, but never a negative output.

  • Formula: f(x) = x2. More generally, a quadratic function is ax2 + bx + c with fixed real coefficients and a ≠ 0; its highest power of x is 2.
  • Domain: (−∞, ∞), because any real input can be multiplied by itself.
  • Range: [0, ∞), because squares are nonnegative and y reaches each nonnegative y.
  • Graph: a parabola opening upward with lowest point (0, 0).
  • Why these restrictions hold: Squaring is multiplication of a real number by itself, which is defined for every real input. Two positive factors give a positive product, two negative factors also give a positive product, and zero squared is zero. Thus no negative output is possible. Every desired nonnegative output y is reached by x = y, so the range is all of [0, ∞). Opposite nonzero inputs share a square, causing the two sides of the bowl.
  • The domain, range, shape and examples here describe the toolkit quadratic x2. Other quadratic formulas can have a different lowest or highest height.
(0, 0)(−3, 9)(3, 9)domainrange−4−224246810
y=x2.
Reminder
Reminder: Root versus equation
  • Root versus equation. 5 is the nonnegative square root; solving x2 = 5 requires both 5 and −5.
The same idea, five ways
Say it

f of x equals x squared

Write it

The output is the input multiplied by itself.

In math
  • f(x)=x2
  • Domain: (−∞, ∞)
  • Range: [0, ∞)
Like

For positive input 3, multiplying 3 by 3 gives square area 9. The algebraic rule also accepts input −3 and returns 9.

See it
(0, 0)(−3, 9)(3, 9)domainrange−4−224246810
The same picture again: y = x2.

Worked example

Square a negative input, then solve for a non-square output

For f(x) = x2, evaluate f(−2), meaning square input −2. Then solve f(x) = 5, meaning find every real input whose square is 5. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. Square the whole negative input in parentheses. To solve x2 = 5, take both 5 and −5, since each squares to 5. A square cannot produce a negative output. Plot the sample pairs, then draw the smooth U through them with its bottom at zero.

input xoutput x²−24−11001124↓ evaluate: input given, read the output below it
Negative and positive sample inputs can have the same nonnegative square.
  1. Plan. Square the whole negative input in parentheses. To solve x2 = 5, take both 5 and −5, since each squares to 5. A square cannot produce a negative output. Plot the sample pairs, then draw the smooth U through them with its bottom at zero.
  2. Square the whole negative input in parentheses. To solve x2 = 5, take both 5 and −5, since each squares to 5. A square cannot produce a negative output.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs, then draw the smooth U through them with its bottom at zero.
  1. f(−2)=(−2)2=4.The input needs parentheses, and two negative factors give a positive product.
  2. Solve x2=5 by writing x=−5 or x=5.Both opposite numbers square to 5, and both lie in the all-real domain.
  3. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−2)=4.
  • f(x) = 5 gives x = −5
  • x=5.
  • Sketch: a smooth upward bowl with its included lowest point at (0, 0), extending left and right.
Double-check (−5)2 = 5 and (5)2 = 5. The table's inputs −2 and 2 likewise give the same square output 4.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The domain is [0, ∞) because the graph has no negative heights.
Heights describe range; negative horizontal inputs still have points on the graph.
✓ Instead: Domain is (−∞, ∞), and range is [0, ∞).
Tips and tricks
  • A bowl holds its outputs above the bottom. Check horizontal inputs separately.
  • For positive input 3, multiplying 3 by 3 gives square area 9. The algebraic rule also accepts input −3 and returns 9.
  • Squaring merges 2 and −2 into output 4. The bowl has a matching height on both sides of zero.
  • As an everyday comparison: Picture square floor tiles. If a square has side length 3, it covers 3 × 3 = 9 square units. The toolkit quadratic function squares its input: f(x) = x2. Numeric inputs may be negative even though a floor tile's length cannot. Squaring a negative input still gives a positive output because two negative factors multiply to a positive. The graph is a rounded bowl with its bottom at (0, 0). It is called a parabola. You may put in any real number. You can obtain zero or a positive output, but never a negative output.
  • With the worked values: (−5)2 = 5 and (5)2 = 5. The table's inputs −2 and 2 likewise give the same square output 4.

Part 6: Cubic function

Imagine making a cube from blocks. A side of 2 gives 2 × 2 × 2 = 8 blocks. The toolkit cubic function does that three-factor multiplication: f(x) = x3. Its numeric inputs can also be negative. Three copies of a negative input give a negative cube, so the sign survives. The graph rises through (0, 0), from negative inputs and outputs to positive ones. Every real input is allowed, and every real output has one cube root. These statements describe x3. A different cubic formula can turn around and share outputs.

  • Formula: f(x) = x3. More generally, a cubic function is ax3 + bx2 + cx + d with fixed real coefficients and a ≠ 0; its highest power of x is 3.
  • Domain: (−∞, ∞), because three-factor multiplication accepts any real input.
  • Range: (−∞, ∞), because input y3 produces any real output y.
  • Graph of the toolkit cubic x3: a rising bent curve through (0, 0). This toolkit rule is one-to-one; other cubics may not be.
  • Why these restrictions hold: Multiplying three real copies is defined for any real number. A negative times a negative first gives positive, and multiplying by the third negative makes negative again. Thus cubes can be negative, zero, or positive. For any desired real output y, its cube root y3 is an input producing y. Cubing keeps increasing as input increases, so two different inputs cannot share the same output, unlike squaring.
  • For all-real uniqueness, compare signs and sizes. Larger positive numbers have larger cubes. Among negative numbers, the one farther left has larger positive magnitude, whose cube becomes more negative after restoring the minus. Across zero the signs differ. Thus different inputs of x3 give different outputs.
(−2, −8)(0, 0)(2, 8)domainrange−22−8−448
y=x3.
Reminder
Reminder: Multiplying fractions
  • Multiplying fractions. 12×12×12=1×1×12×2×2=18.
The same idea, five ways
Say it

f of x equals x cubed

Write it

The output is three copies of the input multiplied together.

In math
  • f(x)=x3
  • Domain: (−∞, ∞)
  • Range: (−∞, ∞)
Like

For positive input 2, three copies of 2 multiply to 8. That is the block-count picture of the power 3.

See it
(−2, −8)(0, 0)(2, 8)domainrange−22−8−448
The same picture again: y = x3.

Worked example

Cube a negative number and recover an exact fractional input

For f(x) = x3, evaluate f(−2), meaning multiply three copies of input −2. Then solve f(x) = 18, meaning find the input whose cube is 18. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. Multiply three copies of the input for evaluation. To undo a cube, find its unique real cube root. For the fraction, cube both its numerator and denominator to check. Plot the sample pairs, then draw the smooth rising S through them.

input xoutput x³−2−8−1−1001128↓ evaluate: input given, read the output below it
Negative cube inputs give negative outputs, while distinct samples remain distinct.
  1. Plan. Multiply three copies of the input for evaluation. To undo a cube, find its unique real cube root. For the fraction, cube both its numerator and denominator to check. Plot the sample pairs, then draw the smooth rising S through them.
  2. Multiply three copies of the input for evaluation. To undo a cube, find its unique real cube root. For the fraction, cube both its numerator and denominator to check.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs, then draw the smooth rising S through them.
  1. f(−2)=(−2)×(−2)×(−2)=4×(−2)=−8.The first two negatives give positive, and the third makes the product negative.
  2. Take the cube root: x=12.12 × 12 × 12 = 18, and a real output has one cube root.
  3. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−2)=−8.
  • f(x) = 18 gives x = 12.
  • Sketch: a smooth rising bent curve through (0, 0), extending to negative and positive inputs and outputs.
Double-check Cube the recovered fraction to get 18. Its negative counterpart cubes to −18, so it is not an extra solution.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: x3 = 8 gives x = 2 or x = −2, by the square-root pattern.
(−2)3 is −8, so it does not give the requested positive output.
✓ Instead: x3 = 8 has the single real solution x = 2.
✗ Not this: Every cubic function is one-to-one.
v(x) = x3 − 4x gives v(−2) = v(0) = v(2) = 0. Its graph meets the horizontal line y = 0 three times.
✓ Instead: The toolkit cubic x3 is one-to-one. Check any other cubic with the horizontal line test or a shared-output example.
Tips and tricks
  • Three factors keep a negative input negative. Do not attach a ± to a cube root.
  • For positive input 2, three copies of 2 multiply to 8. That is the block-count picture of the power 3.
  • Input −2 gives −8 and input 2 gives 8. An odd number of negative factors keeps the negative sign.
  • Compare the rising x3 graph with the three shared zeros in v(x) = x3 − 4x. Their highest power matches, but their one-to-one properties do not.
  • As an everyday comparison: Imagine making a cube from blocks. A side of 2 gives 2 × 2 × 2 = 8 blocks. The toolkit cubic function does that three-factor multiplication: f(x) = x3. Its numeric inputs can also be negative. Three copies of a negative input give a negative cube, so the sign survives. The graph rises through (0, 0), from negative inputs and outputs to positive ones. Every real input is allowed, and every real output has one cube root. These statements describe x3. A different cubic formula can turn around and share outputs.
  • With the worked values: Cube the recovered fraction to get 18. Its negative counterpart cubes to −18, so it is not an extra solution.

Part 7: Reciprocal function

Imagine sharing one whole loaf among x equal shares. For positive x, each share has size 1 divided by x. The reciprocal function uses that division rule numerically: f(x) = 1x. It also accepts negative inputs, which give negative outputs. It cannot accept zero because division by zero is undefined, meaning it has no real value. The graph has one branch above and to the right of zero, and another below and to the left. Its output never equals zero: dividing the fixed nonzero numerator 1 by an allowed finite number cannot erase it.

  • Formula: f(x) = 1x. A reciprocal reverses a nonzero number under multiplication: x × 1x = 1.
  • Domain: (−∞, 0) ∪ (0, ∞), because denominator zero is undefined.
  • Range: (−∞, 0) ∪ (0, ∞), because the numerator 1 never gives output zero and every nonzero output is reached.
  • Graph: two separate pieces on opposite sides of both axes. They approach the axes without touching them.
  • The coordinate axes are asymptotes for this rule: as you move far along a branch, its height approaches zero; as x approaches zero, the branch grows without a finite bound. Zero itself is never an input or output.
  • Why these restrictions hold: For x ≠ 0, dividing 1 by x produces a real number, so those and only those inputs are allowed. An output of zero would require 1 = 0 × x = 0, which is impossible. Every desired nonzero output y is reached by input x = 1y, because taking a reciprocal twice returns the original number. That proves the range also consists of all nonzero real numbers.
(−1, −1)(1, 1)(2, 0.5)domainrange−4−224−4−224
y = 1/x.
Reminder
Reminder: Dividing by a fraction
  • Dividing by a fraction. 1 ÷ (−32) = 1 × (−23) = −23. Flip the divisor, then multiply.
The same idea, five ways
Say it

f of x equals one over x

Write it

The output is one divided by the nonzero input.

In math
  • f(x)=1x
  • Domain: (−∞, 0) ∪ (0, ∞)
  • Range: (−∞, 0) ∪ (0, ∞)
Like

Input 2 gives half a whole, 12. Input 4 gives a quarter, 14. More positive shares make each share smaller.

See it
(−1, −1)(1, 1)(2, 0.5)domainrange−4−224−4−224
The same picture again: y = 1/x.

Worked example

Read a reciprocal and solve for a negative input

For f(x) = 1x, evaluate f(2), meaning divide 1 by input 2. Then solve f(x) = −23, meaning find the nonzero input producing that output. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. For evaluation, divide 1 by the nonzero input. To solve 1x = −23, multiply both sides by nonzero x, then divide both sides by −23 to isolate x. Check that x is not zero. Plot the sample pairs as two separate curves, one in the positive-input, positive-output region and one in the negative-input, negative-output region. Neither curve touches an axis.

input xoutput f(x)−2−0.5−1−1−0.5−20.521120.5↓ evaluate: input given, read the output below it
These terminating decimals are exact.
  1. Plan. For evaluation, divide 1 by the nonzero input. To solve 1x = −23, multiply both sides by nonzero x, then divide both sides by −23 to isolate x. Check that x is not zero. Plot the sample pairs as two separate curves, one in the positive-input, positive-output region and one in the negative-input, negative-output region. Neither curve touches an axis.
  2. For evaluation, divide 1 by the nonzero input. To solve 1x = −23, multiply both sides by nonzero x, then divide both sides by −23 to isolate x. Check that x is not zero.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs as two separate curves, one in the positive-input, positive-output region and one in the negative-input, negative-output region. Neither curve touches an axis.
  1. f(2)=12.Substitution puts input 2 in the denominator.
  2. Take the reciprocal of the requested output: x=−32.Taking a nonzero reciprocal twice reverses the operation.
  3. Check that −32≠0.The input must belong to the reciprocal function's domain.
  4. Plot the six sample pairs, including (−0.5,−2), (0.5, 2) and (2, 0.5). Draw the two reciprocal pieces approaching the axes, and do not join them across x=0.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(2)=12.
  • f(x) = −23 gives x = −32.
  • Sketch: two separate pieces, lower left and upper right, approaching both axes while excluding input and output zero.
Double-check 1 ÷ (−32) = 1 × (−23) = −23, giving the requested output. The sample table shows the same sign behavior.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: f(0) = 0 because a zero input should produce zero.
This rule divides by its input, and 10 is undefined.
✓ Instead: Zero is excluded from the domain. It is also absent from the range.
Tips and tricks
  • Reciprocal: flip a nonzero number, keep its sign, and exclude zero twice, from domain and range.
  • Input 2 gives half a whole, 12. Input 4 gives a quarter, 14. More positive shares make each share smaller.
  • A nonzero fraction flips: the reciprocal of 23 is 32. Multiplying these two numbers gives 1.
  • As an everyday comparison: Imagine sharing one whole loaf among x equal shares. For positive x, each share has size 1 divided by x. The reciprocal function uses that division rule numerically: f(x) = 1x. It also accepts negative inputs, which give negative outputs. It cannot accept zero because division by zero is undefined, meaning it has no real value. The graph has one branch above and to the right of zero, and another below and to the left. Its output never equals zero: dividing the fixed nonzero numerator 1 by an allowed finite number cannot erase it.
  • With the worked values: 1 ÷ (−32) = 1 × (−23) = −23, giving the requested output. The sample table shows the same sign behavior.

Part 8: Reciprocal squared function

Start with the reciprocal picture of sharing one whole, then square the input before dividing. The reciprocal squared function is f(x) = 1x2. Its denominator is positive for every nonzero input, even a negative one. That makes every output positive. Zero is still forbidden because its square is zero and division by zero has no value. The graph has two separate pieces above the horizontal axis, one on each side of the missing input zero. Opposite inputs share an output because their squares agree. You can get any positive output, but neither zero nor a negative output.

  • Formula: f(x) = 1x2. This also equals (1x)2 for x ≠ 0.
  • Domain: (−∞, 0) ∪ (0, ∞), because denominator x2 is zero exactly when x = 0.
  • Range: (0, ∞), because the nonzero square denominator makes every output strictly positive, and each positive output is reachable.
  • Graph: two separate pieces above the horizontal axis, with matching heights at opposite inputs.
  • Why these restrictions hold: For x ≠ 0, x2 is positive, so 1x2 is positive and defined. At x = 0 the denominator is zero, which excludes that input. To produce any chosen positive output y, set x2 = 1y and choose x = 1y, which is nonzero. Its opposite works too. This proves the entire positive range while explaining the graph's matching left and right separate pieces.
(−1, 1)(1, 1)(2, 0.25)domainrange−4−22424
y = 1/x2.
Reminder
Reminder: Solving a squared equation
  • Solving a squared equation. x2 = 14 gives x = ±12, since both opposite fractions square to 14.
The same idea, five ways
Say it

f of x equals one over x squared

Write it

The output is one divided by the nonzero input's square.

In math
  • f(x)=1x2
  • Domain: (−∞, 0) ∪ (0, ∞)
  • Range: (0, ∞)
Like

Input −2 first squares to 4, then gives 14. Squaring removes the minus before division.

See it
(−1, 1)(1, 1)(2, 0.25)domainrange−4−22424
The same picture again: y = 1/x2.

Worked example

A negative input and two recovered fractional inputs

For f(x) = 1x2, evaluate f(−2), meaning square input −2 and divide 1 by its square. Then solve f(x) = 4, meaning find all nonzero inputs giving output 4. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. Square the input before dividing 1 by it. To solve 1x2 = 4, multiply both sides by the nonzero square x2 to get 1 = 4x2. Divide by 4, then keep both inputs whose square is 14. Check both are nonzero. Plot the sample pairs in two separate curves above zero. Each curve approaches both axes without touching them.

input xoutput f(x)−20.25−11−0.540.541120.25↓ evaluate: input given, read the output below it↑ solve: output given, read every input above it
The exact decimals 0.5 and 0.25 mean 12 and 14.
  1. Plan. Square the input before dividing 1 by it. To solve 1x2 = 4, multiply both sides by the nonzero square x2 to get 1 = 4x2. Divide by 4, then keep both inputs whose square is 14. Check both are nonzero. Plot the sample pairs in two separate curves above zero. Each curve approaches both axes without touching them.
  2. Square the input before dividing 1 by it. To solve 1x2 = 4, multiply both sides by the nonzero square x2 to get 1 = 4x2. Divide by 4, then keep both inputs whose square is 14. Check both are nonzero.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs in two separate curves above zero. Each curve approaches both axes without touching them.
  1. f(−2)=1(−2)2=14.The denominator is the square of the whole negative input.
  2. Rewrite 1x2=4 as 1=4x2, then x2=14.Multiplying by the nonzero denominator x2 and dividing by 4 preserve the equation.
  3. Take both square candidates: x=−12 or x=12. Both are nonzero.Both opposite inputs square to 14 and meet the domain restriction.
  4. Plot the six pairs, including (−0.5,4), (0.5, 4) and (2, 0.25). Draw two pieces above zero, approaching the axes. Do not include or cross input zero.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−2)=14.
  • f(x) = 4 gives x = −12
  • x=12.
  • Sketch: two matching pieces above the horizontal axis, approaching both axes while excluding input and output zero.
Double-check Each candidate has square 14, and 1 ÷ 14 = 4. The sample table also gives equal outputs to opposite inputs.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: The range includes zero because the separate pieces get close to it.
Approaching a height does not mean reaching it. A nonzero numerator divided by a finite positive denominator stays positive.
✓ Instead: The range is (0, ∞), with a parenthesis at zero.
Tips and tricks
  • Squared denominator means positive outputs on both sides. Keep zero out of the input and output sets.
  • Input −2 first squares to 4, then gives 14. Squaring removes the minus before division.
  • Inputs −1 and 1 both give 1. The graph repeats heights on the left and right, always above zero.
  • As an everyday comparison: Start with the reciprocal picture of sharing one whole, then square the input before dividing. The reciprocal squared function is f(x) = 1x2. Its denominator is positive for every nonzero input, even a negative one. That makes every output positive. Zero is still forbidden because its square is zero and division by zero has no value. The graph has two separate pieces above the horizontal axis, one on each side of the missing input zero. Opposite inputs share an output because their squares agree. You can get any positive output, but neither zero nor a negative output.
  • With the worked values: Each candidate has square 14, and 1 ÷ 14 = 4. The sample table also gives equal outputs to opposite inputs.

Part 9: Square root function

Imagine knowing the area of a square tile and asking for its side length. Area 9 gives side 3 because 32 = 9. The square root function f(x) = x asks for the nonnegative number whose square is the input. The root symbol selects that nonnegative answer. A negative input cannot be the square of a real number, so it is excluded. The graph begins at the included point (0, 0) and extends rightward and upward. Every nonnegative input works, and every nonnegative output can appear. This graph is one-to-one because each output squares back to one input.

  • Formula: f(x) = x, the nonnegative real square root.
  • Domain: [0, ∞). A real square cannot be negative, so negative inputs fail. Every nonnegative input has a nonnegative square root, including input 0 with output 0. Thus all and only nonnegative inputs work.
  • Range: [0, ∞), because the symbol chooses the nonnegative root and input y2 reaches each y ≥ 0.
  • Graph: starts at (0, 0) and curves right and up. It is one-to-one.
  • Why these restrictions hold: Every real square is nonnegative, so no real number can square to a negative input. For any input x ≥ 0, the nonnegative square root exists and is the output chosen by the symbol x. To reach any desired output y ≥ 0, choose input y2: y2 = y for nonnegative y. These observations show that both domain and range are [0, ∞), including zero.
(0, 0)(4, 2)(9, 3)domainrange246810−11234
The same picture again: y = x.
Reminder
Reminder: Squaring a fraction
  • Squaring a fraction. (32)2 = 3222 = 94. Square both the numerator and denominator.
The same idea, five ways
Say it

f of x equals the square root of x

Write it

The output is the nonnegative number whose square is the input.

In math
  • f(x)=x
  • Domain: [0, ∞)
  • Range: [0, ∞)
Like

Input area 4 returns side 2. The side length picture reminds you that the chosen root is nonnegative.

See it
(0, 0)(4, 2)(9, 3)domainrange246810−11234
The same picture a third time: y = x.

Worked example

Take a root, then recover a fractional input

For f(x) = x, evaluate f(4), meaning find the nonnegative number whose square is input 4. Then solve f(x) = 32, meaning find the input whose chosen square-root output is 32. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. Compute the nonnegative square root for evaluation. To undo the nonnegative root output 32, square that whole fraction. Check the resulting input in the original square-root rule. Plot the sample pairs starting at (0, 0), then draw the smooth rising curve extending rightward.

input xoutput f(x)00114293↓ evaluate: input given, read the output below it
Perfect-square sample inputs give their chosen nonnegative roots.
  1. Plan. Compute the nonnegative square root for evaluation. To undo the nonnegative root output 32, square that whole fraction. Check the resulting input in the original square-root rule. Plot the sample pairs starting at (0, 0), then draw the smooth rising curve extending rightward.
  2. Compute the nonnegative square root for evaluation. To undo the nonnegative root output 32, square that whole fraction. Check the resulting input in the original square-root rule.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs starting at (0, 0), then draw the smooth rising curve extending rightward.
  1. f(4)=4=2.2 is nonnegative and 22 = 4.
  2. Square both sides of x=32 to get x=94.Squaring the nonnegative root recovers its input, and (32)2 = 94.
  3. Check x=94≥0.The square-root domain allows only nonnegative inputs.
  4. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(4) = 2.
  • f(x) = 32 gives x = 94.
  • Sketch: a curve starting at included (0, 0) and extending right and up.
Double-check 94 = 32 because 32 is nonnegative and its square is 94. The sample table includes the root pairs 4 with 2 and 9 with 3.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: 4=±2.
The root symbol chooses the nonnegative answer; ±2 answers the different equation t2 = 4.
✓ Instead: 4 = 2. The square-root function has one output for that input.
Tips and tricks
  • Square root: right and up from zero. Keep zero in both domain and range with brackets.
  • Input area 4 returns side 2. The side length picture reminds you that the chosen root is nonnegative.
  • 9 returns 3, while solving t2 = 9 asks for both 3 and −3. The root symbol and the equation ask different questions.
  • As an everyday comparison: Imagine knowing the area of a square tile and asking for its side length. Area 9 gives side 3 because 32 = 9. The square root function f(x) = x asks for the nonnegative number whose square is the input. The root symbol selects that nonnegative answer. A negative input cannot be the square of a real number, so it is excluded. The graph begins at the included point (0, 0) and extends rightward and upward. Every nonnegative input works, and every nonnegative output can appear. This graph is one-to-one because each output squares back to one input.
  • With the worked values: 94 = 32 because 32 is nonnegative and its square is 94. The sample table includes the root pairs 4 with 2 and 9 with 3.

Part 10: Cube root function

Imagine knowing how many blocks fill a cube and asking for its side count. A volume of 8 gives side 2 because 23 = 8. The cube root function reverses cubing: f(x) = x3. As an algebraic rule, it accepts negative inputs too. Input −8 gives −2 because three copies of −2 multiply to −8. Its graph bends through zero, extending to negative and positive inputs and outputs. The curve has a different bend from the cubic graph, but their rules undo each other. Every real input has one real cube root, so every real input is allowed.

  • Formula: f(x) = x3, the unique real cube root.
  • Domain: (−∞, ∞), because every real number has a real cube root.
  • Range: (−∞, ∞), because input y3 produces any desired real output y.
  • Graph: a rising cube-root curve through (0, 0), with negative and positive values. It is one-to-one because cubing an output recovers its one input.
  • Why these restrictions hold: Cubing produces negative, zero, and positive values without repeating an output. Reversing that operation therefore supplies exactly one real cube root for any real input. Every real output y is reached by choosing input y3, since ∛(y3) = y. That proves both the all-real domain and all-real range. A negative cube root is allowed because three negative factors have a negative product, unlike two factors in a square.
(−8, −2)(0, 0)(8, 2)domainrange−8−448−22
y=x3.
Reminder
Reminder: Cube roots
  • Cube roots. 273 = 3 because 33 = 27. Check a cube root by cubing the answer.
The same idea, five ways
Say it

f of x equals the cube root of x

Write it

The output is the one real number whose cube is the input.

In math
  • f(x)=x3
  • Domain: (−∞, ∞)
  • Range: (−∞, ∞)
Like

Input 8 returns 2 because 2 × 2 × 2 = 8. Cubing checks what the cube root returns.

See it
(−8, −2)(0, 0)(8, 2)domainrange−8−448−22
The same picture again: y = x3.

Worked example

Root a negative cube and recover a fractional cube

For f(x) = x3, evaluate f(−8), meaning find the number whose cube is input −8. Then solve f(x) = −12, meaning find the input that has cube-root output −12. Then sketch the rule from its sample table.

What it asks. Find the output at the given input, recover every input giving each requested output, and sketch the rule from the sample pairs.

Show the steps and the answer

The plan. A real cube root keeps the sign of its input. To recover the input from output −12, cube that whole output: multiply three copies of its numerator and three copies of its denominator. Plot the sample pairs, then draw the smooth rising curve through zero, continuing in both directions.

input xoutput ∛x−8−2−1−1001182↓ evaluate: input given, read the output below it
Perfect-cube samples have one real root each, with matching signs.
  1. Plan. A real cube root keeps the sign of its input. To recover the input from output −12, cube that whole output: multiply three copies of its numerator and three copies of its denominator. Plot the sample pairs, then draw the smooth rising curve through zero, continuing in both directions.
  2. A real cube root keeps the sign of its input. To recover the input from output −12, cube that whole output: multiply three copies of its numerator and three copies of its denominator.
  3. Each table column gives one point: input first, output second.
  4. Plot the sample pairs, then draw the smooth rising curve through zero, continuing in both directions.
  1. f(−8)=−2.(−2)3 = −8, so −2 is the real cube root.
  2. Cube the given output to find x=(−12)3=−18.Cubing undoes the cube root, and three negative fraction factors give a negative product.
  3. Read each sample-table column as a point (input, output). Plot those points, then extend the graph in the familiar shape pictured above.Each column is an ordered pair. The rule's shape shows how the points fit together, while its input restrictions show where the graph must stop or split.
Answer
  • f(−8)=−2.
  • f(x) = −12 gives x = −18.
  • Sketch: a smooth rising root curve through (0, 0), extending to negative and positive inputs and outputs.
Double-check The cube of −12 is −18, so ∛(−18) = −12. The sample table likewise pairs −8 with −2.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: ∛(−8) has no real value because roots reject negative numbers.
That restriction applies to square roots. A negative real number can have a negative cube.
✓ Instead: ∛(−8) = −2 because (−2)3 = −8.
Tips and tricks
  • Cube root undoes three factors. Three negative factors are negative, so negative inputs are allowed.
  • Input 8 returns 2 because 2 × 2 × 2 = 8. Cubing checks what the cube root returns.
  • Input −8 returns −2. The cube root can travel left and down, whereas the square-root graph begins at zero and stays right and up.
  • As an everyday comparison: Imagine knowing how many blocks fill a cube and asking for its side count. A volume of 8 gives side 2 because 23 = 8. The cube root function reverses cubing: f(x) = x3. As an algebraic rule, it accepts negative inputs too. Input −8 gives −2 because three copies of −2 multiply to −8. Its graph bends through zero, extending to negative and positive inputs and outputs. The curve has a different bend from the cubic graph, but their rules undo each other. Every real input has one real cube root, so every real input is allowed.
  • With the worked values: The cube of −12 is −18, so ∛(−18) = −12. The sample table likewise pairs −8 with −2.

Part 11: One-page reference

Think of your exam preparation as packing a small travel bag. Keep the few things you need constantly within reach. Rebuild facts that follow quickly from an operation, and save the full formula table as a reference for study. In a closed-book exam, the reference helps you practice beforehand rather than serving as something you can consult during the exam. Know what a function promises and which direction a question asks you to read. Rebuild domains and ranges by asking whether the operation accepts an input and can reach an output. Use the silhouettes as memory cues, then confirm them with a number.

  • Function: each allowed input has one output. One-to-one: each output actually produced has one input. A vertical line is one input. A horizontal line is one output. Check function status first.
  • Evaluate f(3): input 3 is given; find its output. Solve f(x) = 3: output 3 is given; find every input. In a table with inputs above outputs, read down to evaluate and up from every matching output to solve.
  • Constant: f(x) = c. Domain (−∞, ∞). Range {c}.
  • Identity: f(x) = x. Domain (−∞, ∞). Range (−∞, ∞).
  • Absolute value: f(x) = |x|. Domain (−∞, ∞). Range [0, ∞).
  • Quadratic: f(x) = x2. Domain (−∞, ∞). Range [0, ∞).
  • Cubic: f(x) = x3. Domain (−∞, ∞). Range (−∞, ∞).
  • Reciprocal: f(x) = 1x. Domain (−∞, 0) ∪ (0, ∞). Range (−∞, 0) ∪ (0, ∞).
  • Reciprocal squared: f(x) = 1x2. Domain (−∞, 0) ∪ (0, ∞). Range (0, ∞).
  • Square root: f(x) = x. Domain [0, ∞). Range [0, ∞).
  • Cube root: f(x) = x3. Domain (−∞, ∞). Range (−∞, ∞).
  • Rebuild restrictions: division excludes zero denominators; real square roots require nonnegative insides. Domain means inputs; range means outputs actually produced. Brackets include finite endpoints; parentheses exclude them. Infinity always uses parentheses.
  • Expand: (a + h)2 = a2 + 2ah + h2. Subtract a whole output by changing every sign. Factor a numerator before canceling a shared nonzero factor.
  • Difference quotient: f(x+h)−f(x)h, or f(a+h)−f(a)h when the starting input is named a. Keep h ≠ 0. Compute both outputs, subtract the whole old output, simplify, then divide by the nonzero step h. The result is the average output change for each 1 input step.
  • Circle area: A = πr2, r > 0. Recover radius with r = Aπ. Keep the positive radius and leave π written for exactness.
  • Why rebuild: Memorizing every table entry separately hides connections and uses study time poorly. One rule explains several facts: a denominator cannot be zero, a square is nonnegative, and a cube keeps the sign. Rebuilding these restrictions from their operations guards against mixing up domain and range. A compact reference collects the formulas for practice, while the definitions and question directions need to be available immediately for every problem.
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024

The same nine graphs for the 4th time, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.

Reminder
Reminder: Domain versus range
  • Domain versus range. Domain is what goes in; range is what comes out. For x2, negative inputs are allowed, but negative outputs are not.
The same idea, five ways
Say it

Domain is input, and range is output

Write it

Check what can go in separately from what can come out.

In math
  • 1x2:x≠0
  • Domain (−∞, 0) ∪ (0, ∞)
  • Range (0, ∞)
Like

Check a machine's accepted buttons separately from its delivered snacks.

See it
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024
−4−2024−4−2024

The same nine graphs for the 5th time, in the same order: constant, identity, absolute value, quadratic, cubic, reciprocal, reciprocal squared, square root and cube root.

Worked example

Use the reference habits on a square and a reciprocal square

First evaluate the quadratic toolkit rule at input −1, meaning find its output. Then rebuild the domain and range of f(x) = 1x2, meaning list all accepted real inputs and all outputs the rule can reach.

What it asks. Evaluate the square rule, then rebuild both restrictions for reciprocal squared.

Show the steps and the answer

The plan. Square −1. For 1x2, test zero and signs, then show how any positive output can be reached.

domainrange−4−224−11234
The reference habits rebuild the missing input zero and the strictly positive output heights.
  1. Plan. Square −1. For 1x2, test zero and signs, then show how any positive output can be reached.
  2. Zero makes the denominator zero.
  3. Every nonzero square is positive.
  4. For any desired y > 0, input 1y returns y.
  1. The quadratic rule is x2, so the output at −1 is (−1)2=1.Recognizing the formula identifies the action before calculation.
  2. For 1x2, exclude x=0 and allow every other real input.The denominator x2 is zero exactly at input zero.
  3. The range is every positive real number, with zero excluded.The reciprocal of a nonzero square is positive, and for any y > 0, input 1y returns y.
Answer
  • Quadratic output at input −1: 1.
  • Reciprocal squared domain: (−∞, 0) ∪ (0, ∞).
  • Reciprocal squared range: (0, ∞).
Double-check The formula gives 1 at input 1 and 14 at input 2, always positive. Input 0 would make 10, which is undefined. The construction for arbitrary y > 0 confirms the full range beyond those samples.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Memorize [0, ∞) for every function involving a square or root.
The location of the square or root matters. x2 accepts negative inputs, while x does not; 1x2 also excludes zero.
✓ Instead: Read the formula's operation and rebuild its input and output restrictions.
Tips and tricks
  • For each toolkit shape, say formula, domain reason, range reason aloud before doing a sample calculation.
  • Keep definitions and search directions ready immediately. Rebuild operation restrictions when needed. Collect the nine formulas and sketches on the study reference.
  • For 1x2, denominator zero excludes input zero, and a nonzero square is positive. You recover its domain and range from the formula without reciting a separate row.
  • As an everyday comparison: Think of your exam preparation as packing a small travel bag. Keep the few things you need constantly within reach. Rebuild facts that follow quickly from an operation, and save the full formula table as a reference for study. In a closed-book exam, the reference helps you practice beforehand rather than serving as something you can consult during the exam. Know what a function promises and which direction a question asks you to read. Rebuild domains and ranges by asking whether the operation accepts an input and can reach an output. Use the silhouettes as memory cues, then confirm them with a number.
  • With the worked values: The formula gives 1 at input 1 and 14 at input 2, always positive. Input 0 would make 10, which is undefined. The construction for arbitrary y > 0 confirms the full range beyond those samples.

Part 12: Know cold

Keep these decisions available from memory. They tell you what kind of question you are answering before you begin calculating. Each memory cue appears with a worked example and a counterexample in its own lesson.

  • Know cold: a function gives one output per accepted input. Memory cue: one arrow OUT of each input. See the function lesson.
  • Know cold: in f(3), 3 is the input; in f(x) = 3, 3 is the output. Memory cue: inside names the input, equals names the output. See function notation.
  • Know cold: a vertical line is one input; a horizontal line is one output. Use the vertical test for function status first, then the horizontal test for one-to-one.
  • Know cold: wrap the whole substituted input in parentheses. Memory cue: the input's seat belt.
  • Know cold: the difference quotient is new output minus old output, divided by the step h. Keep h ≠ 0. See the difference-quotient lesson.
  • Know cold: domain is input and range is output. Memory cue: D before R, I before O, x before y.
  • Know cold: the nine names and silhouettes. Memory cue: flat fee line, copy line, distance V, square bowl, cube bend, reciprocal two pieces, reciprocal-square two upper pieces, and roots undo powers.

One arrow OUT per input

Inside: input; equals: output

Vertical: one input; horizontal: one output

New output − old output, over step h

The same idea, five ways
Say it

One output for each input; inside names the input, and equals names the output.

Write it

Keep the function definition and the direction of each question available from memory.

In math
  • f(3): input 3, output wanted
  • f(x) = 3: output 3, inputs wanted
  • f(x+h)−f(x)h,h≠0
  • x = 2: one input position
  • y = 4: one output height
Like

Keep the tools you use constantly in the outside pocket of a study bag.

See it

One arrow OUT per input

Inside: input; equals: output

Vertical: one input; horizontal: one output

New output − old output, over step h

Worked example

Use a known input

For f(x) = x + 1, find f(2). This asks for the output at input 2.

What it asks. Find the output when the input is 2.

Show the steps and the answer

The plan. Replace x by 2, then add 1.

2Add 1inputoutput3
The known input 2 gives output 3.
  1. Plan. Replace x by 2, then add 1.
  2. The input is inside the parentheses.
  3. 2 + 1 gives the output.
  1. Replace x by 2: f(2)=2+1.The 2 inside parentheses is the given input.
  2. Compute 2+1=3.The rule adds 1 to the input.
Answer
f(2) = 3.
Double-check The pair (2, 3) records the same input and output.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: In f(3), the output is necessarily 3.
The inside number is the input; the rule determines the output.
✓ Instead: Apply f to input 3 to find its output.
Tips and tricks
  • Cover the cue, explain it aloud, then use it on one changed input.
  • Cover the answer, explain one decision aloud, and then repeat it with a changed input.
  • Instead of memorizing the domain of x, recall that real squares cannot be negative.
  • As an everyday comparison: Keep these decisions available from memory. They tell you what kind of question you are answering before you begin calculating. Each memory cue appears with a worked example and a counterexample in its own lesson.
  • With the worked values: The pair (2, 3) records the same input and output.

Part 13: Understand, then rebuild when needed

Practice the operations that produce an answer. You do not need to memorize each finished expansion, factorization or domain. Rebuild them from multiplication, division and the meaning of a root. The refreshers teach these moves before the later lessons ask you to use them.

  • Understand, then rebuild: expand a squared sum by multiplying two copies. (x + h)2 = x2 + 2xh + h2.
  • Understand, then rebuild: find factor pairs by product and sum, then distribute to check.
  • Understand, then rebuild: isolate the requested output with equal operations on both sides.
  • Understand, then rebuild: compute a difference quotient by substituting x + h, subtracting the whole old output, simplifying and dividing by nonzero h.
  • Understand, then rebuild: sketch toolkit graphs from helpful points and their silhouettes, then use operation restrictions to confirm their full domains and ranges.
12124212
An area model with sides 1 + 2 and 1 + 2.
The same idea, five ways
Say it

The whole sum a plus h, squared, equals a squared plus two a h plus h squared.

Write it

Rebuild expansions and factors by multiplication instead of guessing the finished expression.

In math
  • (a+h)2=(a+h)(a+h)
  • (a + h)2 = a2 + 2ah + h2
  • x2+2x−3=(x+3)(x−1)
  • h(2x+h)h=2x+h,h≠0
Like

Use a recipe to rebuild a finished dish rather than memorize every ingredient total.

See it
12124212
The same picture again: An area model with sides 1 + 2 and 1 + 2.

Worked example

Rebuild a squared input

For f(x) = x2, evaluate f(1 + 2). This asks you to use the whole sum as input.

What it asks. Evaluate the square rule at the entire input 1 + 2.

Show the steps and the answer

The plan. Compute the complete input first, then square it.

12124212
The same picture a third time: An area model with sides 1 + 2 and 1 + 2.
  1. Plan. Compute the complete input first, then square it.
  2. 1 + 2 = 3.
  3. The square uses two complete copies of 3.
  1. Add 1+2=3.The complete input is the sum in parentheses.
  2. Square that input: f(3)=3×3=9.The rule squares the input.
Answer
f(1 + 2) = 9.
Double-check Expanding gives 12 + 2 × 1 × 2 + 22 = 1 + 4 + 4 = 9.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: (a + h)2 = a2 + h2 because each term gets a square.
Squaring multiplies two complete copies and creates two cross products.
✓ Instead: (a + h)2 = a2 + 2ah + h2.
Tips and tricks
  • Multiply two copies once so you can rebuild the middle term instead of guessing.
  • Cover the answer, explain one decision aloud, and then repeat it with a changed input.
  • Instead of memorizing the domain of x, recall that real squares cannot be negative.
  • As an everyday comparison: Practice the operations that produce an answer. You do not need to memorize each finished expansion, factorization or domain. Rebuild them from multiplication, division and the meaning of a root. The refreshers teach these moves before the later lessons ask you to use them.
  • With the worked values: Expanding gives 12 + 2 × 1 × 2 + 22 = 1 + 4 + 4 = 9.

Part 14: Put on the cheat sheet, or look it up

The final lesson gathers a short printable reference with the toolkit formulas and the main procedures. Use it during study and when reference material is allowed. For a closed-book exam, close it and practice rebuilding each restriction from the rule's meaning.

  • Put on the cheat sheet, or look it up during study: the nine-formula table above, with domain, range, one-to-one status and each graph silhouette.
  • Put on the cheat sheet, or look it up during study: f(x+h)−f(x)h, h ≠ 0, and its step-by-step procedure. Know the meaning from memory for a closed-book exam.
  • Put on the cheat sheet, or look it up during study: interval brackets include finite endpoints; parentheses exclude them; infinity always takes parentheses.
  • Put on the cheat sheet, or look it up during study: circle area A = πr2 for r > 0 and the reverse radius rule r = Aπ.
  • A closed-book exam does not allow this reference at the desk. Practice with it, then cover it and rebuild the facts from the operations.
no square ever lands below 0(−3, 9)(3, 9)(0, 0)−33−49
The graph of y = x2: no square lands below 0.
The same idea, five ways
Say it

The square root of four is two; no real number squares to negative four.

Write it

Use a study reference to check an operation’s restrictions, then explain those restrictions with the reference closed.

In math
  • 4=2
  • x ≥ 0
  • [0, ∞)
  • −4: no real value
  • A=πr2,r>0
  • r=Aπ
Like

A map checks the route during practice; afterward you explain the route from memory.

See it
no square ever lands below 0(−3, 9)(3, 9)(0, 0)−33−49
The same picture again: The graph of y = x2: no square lands below 0.

Worked example

Rebuild a square-root restriction

Why does f(x) = x accept 4 but reject −4 as a real input?

What it asks. Decide which of two inputs has a real square-root output.

Show the steps and the answer

The plan. Check whether a real number can square to each input.

no square ever lands below 0(−3, 9)(3, 9)(0, 0)−33−49
The same picture a third time: The graph of y = x2: no square lands below 0.
  1. Plan. Check whether a real number can square to each input.
  2. 22=4.
  3. Every real square is nonnegative.
  1. Find 4=2.22 = 4 and the principal square root chooses the nonnegative root.
  2. Try to find a real number squaring to −4.Every real square is nonnegative, so none can square to −4.
Answer
  • 4 is accepted with output 2.
  • −4 has no real output.
Double-check The square graph stays on or above zero, agreeing with the accepted input restriction.
Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: Memorize [0, ∞) without knowing why it is the square-root domain.
A changed root formula needs a changed condition on its inside expression.
✓ Instead: Require the inside of a real square root to be nonnegative.
Tips and tricks
  • Use the reference to check your reasoning, then redo the example with the reference closed.
  • Cover the answer, explain one decision aloud, and then repeat it with a changed input.
  • Instead of memorizing the domain of x, recall that real squares cannot be negative.
  • As an everyday comparison: The final lesson gathers a short printable reference with the toolkit formulas and the main procedures. Use it during study and when reference material is allowed. For a closed-book exam, close it and practice rebuilding each restriction from the rule's meaning.
  • With the worked values: The square graph stays on or above zero, agreeing with the accepted input restriction.

5 How

  1. Identify the operation in the formula and match its familiar graph shape.
  2. Check which real inputs the operation accepts. These make its domain.
  3. Ask which outputs it can actually produce. These make its range.
  4. Evaluate one small input with parentheses, then check the result against the graph or sample table.
  5. When an output is given, reverse the operation and check every candidate against the domain.

Sketch from helpful points, then read the shadows

1
Does the formula divide by its input or its square?
YesSkip zero, make a sketch on each side of zero, and keep the two pieces separate.
NoCheck whether it is a root.
↓
2
Is it square root?
YesStart at (0, 0), use nonnegative perfect-square inputs, and extend right and up.
NoFor cube root use signed perfect cubes; for other toolkit rules use the five small inputs.
↓
3
Does the sketch lie above the horizontal axis?
YesThat describes output heights, so it helps find range. Still inspect left-right inputs for domain.
NoRead both graph shadows separately.
  1. Choose inputs that make the calculation clear. For most rules use −2, −1, 0, 1 and 2.
  2. For square root, use 0, 1, 4 and 9. For cube root, use −8, −1, 0, 1 and 8.
  3. For the two reciprocal rules, skip zero and use −2, −1, −12, 12, 1 and 2.
  4. Calculate each output, write the input first in (x, y), and plot the points.
  5. Use the rule's familiar silhouette to connect the points. Keep reciprocal graphs in separate pieces across the forbidden zero.
  6. Read domain left to right as the graph's shadow on the input axis. Read range bottom to top as its shadow on the output axis.
  7. Confirm each full shadow from the operation, because a few plotted samples alone cannot show every real input or output.

6 Worked example

Worked example

The constant function k(x) = -2: formula, graph, domain, range and table

The constant function k(x) = -2 is one of the nine toolkit functions. The figure shows its graph: a horizontal line 2 units below the x-axis that passes through the marked points (-4, -2), (0, -2) and (3, -2).
(a) Say what the formula does with its input, and name the shape of the graph.
(b) State the domain of k.
(c) State the range of k.
(d) Evaluate k(-1), writing the input in parentheses. Then complete a sample table for x = -1, 0 and 2, and check it against the graph.
(e) Solve k(x) = -2. Then solve k(x) = 2.

(-4, -2)(0, -2)(3, -2)−6−4−2246−4−224
Graph of the constant function k(x) = -2.
Show the steps and the answer
  1. Identify the operation. The right side of k(x)=-2 contains no x, so k does nothing with its input and always returns -2. A constant function graphs as a horizontal line. Here it is the line y=-2, 2 units below the x-axis. This matches the figure, where every marked point, (-4,-2),(0,-2) and (3,-2), has y-coordinate -2.Points that all share one y-coordinate lie on a single horizontal line, so a rule that gives every input the same output must graph as a horizontal line.
  2. Find the domain. The formula has no division by x and no square root of x, so no real input can make it undefined. Domain: all real numbers, (-∞,∞).Only operations such as dividing by zero or taking the square root of a negative number shut inputs out. k uses neither, and its graph runs without a break across the whole x-axis.
  3. Find the range. The only output k ever produces is -2. Range: {-2}, the single number -2. It is not an interval, and it is not all real numbers.The range is the set of outputs actually produced, and every point on the graph sits at height -2.
  4. Evaluate with parentheses. Replace x with (-1) in k(x)=-2. There is no x on the right side, so nothing changes and k(-1)=-2. In the same way k(0)=-2 and k(2)=-2, which gives the sample table x: -1, 0, 2 and k(x): -2,-2,-2. Check: (0,-2) is a marked point. (-1,-2) and (2,-2) lie on the same horizontal line, between the marked points, at height -2.Parentheses keep the input's sign attached in any formula. Here they show that the output does not depend on the input. Each table pair (x, k(x)) is a point that must lie on the graph.
  5. Reverse for the output -2. The equation k(x)=-2 says -2=-2, which is true whatever x is. Every real number is a candidate, and every candidate is in the domain, so every real number is a solution.Solving k(x) = -2 asks which inputs produce -2. All inputs produce -2, and on the graph the whole line sits at height -2.
  6. Reverse for the output 2. The equation k(x)=2 says -2=2, which is false for every x. There are no candidates, so the equation has no solution.2 is not in the range {-2}. On the graph, the horizontal line y = 2 lies 4 units above the graph of k and never meets it.
Answer
  • (a) k ignores its input and always outputs -2
  • its graph is the horizontal line y = -2. (b) Domain: all real numbers, (-∞, ∞). (c) Range: {-2}, only the value -2. (d) k(-1) = -2. The table gives k(-1) = -2, k(0) = -2 and k(2) = -2, and each of these points lies on the graph. (e) k(x) = -2 is true for every real number x
  • k(x) = 2 has no solution.
Double-check Test inputs not used above: k(10) = -2 and k(-12) = -2. Both 10 and -12 solve k(x) = -2, as 'every real number' predicts, and both outputs are -2, the one value in the range. The graph agrees. The line continues left and right without end, so every real input is used. Each of its points has height -2, so the line y = 2 never meets it and k(x) = 2 has no solution.

Work to write

  1. k(x) = -2 gives the output -2 for every input; its graph is the horizontal line y = -2
  2. Domain: all real numbers, (-∞, ∞)
  3. Range: {-2} (only the value -2)
  4. k(-1) = -2
  5. Table: x = -1, 0, 2 gives k(x) = -2, -2, -2; each point lies on the line
  6. k(x) = -2: every real number x is a solution
  7. k(x) = 2: no solution, because 2 is not in the range

Counterexamples

What it is not, and the tempting wrong moves.

✗ Not this: A small sample table gives the entire domain of a toolkit function.
These formulas accept many inputs beyond the few listed samples.
✓ Instead: Use the formula's restrictions for the full domain, and use the table to practice values.
✗ Not this: Any curve that stays above the horizontal axis has domain [0, ∞).
Being above the axis describes output heights, which are the range, rather than input positions.
✓ Instead: Read the domain horizontally and the range vertically, then confirm both from the rule.

Tips and tricks

  • Pair each name with an action and a silhouette: copy line, distance V, square bowl, cube bend, reciprocal separate pieces, roots undo powers.
  • Zero is a separate check: accepted as input, reached as output, both, or neither.
  • For a closed-book exam, know the nine names and silhouettes. Rebuild the interval restrictions from the operations in ten seconds.
  • Sketch from a few helpful points, then explain the domain and range from the rule. Do not pretend the finite table is the full graph.

7 The trap

Memorizing a graph shape without checking its input and output restrictions. The square and square-root functions both stay at nonnegative heights, but only the square root excludes negative inputs.