Algebra 1Functions2 of 3
Functions · 2

Function Notation

1

Why We Use Function Notation

When we plug a number into an equation and write y=7\functionvalue{y} = 7 at the end, that final line doesn't show what input we plugged in to get 7\functionvalue{7}, or which rule we used if there is more than one.

Why We Use Function Notation
y=2x+1x=3y=  ?\displaystyle \begin{aligned}\functionvalue{y}&=\functionvalue{2}x+\functionvalue{1}\\x&=3\\\functionvalue{y}&=\;?\end{aligned}

Function notation solves both problems at once by giving each rule its own name, such as f\functionvalue{f}, g\othervalue{g}, or h\thirdrule{h}, and keeping the input inside parentheses right next to it. For the rule f(x)=2x+1\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}x + \functionvalue{1}, plugging in 33 gives 2(3)+1=7\functionvalue{2}(3) + \functionvalue{1} = 7, which we write in a single statement:

f⏟rule name(3⏟input)\displaystyle \underbrace{\functionvalue{f}}_{\text{rule name}}(\underbrace{3}_{\text{input}}) =7⏟output\displaystyle = \underbrace{\functionvalue{7}}_{\text{output}}

Unlike 3(x)3(x), where a number right next to parentheses means multiplication, the parentheses in f(x)\functionvalue{f(}x\functionvalue{)} only hold the input. We read it as "f\functionvalue{f} of xx," never f\functionvalue{f} times xx.

2

Evaluating Function Rules

To find the output of a function rule like f(x)=3x−5\functionvalue{f(}x\functionvalue{)} = \functionvalue{3}x - \functionvalue{5} for a given input, we replace the placeholder xx with that input and simplify the right side.

Evaluating Function Rules
f(x)=3x−5f(4)=  ?\displaystyle \begin{aligned}\functionvalue{f(}x\functionvalue{)}&=\functionvalue{3}x-\functionvalue{5}\\\functionvalue{f(}4\functionvalue{)}&=\;?\end{aligned}
Text solution
Turn xx into empty parenthesesThe letter xx in f(x)=3x−5\functionvalue{f(}x\functionvalue{)} = \functionvalue{3}x - \functionvalue{5} is just holding an input slot open, so rewrite the rule with empty parentheses.
f()\displaystyle \functionvalue{f(}\quad\functionvalue{)} =3()−5\displaystyle = \functionvalue{3}(\quad) - \functionvalue{5}
Put 44 into the parentheses and simplifyTo find f(4)\functionvalue{f(}4\functionvalue{)}, place 44 inside both sets of parentheses and work out the math on the right side.
f(4)=3(4)−5=12−5=7\displaystyle \begin{aligned} \functionvalue{f(}4\functionvalue{)} &= \functionvalue{3}(4) - \functionvalue{5} \\ &= 12 - 5 \\ &= 7 \end{aligned}
Stop right at f(4)=7\functionvalue{f(}4\functionvalue{)} = 7. Never divide both sides by 44 to "solve for f\functionvalue{f}," because f(4)\functionvalue{f(}4\functionvalue{)} is just the label for the output when the input is 44.
Now a negative input, f(−2)\functionvalue{f(}-2\functionvalue{)}. Keeping the parentheses around −2-2 keeps the negative sign attached when we multiply by 33:
f(−2)=3(−2)−5=−6−5=−11\displaystyle \begin{aligned} \functionvalue{f(}-2\functionvalue{)} &= \functionvalue{3}(-2) - \functionvalue{5} \\ &= -6 - 5 \\ &= -11 \end{aligned}
Now an algebraic expression, f(a+1)\functionvalue{f(}a + 1\functionvalue{)}. An expression goes into the empty parentheses the exact same way a single number does, and then we distribute to simplify the right side:
f(a+1)=3(a+1)−5=3a+3−5=3a−2\displaystyle \begin{aligned} \functionvalue{f(}a + 1\functionvalue{)} &= \functionvalue{3}(a + 1) - \functionvalue{5} \\ &= 3a + 3 - 5 \\ &= 3a - 2 \end{aligned}
When an expression combines two rules, such as f(x)=2x+1\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}x + \functionvalue{1} and g(x)=x2\othervalue{g(}x\othervalue{)} = \othervalue{x^2}, each piece like f(3)\functionvalue{f(}3\functionvalue{)} or g(5)\othervalue{g(}5\othervalue{)} is just a single output number:
Find each output on its ownPlug 33 into rule f\functionvalue{f} and 55 into rule g\othervalue{g} separately.
f(3)=2(3)+1=7g(5)=(5)2=25\displaystyle \begin{aligned}\functionvalue{f(}3\functionvalue{)} &= \functionvalue{2}(3) + \functionvalue{1} = \functionvalue{7} \\ \othervalue{g(}5\othervalue{)} &= (5)^2 = \othervalue{25}\end{aligned}
Replace each piece with its numberSubstitute those numbers into the problem and do the arithmetic.
f(3)+g(5)=7+25=324⋅f(3)=4⋅7=28\displaystyle \begin{aligned}\functionvalue{f(}3\functionvalue{)} + \othervalue{g(}5\othervalue{)} &= \functionvalue{7} + \othervalue{25} = 32 \\ 4 \cdot \functionvalue{f(}3\functionvalue{)} &= 4 \cdot \functionvalue{7} = 28\end{aligned}

