Cambridge O Level Mathematics (Syllabus D)/Function Notation


Relations

edit

Relations, in simple terms, are the ways a set of inputs are linked with a set of outputs. Like in computer systems, relations consist of the input(s), process and the output(s). Take the following as an example:

 

The number "2" here acts as the input and the process is adding 3 ("+3"). Thus the output is "5".

 

Here, the process is multiplying by 2 and the inputs are 2, 3, 4 and 5. This information can be shown in a diagram as follows.

<diagram placeholder>

In general, there are four kinds of relations:

  1. one-to-one relation (one input leading to only one output, e.g. simple arithmetic as above)
  2. one-to-many relation (one input leading to many outputs, e.g. quadratic equations)
  3. many-to-one relation (more than one input leading to the same output, e.g. squaring a negative number)
  4. many-to-many relation (more than one input leading to many outputs, some similar)

Functions

edit

Functions are a type of relation where there is only one output for every input. This means that only one-to-one and many-to-one relations are functions. Functions are denoted as follows:

 

In the examination they may use either kind of notation, so it is best to be familiar with both of them. Here, 'x' is the variable denoting the input, and the function 'f' is the process (i.e. 3x+5). So, if we input x=3, then:

 

Therefore, the output is 14 when the input is 3.

Further examples of functions:

 

Inverse Functions

edit
Prior knowledge: Before starting this section, be sure that you know the concepts outlined in topic 22 and 23. This may have already been taught to you in a lower secondary course.

Take the following example:

 

When we input 2 into the function, we obtain the output 5. Now, lets make 'x' the subject of the equation.

 

Let's assume that f(x) is a variable and we input f(x)=5, the output of the earlier calculation:

 

The result is 2, which was the input of the previous calculation. Basically, what was done is that a value was put in place of where the output will appear, then it was solved for 'x', where an input should be placed:

 

The formula

 

is called an inverse function, as the function goes in the opposite direction, from output to input. This is properly denoted as

  or  

Finding Inverse Functions

edit

To find the inverse of the function, e.g. the following,

 

1. Write down the following statement:

" "

2. Then (really) let y = f(x):

 

3. Make 'x' the subject of the formula:

 

4. Change x into f^(-1) (y) (inverse function with input y):

 

5. Change the input variable back to x:

 

Self-inverse

edit

A function is a self-inverse when the inverse function is the same as the function, i.e. f(x) = f-1(x).

A simple self-inverse function is f(x) = x.

Exceptions

edit

Suppose that you are asked to find the inverse of the following many-to-one function:

 
Let y = f(x)   f-1(y) = x
 

There are two outputs to this equation, one positive and one negative. By the definition of a function, this equation is not a function. Let's see another many-to-one function.

 

If you find the value of sin 90 using your calculator, it equals to 1. However, sin 450 also equals to 1, and so does sin 810, and sin 1170 and so on. In fact, all trigonometric functions are many-to-one functions and should not have an inverse, yet there is a 'sin-1' button on your calculator. The reason behind this is covered in the Additional Mathematics syllabus, so don't worry. Just remember that many-to-one functions have no inverses.

Shortcut

edit

Suppose that you got a question as follows in your exam:

A function is defined as  .
(a) Without finding  , calculate the value of  .

How can you answer this question?

Did you remember that when you find the inverse of a function, the inputs and outputs are swapped? You can use this knowledge to solve the problem. The input of the inverse function is basically the output of the function itself, so, if

 

then,

 
 

This is how the relationship   is derived. Examiners know that a significant number of candidates do not know or notice this relationship and they can therefore ask questions based on this.

Summary

edit
  • There are 4 kinds of relations: one-to-one, one-to-many, many-to-one and many-to-many.
  • Functions are special kinds of relations where there is only one output for any one inputs (i.e. one-to-one and many-to-one).
  • Functions are denoted with either   or  .
  • Inverse functions are functions that go in the opposite direction to a normal function (the inputs and outputs are swapped).
  • Inverse functions are denoted with either   or  .
  • Many-to-one functions have no inverse (because one-to-many relations are not functions)

Past Paper Questions

edit

May/June 1996 Paper 1

8. Given that  , find

(a) f(2)
(b) an expression for f-1

(a) To solve this problem, replace 'x' with 2.

 

(b) Use the technique of finding inverse functions as described above.

" "

 

 

October/November 1999 Paper 1

9. Given that  

(a) find f(-4)
(b) find x when f(x) = 4
(c) write down the value of f-1(4)

(a)
 

(b)
 

(c) Notice the two words 'write down'. It's a sign that no working is required and only the answer will be marked. The former two questions gives a hint that one of the previous answers should be used. Remember that there was a shortcut to finding the value of an inverse function? That concept can be applied here.

 

  (the answer in part (b))