Linear functions · Lesson 3

Function notation

f(x)f(x) is read "f of xx." It names the output of the function ff when the input is xx. It does not mean ff times xx. On a graph, f(3)=5f(3) = 5 means the point (3,5)(3, 5) lies on the graph of y=f(x)y = f(x).

**Evaluate: f(3)f(3).** Put 3 in for every xx. If f(x)=4x−7f(x) = 4x - 7, then f(3)=4(3)−7=5f(3) = 4(3) - 7 = 5. The input is 3 and the output is 5.

**Solve: f(x)=11f(x) = 11.** Now 11 is the output, and you are looking for the input. Set the expression equal to 11 and solve: 4x−7=114x - 7 = 11, so 4x=184x = 18 and x=92x = \frac{9}{2}. Before you start, ask which one you have. A number inside the parentheses is an input. A number the function equals is an output.

**An expression as the input: f(a+1)f(a + 1).** Replace xx with the whole expression, in parentheses: f(a+1)=4(a+1)−7=4a−3f(a + 1) = 4(a + 1) - 7 = 4a - 3. That is different from f(a)+1=4a−7+1=4a−6f(a) + 1 = 4a - 7 + 1 = 4a - 6.

**Differences: f(2)−f(0)f(2) - f(0).** Find each output, then subtract: f(2)=1f(2) = 1 and f(0)=−7f(0) = -7, so f(2)−f(0)=1−(−7)=8f(2) - f(0) = 1 - (-7) = 8. For any linear function, this difference equals the slope times the change in input, here 4⋅2=84 \cdot 2 = 8, because the constant cancels.

Worked example Easy

The function ff is defined by f(x)=4x−7f(x) = 4x - 7. What is the value of f(3)f(3)?

  1. 52\frac{5}{2}
  2. 55Answer
  3. 1212
  4. 1919

How to solve it

  1. f(3)f(3) means the output when the input is 3. Replace xx with 3.
  2. f(3)=4(3)−7=12−7=5f(3) = 4(3) - 7 = 12 - 7 = 5.

Why each choice is right or wrong

  • A. Incorrect. This solves 4x−7=34x - 7 = 3, which gives x=104=52x = \frac{10}{4} = \frac{5}{2}. That answers a different question: which input gives an output of 3. In f(3)f(3), 3 is the input.
  • B. Correct. f(3)=4(3)−7=12−7=5f(3) = 4(3) - 7 = 12 - 7 = 5.
  • C. Incorrect. 12 is 4(3)4(3). Subtract 7 to finish: 12−7=512 - 7 = 5.
  • D. Incorrect. This adds 7 instead of subtracting it: 4(3)+7=194(3) + 7 = 19.

Worked example Medium

The function ff is defined by f(x)=6x−4f(x) = 6x - 4. If f(k)=20f(k) = 20, what is the value of kk?

  1. 83\frac{8}{3}
  2. 2424
  3. 116116
  4. 44Answer

How to solve it

  1. f(k)=20f(k) = 20 says the output is 20 when the input is kk. So 6k−4=206k - 4 = 20.
  2. Add 4 to both sides: 6k=246k = 24. Divide by 6: k=4k = 4.
  3. Check: f(4)=6(4)−4=20f(4) = 6(4) - 4 = 20.

Why each choice is right or wrong

  • A. Incorrect. This subtracts 4 from 20 instead of adding it, which gives 6k=166k = 16 and k=83k = \frac{8}{3}. To undo −4-4, add 4.
  • B. Incorrect. 24 is the value of 6k6k. Divide by 6 to get kk.
  • C. Incorrect. This is f(20)=6(20)−4=116f(20) = 6(20) - 4 = 116, which treats 20 as the input. In f(k)=20f(k) = 20, 20 is the output.
  • D. Correct. Set 6k−4=206k - 4 = 20, so 6k=246k = 24 and k=4k = 4. Check: f(4)=24−4=20f(4) = 24 - 4 = 20.

Trap Input or output?

In f(3)f(3), 3 is the input: substitute it. In f(x)=3f(x) = 3, 3 is the output: set the expression equal to 3 and solve. The answer to the other question is often among the choices, so decide which one you are asked before you calculate.

Trap Replacing x with only part of an expression

To find f(a+1)f(a + 1) for f(x)=4x−7f(x) = 4x - 7, write 4(a+1)−7=4a−34(a + 1) - 7 = 4a - 3. Leaving out the parentheses gives 4a+1−7=4a−64a + 1 - 7 = 4a - 6, which is really f(a)+1f(a) + 1, and it is often one of the wrong choices. The same goes for differences: f(2)−f(0)f(2) - f(0) is not f(2−0)f(2 - 0).

Desmos When Desmos is faster

Type the function exactly as given on the first line, such as f(x)=4x−7f(x) = 4x - 7. Desmos graphs it and remembers the name ff. On the next line, type f(3). Desmos shows the value, = 5, at the right of that line. A difference such as f(2) − f(0) works the same way on one line.

To solve f(x)=11f(x) = 11, type y=11y = 11 on a new line and click the point where the horizontal line crosses the graph of ff. Its xx-coordinate, 4.5, is the answer.

Desmos does not simplify expressions that contain a letter. If you type f(a+1), Desmos offers a slider for aa because aa isn't defined. To test a choice such as 4a−34a - 3, add the slider, set aa to a value such as 2, and compare: f(a+1) shows 5, so only a choice that also equals 5 when a=2a = 2 can be right. If two choices match, try a second value of aa.