In f()=3()−5\functionvalue{f(}\quad\functionvalue{)} = \functionvalue{3}(\quad) - \functionvalue{5}, whatever input goes into the parentheses on the left also goes into the parentheses on the right, while the left side stays as the label f(input)\functionvalue{f(}\text{input}\functionvalue{)}.

Whatever goes into the parentheses on the left automatically fills the parentheses on the right, and only the right side gets calculated.
3

Finding an Input from an Output

So far we have been given the input inside the parentheses and asked for the output. Now we want to work backward: we are given the final output of the rule f(x)=2x+1\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}x + \functionvalue{1} and asked to find the input xx that gave it.

Finding an Input from an Output
f(x)=2x+1A:   f(11)=  ?B:   f(x)=11(find x)\displaystyle \begin{aligned}\functionvalue{f(}x\functionvalue{)}&=\functionvalue{2}x+\functionvalue{1}\\\text{A: }\;\functionvalue{f(}11\functionvalue{)}&=\;?\\\text{B: }\;\functionvalue{f(}x\functionvalue{)}&=\functionvalue{11}\quad\text{(find }x\text{)}\end{aligned}
Text solution
In f(11)\functionvalue{f(}11\functionvalue{)}, the 1111 sits inside the parentheses as the input, so we plug 1111 in for xx to get 2(11)+1=23\functionvalue{2}(11) + \functionvalue{1} = 23. In f(x)=11\functionvalue{f(}x\functionvalue{)} = \functionvalue{11}, the xx is still unknown inside the parentheses and 1111 is the whole output.
Replace f(x)\functionvalue{f(}x\functionvalue{)} with the output 11\functionvalue{11}Since f(x)\functionvalue{f(}x\functionvalue{)} and 2x+1\functionvalue{2}x + \functionvalue{1} both stand for the output, set the entire rule equal to 11\functionvalue{11}.
11\displaystyle 11 =2x+1\displaystyle = \functionvalue{2}x + \functionvalue{1}
Solve for the input xxSubtract 11 from both sides and divide by 22.
10=2x5=x\displaystyle \begin{aligned} 10 &= 2x \\ 5 &= x \end{aligned}

So an input of x=5x = 5 gives an output of 1111, which matches f(5)=2(5)+1=11\functionvalue{f(}5\functionvalue{)} = \functionvalue{2}(5) + \functionvalue{1} = 11.

4

Function Notation with Tables

A function doesn't have to be given by an equation. Sometimes the inputs and outputs are already worked out in a table, and we just need to know which column to read.

