Functions and function notation: crash course
about 42 min to listen10 lessons13 questions to tryUnit 1 of 17
Short view. Each lesson's rule, its steps and its trap. Switch to Full for a worked example and a question to try in every lesson.Full view. Each lesson's rule, its steps, one worked example with Watch it solved, the trap, and one question to try.
Starts here no skill from another unit needed first
1 A function gives one answer to each input
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.
How
- Name what you are starting with; that quantity is the input.
- Name what you want to find; that quantity is the output.
- Inspect every input and its assigned outputs.
- Accept shared outputs. Reject an input with two different outputs.
- List distinct inputs as the domain and distinct outputs as the range.
Worked example
Worked example
Function or not from ordered pairs
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.
- Plan. Read the first number in each pair as input. Compare pairs with the same input, then collect distinct first and second numbers.
- In (1, 3), 1 is the input and 3 is its output.
- In list (b), find both pairs whose first number is 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.
- Collect the domain {1, 2, 3, 4, 5} and the range {2, 4, 6, 8, 10}.Domain lists accepted inputs; range lists produced outputs.
- For (b), input 1 pairs with both 3 and 7.A function cannot give two different answers for the same input.
- (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.
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.
2 Read function notation as an instruction
The rule
: 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.
How
- Identify the function name and what its input and output represent.
- Read everything inside the parentheses as the entire input.
- For evaluate, apply the rule to that input.
- For solve, require the rule's output to equal the given value.
- Include units when the quantities have units.
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
- 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.
- (a) Substitute 4 for h: .Evaluate means find the output. The number inside the parentheses is the input, so h = 4 is fed into the rule.
- (a) Interpret: dollars, so renting for 4 hours costs $51.The output carries the output's units, which are dollars.
- (b) Set the rule equal to the given output: .Solve means find the input that produces a given output. Here the output C(h) is 69, so the rule must equal 69.
- (b) Subtract 15 from both sides: . Then divide by 9: .Undoing the operations in reverse order isolates the input.
- (b) Interpret: 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.
- (c) Replace every h in the rule with the whole input (h + 1): .Everything inside the parentheses is the entire input. Writing (h + 1) in place of h keeps that input together.
- (c) Simplify: .Distribute the 9 to both terms of the input, then combine the constants.
Work to write
- C is the function, h = hours rented (input), C(h) = cost in dollars (output)
- C(4) = 15 + 9(4) = 51
- C(4) = 51 dollars: 4 hours costs $51
- 15 + 9h = 69
- 9h = 54
- h = 6 hours
- C(h + 1) = 15 + 9(h + 1) = 9h + 24
The trap
Reading f(x) as f times x. A function name identifies a rule rather than a number being multiplied.
3 Evaluate a formula
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.
How
- Say what the question asks. Evaluate f(2) means the input is 2; find its output. It does not ask which input produces 2.
- Copy the formula, replacing every input letter with the given input in parentheses.
- For a number, do powers first, then multiplication, then addition and subtraction. For an expression, multiply out parentheses before collecting like terms.
- Check by putting a numerical input into both the starting recipe and the expanded expression. Matching results can catch an expansion error.
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) = 3 - 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
- Say what each part asks. In (a) the input is the number ; find its output. In (b) the input is the whole expression ; 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.
- For (a), copy the recipe with (-2) in place of every x: .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.
- Do the power first: , so .Powers come before multiplication. A negative number times itself is positive, so the square is 4. Without the parentheses, - would mean -() = -4, which is not the square of the input.
- Multiply next: and , so . Then add and subtract: .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.
- For (b), copy the recipe with (k - 2) in place of every x: .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.
- Multiply out the square: .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 is not - 4 and not + 4.
- Distribute the 3 and the : and . So .A number in front of parentheses multiplies every term inside. The -8 multiplies the -2 too, and a negative times a negative gives +16.
- Collect like terms: and , so .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.
- Check (b) with a number, say . Starting recipe: the input is , and . Expanded expression: .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 3 - 20k + 2, which gives -31 at k = 3 and would not match.
Work to write
- g(-2) = 3(4) - 8(-2) + 6 = 12 + 16 + 6 = 34
- Check with k = 3: g(1) = 3 - 8 + 6 = 1 and 3(3 - 20(3) + 34 = 27 - 60 + 34 = 1
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.
Quick check
Try it before you open its steps. It is question 2 of 3 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
- 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.
- Every input slot receives the complete input, including its sign.
- Square a negative input in parentheses: (−2 = 4. A constant recipe gives the same output for every input.
- Keep separate requested outputs on separate answer lines.
- .The whole negative input replaces x.
- .A positive times a negative is negative.
- .Starting at −12 and subtracting 7 moves seven more places left.
4 The difference quotient: average rate of change
The rule
Difference quotient: , with 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: .
How
- Write f(x + h) by replacing every x with the whole (x + h). Also write f(x) separately.
- Multiply out. A square has the middle term: (x + h = + 2xh + . A number in front multiplies every piece.
- Subtract f(x) in parentheses, then reverse every sign in that subtracted group.
- In these polynomial examples, every term without h must cancel. If one remains, recheck the expansion, copied terms, and subtraction signs.
- Factor h from the entire numerator, or divide every numerator term by h. Cancel only the shared nonzero factor.
- Write the simplified answer and h ≠ 0. Both starting and ending inputs must still be allowed. Check with chosen numbers.
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) = 2 + 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 , 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.
Show the steps and the answer
- Write by replacing every x in with the whole (): . Write 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.
- Multiply out. xh , so xh , and . Together: xh .Squaring a sum produces the middle term 2xh; writing only + 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.
- Subtract A(x) in parentheses, then reverse every sign in that group: xh xh .The minus sign applies to all of A(x), so both 2 and 4x become negative, not just the first term.
- Combine like terms: and , so xh .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.
- Factor h from the entire numerator and cancel it with the h in the denominator: .h is a factor of every term, so it is a shared factor of the whole numerator and the denominator. Because h ≠ 0, = 1. Cancelling h from only one term would be wrong.
- State the result with its conditions: , where , x > 0 and .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.
- 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: .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.
- 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 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.
Work to write
- A(x + h) = 2(x + h + 4(x + h) = 2 + 4xh + 2 + 4x + 4h
- A(x + h) − A(x) = 2 + 4xh + 2 + 4x + 4h − (2 + 4x) = 4xh + 2 + 4h
- h ≠ 0, x > 0, x + h > 0
- (b) x = 1, h = 2: 4(1) + 2(2) + 4 = 12
- 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
The trap
Subtracting only the first term of the starting output. Keep −(f(x)) as one group, then change every sign inside.
Quick check
Try it before you open its steps. It is question 4 of 7 in the full lesson, where they run from easy to exam-hard.
Try it · level 4 of 7
DQ rung 4: a square
For s(x) = , simplify , 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.
- 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.
- Every input variable receives the whole sum in parentheses.
- A squared sum includes its middle term. An outside coefficient multiplies all three pieces.
- Reverse every sign in the subtracted output, then factor the whole numerator before canceling h.
- xh .Multiply two whole copies of x + h. The cross products xh and hx add to 2xh.
- xh xh .The starting output is subtracted from the ending output, so − cancels to zero.
- 2xh .Both 2xh and contain h: they are h × 2x and h × h.
- .Cancel the common factor h multiplying the entire numerator, retaining the nonzero restriction.
5 Solve when the output is given
The rule
To solve , set the function's formula equal to k and find every allowed input x.
Zero product rule: AB means or , or both.
How
- Say the question in words. Solve h(p) = 3 means the output is 3; find every input p that produces it.
- Replace the function notation with its formula, keeping the requested output on the other side.
- For a linear equation, undo addition or subtraction and then undo multiplication or division, doing each operation to both sides.
- For a quadratic that factors, subtract the requested output from both sides so one side is zero.
- Rewrite the quadratic as a product of factors. Set each factor equal to zero using the zero product rule.
- Solve each smaller equation and keep every permitted input.
- Substitute each answer into the original function. Each checked output must equal the requested output.
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) = + 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.
Show the steps and the answer
- (a) Say the question in words. Solve 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.
- Replace f(x) with its formula, keeping the requested output on the other side: .f(x) is a name for the expression + 2x - 5, so the inputs that make f(x) equal 10 are exactly the inputs that make that expression equal 10.
- Choose the method. The equation contains , so it is quadratic, not linear. Subtract 10 from both sides: , so .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.
- Rewrite the left side as a product. Look for two numbers that multiply to and add to 2: 5 and work, since and . The equation becomes .For any numbers p and q, (x + p)(x + q) = + (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) = - 3x + 5x - 15 = + 2x - 15.
- Set each factor equal to zero: or .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.
- Solve each smaller equation. Subtract 5 from both sides of to get ; add 3 to both sides of to get . 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.
- Check each answer in the original function: and . 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.
- (b) Say the question in words: solve means the output is ; find every input x that produces it. Replace f(x) with its formula: .The method does not depend on which output is requested: the formula goes on one side and the requested output stays on the other.
- Subtract the requested output, , from both sides. Subtracting means adding 6: , so .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.
- 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 .Expanding confirms it: (x + 1)(x + 1) = + x + x + 1 = + 2x + 1. The two factors are identical, so this quadratic is a perfect square, (x + 1.
- Set each factor equal to zero: or . Both equations are the same; subtracting 1 from both sides gives the single answer .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.
- Check in the original function: , the requested output.Substitution into the original formula confirms that -1 really produces the output -6.
- Explain the counts with the graph. The output is the y-coordinate of the vertex , the lowest point of the parabola. The horizontal line lies above the vertex and crosses the parabola twice, at and (3, 10), so part (a) has two solutions. The horizontal line 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.
- (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.
Work to write
- (x + 5)(x - 3) = 0
- x + 5 = 0 or x - 3 = 0
- x = -5 or x = 3
- f(-5) = 25 - 10 - 5 = 10 and f(3) = 9 + 6 - 5 = 10
- (x + 1)(x + 1) = 0
- x + 1 = 0, so x = -1 is the only solution
- f(-1) = 1 - 2 - 5 = -6
- -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
The trap
Treating a requested output as an input. In h(p) = 3, set the formula equal to 3; do not evaluate h(3).
Quick check
Try it before you open its steps. It is question 3 of 6 in the full lesson, where they run from easy to exam-hard.
Try it · level 3 of 6
Factoring rung 3: opposite signs
Factor − 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.
- 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.
- The two constant numbers must multiply to the last term.
- Their sum must equal the coefficient of the middle term.
- Check the signs, then multiply all four term pairs back.
- The desired sum is and the desired product is .Read the middle coefficient and constant with their signs.
- A negative product needs opposite signs. Choose 2 and .2 × (−3) = −6 and 2 + (−3) = −1.
- .Adding −3 is written as subtracting 3.
6 Turn an equation into a function when possible
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.
How
- Name the input letter and the requested output letter.
- Undo addition or subtraction around the output, doing the same operation to both sides.
- Divide every remaining term by the output's nonzero coefficient.
- For a cubed output, take its unique real cube root. For a squared output, keep both signs and test an input where they differ.
- Write the output alone as f(input) when possible, and check a pair in the equation you started with.
- If the equation stays mixed, remember that an awkward formula alone does not disprove a function.
Worked example
Worked example
Solving - 4y = 12 for y, then for x
The equation - 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.
Show the steps and the answer
- Part (a). Name the input and the output. The input is x and the requested output is y. The rule 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.
- Undo the addition around the output term. The left side is added to the output term , so subtract from both sides. gives .Doing the same operation to both sides keeps the equation true, and it leaves only the output term on the left.
- Divide every remaining term by the coefficient . , so .The coefficient of y is -4. It is not zero, so dividing by it is allowed. Both the 12 and the must be divided, and dividing by a negative number changes the sign of each term.
- 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.
- Write the output alone as a function. , for every real x. Check the pair . , and in the starting equation .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.
- 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.
- Undo the subtraction around the output term. 4y is subtracted from , so add 4y to both sides. gives . The coefficient of 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.
- The output is squared, so keep both signs. or , which can be written . Real outputs need , so the allowed inputs are .A number and its opposite have the same square, so both signs satisfy = 4y + 12. Keeping only one sign would quietly drop solutions of the original equation.
- Test an input where the two signs differ. will not work, because and both signs give . Use instead. , so or .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.
- Check both pairs in the starting equation. and , so both (4, 1) and are genuine solutions.The test only counts if both outputs really satisfy the original equation, not just the rearranged one.
- Conclude. The allowed input has two outputs, and , so x is not a function of y and no single f(y) gives x. On the graph, the horizontal line meets the parabola at 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.
Work to write
- Part (a): input x, output y
- f(x) = - 3, for every real x
- Check (2, -2): - 4(-2) = 4 + 8 = 12
- Part (b): input y, output x, so = 4y + 12
- x = or x = -
- y = 1: x = 4 or x = -4, and - 4(1) = 12, (-4 - 4(1) = 12
- y = 1 has two outputs, so x is not a function of y
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 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.
- Plan. Subtract the entire known contribution 3n.
- 3n is one complete term.
- Subtract 3n from each side.
- , so .Subtracting the same known contribution preserves equality and leaves p alone.
7 Evaluate and solve from tables and graphs
The rule
Evaluate g(3): input 3 is given; read its output.
Solve : output 6 is given; find every input paired with it. A point (x, y) on a function graph means .
How
- Translate the question into either given input, find output, or given output, find inputs.
- In a table, stay in the same column when moving between its input and output rows.
- On a graph, locate the given input on the horizontal axis or the given output on the vertical axis.
- For evaluation, move vertically to the graph and read the height. For solving, search across the given height and read every horizontal position.
- Check each answer against its original column or point. Do not invent values between isolated data points.
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.
Show the steps and the answer
- Translate part (a). In P(5) the number inside the parentheses is the input. This is 'given input, find output': the stop number 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.
- 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 .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.
- Interpret: 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.
- Translate part (b). In 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.
- 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 and .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.
- Interpret: when or . 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.
- Translate part (c). 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.
- Do not estimate an input between (14 passengers) and (21 passengers), such as . Conclude that 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.
Work to write
- P(5) = 11
- Just after the shuttle leaves stop 5, 11 passengers are on board.
- P(s) = 14 when s = 2, s = 4 or s = 6
- The shuttle carries 14 passengers just after leaving stops 2, 4 and 6.
- P(s) = 17 has no solution, because 17 is not an output in the table and there is no stop between the listed stops.
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.
Quick check
Try it before you open its steps. It is question 2 of 4 in the full lesson, where they run from easy to exam-hard.
Try it · level 2 of 4
Evaluate a graph input
For the curve s(x) = , 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.
- Plan. Keep x = −2 while moving vertically to the curve, then read y.
- −2 is left of the origin.
- The point there is (−2, 4).
- Start at on the horizontal axis and move vertically to the curve at .The input stays −2 during a vertical move.
- Read the height 4, so .The vertical coordinate is the output.
8 One-to-one means each output identifies one input
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.
How
- State the domain and the direction of the rule.
- Confirm that each input has one output.
- Search for two different inputs with the same output. One such pair proves the function is not one-to-one.
- 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.
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) = 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?
Show the steps and the answer
- (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, . 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.
- (a) Confirm that each input has one output. Each lane appears once on the board, paired with exactly one time: . 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.
- (a) Search for two different inputs with the same output. The time 58.06 appears twice: and , with . 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.
- (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, . 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.
- (b) Confirm that each input has one output. For each t > 0, dividing 100 by the nonzero number t gives exactly one result, . 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.
- (b) Search for two different inputs with the same output, and judge the student's check. The values and compare only three of the infinitely many allowed inputs; they say nothing about the pairs that were never tested. For example, also gives three different outputs at those inputs (100, 400 and 1600), yet , 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.
- (b) Describe the outputs v actually produces. When t > 0, the quotient is positive, so every output is a positive speed s. Numbers such as 0 or 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.
- (b) Recover the input from any output. Take any output s > 0 and solve . Multiply both sides by t (allowed, since ): st. Divide both sides by s (allowed, since ): . Both steps can be reversed, so has exactly one solution, , 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.
- (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 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 = s has exactly one solution, t = , which is an allowed input. Yes: a speed always tells the coach the time.
Work to write
- F goes lane → time with domain {1, 2, 3, 4, 5, 6}; each lane has exactly one time, so F is a function.
- F(3) = F(5) = 58.06 with 3 ≠ 5, so F is not one-to-one.
- The time 58.06 seconds does not identify one lane: it could be lane 3 or lane 5.
- v goes time → speed with domain t > 0; each t gives one value , so v is a function.
- Three sample values cannot prove one-to-one on the infinite domain t > 0.
- Every output is some s > 0, and = s gives exactly one input, t = > 0.
- So v is one-to-one: each speed identifies exactly one time.
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.
9 Vertical and horizontal lines answer different questions
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.
How
- Identify the input on the horizontal axis and the output on the vertical axis.
- Try vertical lines across the graph. One line meeting two distinct graph points proves it is not a function.
- If every vertical line meets at most once, the graph is a function. Some lines may miss the graph.
- For a function, try horizontal lines. One line meeting two distinct points proves it is not one-to-one.
- Passing every horizontal line proves one-to-one. State which test supports each conclusion.
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) + = 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.
- 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.
- The V has two points at height 3.
- The two circle pictures mark (0, 1) and (0, −1) on the same circle.
- (a) The diagonal line 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.
- (b) The V-shaped graph of has one height |x| for each input x, so it passes the vertical test.A fixed input has exactly one distance from 0.
- At height 3, the V has points and (3, 3), so it fails the horizontal test.One output is shared by two distinct inputs.
- (c) At , the circle equation gives or . It fails the vertical test.One vertical line meets two distinct points with the same input.
- Do not classify the circle relation as a one-to-one function.It has already failed the requirement to be a function of x.
- (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.
The trap
Using the horizontal line test to decide function status. Check vertical first, then horizontal, and label the conclusion from each test.
10 Meet the nine toolkit functions
The rule
Toolkit functions: constant c, identity x, absolute value |x|, quadratic , cubic , reciprocal , reciprocal squared , square root , and cube root .
For each, connect formula, graph, domain, range, and a sample table.
How
- Identify the operation in the formula and match its familiar graph shape.
- Check which real inputs the operation accepts. These make its domain.
- Ask which outputs it can actually produce. These make its range.
- Evaluate one small input with parentheses, then check the result against the graph or sample table.
- When an output is given, reverse the operation and check every candidate against the domain.
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.
Show the steps and the answer
- Identify the operation. The right side of contains no x, so k does nothing with its input and always returns . A constant function graphs as a horizontal line. Here it is the line , 2 units below the x-axis. This matches the figure, where every marked point, and , has y-coordinate .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.
- 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.
- Find the range. The only output k ever produces is . Range: {}, the single number . 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.
- Evaluate with parentheses. Replace x with () in . There is no x on the right side, so nothing changes and . In the same way and , which gives the sample table x: , 0, 2 and k(x): . Check: is a marked point. and lie on the same horizontal line, between the marked points, at height .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.
- Reverse for the output . The equation says , 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.
- Reverse for the output 2. The equation says , 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.
- (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.
Work to write
- k(x) = -2 gives the output -2 for every input; its graph is the horizontal line y = -2
- Domain: all real numbers, (-∞, ∞)
- Range: {-2} (only the value -2)
- k(-1) = -2
- Table: x = -1, 0, 2 gives k(x) = -2, -2, -2; each point lies on the line
- k(x) = -2: every real number x is a solution
- k(x) = 2: no solution, because 2 is not in the range
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.
11 Quick checks for the whole unit
Quick check 1 of 8
For r(x) = 3x − 7, find r(−2).
Show the steps and the answer
Quick check 2 of 8
For k(t) = , solve k(t) = 3.
Show the steps and the answer
Quick check 3 of 8
Use the pictured table to solve g(n) = 6.
Show the steps and the answer
- n = 2.
- n = 4.
- Both highlighted output cells are 6, so both inputs solve it.
Quick check 4 of 8
Use the pictured table. Is it a function? Is it one-to-one?
Show the steps and the answer
- Function: yes, because every input has one output.
- One-to-one: no, because inputs 2 and 6 share output 11.
Quick check 5 of 8
For f(x) = 11 − 6x, simplify , h ≠ 0.
Show the steps and the answer
Quick check 6 of 8
In words, what does measure?
Show the steps and the answer
Quick check 7 of 8
Read the pictured square-root graph. What are its domain and range?
Show the steps and the answer
- Domain: [0, ∞).
- Range: [0, ∞).
- The graph starts at (0, 0), runs right forever, and rises without a largest height.
Quick check 8 of 8
Does y = + 1 pass the vertical and horizontal line tests on all real inputs?
Show the steps and the answer
- Vertical: yes, because each input gives one output + 1.
- Horizontal: no, because inputs −1 and 1 both give output 2.