Lesson Week 1. Relation Functions Operations and Word Problems
Lesson Week 1. Relation Functions Operations and Word Problems
General
Mathematics
JEMMAR D. MAHUSAY
Teacher
Objectives:
1. represent real-life situations
using functions, including piece-
wise functions
2. evaluate a function
Activity #1.
Determine whether or not
each relation is a function.
Rest a check on the space that
corresponds your answer.
Let’s us recall the definition of
relation and function.
Relations and Functions
can be represented through:
1. Ordered Pairs
2. Table of Values
3. Equation/Function
4. Graph; and
5. Mapping
3 Kinds of relations
One to One Relation
One to Many Relation
Many to One Relation
But? What kind of relation that will be
considered as function and not function?
Relations and Functions
Relations
x 1 2 3 4
y 2 2 3 3
Function Many to One
x 1 1 3 3
y 2 3 4 5 Not Function One to Many
3. Mapping
State the following if it is
function or not function.
2.
How to make
Piecewise Function
from a given word
problem?
1. A user is charged P 300 monthly for a
particular mobile plan, which include
100 free text messages. Messages in
excess of 100 are charged P1 each.
Represent the amount a consumer pays
each month as a function of the number
of messages (x) sent in a month.
ANSWER:
300, if 0 < x ≤ 100
f(x) =
300 + (x – 100), if x > 100
2. A jeepney ride costs P 8 for
the first 4 km, and each
additional km adds P 1.50 to the
fare. Use a piecewise function to
represent the jeepney fare in
terms of the distance (x) in km.
ANSWER:
8, if 0 < x ≤ 4
f(x) =
8 + 1.5(x – 4), if x > 4
Lesson 2. Evaluating a function
It means replacing the
variable in the functions, in this
case x, with the value from the
function’s domain and
computing for the result.
Example 1. f(x) = x2 +3x + 1
Evaluate the ff:
f(1)
2
Solution: f(1) = (1) + 3(1) + 1
= 1 + 3 +1
=5
Example 2. f(x) = 𝒙 + 𝟑
f(1)
Solution: f(1) = 𝟏 + 𝟑
= 𝟒
= ±𝟐
𝟐𝒙+𝟏
Example 3. f(x) =
𝒙−𝟏
f(2)
𝟐(𝟐)+𝟏
Solution: f(2) =
𝟐−𝟏
𝟒+𝟏
=
𝟏
=5
Example 4. f(x) = 4x+1
f(3x-1)
Solution: f(3x-1) = 4(3x-1) +1
= 12x – 4 +1
= 12x -3
Example 5.
f(-5)
To evaluate the piecewise function, we should identify first
to which condition the given value belongs. Since -5
belongs to x ≤1, we will be using the first function, x2+2.
Solution: f(-5) = (-5)2 +2
= 25 +2
= 27
Example 6.
f(5)
To evaluate the piecewise function, we should identify first
to which condition the given value belongs. Since 5 belongs
to x > 1, we will be using the second function, I x-3 I.
Solution: f(5) = I 5 -3 I
=I2I
=2
Example .
f(1)
To evaluate the piecewise function, we should identify first
to which condition the given value belongs. Since 1 belongs
to x ≤1, we will be using the first function, x2+2.
Solution: f(1) = (1)2 +2
= 1 +2
=3
Activity
Objectives:
3. Perform types of operations on
functions
4. Solve problems involving functions.
Lesson 3. Operations on Functions
Solution :
1. (f + g) (x) = f(x) + g(x)
= (x +1) + 2x 2
= 2x2 +x +1
Solution :
2. (f - g) (x) = f(x) - g(x)
= (x +1) - 2x2
= - 2x2 +x +1
Solution :
3. (f ∙ g) (x) = f(x) ∙ g(x)
2
= (x +1) ( 2x )
= 2x3 + 2x2
Solution :
𝑓 𝑓(𝑥)
4. ( )(x) =
𝑔 𝑔(𝑥)
𝑥+1
= 2 , where x ≠ 0.
2𝑥
Solution :
1. (f + g) (x) = f(x) + g(x)
2𝑥+1 3𝑥
= +
𝑥−2 𝑥−2
2𝑥+1+3𝑥
=
𝑥−2
5𝑥+1
=
𝑥−2
Solution :
2. (f - g) (x) = f(x) - g(x)
2𝑥+1 3𝑥
= -
𝑥−2 𝑥−2
2𝑥+1−3𝑥
=
𝑥−2
−𝑥+1
=
𝑥−2
Solution :
3. (f ∙ g) (x) = f(x) ∙ g(x)
2𝑥+1 3𝑥
= ∙
𝑥−2 𝑥−2
3𝑥(2𝑥+1)
=
𝑥−2 2
6𝑥 2 +3𝑥
= 2
𝑥 −4𝑥+4
Solution :
𝑓 𝑓(𝑥)
4. (𝑔) (x) =
𝑔(𝑥)
2𝑥+1 3𝑥
= 𝑥−2 ÷ 𝑥−2
2𝑥+1 𝑥−2
= 𝑥−2 ∙ 3𝑥
2𝑥+1
= 3𝑥
Simplify the ff:
1. (f g)(x) =f(g(x))
= 2[g(x)] +1
= 2(x2 – 2x +2) +1
= 2x2 – 4x +4 +1
= 2x2 – 4x +5
Simplify the ff:
1. (g f)(x) =g(f(x))
=[f(x)]2 – 2[f(x) + 2
= (2x+1)2 – 2(2x+1) +2
= (4x2+4x+1) – 4x – 2 +2
= 4x2 +4x -4x +1 – 2 + 2
= 4x2 +1
Simplify the ff:
1. (f h)(1)
f(h(x)) = 2[h(x)] + 1
= 2(3x) + 1
= 6x + 1
f(h(1)) = 6(1) +1
=7
Simplify the ff:
1. (h f)(1)
h(f(x)) = 3 [f(x)]
= 3 (2x + 1)
= 6x + 3
h(f(1)) = 6(1) + 3
=9
Simplify the ff:
1. (f g)(2)
f(g(x)) = [g(x)]2 + 2
2 2
= ( ) +2
𝑥
4
= (𝑥 2 ) + 2
4
f(g(2)) = 22 + 2
4
= 4 +2 = 1 +2 =3
Simplify the ff:
2. (g f)(2)
2
g(f(x)) = [𝑓 𝑥 ]
2
= 2
𝑥 +2
2
g(f(2)) = 22+2
2
= 4+2
2 1
= 6 or 3
Simplify the ff:
3. (g g)(2)
2
g(g(x)) = [𝑔 𝑥 ]
2
=2
𝑥
2 𝑥
=1∙2
=x
g(g(2)) =2
Lesson 4. Problem Solving Involving Functions
𝑥2 + 𝑥 + 3
𝑥−2
THANK YOU