Function Notation with Tables
input x\text{input }x
output f(x)\text{output }\htmlClass{lc-blue}{f(}x\htmlClass{lc-blue}{)}
−1-1
5\htmlClass{lc-blue}{5}
00
8\htmlClass{lc-blue}{8}
22
3\htmlClass{lc-blue}{3}
44
8\htmlClass{lc-blue}{8}
77
−1\htmlClass{lc-blue}{-1}
input x\text{input }x
output f(x)\text{output }\htmlClass{lc-blue}{f(}x\htmlClass{lc-blue}{)}
−1-1
5\htmlClass{lc-blue}{5}
0\htmlClass{lc-green}{0}
8\htmlClass{lc-blue}{8}
22
3\htmlClass{lc-blue}{3}
4\htmlClass{lc-green}{4}
8\htmlClass{lc-blue}{8}
77
−1\htmlClass{lc-blue}{-1}
Text solution
Find f(2)\functionvalue{f(}2\functionvalue{)} from the input columnBecause 22 is inside the parentheses, find 22 in the left column (xx) and read across to the output column.
f(2)\displaystyle \functionvalue{f(}2\functionvalue{)} =3\displaystyle = 3
Find xx when f(x)=−1\functionvalue{f(}x\functionvalue{)} = \functionvalue{-1} from the output columnBecause −1\functionvalue{-1} is on the other side of the equals sign, skip the −1-1 at the top of the xx column, find −1\functionvalue{-1} at the bottom of the f(x)\functionvalue{f(}x\functionvalue{)} column, and read left to the input.
x\displaystyle \matchedinput{x} =7\displaystyle = \matchedinput{7}
Find all xx when f(x)=8\functionvalue{f(}x\functionvalue{)} = \functionvalue{8}Every input in a function has only one output, so plugging in an input only ever gives one answer, but different inputs can share the same output. Look down the entire f(x)\functionvalue{f(}x\functionvalue{)} column for every 8\functionvalue{8} and list both matching inputs.
x=0andx=4\displaystyle \begin{aligned}\matchedinput{x} &= \matchedinput{0} \\ \text{and}\quad \matchedinput{x} &= \matchedinput{4}\end{aligned}
Check the output column for f(x)=6\functionvalue{f(}x\functionvalue{)} = \functionvalue{6}Because 6\functionvalue{6} never shows up in the f(x)\functionvalue{f(}x\functionvalue{)} column, no input in the table gives 6\functionvalue{6}, so there is no solution.
5

Function Notation with Graphs

When a function is drawn as a curve on a coordinate grid, we can read inputs and outputs right off the axes because f(x)\functionvalue{f(}x\functionvalue{)} is just the vertical height y\functionvalue{y}.

Function Notation with Graphs
−2-2
33
55
66
−2-2
11
44
55
66
xx
y=f(x)\htmlClass{lc-blue}{y} = \htmlClass{lc-blue}{f(}x\htmlClass{lc-blue}{)}
f(x)\htmlClass{lc-blue}{f(}x\htmlClass{lc-blue}{)}
−2\htmlClass{lc-green}{-2}
33
5\htmlClass{lc-green}{5}
66
−2-2
11
55
66
4\htmlClass{lc-blue}{4}
xx
y=f(x)\htmlClass{lc-blue}{y} = \htmlClass{lc-blue}{f(}x\htmlClass{lc-blue}{)}
f(3)=−2\htmlClass{lc-blue}{f(}3\htmlClass{lc-blue}{)} = \htmlClass{lc-blue}{-2}
Text solution
Because y=f(x)\functionvalue{y} = \functionvalue{f(}x\functionvalue{)}, every point (x,y)(x, \functionvalue{y}) on the curve is an input-output pair:
(x⏟left/right,f(x)⏟height)\displaystyle (\underbrace{x}_{\text{left/right}}, \underbrace{\functionvalue{f(}x\functionvalue{)}}_{\text{height}})
Find f(3)\functionvalue{f(}3\functionvalue{)} by starting on the xx-axisSince 33 is the input inside the parentheses, go to 33 on the horizontal axis and look down to the curve at (3,−2)(3, \functionvalue{-2}) to read its height.
f(3)\displaystyle \functionvalue{f(}3\functionvalue{)} =−2\displaystyle = -2
Find xx when f(x)=4\functionvalue{f(}x\functionvalue{)} = \functionvalue{4} by looking across at height 4\functionvalue{4}Since 44 is the output height, go to 4\functionvalue{4} on the vertical axis and look all the way left and right across the grid to find both points where the curve reaches height 4\functionvalue{4}, at (−2,4)(\matchedinput{-2}, \functionvalue{4}) and (5,4)(\matchedinput{5}, \functionvalue{4}).
x=−2andx=5\displaystyle \begin{aligned}\matchedinput{x} &= \matchedinput{-2} \\ \text{and}\quad \matchedinput{x} &= \matchedinput{5}\end{aligned}
Check height 6\functionvalue{6} for f(x)=6\functionvalue{f(}x\functionvalue{)} = \functionvalue{6}Looking across at height 6\functionvalue{6} stays completely above the curve's highest point of 5\functionvalue{5}, so the curve never reaches 6\functionvalue{6} and there is no solution.

