GENERAL
MATHEMATICS
Functions and Relations
Learning Objectives:
• At the end of the learning episode, you are expected to:
• Represents real life situations using functions, including
piece wise functions
• Evaluates function
• Performs addition, subtraction, multiplication, division and
composition of functions
Does Each picture shows Relation?
Relation
• A relation is a rule that relates values
from a set of values (called Domain) to
a second set of values (called Range)
Relation
• All functions are
relation, but not
all relations are
function.
Function
• Relate an input to an output
𝑦= 𝑓 ( 𝑥 )
Output Name of the Input
function
Output: Weekly salary
Input: hourly pay rate and the number of hours worked.
Output: Grades.
Input: Score test.
Function
• 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.
Domain (x) Function rule Range (y)
(Set of (Rule of (Set of
inputs) correspondence) outputs)
Illustration of Function
• Set of ordered Pair
• Mapping or arrow Diagram
• Graphing
Set of Ordered Pair
NOTE: A function is a relation in which each
element of the domain is paired with exactly one
element of the range. Another way of saying it is
there is one and only one output(y) with each
input(x).
•
Mapping or Arrow Diagram
Graphing
You can identify if the graph is a function, when
you draw a vertical line and it passes only on one
(1) point.
FUNCTION Not FUNCTION
EVALUATING FUNCTION
•
•The value of the dependent variable
that corresponds to a specific value of
an independent variable x is found by
substituting x into the function rule,
then, simplifying the resulting
expression.
EVALUATING FUNCTION
Evaluate the function
•• If •
= -3 , then If = 0 , then
• •
-3 -11 0 -2
Piece Wise Function
• We can create a function that behave differently based on
the input (x) value.
• A Function that is made up of three pieces
Piece Wise Function
Solid/closed dot - Included
Open dot – not Included
2
𝑥 𝑖 𝑓 𝑥 <2
𝑓 ( 𝑥 )=
{ 6 𝑖𝑓 𝑥=2
10 − 𝑥 𝑖𝑓 𝑥> 2 𝑎𝑛𝑑 𝑥 ≤ 6
}
Piece Wise Function
Floor function
Is a special type of piece wise function, it has
infinite number of pieces.
Any Question/s?