Lesson 1: FUNCTIONS: FUNCTIONS As Representation of Real-Life Situations
Lesson 1: FUNCTIONS: FUNCTIONS As Representation of Real-Life Situations
Lesson 1: FUNCTIONS: FUNCTIONS As Representation of Real-Life Situations
Before we proceed with the first lesson, what have you remembered about
functions and relations?
A relation is any set of ordered pairs. The set of all first elements of the
ordered pairs is called the domain of the relation, and the set of all second elements
is called range.
FUNCTION MACHINE
Functions can be illustrated as a machine where there is the input and output.
Example:
If height (H) is a function of age (a), give a function H that can represent the
height of a person in an age, if every year the height is added by 2 inches.
Solution:
Since every year thee height is added by 2 inches, then the height function is
(a)= 2+a
PIECEWISE FUNCTION
A piecewise function is a function in which more than one formula is used to
define the output. Each formula has its own domain, and the domain of the
function is the union of all these smaller domains. We notate this idea like this:
Formula 1 if x is in domain 1
F(x) = Formula 2 if x is in domain 2
Formula 3 if x is in domain 3
Example:
A chocolate bar costs $50 per piece. However, if
you buy more than 5 pieces, they will mark down the price to $48 per piece. Use a
piecewise function to represent the cost in terms of the number of chocolate bars
bought.
Example 1: Example 2:
F(x)= 2x – 4, find F(3): F(x)= 3x +7, find F(-2):
Solution: Solution:
F(3) = 2(3) – 4 F(-2) = 3(-2) +7
F(3) = 6 – 4 F(-2) = -6 + 7
F(3) = 2 F(-2) = 1
Solutions:
(f + g)(x) = (x+5) + (2x-1) (f + g)(3) = (3+5) + (2(3)-1) (f*g)(3) = (3+5) * (2(3)-1)
= 2x+x+5-1 = 8 + (6-1) = 8 * (6-1)
= 3x+4 = 8+5 = 8*5
= 13 = 40