GenMath - MODULE 1 - Lessons 1-4 - Function As Machine, Evaluation, Operations, and Composition of Function - Updated
GenMath - MODULE 1 - Lessons 1-4 - Function As Machine, Evaluation, Operations, and Composition of Function - Updated
KEY
CONCEPT OF
RELATION
AND
FUNCTIONS
• M11GM-Ia-1 –
Represents Real-life
Situations Using
Functions, Including
Piece-wise Functions
Concept of
Relations
• Suppose you begin to
climb a tall mountain.
As you climb higher
and higher, what
changes will slowly
take place with
respect to:
Øair temperature?
Concept of Function
Did you know that electrical current is affected by
the voltage and resistance in a circuit? Using Ohm's
law, it tells us how current, voltage, and resistance
are related:
• As described by Ohm’s
law with the equation
!
𝐼 = " , state relationship
between voltage,
current, and resistance
Functions vs. Relations
• A “function” is a well-behaved
relation, that is, given a starting
point we know exactly where to
go.
A relation is a set of ordered pairs.
The domain is the set of all x values in the relation
domain = {-1,0,2,4,9}
These are the x values written in a set from smallest to largest
This is a
{(2,3), (-1,5), (4,-2), (9,9), (0,-6)} relation
range = {-6,-2,3,5,9}
This relation can be written {(1,6), (2,2), (3,4), (4,8), (5,10), (6,6)}
A many-to-one relation associates two or more values of the independent
(input) variable with a single value of the dependent (output) variable.
A relation assigns the x’s with y’s
n y
M a 2
o 1
e t ion
n la t 4
O Re 2
6
3
8
4 10
5 12
This relation can be written {(1,6), (2,2), (3,4), (3,8), (4,12), (5,10)}
A one-to-many relation associates a single value of the independent (input)
variable with two or more values of the dependent (output) variable.
Functions
• A function is a type of
relation between two sets of
elements in which each
element in the first set there
corresponds one and only one
element in the second set.
• The first set, which is the set
of x values is called the
domain and the set of all
corresponding elements in the
second set, which is the y
values, is called the range.
The following Characteristics
are True for a Function:
A piecewise-defined function is
a function defined by multiple
sub-functions
An absolute function is an
example of a piecewise–
defined function. Consider
the function 𝑓 𝑥 = 𝑥 . This
function can be defined using
the definition of absolute
value:
Piecewise-Defined
Function and
Absolute Function
A piecewise function or
a compound function is
a function defined by
multiple sub-functions,
where each sub-function
applies to a certain
interval of the main
function's domain.
Vertical Line Test
x f(x) y
Function Notation
y = f (x )
Input
Output Name of
Function
Function
Machine
Solution:
q The area of the rectangular enclosure is 𝐴 = 𝑥𝑦. We will
write this as a function of 𝑥. Since only 100m of fencing
is available, then 𝑥 + 2𝑦 = 100
100 - x A( x) = xy
y= A( x) = x(50 - 0.5 x)
2
y = 50 - 0.5 x A( x) = 50 x - 0.5 x 2
Example 3 FINDING THE PRICE FUNCTION p(x)
𝑦 – 𝑦1 = 𝑚 𝑥 – 𝑥1
1
𝑦 – 540 = − 𝑥 − 500
5
1
𝑦 – 540 = − 𝑥 + 100
5
1
𝑦 = − 𝑥 + 640
5
𝑦 = 640 – 0.2𝑥
𝒑 𝒙 = 𝟔𝟒𝟎 − 𝟎. 𝟐 × 𝟗𝟎𝟎
= 𝟔𝟒𝟎 − 𝟏𝟖𝟎
𝒑 𝒙 = 𝟒𝟔𝟎 𝐩𝐡𝐩
Example 4 WRITE THE FUNCTION EQUATION
A user is charged ₱300 monthly for a particular mobile
plan, which includes 100 free text messages.
Messages in excess of 100 are charged ₱1 each.
Represent the monthly cost for text messaging using
the function 𝑡 𝑚 , where m is the number of messages
sent in a month.
Solution:
q The cost of text messaging can be expressed by the
piecewise function
Solution:
q The input value is distance, and the output is the cost of
the jeepney fare. If 𝑓(𝑑) represents the fare as a function
of distance, the function can be represented as follows
8.00 , 𝑖𝑓 0 < 𝑑 ≤ 4
𝑓 𝑑 =,
8.00 + 1.50 𝑑 − 4 , 𝑖𝑓 𝑑 > 4
Example 6 WRITE THE FUNCTION EQUATION
Solution:
35𝑛 , 𝑖𝑓 0 < 𝑛 ≤ 10
𝑓 𝑛 =3
32𝑛 , 𝑖𝑓 𝑛 > 10
EVALUATION OF
FUNCTIONS
y = f (x )
Input
Output Name of
Function
Examples:
f(x) is a function defined by 𝐲 = 𝒇 𝒙 = 𝟒 − 𝟓𝒙
Let:
𝑥=2 𝑥=4
𝑓 𝑥 = 4 − 5𝑥 𝑓 𝑥 = 4 − 5𝑥
𝑓 2 = 4 − 5(2) 𝑓 4 = 4 − 5(4)
𝑓 2 = 4 − 10 𝑓 4 = 4 − 20
𝒇 𝟐 = −𝟔 𝒇 𝟒 = −𝟏𝟔
Remember---this tells you what
is on the right-hand side---it is
f ( x ) = 2 x - 3x + 6
2
f (2 ) = 2(2 ) - 3(2 ) + 6
not something you work. It says 2
that the right-hand side is the
function f and it has x in it.
f (- 2 ) = 2(- 2 ) - 3(- 2 ) + 6
2
f (- 2) = 2(4) - 3(- 2) + 6 = 8 + 6 + 6 = 20
f (k ) = 2(k ) - 3(k ) + 6
2
( )
f (k ) = 2 k - 3(k ) + 6 = 2k - 3k + 6
2 2
( )
f (2k ) = 2 4k - 3(2k ) + 6 = 8k - 6k + 6
2 2
g (x ) = x - 2 x
2
g (- 4) = (- 4) - 2(- 4) = 16 + 8 = 24
2
So g (1) + g (- 4) = -1 + 24 = 23
The last thing we need to learn about functions for
this section is something about their domain. Recall
domain meant "Set A" which is the set of values you
plug in for x.
h( x ) = x - 4
Can't be negative so must be ≥ 0
x-4³0 solve
this x³4
We have to be careful what x's we use so that the second
"illegal" of square rooting a negative doesn't happen. This
means the "stuff" under the square root must be greater
than or equal to zero (math's way of saying "not
negative").
So, the answer is:
1. f ( x) = 2 x + 1 at f (3 x - 1)
2x + 1 x = 1.5
2. g ( x) = at
x -1
3. g ( x) = x - 2 x + 2
2
at g (2 x + 3)
4. f ( x) = x - 2 x + 4 x - 5
3 2
at f (2 x + 1)
OPERATIONS
ON FUNCTIONS
L1.3 Function Operations
Arithmetic Operations on Functions
Sum, Difference, Product, and Quotient
Operations of Functions
Given two functions ƒ and g, then for all values
of x for which both ƒ(x) and g(x) are defined, the
functions ƒ + g, ƒ – g, ƒg, and ƒ/g are defined as
follows.
( f + g )( x ) = f ( x ) + g( x ) Sum
( f - g )( x ) = f ( x ) - g( x ) Difference
𝑓𝑔 𝑥 = 𝑓 𝑥 ×𝑔(𝑥) Product
æ f ö f (x)
ç g ÷ ( x ) = g( x ) , g( x ) ¹ 0
Quotient
è ø
Note The condition g(x) ≠ 0 in the
definition of the quotient means that the
domain of (ƒ/g)(x) is restricted to all values
of x for which g(x) is not 0. The condition
does not mean that g(x) is a function that is
never 0.
Example 1 USING OPERATIONS ON
FUNCTIONS
Let ƒ(x) = x2 + 1 and g(x) = 3x + 5. Find the
following.
a. ( f + g )(1)
Solution Since ƒ(1) = 2 and g(1) = 8, use the
definition to get
( f + g )(1) = f (1) + g (1) ( f + g )( x ) = f ( x ) + g( x )
=2+8
= 10
Example 1 USING OPERATIONS ON
FUNCTIONS
Let ƒ(x) = x2 + 1 and g(x) = 3x + 5. Find the
following.
b. ( f - g )( -3 )
Solution Since ƒ(–3) = 10 and g(–3) = –4,
use the definition to get
( f - g )( -3 ) = f ( -3) - g ( -3) ( f - g )( x ) = f ( x ) - g( x )
= 10 - ( -4)
= 14
Example 1 USING OPERATIONS ON
FUNCTIONS
Let ƒ(x) = x2 + 1 and g(x) = 3x + 5. Find the
following.
c. ( fg )( 5 )
Solution Since ƒ(5) = 26 and g(5) = 20, use
the definition to get
𝑓𝑔 5 = 𝑓 5 ×𝑔(5)
= 26×20
= 520
Example 1 USING OPERATIONS ON
FUNCTIONS
Let ƒ(x) = x2 + 1 and g(x) = 3x + 5. Find the
following.
æ f ö
d. ç ÷ ( 0 )
ègø
Solution Since ƒ(0) = 1 and g(0) = 5, use the
definition to get
æ f ö f (0) 1
ç g ÷ ( 0 ) = g (0) = 5
è ø
Domains
= 2 ( 4 x + 1) + 5( 4 x + 1)
2
g ( x ) = 2x 2 + 5 x
Square 4x + 1; = 2 (16 x + 8 x + 1) + 20 x + 5
2
Distributive
property.
= 32 x + 16 x + 2 + 20 x + 5
2
= 32 x 2 + 36 x + 7 Combine terms.
Example 3 SHOWING THAT ( g ! f )( x ) ¹ ( f ! g )( x )
Let ƒ(x) = 4x + 1 and g(x) = 2x2 + 5x.
= 4 ( 2x 2 + 5 x ) + 1 f ( x ) = 4x + 1
= 8 x 2 + 20 x + 1 Distributive
property
So... ( g ! f )( x ) ¹ ( f ! g )( x ) .
Example 4 FINDING FUNCTIONS THAT FORM
A GIVEN COMPOSITE
( f ! g )( x ) = ( x - 5 ) - 4 ( x - 5 ) + 3.
2 3 2
Solution
Note the repeated quantity x2 – 5.
If we choose g(x) = x2 – 5 and
ƒ(x) = x3 – 4x + 3, then ( f ! g )( x ) = f ( g ( x ) )
End of Presentation