LESSON 10 - Functions
LESSON 10 - Functions
1. INTRO
A relation is a set of inputs and outputs, often written as ordered pairs (input, output). We can also represent a relation as
a mapping diagram or a graph. For example, the relation can be represented as:
Lines connect the inputs with their outputs. The relation can also be represented as:
Graph of Relation
Functions
In the relation , y is a function of x , because for each input x (1, 2, 3, or 0), there is only one output y . x is not a function
of y , because the input y = 3 has multiple outputs: x = 1 and x = 2 .
Examples:
\: y is a function of x , x is a function of y .
: y is not a function of x ( x = 1 has multiple outputs), x is not a function of y ( y = 2 has multiple outputs).
To check if a relation is a function, given a mapping diagram of the relation, use the following criterion: If each input has
only one line connected to it, then the outputs are a function of the inputs.
Line Test
2. Domain
The domain of a relation (or of a function) is the set of all inputs of that relation. For example, the domain of the relation (0,
1),(1, 2),(1, 3),(4, 6) is x=0, 1, 4 . The domain of the following mapping diagram is -2, 3, 4, 10 :
Mapping Diagram
Mapping Diagram
The range of the following graph is :
4. Composite Functions
A composite function is a combination of two functions, where you apply the first function and
get an answer, and then fill that answer into the second function.
Let's look at some examples. Here are two simple functions, which we'll label f and g:
f º g (x) means f (g(x) ), which tells you to work out g(x) first, and then fill that answer
into f.
Now findf(75)
f(x) = 2x + 5 so f(75) = 2(75) + 5 = 155
So f º g (5) = 155
Here's another example. Let's use two different functions:
g(2) = 3(2) + 2 = 8
First work out
2
Now work out f(8) = 4(8) - 1 = 4(64) - 1 = 255
So f( g(2) ) = 255
Notice again that you do the inside function first. Then you fill that answer into the outside
function.
It is also possible to work out a simplified version of the composite function, to find a single
expression for f º g (x) that you can use in one step. Here's what we mean: let's use the same
two examples we just worked with ...
f(x) = 4x2 - 1 g(x) = 3x + 2
The composite function value we want is f( g(2) ), but this time we're going to find the
simplified version of f º g (x) .
We'll do this by filling the expression for g(x) into f(x), and simplifying the result.
Let's do one more to make sure you get the idea. Here are two brand new functions:
We want to find the simplified version of the composite function g º f (x), and then work out
g º f (5).
First, do you notice how this question is different? It's the order of the functions.
If we were doing this question in two steps, we would have to work out f(5) first, and then fill that
answer into g(x).
In this case, since we want the simplified composite function, we'll be filling function f into
function g.
We want to first find g( f(x) ):
5. Inverse of a function
The customary method of finding the inverse is some variant of the method I'm going to use
below. Whatever method you use, make sure you do the exact same steps in the exact same
order every time, so you remember those steps when you get to the test.