Module 1 Week 1 (Functions and Relations)
Module 1 Week 1 (Functions and Relations)
Lesson 1: Functions
Lesson 1.1 Representing functions
Lesson 1.2 Evaluating functions
Learning Objectives:
Relation
A relation is a rule that relates values from a set of values (called Domain) to a second set
of values (called Range)
• All functions are relation, but not all relations are function.
Function
Is a rule of correspondence between two nonempty sets, such that, to each element of the
first set called domain, there corresponds one and only one element of the second set called
range.
In many situations in science, business and mathematics, a correspondence exists between two
sets. The notion of correspondence occur frequently in everyday life.
Example:
- A weekly salary is a function of the hourly pay rate and the number of hours worked.
- to each person there corresponds a height.
- To each book in the library there correspond a number of pages in the book.
- The user puts in money, punches a specific button, and a specific item drops into the output
slot. (The function rule is the product price. The input is the
money combined with the selected button. The output is the product, sometimes delivered along
with coins in change, if the user has entered more money than required by the function rule.)
• Relate an input to an output
These real life situations show that the quantity depends on, or corresponds to another quantity.
Moreover, these situations incorporate three elements – a set of inputs, a function rule or rule of
correspondence and a set of outputs.
COLLEGE OF SAINT JOHN PAUL (II)
ARTS AND SCIENCES
College of Arts and Sciences
Illustration of Function
1. Set of ordered Pair
2. Mapping or arrow Diagram
3. Graphing
r(x) (One to many) is not a function because the set of input ( x 2) has multiple set of outputs
( y 1∧ y 2 ).
3. Graphing
Vertical Line Tests - you can identify if the graph is a function, when you draw a vertical line
and it passes only on one (1) point.
Example:
The line passes the line The line passes on two
points. Therefore it is
only on one point. not a function.
Therefore it is a
function
COLLEGE OF SAINT JOHN PAUL (II)
ARTS AND SCIENCES
College of Arts and Sciences
PIECEWISE Function
We can create a function that behaves differently based on the input (x) value.
A Function that is made up of three pieces
Floor function - is a special type of piece wise function, it has infinite number of pieces.
The table below shows the PHILPOST rates for sending printed materials.
Weight price
20 g and below ₱14
More than 20g but not over 50g ₱32
More than 50 g but not more than 100 g ₱54
COLLEGE OF SAINT JOHN PAUL (II)
ARTS AND SCIENCES
College of Arts and Sciences
Example of
Piece – wise
function