Functions Lecture
Functions Lecture
Lecture: Functions
➢ Terminology
➢ Mapping – 4 types of relationship
➢ Composite functions
➢ Inverse Functions
Definition
• Mapping – relationship between 2 sets of numbers
• Domain – the set of ‘inputs’
• Range – in set of ‘outputs’
4 types
1) 1-1 relationship 2) m-1relationships
i ) f ( x) = x 2 + 4
ii) f ( x) = ( x − 1) 2 + 6
iii) f ( x) = −(2 − x) 2 + 5
iv) f ( x) = 2( x + 4) 2 + 3
E.g. Find their ranges for x > 0
i ) f ( x) = 2 x + 7
ii) f ( x) = −5 x
iii) f ( x) = x − 1
2
iv) f ( x) = ( x + 2) − 3
2
E.g. Find the possible domain of
i ) f ( x) = 4− x
ii ) f ( x ) = x ( x − 4)
1
iii ) f ( x ) =
x−2
1
iv ) f ( x ) =
x−2
Composite Functions
• When 2 or more functions are combined, so
that the output from the first functions
becomes the input to the second function
E.g. f(x) = 2x+1 with domain {1,2,3,4,5} and
g ( x) = x 2 with the domain the range of f
ff(x) gf(x)
Inverse Functions
• f(x) =2x+1 with
domain{1,2,3,4,5},
range {3,5,7,9,11}
The inverse function of f maps from the range of f
back to the domain
➔ Working backward
x −1 x −1
f −1 ( x) = or f −1 : x
2 2
• To find inverse function
1) Let y = f(x)
2) Rearrange to give x in terms of y
3) Rewrite as f-1(x) by replacing y by x
or
1) Let f(x) = y
2) Change x to y and y to x
3) Rearrange to get y in terms of x
4) Write in the correct form.
f(x) = 3x - 4 y= x
f-1(x) = (x+4)/3
Note:
1) 1-1 functions have inverses.