Skip to content
Family Table Math

Function Notation

Function notation, like f(x)f(x), gives a function a name and shows its input. It’s a short way to say “the output of ff when the input is xx”, and it makes it easy to work with several functions at once.

f(x)f(x) is read ”ff of xx”.

  • ff is the name of the function. Other letters are fine too: gg, hh, CC for cost, hh for height.
  • xx is the input.
  • f(x)f(x) is the output.

f(x)f(x) does not mean ff times xx.

Since the output is the yy-value, y=f(x)y = f(x), and each point on the graph has the form (x,f(x))(x, f(x)).

To evaluate, replace every xx with the input, in brackets, then simplify. If f(x)=x2−3xf(x) = x^2 - 3x:

f(−2)=(−2)2−3(−2)=4+6=10f(-2) = (-2)^2 - 3(-2) = 4 + 6 = 10

So the point (−2,10)(-2, 10) is on the graph of y=f(x)y = f(x).

You can also substitute an expression. For f(a+1)f(a + 1), replace every xx with (a+1)(a + 1).

  • Find f(2)f(2): you know the input (22) and want the output.
  • Solve f(x)=2f(x) = 2: you know the output (22) and want the input(s). There may be more than one answer.
  • f(3)f(3) is the height of the graph at x=3x = 3.
  • To solve f(x)=3f(x) = 3, find every point on the graph at height 33 and read their xx-values.

Let f(x)=3x−5f(x) = 3x - 5 and g(x)=x2−2xg(x) = x^2 - 2x. Find f(4)f(4), g(−3)g(-3), and f(0)+g(1)f(0) + g(1).

Solution.

f(4)=3(4)−5=7f(4) = 3(4) - 5 = 7 g(−3)=(−3)2−2(−3)=9+6=15g(-3) = (-3)^2 - 2(-3) = 9 + 6 = 15 f(0)+g(1)=(3(0)−5)+(12−2(1))=−5+(−1)=−6f(0) + g(1) = \big(3(0) - 5\big) + \big(1^2 - 2(1)\big) = -5 + (-1) = -6

Let f(x)=2x2−x+1f(x) = 2x^2 - x + 1. Find and simplify f(a+1)f(a + 1) and f(2x)f(2x).

Solution. Replace every xx with the new input, in brackets.

f(a+1)=2(a+1)2−(a+1)+1=2(a2+2a+1)−a−1+1=2a2+4a+2−a=2a2+3a+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(2x)=2(2x)2−(2x)+1=8x2−2x+1f(2x) = 2(2x)^2 - (2x) + 1 = 8x^2 - 2x + 1

Using ff and gg from Example 1, solve f(x)=10f(x) = 10 and g(x)=8g(x) = 8.

Solution.

3x−5=10⇒3x=15⇒x=53x - 5 = 10 \quad\Rightarrow\quad 3x = 15 \quad\Rightarrow\quad x = 5 x2−2x=8x2−2x−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}

So x=4x = 4 or x=−2x = -2. Both inputs give an output of 88: check g(4)=16−8=8g(4) = 16 - 8 = 8 and g(−2)=4+4=8g(-2) = 4 + 4 = 8.

