Read function notation as an instruction
Quick review (2 minutes)
A recipe has a name, an ingredient amount, and a finished result.
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.
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.
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.
(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.
Reading f(x) as f times x. A function name identifies a rule rather than a number being multiplied.
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.
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.
Relation
A set of ordered pairs that connects inputs with outputs. It can have conflicting outputs and need not be a function.
Ordered pair
Two values written in a fixed order. Here the first is an input and the second is its paired output.
Set
A collection of distinct members. Braces list them, and repeating a member does not create a new member.
Integer
A whole number or its negative, including zero. Fractions between whole numbers are not integers.
Real number
A number on the number line, including integers, fractions and numbers such as .
Variable
A letter that represents a number or another chosen value.
Function
A relation assigning exactly one output to every input in its domain.
Input
A value chosen for a function. The definition decides which values are allowed.
Output
The result a function assigns to a particular input.
Independent variable
The input variable. You choose its value from the domain before the rule gives a result.
Dependent variable
The output variable. Its value is determined by the chosen input and the rule.
Domain
The set of all inputs accepted by the defined relation or function.
Range
The set of all outputs actually produced by the defined relation or function.
Function notation
Writing an output as f(x), with the rule name outside and the input inside parentheses.
Algebraic expression
A combination of values, letters and operations, without asserting an equality.
Formula
A mathematical instruction connecting quantities, often written as an equation.
Evaluate
Find the output at a given input by applying the rule or reading its representation.
Solve
Find every allowed input that satisfies a stated equation or produces a specified output.
Table of values
A display pairing inputs with outputs. Each row or column keeps one pair together.
Difference quotient
The average rate of change: new output minus old output, divided by the nonzero input step h. It is the slope between two graph points.
Even
An integer divisible by 2 into an integer result.
≠
A symbol saying two quantities are not equal.
→
An arrow showing which output is paired with an input. Read it goes to.
Difference
The result of a subtraction. For a change, subtract the old value from the new value.
Quotient
The result of a division. The divisor must be nonzero.
Nonleap year
A calendar year with 365 days and 28 days in February. Fixing this kind of year makes each month have one day count.
Leap year
A calendar year with 366 days, including February 29. Fix the year before asking for a month's day count.
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
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
: 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
f of two equals six.
The output of f at input 2 is 6.
- f(2) = 6
- (2, 6)
- When x = 2, y = 6.
- The column with input 2 over output 6 gives the same pair.
Button 2 gives the result labeled 6.
The same idea, other ways
f is the recipe name, x is your ingredient amount, and f(x) is the finished amount.
In d(March) = 31, d names the rule, March names the input, and 31 is the output.
f(3) starts at input 3. f(x) = 3 starts at output 3. Put your finger on the given side before moving.
Once you name a rule f, you can ask for many outputs without rewriting its full recipe each time.
| For f(x) = + 3x − 4 | It asks | First move and result |
|---|---|---|
| f(2) | Input 2 is given. Find its output. | |
| f(a + h) | The whole input a + h is given. Find its output expression. | (a + h + 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) = 6 | Output 6 is given. Find every input. | Set + 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.
The same idea, five ways
P of twenty eighteen equals two hundred forty.
In the input year 2018, the officer-count output is 240.
- P(2018) = 240
- (2018, 240)
- t = 2018 gives P(t) = 240
The date label on a record tells you when its count applies.
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.
- Plan. Read the definition for units, then read input inside parentheses and output after equals.
- t was defined as the year.
- 240 is the count returned by P.
- Read the input inside the parentheses: .The model defines t as a calendar year, not an officer count.
- Read the output after the equals sign: 240 officers.P(t) is defined as the count of officers.
- State the relationship in words: in 2018 the town had 240 officers.Including both units prevents swapping the input and output.
Counterexamples
What it is not, and the tempting wrong moves.
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.
The same idea, five ways
j of a plus two.
Apply the j rule to the complete input a + 2.
- j(x) = 2x + 1
- j(a + 2) = 2(a + 2) + 1
- j(a + 2) = 2a + 5
Keep the whole ingredient package together before the recipe doubles it.
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.
- Plan. Copy the entire input into the x slot. Multiply the complete parentheses by 2, then add 1.
- For input a + 2, first write 2(a + 2) + 1.
- The multiplier reaches a and 2: 2a + 4.
- Write .The input 3 replaces x in the rule.
- Write .The entire expression a + 2 replaces the input variable.
- Distribute: .Two copies of a + 2 contain 2a plus 4.
- j(3) = 7.
- j(a + 2) = 2a + 5.
Counterexamples
What it is not, and the tempting wrong moves.
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.
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
The column under two says f of two equals one.
A table column is one input-output pair.
- f(2) = 1
- (2, 1)
- Input 2 → output 1
- The output directly below input 2 is 1.
Read the two halves of one paired recipe card together.
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.
Show the steps and the answer
- 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 .Before reading any value, we need to know which row of the table is the input and which is the output.
- (a) Find the input 10 in the m row. The entry below it in the T(m) row is 62, so .Evaluating means finding an output. We start from the given input and read across to its output.
- Interpret: means that 10 minutes after pouring, the tea is 62 .An answer in function notation should be stated with its units and in terms of the situation.
- (b) Find 54 in the T(m) row. The input above it is , so the solution is .Solving means finding the input that gives a specified output. Here we start from the output 54 and read back to the input.
- Check the T(m) row for any other entry equal to 54. There is none, so is the only solution in the table. Interpret: the tea is 54 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.
- (c) Treat everything inside the parentheses as one input: . Then .The parentheses hold a single input. We simplify it first, then apply the function once.
- Explain the error: the classmate applied T separately to 5 and to 15 and added the outputs. 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.
Work to write
- T(10) = 62, so after 10 minutes the tea is 62 °C
- T(m) = 54 when m = 15, so the tea is 54 °C after 15 minutes
- 5 + 15 = 20, so T(5 + 15) = T(20) = 48 °C
- 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.
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.
The same idea, five ways
d of three equals thirty-one.
Month input 3, March, gives output 31 days.
- d(3) = 31
- (3, 31)
- Domain: {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}
- Range: {28, 30, 31}
Month numbers are labels on twelve calendar pages, not all numbers between 1 and 12.
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.
Show the steps and the answer
- 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.
- (a) The input is 5. Find n = 5 in the input row and read the output below it: .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.
- 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.
- (b) Treat everything inside the parentheses as one input and simplify it first: . So .Whatever sits inside the parentheses is the whole input. B(2·3 + 1) does not mean B(2)·3 + 1.
- Read the table at : . 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).
- (c) Search the output row for every entry equal to 60. It appears at and at , so or .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.
- 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.
- (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 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.
Work to write
- B is the function; n = month number (input); B(n) = loaves sold in hundreds (output)
- B(5) = 56, so 5600 loaves were sold in May
- 2·3 + 1 = 7, so B(2·3 + 1) = B(7) = 63, which is 6300 loaves in July
- B(n) = 60 when n = 6 or n = 8 (June and August)
- B(n) = 40 has no solution, because no table entry equals 40
Counterexamples
What it is not, and the tempting wrong moves.
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.
The same idea, five ways
Age five gives forty inches and forty-two inches.
One input, age 5, has two different listed height outputs.
- (5, 40)
- (5, 42)
- 5 → 40 and 5 → 42
Two five-year-old children need not have the same height.
Worked example
A repeated input can conflict
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?
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.
- Plan. Find all columns for age 5 and compare their heights. One conflicting input is enough to reject the relation as a function.
- There are two highlighted age-5 columns.
- Their outputs are 40 and 42, which are different.
- Find both columns with input age 5.The same starting input must be checked wherever it appears.
- Read their outputs: 40 inches and 42 inches.Those are different heights for the same input.
- Classify the relation as not a function of age alone.Age 5 does not determine one height for this group.
Counterexamples
What it is not, and the tempting wrong moves.
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.
The same idea, five ways
Same output is allowed. Same input with different outputs is not.
Different inputs can share one output; one input cannot choose between two outputs.
- (−3, 5) and (4, 5): allowed
- (5, 2) and (5, 4): not a function
Two buttons may give the same snack, but one button must not have two assigned snacks.
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.
Show the steps and the answer
The plan. Point to the input row in each picture, then compare the columns carrying the repeated number.
- Plan. Point to the input row in each picture, then compare the columns carrying the repeated number.
- In the first table, 5 is in the output row.
- In the second table, 5 is in the input row.
- In the first table, inputs and 4 both give 5, while input 0 gives 1.Every input still has one assigned output.
- In the second table, input 5 gives 2 in one column and 4 in another.The same input has two different outputs.
- First table: function.
- Second table: not a function. Input 5 gives 2 and 4.
Counterexamples
What it is not, and the tempting wrong moves.
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
- 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.
Choose evaluation or solving
- 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.
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
- 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
Counterexamples
What it is not, and the tempting wrong moves.
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.
Comes back in
- Rate of change and average rate of change
- Composition passes one answer into the next function
- Undoing a function, and what f^-1 means
- One steady change, four ways to show it
- Read the starting amount and the amount per step
- Slope: output change divided by input change
- Build the equation from two points
- Turn a real situation into a linear model
- Build and check a line from a table
- Draw a line by plotting points
- The vertex form f(x) = a(x - h)^2 + k
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.