Function notation , like f ( x ) f(x) f ( x ) , gives a function a name and shows its input. It’s a short way to say “the output of f f f when the input is x x x ”, and it makes it easy to work with several functions at once.
f ( x ) f(x) f ( x ) is read ”f f f of x x x ”.
f f f is the name of the function. Other letters are fine too: g g g , h h h , C C C for cost, h h h for height.
x x x is the input .
f ( x ) f(x) f ( x ) is the output .
f ( x ) f(x) f ( x ) does not mean f f f times x x x .
Since the output is the y y y -value, y = f ( x ) y = f(x) y = f ( x ) , and each point on the graph has the form ( x , f ( x ) ) (x, f(x)) ( x , f ( x )) .
To evaluate, replace every x x x with the input, in brackets , then simplify. If f ( x ) = x 2 − 3 x f(x) = x^2 - 3x f ( x ) = x 2 − 3 x :
f ( − 2 ) = ( − 2 ) 2 − 3 ( − 2 ) = 4 + 6 = 10 f(-2) = (-2)^2 - 3(-2) = 4 + 6 = 10 f ( − 2 ) = ( − 2 ) 2 − 3 ( − 2 ) = 4 + 6 = 10
So the point ( − 2 , 10 ) (-2, 10) ( − 2 , 10 ) is on the graph of y = f ( x ) y = f(x) y = f ( x ) .
You can also substitute an expression. For f ( a + 1 ) f(a + 1) f ( a + 1 ) , replace every x x x with ( a + 1 ) (a + 1) ( a + 1 ) .
Find f ( 2 ) f(2) f ( 2 ) : you know the input (2 2 2 ) and want the output.
Solve f ( x ) = 2 f(x) = 2 f ( x ) = 2 : you know the output (2 2 2 ) and want the input(s). There may be more than one answer.
f ( 3 ) f(3) f ( 3 ) is the height of the graph at x = 3 x = 3 x = 3 .
To solve f ( x ) = 3 f(x) = 3 f ( x ) = 3 , find every point on the graph at height 3 3 3 and read their x x x -values.
Let f ( x ) = 3 x − 5 f(x) = 3x - 5 f ( x ) = 3 x − 5 and g ( x ) = x 2 − 2 x g(x) = x^2 - 2x g ( x ) = x 2 − 2 x . Find f ( 4 ) f(4) f ( 4 ) , g ( − 3 ) g(-3) g ( − 3 ) , and f ( 0 ) + g ( 1 ) f(0) + g(1) f ( 0 ) + g ( 1 ) .
Solution.
f ( 4 ) = 3 ( 4 ) − 5 = 7 f(4) = 3(4) - 5 = 7 f ( 4 ) = 3 ( 4 ) − 5 = 7
g ( − 3 ) = ( − 3 ) 2 − 2 ( − 3 ) = 9 + 6 = 15 g(-3) = (-3)^2 - 2(-3) = 9 + 6 = 15 g ( − 3 ) = ( − 3 ) 2 − 2 ( − 3 ) = 9 + 6 = 15
f ( 0 ) + g ( 1 ) = ( 3 ( 0 ) − 5 ) + ( 1 2 − 2 ( 1 ) ) = − 5 + ( − 1 ) = − 6 f(0) + g(1) = \big(3(0) - 5\big) + \big(1^2 - 2(1)\big) = -5 + (-1) = -6 f ( 0 ) + g ( 1 ) = ( 3 ( 0 ) − 5 ) + ( 1 2 − 2 ( 1 ) ) = − 5 + ( − 1 ) = − 6
Let f ( x ) = 2 x 2 − x + 1 f(x) = 2x^2 - x + 1 f ( x ) = 2 x 2 − x + 1 . Find and simplify f ( a + 1 ) f(a + 1) f ( a + 1 ) and f ( 2 x ) f(2x) f ( 2 x ) .
Solution. Replace every x x x with the new input, in brackets.
f ( a + 1 ) = 2 ( a + 1 ) 2 − ( a + 1 ) + 1 = 2 ( a 2 + 2 a + 1 ) − a − 1 + 1 = 2 a 2 + 4 a + 2 − a = 2 a 2 + 3 a + 2 \begin{aligned}
f(a + 1) &= 2(a + 1)^2 - (a + 1) + 1 \\
&= 2(a^2 + 2a + 1) - a - 1 + 1 \\
&= 2a^2 + 4a + 2 - a \\
&= 2a^2 + 3a + 2
\end{aligned} f ( a + 1 ) = 2 ( a + 1 ) 2 − ( a + 1 ) + 1 = 2 ( a 2 + 2 a + 1 ) − a − 1 + 1 = 2 a 2 + 4 a + 2 − a = 2 a 2 + 3 a + 2
f ( 2 x ) = 2 ( 2 x ) 2 − ( 2 x ) + 1 = 8 x 2 − 2 x + 1 f(2x) = 2(2x)^2 - (2x) + 1 = 8x^2 - 2x + 1 f ( 2 x ) = 2 ( 2 x ) 2 − ( 2 x ) + 1 = 8 x 2 − 2 x + 1
Using f f f and g g g from Example 1, solve f ( x ) = 10 f(x) = 10 f ( x ) = 10 and g ( x ) = 8 g(x) = 8 g ( x ) = 8 .
Solution.
3 x − 5 = 10 ⇒ 3 x = 15 ⇒ x = 5 3x - 5 = 10 \quad\Rightarrow\quad 3x = 15 \quad\Rightarrow\quad x = 5 3 x − 5 = 10 ⇒ 3 x = 15 ⇒ x = 5
x 2 − 2 x = 8 x 2 − 2 x − 8 = 0 ( x − 4 ) ( x + 2 ) = 0 \begin{aligned}
x^2 - 2x &= 8 \\
x^2 - 2x - 8 &= 0 \\
(x - 4)(x + 2) &= 0
\end{aligned} x 2 − 2 x x 2 − 2 x − 8 ( x − 4 ) ( x + 2 ) = 8 = 0 = 0
So x = 4 x = 4 x = 4 or x = − 2 x = -2 x = − 2 . Both inputs give an output of 8 8 8 : check g ( 4 ) = 16 − 8 = 8 g(4) = 16 - 8 = 8 g ( 4 ) = 16 − 8 = 8 and g ( − 2 ) = 4 + 4 = 8 g(-2) = 4 + 4 = 8 g ( − 2 ) = 4 + 4 = 8 .
Use the graph of y = h ( x ) y = h(x) y = h ( x ) below to find h ( 3 ) h(3) h ( 3 ) and h ( 1 ) h(1) h ( 1 ) , and to solve h ( x ) = 3 h(x) = 3 h ( x ) = 3 .
Graph of y = h(x), a parabola with vertex (1, 4)
−2
−1
1
2
3
4
−2
−1
1
2
3
4
(3, 0)
(0, 3)
(2, 3)
(1, 4)
y = h(x)
y = 3
Solution.
At x = 3 x = 3 x = 3 the graph is at height 0 0 0 , so h ( 3 ) = 0 h(3) = 0 h ( 3 ) = 0 .
At x = 1 x = 1 x = 1 the graph is at its highest point, height 4 4 4 , so h ( 1 ) = 4 h(1) = 4 h ( 1 ) = 4 .
The dashed line y = 3 y = 3 y = 3 crosses the graph at ( 0 , 3 ) (0, 3) ( 0 , 3 ) and ( 2 , 3 ) (2, 3) ( 2 , 3 ) , so h ( x ) = 3 h(x) = 3 h ( x ) = 3 when x = 0 x = 0 x = 0 or x = 2 x = 2 x = 2 .
Treating f ( x ) f(x) f ( x ) as multiplication. f ( 3 ) f(3) f ( 3 ) means “the output when the input is 3 3 3 ”, not f × 3 f \times 3 f × 3 .
Dropping brackets with negative numbers. For f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 , f ( − 3 ) = ( − 3 ) 2 = 9 f(-3) = (-3)^2 = 9 f ( − 3 ) = ( − 3 ) 2 = 9 . Without brackets you’d get − 3 2 = − 9 -3^2 = -9 − 3 2 = − 9 , which is wrong.
Mixing up f ( 2 ) f(2) f ( 2 ) and f ( x ) = 2 f(x) = 2 f ( x ) = 2 . The first gives you an output. The second asks you to find input(s).
Substituting an expression without brackets. For f ( x ) = 2 x 2 f(x) = 2x^2 f ( x ) = 2 x 2 , f ( a + 1 ) = 2 ( a + 1 ) 2 f(a + 1) = 2(a + 1)^2 f ( a + 1 ) = 2 ( a + 1 ) 2 , not 2 a + 1 2 2a + 1^2 2 a + 1 2 .
Stopping at one answer. Equations like x 2 − 2 x = 8 x^2 - 2x = 8 x 2 − 2 x = 8 can have two solutions. Check whether there’s another.
1. (Warm-up) Let f ( x ) = 5 − 2 x f(x) = 5 - 2x f ( x ) = 5 − 2 x . Find f ( 3 ) f(3) f ( 3 ) , f ( − 1 ) f(-1) f ( − 1 ) , and f ( 0 ) f(0) f ( 0 ) .
Solution f ( 3 ) = 5 − 6 = − 1 , f ( − 1 ) = 5 + 2 = 7 , f ( 0 ) = 5 f(3) = 5 - 6 = -1, \qquad f(-1) = 5 + 2 = 7, \qquad f(0) = 5 f ( 3 ) = 5 − 6 = − 1 , f ( − 1 ) = 5 + 2 = 7 , f ( 0 ) = 5
2. (Warm-up) Let g ( x ) = x 2 + 4 x g(x) = x^2 + 4x g ( x ) = x 2 + 4 x . Find g ( − 2 ) g(-2) g ( − 2 ) and g ( 1 2 ) g\!\left(\dfrac{1}{2}\right) g ( 2 1 ) .
Solution g ( − 2 ) = ( − 2 ) 2 + 4 ( − 2 ) = 4 − 8 = − 4 g(-2) = (-2)^2 + 4(-2) = 4 - 8 = -4 g ( − 2 ) = ( − 2 ) 2 + 4 ( − 2 ) = 4 − 8 = − 4 g ( 1 2 ) = 1 4 + 2 = 9 4 g\!\left(\tfrac{1}{2}\right) = \tfrac{1}{4} + 2 = \tfrac{9}{4} g ( 2 1 ) = 4 1 + 2 = 4 9
3. (Warm-up) Use the table to find f ( 2 ) f(2) f ( 2 ) and to solve f ( x ) = 13 f(x) = 13 f ( x ) = 13 .
x x x 0 0 0 1 1 1 2 2 2 3 3 3 f ( x ) f(x) f ( x ) 4 4 4 7 7 7 10 10 10 13 13 13
Solution f ( 2 ) = 10 f(2) = 10 f ( 2 ) = 10 . The output 13 13 13 appears when x = 3 x = 3 x = 3 , so f ( x ) = 13 f(x) = 13 f ( x ) = 13 when x = 3 x = 3 x = 3 .
4. (Core) Let f ( x ) = 3 x + 2 f(x) = 3x + 2 f ( x ) = 3 x + 2 . Solve f ( x ) = − 10 f(x) = -10 f ( x ) = − 10 .
Solution 3 x + 2 = − 10 ⇒ 3 x = − 12 ⇒ x = − 4 3x + 2 = -10 \quad\Rightarrow\quad 3x = -12 \quad\Rightarrow\quad x = -4 3 x + 2 = − 10 ⇒ 3 x = − 12 ⇒ x = − 4
5. (Core) Let h ( x ) = x 2 − 6 x h(x) = x^2 - 6x h ( x ) = x 2 − 6 x . Solve h ( x ) = − 5 h(x) = -5 h ( x ) = − 5 .
Solution x 2 − 6 x + 5 = 0 ⇒ ( x − 1 ) ( x − 5 ) = 0 x^2 - 6x + 5 = 0 \quad\Rightarrow\quad (x - 1)(x - 5) = 0 x 2 − 6 x + 5 = 0 ⇒ ( x − 1 ) ( x − 5 ) = 0 So x = 1 x = 1 x = 1 or x = 5 x = 5 x = 5 . Check: h ( 1 ) = 1 − 6 = − 5 h(1) = 1 - 6 = -5 h ( 1 ) = 1 − 6 = − 5 and h ( 5 ) = 25 − 30 = − 5 h(5) = 25 - 30 = -5 h ( 5 ) = 25 − 30 = − 5 .
6. (Core) Let f ( x ) = x 2 − 3 x f(x) = x^2 - 3x f ( x ) = x 2 − 3 x . Find and simplify f ( a − 2 ) f(a - 2) f ( a − 2 ) .
Solution f ( a − 2 ) = ( a − 2 ) 2 − 3 ( a − 2 ) = a 2 − 4 a + 4 − 3 a + 6 = a 2 − 7 a + 10 \begin{aligned}
f(a - 2) &= (a - 2)^2 - 3(a - 2) \\
&= a^2 - 4a + 4 - 3a + 6 \\
&= a^2 - 7a + 10
\end{aligned} f ( a − 2 ) = ( a − 2 ) 2 − 3 ( a − 2 ) = a 2 − 4 a + 4 − 3 a + 6 = a 2 − 7 a + 10
7. (Core) A school club orders T-shirts. The cost in dollars for n n n shirts is C ( n ) = 8 n + 45 C(n) = 8n + 45 C ( n ) = 8 n + 45 .
(a) Find C ( 20 ) C(20) C ( 20 ) and explain what it means.
(b) Solve C ( n ) = 285 C(n) = 285 C ( n ) = 285 and explain what it means.
Solution (a) C ( 20 ) = 8 ( 20 ) + 45 = 205 C(20) = 8(20) + 45 = 205 C ( 20 ) = 8 ( 20 ) + 45 = 205 . Ordering 20 shirts costs $205.
(b) 8 n + 45 = 285 8n + 45 = 285 8 n + 45 = 285 , so 8 n = 240 8n = 240 8 n = 240 and n = 30 n = 30 n = 30 . For $285, the club can order 30 shirts.
8. (Challenge) Let f ( x ) = a x + 3 f(x) = ax + 3 f ( x ) = a x + 3 . If f ( 2 ) = 11 f(2) = 11 f ( 2 ) = 11 , find a a a , then find f ( − 1 ) f(-1) f ( − 1 ) .
Solution f ( 2 ) = 2 a + 3 = 11 f(2) = 2a + 3 = 11 f ( 2 ) = 2 a + 3 = 11 , so 2 a = 8 2a = 8 2 a = 8 and a = 4 a = 4 a = 4 .
Then f ( x ) = 4 x + 3 f(x) = 4x + 3 f ( x ) = 4 x + 3 , so f ( − 1 ) = − 4 + 3 = − 1 f(-1) = -4 + 3 = -1 f ( − 1 ) = − 4 + 3 = − 1 .
9. (Challenge) Let f ( x ) = 2 x − 1 f(x) = 2x - 1 f ( x ) = 2 x − 1 and g ( x ) = x 2 g(x) = x^2 g ( x ) = x 2 . Solve f ( x ) = g ( x ) f(x) = g(x) f ( x ) = g ( x ) , and explain what your answer means for the two graphs.
Solution 2 x − 1 = x 2 0 = x 2 − 2 x + 1 0 = ( x − 1 ) 2 \begin{aligned}
2x - 1 &= x^2 \\
0 &= x^2 - 2x + 1 \\
0 &= (x - 1)^2
\end{aligned} 2 x − 1 0 0 = x 2 = x 2 − 2 x + 1 = ( x − 1 ) 2 So x = 1 x = 1 x = 1 , the only solution. At x = 1 x = 1 x = 1 both functions equal 1 1 1 , so the graphs meet at ( 1 , 1 ) (1, 1) ( 1 , 1 ) . Since there’s only one solution, the line y = 2 x − 1 y = 2x - 1 y = 2 x − 1 touches the parabola y = x 2 y = x^2 y = x 2 at that single point without crossing it (it’s a tangent line).