Module 1. Functions and Their Graphs
Module 1. Functions and Their Graphs
Module 1. Functions and Their Graphs
Topics.
1. Functions as Models
2. Evaluating functions
3. Operations on Functions
Learning Objectives:
At the end of the module, students are expected to accurately construct mathematical
models to represent real-life situations using functions.
1 Functions as Models
Introduction Functions have many real-life applications. Whether we find that two things
are related to each other by some type of rule or correspondence, it is a function. What if
your bank charged a monthly fee of PhP 150 for your checking account and also charged PhP
10 for each check written? How would you represent this scenario with a function?
Also, what if you could only afford to spend PhP 200 a month on fees? Could you use
your function to find out how many checks you could write per month?
In this module, we will learn how to handle situations like these by using functions.
Definition 1.1. A relation is a rule that relates values from a set of values (called the
domain) to a second set of values (called the range).
A relation is a set of ordered pairs (x, y).
Definition 1.2. A function is a relation where each element in the domain is related to
only one value in the range by some rule.
A function is a set of ordered pairs (x, y) such that no two ordered pairs have the same
x-value but different y-values.
Using functional notation, we can write
f (x) = y,
read as “f of x is equal to y.” In particular, if (1, 2) is an ordered pair associated with the
function f , then we say that f (2) = 1.
Figure 1: A Figure 2: B
Figure 3: C
There are various ways to represent relations. The example above are presented using
diagrams and ordered pairs. Other ways to present relations can be using graphs, tables or
equations.
Try this. Sketch the graph of the given equation and determine whether it represents a
function.
1. y = 2x
2. y = 2x + 4
3. y = 2x2
Functions can often be used to model real situations. Identifying an appropriate functional
model will lead to a better understanding of various phenomena.
Example 1.2. Give a function f that represents the cost of buying x kilos of rice, if a kilo
of rice costs PhP 50.00
Solution. Since a kilo of rice costs PhP 50, then the cost function is
f (x) = 50x.
Solution. Since there are 24 confirmed COVID-19 cases in 2 days, it appears that, on the
average, there are 12 cases in a day.
Hence, we can describe the number of confirmed COVID-19 cased per day as
f (x) = 12x
Try this. Can you think of a real-world scenario which describes a function? Discuss.
Solution. Let x1 , x2 be in the domain and suppose that f (x1 ) = f (x2 ). We need to show
that x1 = x2 for f (x) to be one-to-one.
Now, f (x1 ) = f (x2 ) implies that 2x1 = 2x2 which in turn imply that x1 = x2 . Hence,e
f (x) = 2x is a one-to-one function.
Try this. Determine if the function f : [0, +∞) → [0, +∞) defined by f (x) = x2 is a
one-to-one function. Sketch a graph of this function and demonstrate the horizontal line test.
Piecewise Functions
Some real-life situations can only be described by more than one formula, depending on the
value of the independent variable.
Definition 1.4. A piecewise function is a function in which more than one formula is
used to define the output over different pieces of the domain.
Example 1.6. A museum charges PhP 50 per person for a guided tour with a group of 1 to
9 people or a fixed PhP 500 fee for a group of 10 or more people. Write a function relating
the number of people, x, to the cost, C.
Solution. This example needs two formula, namely, the cost for x < 10 and for x ≥ 10.
Hence,
(
50x, if 0 < x < 10
C(x) =
500 if x ≥ 10
Try this. A user is charged PhP 300 monthly for a particular mobile plan, which includes
100 free text messages. Messages in excess of 100 are charged PhP 1 each. Represent the
monthly cost for text messaging using the function t(x), where s is the number of messages
sent in a month.
2 Evaluating Functions
Let f (x) be a function.
Evaluating a function means replacing the variable in the function, in this case x, with
a value from the function’s domain and computing for the result. To denote that we are
evaluating f at a for some a in the domain of f, we write f (a).
In other words, this is the process of determining the value of the function at the number
assigned to a given variable.
1. f (x) = 3x2 − 4x
√
2. g(x) = x+4
Example 2.3. Suppose that s(T ) is the top speed (in km per hour) of a runner when the
temperature is T degrees Celsius. Explain what the statements s(15) = 12 and s(30) = 10
mean.
Solution. s(15) = 12 means that when the temperature is 15 deg C, the top speed of a runner
is 12 km per hour. However, when the temperature rises to 30 deg C, the top speed is reduced
to 10 km per hour.
Try this. The velocity V (in m/s) of a ball thrown upward t seconds after the ball was thrown
is given by V (t) = 209.8t. Calculate V (0) and V (1), and explain what these results mean.
3 Operations on Functions
Definition 3.1. Let f and g be functions. Then
1. (f + g)(x)
2. (f − g)(x)
3. (f · g)(x)
f
4. ( )(x)
g
Solution. To solve this, we substitute the values of f (x) and g(x).
(f ◦ g)(x) = f (g(x)).
Example 3.3. A spherical balloon is being inflated. Let r(t) = 3t cm represent its radius
4
at time t seconds, and let g(r) = πr3 be the volume of the same balloon if its radius is r.
3
Write (g ◦ r) in terms of t, and describe what it represents.
4 4
Solution. (g ◦ r) = g(r(t)) = πr(3t)3 = π(27t3 ) = 36πt3 .
3 3
This function represents the volume of the balloon at a time t seconds.
Try this. Suppose that N (x) = x denotes the number of shirts sold by a shop, and the selling
price per shirt is given by p(x) = 2505x, for 0 ≤ x ≤ 20. Find (N ◦ p)(x) and describe what
it represents.