GENERAL MATHEMATICS
GENMATH MIDTERMS 2ND SEMESTER | S.Y 2024-2025
TOPIC OVERVIEW
A. FUNCTION AND RELATION
B. PIECEWISE FUNCTIONS
C. EVALUATING FUNCTION
D. OPERATIONS ON FUNCTIONS
E. COMPOSITION ON FUNCTIONS
FUNCTION AND RELATION EXAMPLE
1 FUNCTIONS ★a vertical line (dashed purple) intersects the green
graph at two points. This means the graph fails the
●A function is a special type of relation where each vertical line test and is not a function because for
input (x) is paired with exactly one output (y). at least one input, there are two outputs (different
y-values).
2 RELATION
PIECEWISE FUNCTIONS
●A relation is a set of ordered pairs that shows the
relationship between two sets.
● A function defined by multiple expressions,
EXAMPLE each corresponding to a different part of the
domain.
★Relation: {(1,2), (3,4), (5,6), (1,7)} → Not a function
(1 is repeated).
EXAMPLE
★Function: {(2,3), (4,5), (6,7)} → Valid function (each
input has only one output)
3 VERTICAL LINE TEST
The Vertical Line Test is a method used to determine
whether a given graph represents a function. If any SAMPLE PROBLEM
vertical line intersects the graph at more than one
The parking fee in a mall is 30.00 PHP for the first 3
point, the graph is not a function.
hours. For every hour beyond 3 hours, an additional
fee of 10.00 PHP is charged. Create a piecewise
function and evaluate the fee if you parked for 5 hours.
1
TOPIC #1 : MAIN TOPIC
Let h be the number of hours parked. Let f(x)=x+2 and g(x)=3x−1:
f(h)={30, 0<h≤3
Addition:
{30+10(h−3), h>3
Let h= 5
(f+g)(x)=(x+2)+(3x−1)=4x+1
the value satisfies the second case since h>3.
f(h)=30+10(h−3) Subtraction:
Then substitute,
(f−g)(x)=(x+2)−(3x−1)=−2x+3
f(5)=30+10(5−3)
Simplify, Multiplication:
f(5)= 30+10(2)
f(5)= 30+20=50 (f⋅g)(x)=(x+2)(3x−1)
The parking fee is 50.00 PHP if you parked for 5
USE FOIL METHOD:
hours.
3x^2-x+3x-2
EVALUATING FUNCTION
3x^2+2x-2
● The process of substituting a given input value
(x) into a function to find the output (y). Division:
f/g(x)=x+2/3x−1
EXAMPLE
1) f(x)=x^2−4x+7, find f(3).
COMPOSITION ON FUNCTIONS
SUBSTITUTE:
f(3)=(3)2−4(3)+7 ● The process of applying one function to the
result of another function, written as
f(3)=9−12+7=4
(f∘g)(x)=f(g(x)).
2) f(x)=3x−5, find f(2). EXAMPLE
SUBSTITUTE: Let f(x)=x+2 and g(x)=x2−1. Find (f∘g).
Solution:
f(2)=3(2)−5=6−5=1
= (f∘g)(x)=f(g(x))
= f(x^2−1)
OPERATIONS ON FUNCTIONS Substitute x^2−1 into f(x)
=f(x^2−1)=(x^2−1)+2
=f(x^2−1)=x^2+1
● Performing arithmetic operations (addition,
subtraction, multiplication, division) on two Answer: (f∘g)(x)=x^2+1
functions.