Depending on the height we pick, looking across can hit the curve at two or more inputs, touch just one input at a peak or low point, or miss the curve completely when there is no solution.

Every spot where the horizontal line meets the curve gives an input for that height, so one height can have two inputs, one input, or none.
6

Function Notation in Word Problems

In word problems, we often replace f\functionvalue{f} and xx with letters that match the situation. The problem tells us the units of the input and output.

Function Notation in Word Problems
gallons\text{gallons}
W(t)\htmlClass{lc-blue}{W(}t\htmlClass{lc-blue}{)}
minutes\text{minutes}
Text solution
When W(t)\functionvalue{W(}t\functionvalue{)} represents the gallons of water in a swimming pool after tt minutes, tt is the time in minutes and W(t)\functionvalue{W(}t\functionvalue{)} is the amount of water in gallons.
W⏟function name(10⏟minutes)\displaystyle \underbrace{\functionvalue{W}}_{\text{function name}}(\underbrace{10}_{\text{minutes}}) =50⏟gallons\displaystyle = \underbrace{\functionvalue{50}}_{\text{gallons}}
Read W(10)=50\functionvalue{W(}10\functionvalue{)} = \functionvalue{50} using the input and output unitsAn input of t=10t = 10 minutes gives an output of W(10)=50\functionvalue{W(}10\functionvalue{)} = \functionvalue{50} gallons, so after 1010 minutes there are 50\functionvalue{50} gallons of water in the pool.
Compare two outputs in W(20)>W(5)\functionvalue{W(}20\functionvalue{)} > \functionvalue{W(}5\functionvalue{)}Since W(20)\functionvalue{W(}20\functionvalue{)} and W(5)\functionvalue{W(}5\functionvalue{)} stand for the gallons of water at 2020 minutes and at 55 minutes, the inequality says there is more water in the pool at 2020 minutes than there was at 55 minutes.

Key concepts

A statement like f(3)=7\functionvalue{f(}3\functionvalue{)} = \functionvalue{7} puts three pieces of information into one line:

Name(Input)\displaystyle \functionvalue{\text{Name}}(\text{Input}) =Output\displaystyle = \functionvalue{\text{Output}}

When you're asked to find f(4)\functionvalue{f(}4\functionvalue{)} or to find xx if f(x)=11\functionvalue{f(}x\functionvalue{)} = \functionvalue{11}, check where the given number appears:

Number inside the parentheses, like f(4)\functionvalue{f(}4\functionvalue{)}

You are given the input xx and want the single output.

  • With an equation (f(x)=3x−5\functionvalue{f(}x\functionvalue{)} = \functionvalue{3}x - \functionvalue{5}): Turn xx into empty parentheses f()=3()−5\functionvalue{f(}\quad\functionvalue{)} = \functionvalue{3}(\quad) - \functionvalue{5} and put the input in to get f(4)=3(4)−5=7\functionvalue{f(}4\functionvalue{)} = \functionvalue{3}(4) - \functionvalue{5} = 7. Stop there. Do not divide by 44, because f(4)\functionvalue{f(}4\functionvalue{)} is a label, not multiplication.
  • With a table or graph: Start at the input xx in the left column or on the horizontal axis, and read the single output across the row or vertically to the curve.
Number on the other side of ==, like f(x)=11\functionvalue{f(}x\functionvalue{)} = \functionvalue{11}

