Mathematics Topic

Function Notation and Evaluating Functions

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. f(x) is read "f of x": f names the function, x is the input and f(x) is the output, never f multiplied by x
  2. To evaluate f(a), put a in place of every x, using brackets for negative numbers, then follow the order of operations
  3. To find x when f(x) = k, solve the equation; the roots are the inputs that give f(x) = 0

Section 1What f(x) means

f(x) is read "f of x". The letter f is the name of the function, x is the input, and f(x) is the output that the function gives for that input. Watch out: the brackets are not multiplication, so f(x) does not mean f times x. Writing y = f(x) says the same thing. Any letter works: g(x), h(t), or F(d) for a taxi fare that depends on the distance d.

Section 2Two ways to write one function

The rule f(x) = 2x + 7 can also be written f: x → 2x + 7, read "f maps x to 2x + 7". Both mean: take the input, double it, add 7. The output for a given input is its image, so f(3) = 13 says that 13 is the image of 3. With a domain it reads like this: f: x → x^2 - 4 for x ∈ {1, 2, 3} gives the outputs -3, 0 and 5.

Section 3Evaluating f(a)

Replace every x by the number a, putting the number in brackets, then work out in the usual order: powers first, then multiplication, then addition and subtraction. For f(x) = x^2 - 4x at x = -2, write (-2)^2 - 4(-2) = 4 + 8 = 12. Here's the trick: the brackets matter. Without them, -2^2 would be read as -4 and the answer would be wrong. This is one of the most common exam slip-ups.

Section 4Reading f(a) = b

The statement f(a) = b says that the input a has the output b, so (a, b) is a point on the graph of y = f(x). The special case f(0) is the output when the input is 0, which is the y-intercept. Suppose a route taxi charges J$150 plus J$40 for each kilometre, so F(d) = 150 + 40d in J$. Then F(5) = 350 means a 5 km journey costs J$350. Notice that each distance d has exactly one fare, so F is a function.

Section 5Finding x when f(x) = k

Here you know the output and want the input, so write the equation and solve it. For f(x) = 4x + 3 and f(x) = 19, solve 4x + 3 = 19 to get x = 4. For a quadratic, bring everything to one side and factorise: for f(x) = x^2 + 3x and f(x) = 10, solve x^2 + 3x - 10 = 0, which gives (x + 5)(x - 2) = 0, so x = -5 or x = 2. A quadratic can give two inputs, so check both by evaluating f at each one.

Section 6Roots: f(x) = 0

A root of f is an input that gives the output 0, so you solve f(x) = 0. For f(x) = x^2 - 7x + 10, solve x^2 - 7x + 10 = 0, which factorises as (x - 2)(x - 5) = 0, so the roots are 2 and 5. Check: f(2) = 4 - 14 + 10 = 0 and f(5) = 25 - 35 + 10 = 0. Easy to mix up: the roots come from f(x) = 0, while f(0) = 10 is the output at input 0 and is a different number.

Examples

Suppose a route taxi charges J$150 plus J$40 for each kilometre, so the fare in J$ for d km is F(d) = 150 + 40d. (a) Find F(5). (b) A passenger pays J$470. How many kilometres did the passenger travel? (c) Write the rule in mapping notation.

(a) Replace d by 5: F(5) = 150 + 40(5) = 150 + 200 = 350, so a 5 km journey costs J$350. (b) Set the output equal to 470 and solve: 150 + 40d = 470, so 40d = 320 and d = 8. Check: F(8) = 150 + 320 = 470. The passenger travelled 8 km. (c) F: d → 150 + 40d.

A function is given by g(x) = x^2 - 6x - 7. (a) Find g(4) and g(-1). (b) Solve g(x) = 0. (c) Solve g(x) = 9. (d) Anna says g(0) = 0, so 0 is a root. Is she right?

(a) g(4) = 4^2 - 6(4) - 7 = 16 - 24 - 7 = -15. g(-1) = (-1)^2 - 6(-1) - 7 = 1 + 6 - 7 = 0. (b) Solve x^2 - 6x - 7 = 0. This factorises as (x - 7)(x + 1) = 0, so the roots are x = 7 and x = -1; this agrees with g(-1) = 0. (c) Solve x^2 - 6x - 7 = 9, so x^2 - 6x - 16 = 0, which factorises as (x - 8)(x + 2) = 0. The inputs are x = 8 and x = -2. Check: g(8) = 64 - 48 - 7 = 9 and g(-2) = 4 + 12 - 7 = 9. (d) Anna is wrong. g(0) = 0 - 0 - 7 = -7, so the output at input 0 is -7, the y-intercept. The roots come from g(x) = 0, and they are 7 and -1.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from