Use the graph of y=h(x)y = h(x) below to find h(3)h(3) and h(1)h(1), and to solve h(x)=3h(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=3x = 3 the graph is at height 00, so h(3)=0h(3) = 0.
  • At x=1x = 1 the graph is at its highest point, height 44, so h(1)=4h(1) = 4.
  • The dashed line y=3y = 3 crosses the graph at (0,3)(0, 3) and (2,3)(2, 3), so h(x)=3h(x) = 3 when x=0x = 0 or x=2x = 2.

Treating f(x)f(x) as multiplication. f(3)f(3) means “the output when the input is 33”, not f×3f \times 3.

Dropping brackets with negative numbers. For f(x)=x2f(x) = x^2, f(−3)=(−3)2=9f(-3) = (-3)^2 = 9. Without brackets you’d get −32=−9-3^2 = -9, which is wrong.

Mixing up f(2)f(2) and f(x)=2f(x) = 2. The first gives you an output. The second asks you to find input(s).

Substituting an expression without brackets. For f(x)=2x2f(x) = 2x^2, f(a+1)=2(a+1)2f(a + 1) = 2(a + 1)^2, not 2a+122a + 1^2.

Stopping at one answer. Equations like x2−2x=8x^2 - 2x = 8 can have two solutions. Check whether there’s another.

1. (Warm-up) Let f(x)=5−2xf(x) = 5 - 2x. Find f(3)f(3), f(−1)f(-1), and f(0)f(0).

Solutionf(3)=5−6=−1,f(−1)=5+2=7,f(0)=5f(3) = 5 - 6 = -1, \qquad f(-1) = 5 + 2 = 7, \qquad f(0) = 5

2. (Warm-up) Let g(x)=x2+4xg(x) = x^2 + 4x. Find g(−2)g(-2) and g ⁣(12)g\!\left(\dfrac{1}{2}\right).

Solutiong(−2)=(−2)2+4(−2)=4−8=−4g(-2) = (-2)^2 + 4(-2) = 4 - 8 = -4g ⁣(12)=14+2=94g\!\left(\tfrac{1}{2}\right) = \tfrac{1}{4} + 2 = \tfrac{9}{4}

3. (Warm-up) Use the table to find f(2)f(2) and to solve f(x)=13f(x) = 13.

xx00112233
f(x)f(x)447710101313
Solution

f(2)=10f(2) = 10. The output 1313 appears when x=3x = 3, so f(x)=13f(x) = 13 when x=3x = 3.

4. (Core) Let f(x)=3x+2f(x) = 3x + 2. Solve f(x)=−10f(x) = -10.

Solution3x+2=−10⇒3x=−12⇒x=−43x + 2 = -10 \quad\Rightarrow\quad 3x = -12 \quad\Rightarrow\quad x = -4

5. (Core) Let h(x)=x2−6xh(x) = x^2 - 6x. Solve h(x)=−5h(x) = -5.

Solutionx2−6x+5=0⇒(x−1)(x−5)=0x^2 - 6x + 5 = 0 \quad\Rightarrow\quad (x - 1)(x - 5) = 0

So x=1x = 1 or x=5x = 5. Check: h(1)=1−6=−5h(1) = 1 - 6 = -5 and h(5)=25−30=−5h(5) = 25 - 30 = -5.

6. (Core) Let f(x)=x2−3xf(x) = x^2 - 3x. Find and simplify f(a−2)f(a - 2).

Solutionf(a−2)=(a−2)2−3(a−2)=a2−4a+4−3a+6=a2−7a+10\begin{aligned} f(a - 2) &= (a - 2)^2 - 3(a - 2) \\ &= a^2 - 4a + 4 - 3a + 6 \\ &= a^2 - 7a + 10 \end{aligned}

7. (Core) A school club orders T-shirts. The cost in dollars for nn shirts is C(n)=8n+45C(n) = 8n + 45.

  • (a) Find C(20)C(20) and explain what it means.
  • (b) Solve C(n)=285C(n) = 285 and explain what it means.
Solution

(a) C(20)=8(20)+45=205C(20) = 8(20) + 45 = 205. Ordering 20 shirts costs $205.

(b) 8n+45=2858n + 45 = 285, so 8n=2408n = 240 and n=30n = 30. For $285, the club can order 30 shirts.

8. (Challenge) Let f(x)=ax+3f(x) = ax + 3. If f(2)=11f(2) = 11, find aa, then find f(−1)f(-1).

Solution

f(2)=2a+3=11f(2) = 2a + 3 = 11, so 2a=82a = 8 and a=4a = 4.

Then f(x)=4x+3f(x) = 4x + 3, so f(−1)=−4+3=−1f(-1) = -4 + 3 = -1.

9. (Challenge) Let f(x)=2x−1f(x) = 2x - 1 and g(x)=x2g(x) = x^2. Solve f(x)=g(x)f(x) = g(x), and explain what your answer means for the two graphs.

Solution2x−1=x20=x2−2x+10=(x−1)2\begin{aligned} 2x - 1 &= x^2 \\ 0 &= x^2 - 2x + 1 \\ 0 &= (x - 1)^2 \end{aligned}

So x=1x = 1, the only solution. At x=1x = 1 both functions equal 11, so the graphs meet at (1,1)(1, 1). Since there’s only one solution, the line y=2x−1y = 2x - 1 touches the parabola y=x2y = x^2 at that single point without crossing it (it’s a tangent line).