You are given the output f(x)\functionvalue{f(}x\functionvalue{)} and must work backward to find every input xx that gives it.

  • With an equation (f(x)=2x+1\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}x + \functionvalue{1}): Do not plug 1111 in for xx. Replace the whole f(x)\functionvalue{f(}x\functionvalue{)} side with 11\functionvalue{11} and solve 11=2x+111 = \functionvalue{2}x + \functionvalue{1} to get x=5x = 5.
  • With a table or graph: Look in the f(x)\functionvalue{f(}x\functionvalue{)} column or look all the way left and right at height y=k\functionvalue{y} = \functionvalue{k}. Because different inputs can share the same output (or never reach a height at all), working backward from an output can give one xx, multiple xx-values, or no solution.
7

Practice

1

Given f(x)=4x−3\functionvalue{f(}x\functionvalue{)} = \functionvalue{4}x - \functionvalue{3}, find f(6)\functionvalue{f(}6\functionvalue{)}.

Is 66 inside the parentheses as the input, or outside as the output? Rewrite the rule with empty parentheses f()=4()−3\functionvalue{f(}\quad\functionvalue{)} = \functionvalue{4}(\quad) - \functionvalue{3} first.

Put 66 into the empty parentheses for xx and simplify the right side:
f(6)=4(6)−3=24−3=21\displaystyle \begin{aligned} \functionvalue{f(}6\functionvalue{)} &= \functionvalue{4}(6) - \functionvalue{3} \\ &= 24 - 3 \\ &= 21 \end{aligned}
Watch out for treating f(6)=21\functionvalue{f(}6\functionvalue{)} = 21 as multiplication and dividing by 66 to get 3.53.5 (or setting 4x−3=6\functionvalue{4}x - \functionvalue{3} = 6 to get 94\frac{9}{4}). The left side f(6)\functionvalue{f(}6\functionvalue{)} is just the label for the output. Final answer: 2121
2

Given g(x)=12−5x\othervalue{g(}x\othervalue{)} = \othervalue{12} - \othervalue{5}x, find g(−2)\othervalue{g(}-2\othervalue{)}.

Write g()=12−5()\othervalue{g(}\quad\othervalue{)} = \othervalue{12} - \othervalue{5}(\quad) so −2-2 goes inside its own parentheses right after −5-5. Pay attention to the sign when multiplying −5-5 and −2-2.

Substitute −2-2 into the empty parentheses:
g(−2)\displaystyle \othervalue{g(}-2\othervalue{)} =12−5(−2)\displaystyle = \othervalue{12} - \othervalue{5}(-2)
Be careful not to lose a negative sign and write 12−10=212 - 10 = 2, or subtract 12−512 - 5 first to get 7(−2)=−147(-2) = -14. Multiplying −5-5 by −2-2 gives +10+10:
g(−2)=12+10=22\displaystyle \begin{aligned} \othervalue{g(}-2\othervalue{)} &= 12 + 10 \\ &= 22 \end{aligned}
Final answer: 2222
3

Let C(m)\functionvalue{C(}m\functionvalue{)} represent the cost, in dollars, of a taxi ride that is mm miles long. What does C(8)=20\functionvalue{C(}8\functionvalue{)} = \functionvalue{20} mean in plain words, and how do you write "a 12-mile ride costs more than a 5-mile ride" using function notation?

Check the units for each part of C(m)\functionvalue{C(}m\functionvalue{)}: what unit goes inside the parentheses for mm, and what unit belongs to the whole output C(m)\functionvalue{C(}m\functionvalue{)}?

Inside the parentheses, mm is the ride length in miles, and the output C(m)\functionvalue{C(}m\functionvalue{)} is the cost in dollars. Watch out for swapping the input and output to say "an $8\$8 ride goes 2020 miles," or comparing the mile numbers 12>512 > 5 instead of the costs C(12)\functionvalue{C(}12\functionvalue{)} and C(5)\functionvalue{C(}5\functionvalue{)}. Final answer: An 8-mile taxi ride costs $20\$20; C(12)>C(5)\functionvalue{C(}12\functionvalue{)} > \functionvalue{C(}5\functionvalue{)}
4

