Functions and Graphs
Functions and Graphs
• Functions are mappings that are one-to-one or many-to-one. One-to-many mappings are not functions!
[B] 𝑦 = 𝑓(|𝑥|) Now sketching 𝑓(−𝑥) Now we sketch 𝑓(|𝑥|) by
(reflect the graph in the reflecting the graph of
Function notation 1) Start by sketching the function for 𝑥 ≥ 0. y-axis). 𝑓(𝑥) for 𝑥 ≥ 0 in the
You need to understand what is meant by the domain and range of a function: 2) Reflect this in the y-axis. y-axis.
▪ The domain of a function is the set of all possible inputs (i.e. the set of x-values the function takes)
▪ The range of a function is the set of all possible outputs (i.e. the set of y-values the function takes) Example 2: Given that 𝑓(𝑥) = 𝑥 2 − 7𝑥 − 8, sketch: (𝑖) |𝑓(𝑥)|, (𝑖𝑖) 𝑓(|𝑥|) Applying the modulus Stretching the graph by a
function now to sketch scale factor of 2 in the
There are two main types of notation you will see for denoting functions: | 𝑓(𝑥)|. The portion of y-direction to achieve
(𝑖) |𝑓(𝑥)| (𝑖𝑖) 𝑓(|𝑥|)
the graph below the x- 2 𝑓(|𝑥|).
▪ 𝑓(𝑥) = √𝑥, {𝒙 ∈ ℝ, 𝒙 ≥ 𝟎} axis is reflected in the x-
Step Corresponding graph Step Corresponding graph
▪ 𝑓: 𝑥 ⟼ √𝑥, {𝒙 ∈ ℝ, 𝒙 ≥ 𝟎} axis.
We start by sketching Start by sketching Stretching our graph by a Finally, we translate our
These notations are equivalent for one-to-one or many-to-one functions. The “ ⟼ " symbol means that each element in the 𝑦 = 𝑥 2 − 7𝑥 − 8. 𝑦 = 𝑥 2 − 7𝑥 − 8 for 𝑥 ≥ 0. scale factor of ½ to attain graph up by 4 units giving
domain is mapped to just one element in the range. The bold text represents the domain of the function. the graph of ½|𝑓(−𝑥)| us the graph of
2𝑓(|𝑥|) + 4.
Composition of functions
We can combine two or more functions to make a new function. This new function is called a composite function.
Let’s take two functions, 𝑔(𝑥) and 𝑓(𝑥). If we wish to combine them, there are two ways we can do this: Next, we reflect the Now reflect the graph in
portion of the graph below the y-axis.
▪ 𝑓𝑔(𝑥) we interpret this as applying 𝑔(𝑥) first, then 𝑓(𝑥). the x-axis in the x-axis.
Solving modulus equations
▪ 𝑔𝑓(𝑥) we interpret this as applying 𝑓(𝑥) first, then 𝑔(𝑥).
You can also be expected to be able to solve equations involving modulus and non-modulus functions. It is best to first sketch the functions
within your equation so that you can figure out graphically where the solutions are located, and then use your knowledge of modulus functions
It is important to realise that 𝑔𝑓(𝑥) ≠ 𝑓𝑔(𝑥) in general.
to completely solve the equation.
When composing functions, it is helpful to interpret 𝑓𝑔(𝑥) as 𝑓[𝑔(𝑥)]. This means that we must replace the inputs of 𝑓(𝑥) with
𝑔(𝑥), to get 𝑓𝑔(𝑥) . Example 5: Given that 𝑎 and 𝑏 are constants, and that 0 < 𝑎 < 𝑏,
https://bit.ly/pmt-cc
https://bit.ly/pmt-edu https://bit.ly/pmt-cc