Module 3 New
Module 3 New
Module 3 New
MODULE 3
4. Introduction
The concept of function was brought to light by mathematicians in the 17th century. In 1637,
a mathematician and the first modern philosopher, Rene Descartes, talked about many
mathematical relationships in his book Geometry. Still, the term “function” was officially first used
by German mathematician Gottfried Wilhelm Leibniz after about fifty years. He invented a
notation y = x to denote a function, dy/dx, to denote a function’s derivative. The notation y = f (x)
was introduced by a Swiss mathematician Leonhard Euler in 1734.
5. Objectives
6. Learning Activities
What is a set?
A set is a collection of distinct or well-defined members or elements. In mathematics, members of a
set are written within curly braces or brackets {}. Members of assets can be anything such as; numbers,
people, or alphabetical letters, etc.
Example:
1. {a, b, c, …, x, y, z} is a set of alphabet letters.
2. {…, −4, −2, 0, 2, 4, …} is a set of even numbers.
3. {2, 3, 5, 7, 11, 13, 17, …} is a set of prime numbers
Two sets are said to be equal; they contain the same members. Consider two sets, A = {1, 2, 3} and
B = {3, 1, 2}. Regardless of the members’ position in sets A and B, the two sets are equal because
they contain similar members.
What is a domain?
A domain is a set of all input or first values of a function. Input values are generally ‘x’ values of a
function.
What is a range?
The range of a function is a collection of all output or second values. Output values are ‘y’ values of a
function.
For instance, (-2, 1), (4, 3), (7, -3)}, usually written in set notation form with curly brackets.
Relation Representation
There are other ways too to write the relation, apart from set notation such as through tables, plotting
it on XY- axis or through mapping diagram.
What is a function?
In mathematics, a function can be defined as a rule that corresponds/relates every element in one
set, called the domain, to exactly one element in another set, called the range. For example, y = x + 3
and y = x2 – 1 are functions because every x-value produces a different y-value.
Note: if there is a repetition of the first members with an associated repetition of the second
members, the relation becomes a function.
A function is a "well-behaved" relation. Just as with members of your own family, some members of
the family of pairing relationships are better behaved than other. (Warning: This means that, while all
Solution
Domain of Z is {1, 2, 3, 4} and the range is {120, 100, 150, 130}.
Example 4. Determine whether the following ordered pairs of numbers are a function.
R = (1,1); (2,2); (3,1); (4,2); (5,1); (6,7)
Solution
There is no repetition of x values in the given set of ordered pairs of numbers.
Therefore, R = (1,1); (2,2); (3,1); (4,2); (5,1); (6,7) is a function.
Example 6. Using the vertical line test, determine whether each of the following graph represents a
function or simply a relation.
Example 7. Let A = {0, 1, 2} and B = {1, 2, 3}. Suppose x in A is related to y in B if and only if, x < y.
Use the notation x R y for “x is related to y”. Determine the following:
a. Is 0 R 1?
b. Is 2 R 3?
c. Is 1 R 1?
d. Is 2 R 1?
Solution:
a. Yes, 0 R 1 because 0 < 1.
b. Yes, 2 R 3 because 2 < 3.
c. No, 1 R 1 because 1 = 1 and 1 < 1
d. No, 1 R 1 because 2 > 1 and 2 < 1
Solution:
𝐴 x 𝐵 represents a Cartesian product of A = {0, 1, 2} and B = {1, 2, 3}. That is,
𝐴 x 𝐵 = {(0, 1), (0, 2), (0, 3), (1, 1), (1, 2), (1, 3), (2, 1), (2, 2), (2, 3)}. Clearly, one x-value is paired to
more than one y-value. For instance, (0, 1), (0, 2), (0, 3). Thus, the relation is not a function.
Example 9. Let A = {1, 2} and B = {1, 2, 3} and define a relation 𝑅 from 𝐴 to 𝐵 as follows:
𝑥−𝑦
Given any (𝑥, 𝑦) ∈ 𝐴 x 𝐵, (𝑥, 𝑦) ∈ 𝑅 means that 2 is an integer.
a. Is (1, 1) ∈ 𝑅?
b. Is (2, 3) ∈ 𝑅?
Solution:
1−1 0
a. (1, 1) ∈ 𝑅 because 2 = 2 = 0, which is an integer.
2−3 −1
b. (2, 3) ∈ 𝑅 because = , which is not an integer.
2 2
Properties of Function
A function 𝐹 from a set 𝐴 to a set 𝐵 is a relation with domain A and range B that satisfies the following
two properties:
1. For every element 𝑥 in 𝐴, there is an element 𝑦 in 𝐵 such that (𝑥, 𝑦) ∈ 𝐹.
(This means that “every element of 𝐴 is the first element of an ordered pair in 𝐹.”)
Example 10. Let A = {2, 4, 6} and B = {1, 3, 5}. For all (𝑥, 𝑦) ∈ 𝐴 x 𝐵, (𝑥, 𝑦) ∈ 𝑆 means that 𝑦 = 𝑥 + 1.
Determine if 𝑆 is a function from 𝐴 to 𝐵.
Solution:
𝑆 is not a function because it does not satisfy property (1). It is not true that every element in 𝐴 is the
first element of the ordered pair in 𝑆. For example, 6 ∈ 𝐴 but there is no 𝑦 in 𝐵 such that 𝑦 = 6 + 1 =
7.
Equality of Functions
A relation is a subset of a Cartesian product and a function is a special kind of relation. Specifically, if
𝑓 and 𝑔 are functions from a set 𝐴 to a set 𝐵, then
𝒇 = {(𝒙, 𝒚) ∈ 𝑨 x 𝑩|𝒚 = 𝒇(𝒙) and 𝒈 = {(𝒙, 𝒚) ∈ 𝑨 x 𝑩|𝒚 = 𝒈(𝒙)
It follows that 𝒇 equals 𝒈, written as 𝑓 = 𝑔, if and only if, 𝑓(𝑥) = 𝑔(𝑥) for all 𝑥 in 𝐴.
Solution:
Solution:
a. Through inspection, when you replace x by any value from the set of real numbers, it will
yield a unique value of y, (or f(x)). For instance,
Clearly, whatever value from the set of real numbers we assign to x, it corresponds to a
unique value in y, which are also in the set of real numbers. Thus, the domain of 𝑓(𝑥) is
the set of real numbers, and its range is also the set of real numbers. In symbol,
Domain: 𝐷𝑓 = 𝑅 and Range: 𝑅𝑓 = 𝑅
b. In finding the domain of ℎ(𝑥), we are concerned of the values that we replace for 𝑥 so that
ℎ(𝑥) is defined. Remember that from the set of real numbers, negative numbers have no
defined square roots. Hence, in choosing for the value of 𝑥 that we replace in ℎ(𝑥), our
goal is to have a value which is not a negative number. This means that we target to have
a radicand (the entity inside the radical symbol) which is non-negative; meaning, values
from 0 and positive numbers.
Now, if x = 1, x – 4 = 1 – 4 = -3, which is outside of our goal. So, 1 is not in the domain of
h(x). But if x = 4, x – 4 = 4 – 4 = 0, which is non-negative. Also, if x = 5, x – 4 = 5 – 4 = 1,
also non-negative. This means that whatever value we assign for x from the set [4, ∞), it
will also yield to positive value, thus, with defined square roots.
To find the range, we will consider that the values for h(x) should be non-negative. Hence,
the range is [𝟎, ∞) or {𝒚/𝒚 ≥ 𝟎}.
Application Problems:
1. The square patch of grass below needs to be seeded around the 4
identical circular ponds. Write a function for the area (A) of grass that
needs to be seeded in terms of the radius of the ponds (r).
Solution:
To solve a word problem, the first step is always to translate the writing
into math. We know that the important pieces are:
The area of the grass (A)
The radius of the ponds (r)
There are 4 ponds
The sides of the square are 4 times the ponds' radius.
Since this problem involves area, your variables will probably be squared. That means that this function is
most likely going to describe a nonlinear relationship--the area of the grass won't increase or decrease
steadily alongside the radius of the ponds.
We know that the outline of all the grass is in a square around the edges of the circular ponds. Think about
how the ponds lay on the grass, and try to imagine what operation we could use to figure out the exact area
(if not the equation itself).
Since the ponds fit neatly inside the square of grass, and the grass covers all the remaining area, we
can subtract the area of the circles (we'll call that 𝐴𝑐 ) from the area of the square (we'll call that 𝐴𝑠 ).
In this problem, we need the area of a circle (𝐴𝑐 = 𝜋𝑟 2 ) and the area of a square (𝐴𝑠 = 𝑠 2 ). Since there
are 4 ponds, the total area of the ponds will be 4𝐴𝑐 , and since one side of the square is equal to 4 times a
pond's radius, we can say that 𝑠 = 4𝑟. To find the area surrounding the ponds, we simply take the
difference between the area of the big grass square and the four smaller circles.
Thus, the area (A) of grass that needs to be seeded in terms of the radius of the ponds (r) can be
expressed as
𝐴(𝑟) = 16𝑟 2 − 𝜋𝑟 2
References:
Ben-Shlomo Y, Brookes S, Hickman M. 2013. Lecture Notes: Epidemiology, Evidence-based Medicine and
Public Health (6th ed.), Wiley-Blackwell, Oxford.
https://www.healthknowledge.org.uk/public-health-textbook/research-methods/1a-epidemiology/methods-of-
sampling-population
http://www.stats.gla.ac.uk/steps/glossary/sampling.html