Given f(x)=2x+3\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}x + \functionvalue{3} and g(x)=x2\othervalue{g(}x\othervalue{)} = \othervalue{x^2}, find 3⋅f(4)−g(5)3 \cdot \functionvalue{f(}4\functionvalue{)} - \othervalue{g(}5\othervalue{)}.

Find the single output number for f(4)\functionvalue{f(}4\functionvalue{)} and the single output number for g(5)\othervalue{g(}5\othervalue{)} separately before multiplying by 33 or subtracting.

Evaluate f(4)\functionvalue{f(}4\functionvalue{)} and g(5)\othervalue{g(}5\othervalue{)} on their own first:
f(4)=2(4)+3=11g(5)=(5)2=25\displaystyle \begin{aligned}\functionvalue{f(}4\functionvalue{)} &= \functionvalue{2}(4) + \functionvalue{3} = \functionvalue{11} \\ \othervalue{g(}5\othervalue{)} &= (5)^2 = \othervalue{25}\end{aligned}
Don't multiply the input 44 by 33 to evaluate f(12)=27\functionvalue{f(}12\functionvalue{)} = 27 (which gives 27−25=227 - 25 = 2), and remember 52=255^2 = 25 rather than 5⋅2=105 \cdot 2 = 10 (which gives 33−10=2333 - 10 = 23). Substitute 11\functionvalue{11} and 25\othervalue{25} into the expression:
3⋅f(4)−g(5)=3(11)−25=33−25=8\displaystyle \begin{aligned} 3 \cdot \functionvalue{f(}4\functionvalue{)} - \othervalue{g(}5\othervalue{)} &= 3(\functionvalue{11}) - \othervalue{25} \\ &= 33 - \othervalue{25} \\ &= 8 \end{aligned}
Final answer: 88
5

Given f(x)=3x−7\functionvalue{f(}x\functionvalue{)} = \functionvalue{3}x - \functionvalue{7}, find xx if f(x)=14\functionvalue{f(}x\functionvalue{)} = \functionvalue{14}.

Look at where 1414 sits: is it inside the parentheses, or is it what the entire output f(x)\functionvalue{f(}x\functionvalue{)} equals?

Because 14\functionvalue{14} is on the other side of the equals sign, it is the output. Do not plug 1414 in for xx to get 3(14)−7=353(14) - 7 = 35. Replace the entire f(x)\functionvalue{f(}x\functionvalue{)} side with 14\functionvalue{14}:
14\displaystyle 14 =3x−7\displaystyle = \functionvalue{3}x - \functionvalue{7}
Add 77 to both sides (subtracting 77 instead gives 3x=73x = 7, or x=73x = \frac{7}{3}) and divide by 33:
21=3xx=7\displaystyle \begin{aligned} 21 &= 3x \\ x &= 7 \end{aligned}
Final answer: x=7x = 7
6

A function f\functionvalue{f} is given by a table of (x,f(x))(x, \functionvalue{f(}x\functionvalue{)}) pairs: (−4,6)(-4, \functionvalue{6}), (0,3)(0, \functionvalue{3}), (2,−4)(2, \functionvalue{-4}), (6,8)(6, \functionvalue{8}), and (9,6)(9, \functionvalue{6}). Find f(6)\functionvalue{f(}6\functionvalue{)}, and find all values of xx for which f(x)=6\functionvalue{f(}x\functionvalue{)} = \functionvalue{6}.

Each pair is written as (input x,output f(x))(\text{input } x, \text{output } \functionvalue{f(}x\functionvalue{)}). Which position do you check for f(6)\functionvalue{f(}6\functionvalue{)}, and which position do you check across every pair for f(x)=6\functionvalue{f(}x\functionvalue{)} = \functionvalue{6}?

For f(6)\functionvalue{f(}6\functionvalue{)}, the 66 is inside the parentheses, so find 66 in the first coordinate: the pair (6,8)(6, \functionvalue{8}) gives f(6)=8\functionvalue{f(}6\functionvalue{)} = 8. Don't look for 66 in the second coordinate when finding f(6)\functionvalue{f(}6\functionvalue{)} (which would give −4-4 or 99). For f(x)=6\functionvalue{f(}x\functionvalue{)} = \functionvalue{6}, check the second coordinate across all pairs and make sure not to stop at (−4,6)(\matchedinput{-4}, \functionvalue{6}) and miss (9,6)(\matchedinput{9}, \functionvalue{6}) at the end. Final answer: f(6)=8\functionvalue{f(}6\functionvalue{)} = 8; x=−4\matchedinput{x} = \matchedinput{-4} and x=9\matchedinput{x} = \matchedinput{9}
7

On a coordinate grid, the graph of y=f(x)\functionvalue{y} = \functionvalue{f(}x\functionvalue{)} rises from (−5,0)(-5, \functionvalue{0}) through (−3,2)(-3, \functionvalue{2}) to a highest point at (0,4)(0, \functionvalue{4}), then falls through (2,2)(2, \functionvalue{2}) to its right endpoint at (4,−1)(4, \functionvalue{-1}). Find f(4)\functionvalue{f(}4\functionvalue{)}, find all values of xx for which f(x)=2\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}, and find all values of xx for which f(x)=5\functionvalue{f(}x\functionvalue{)} = \functionvalue{5}.

Every point on the curve is (x,f(x))(x, \functionvalue{f(}x\functionvalue{)}), where xx is the horizontal position and f(x)\functionvalue{f(}x\functionvalue{)} is the height. Where does the curve reach height 2\functionvalue{2} on the way up and on the way down, and how high does its peak reach?

For f(4)\functionvalue{f(}4\functionvalue{)}, 44 is the horizontal input xx, so look at the right endpoint (4,−1)(4, \functionvalue{-1}). Don't confuse x=4x = 4 with height y=4\functionvalue{y} = \functionvalue{4} at the peak (0,4)(0, \functionvalue{4}), which would give 00. For f(x)=2\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}, look all the way across at height 2\functionvalue{2} to find both (−3,2)(\matchedinput{-3}, \functionvalue{2}) on the way up and (2,2)(\matchedinput{2}, \functionvalue{2}) on the way down instead of stopping at x=−3\matchedinput{x} = \matchedinput{-3}. For f(x)=5\functionvalue{f(}x\functionvalue{)} = \functionvalue{5}, height 5\functionvalue{5} is above the highest point (0,4)(0, \functionvalue{4}), so the curve never reaches it. Final answer: f(4)=−1\functionvalue{f(}4\functionvalue{)} = -1; x=−3\matchedinput{x} = \matchedinput{-3} and x=2\matchedinput{x} = \matchedinput{2} for f(x)=2\functionvalue{f(}x\functionvalue{)} = \functionvalue{2}; no solution for f(x)=5\functionvalue{f(}x\functionvalue{)} = \functionvalue{5}
8

Given f(x)=5x−4\functionvalue{f(}x\functionvalue{)} = \functionvalue{5}x - \functionvalue{4}, find and simplify f(2a+3)\functionvalue{f(}2a + 3\functionvalue{)}.

Write f()=5()−4\functionvalue{f(}\quad\functionvalue{)} = \functionvalue{5}(\quad) - \functionvalue{4} with empty parentheses and put the entire expression 2a+32a + 3 inside the parentheses.

Substitute 2a+32a + 3 into the empty parentheses on both sides:
f(2a+3)\displaystyle \functionvalue{f(}2a + 3\functionvalue{)} =5(2a+3)−4\displaystyle = \functionvalue{5}(2a + 3) - \functionvalue{4}
Keep the parentheses around 2a+32a + 3 so the 55 distributes to both terms; forgetting to multiply 33 by 55 gives 10a+3−4=10a−110a + 3 - 4 = 10a - 1. Distribute 55 and combine the constants:
f(2a+3)=10a+15−4=10a+11\displaystyle \begin{aligned} \functionvalue{f(}2a + 3\functionvalue{)} &= 10a + 15 - 4 \\ &= 10a + 11 \end{aligned}
Final answer: 10a+1110a + 11