COncept of FUnctions-Part 2
COncept of FUnctions-Part 2
Part 2
Prof. Aurelia Luz A. Aquillo
Example 2:
Let f(x) = 3x2 – 4x + 5 and g(x) = 2x3 + 6x – 2
Find (f +g) (x) . Determine the domain.
(f +g+ (x) = f(x + g(x)
= (3x2 – 4x + 5 ) + (2x3 + 6x – 2)
= 2x3 + 3x2 + 2x + 3
D f+ g = D f ∩ D g
Domain = {x | x is a real number}
Example 3:
Let f(x) = 4x3 - 3x2 - x + 4 and g(x) = 3x3 + 2x2 – 4
Find (f +g) (x) . Determine the domain.
(f +g) (x) = f(x) + g(x)
= ( 4x3 - 3x2 - x + 4 ) + (3x3 + 2x2 – 4)
= 7x3 – x2 - x
Domain = { x|x is a real number}
= = 4x - 5
Example 7:
(f ● g) (x) = f(x) ● g(x)
f(x) = and g(x) =
Example 8:
Let f(x) = and g(x) =
By factoring,
Example 9:
Let f(x) = and g(x) =
1. Linear Functions
2. Quadratic Functions
3. Polynomial Functions
1. LINEAR FUNCTIONS
1.) 7.)
3.) 9.)
4.) f x -8 10.)
5.)
6.)
REAL LIFE APPLICATIONS OF A FUNCTION
Solution:
Let x = number of hours using the computer unit.
P30 per hour for 3 hours and less: 30x if x ≤ 3 ( or 3 ≥ x )
Rental charge for a maximum of P20 if the user exceeds 3 hours: 20 if
x > 3.
Graph:
f(x) = { 30x , if x ≤ 3
{ 20x, if x > 3
APPLICATION OF PIECEWISE FUNCTION
Example 11:
A videoke machine can be rented for P1,000 for three days, but for the
fourth day onwards, additional cost of P400 per day is added.
Represent the cost of renting a videoke machine as a piecewise
funcion of the number of days it is rented and plot the graph.
Solution:
f(x) = P1,000 if 0 ≤ x ≤ 3
1,000 + 400 if x > 3
Graph:
APPLICATION OF PIECEWISE FUNCTION
Example 12:
The cost of hiring a catering service to serve food for a party is P150
per head for 20 persons or less, P130 per head for 21 to 50 persons
And P110 per head for 51 to 100 persons. For 100 or more persons
the cost is at P100 per head.
Represent the total cost as a piecewise function of the number of
attendees.
Solution:
f(x) = 150 x if 0 ≤ x ≤ 20
130x if 21 ≤x ≤ 50
110x if 51 ≤ x ≤ 100
100x if x > 100
APPLICATION OF PIECEWISE FUNCTION
1. A garment factory charges P95 per set of P.E. uniform for orders of
30 or fewer, and P85 per set of uniform for orders of 60 or fewer
but more than 30 sets, and P75 per set of P.E. uniform for orders
more than 60 sets.
Represent the cost f(x) in peso for x sets of P.E. uniform.
2. A bookstore charges per book P10 per book for delivery of orders
40 or fewer books, P7 per book for orders of 70 or fewer but more
than 40, and P5 per book for orders more than 70 books.
a. Represent the delivery cost , f for x number of books.
b. What will be the delivery cost for 30 books , f(30) ?
c. What will be the delivery cost for 65 books, f(65) ?
d. For 80 books, f(80) ?
COMPOSITION OF FUNCTION
• Let f and g be the functions. The composite
function is denoted by (f ○ g), defined as
• ( f ○ g) (x) = f (g(x))
• The process of obtaining a composite function
is called function composition.
• Given these functions:
• f(x) = 2x + 1 g (x) = √ x + 1
• q (x) = x22–x 2x1 + 2
• r (x) = x 1
COMPOSITION OF FUNCTION
• 1. Find and simplify (g ○ f) (x):
Solution: (g ○ f) (x) = g(f (x) )
= √(2x + 1) + 1
= √ 2x + 2
2. Find and simplify (q ○ f) (x), Is it equal with (f ○ q)
(x) ?
Solution: (q ○ f) (x) = q (f(x)
= (2x + 1)2 – 2 (2x +1) + 2
= 4x2 + 4x + 1 – (4x+ 2) + 2
= 4x2 + 1
COMPOSITION OF FUNCTION
• (f ○ q) (x) = f( q(x)
= 2 (x2 – 2x+ 2) + 1
= 2x2 – 4x +4 + 1
= 2x2 – 4x + 5
The composite functions (q ○ f) (x) is not the
same with (f ○ q) (x). 2 x 1 4x 2
2 1 1
( 4 x 2) ( x 1)
= Answer :
x 1
5x 1
x 1
COMPOSITION OF FUNCTION
• Seatwork:
• If f (x) = x2 + 3x , g(x) = x - 2
1.) Find and simplify the following composition
functions: a.) f ○ g c.) f ○ f
b.) g ○ f d.) g ○ g
Answers: a.) x2 – x -2 c.) x4 + 6x3 + 12x2 + 9x
b.) x2 + 3x – 2 d.) x- 4
COMPOSITION OF FUNCTION
2 .) f(x) = 5x + 3 g(x) = 3x2
Find (f ○ g) (4) = f(g(4)) :
= 5 (3x2 ) + 3 = 15x2 + 3 = 15 (4)2 + 3 = 243
3.) f(x) = 3x – 5 g(x) = x2
Find (f ○ g) (3) = f(g(3))
= 3 x2 - 5 = 3(9) – 5 = 27-5 = 22
4. f(x) = -4x + 2 g(x) = √x – 8
Find ( f ○ g) (12) = f(g(12))
= -4 √ x- 8 + 2 = -4 √4- 2 = -8 + 2 = -6
COMPOSITION OF FUNCTION
5. f(x) = -2x + 1 g(x) = √x2 - 5
Find g ○ f (2) = g(f(2)) :
= f(2) = -2(2) + 1 = -3
= g(-3) = √ 9 – 5 = √ 4 = 2
6. f(x) = 4x + 3 g(x) = x- 2
Find : f(g(5))
g(f(-6))
f( f(7))
COMPOSITION OF FUNCTION
7. f(x) = 7x + 4 g(x) = 2x - 4
Find: a. f( g( 3))
b. g(f(4))
c. f(f(3)
d. g(g(5))
Using f(x) = 8x2 and g(x) = 4x + 2, find:
e. ( g ○ g )(x)
f. ( f ○ f) (x)
Are these two answers the same?
Test Your Progress
• Write the letter corresponding the correct
answer on the space provided.
_____1. The relationship between the set of
inputs and outputs with the condition that
each input is related to exactly one output is
called ____________.
a. correlation c. function
b. dependent variable d. algebraic expression
_____2. What is the input value in a given
function?
a. range c. piecewise
b. domain d. x and y-values
____ 3. What is the graph of a constant function?
a. line c. Bell-shaped
b. V-shape d. U-shaped
____ 4. To solve equations involving function
means to find ______ values.
a. Output c. Input and output
b. Input d. Positive and negative numbers
_____5. The function that is defined on a sequence of
intervals for a subsets of domain is called_______.
a. range c. piecewise
b. domain d. x and y-values
____ 6. What is the value of the output of the function
f(x) = 3x3 – 4, for f(-1)?
a. -1 c. -7
b. 1 d. 0
____ 7. What is the domain of the function f(x) = √ x2 – 16
?
a. { x | x is a real number
b. { x | x is a real number and x ≠ +- 16
c. { x | x is a real number and x ≠ +- 4
d. { x | x is a real number and x ≠ +- 2
_____8. What is the domain of the function f(x)3x
x2 4 x 5
=
a. { x | x is a real number
b. { x | x is a real number and x > 1
c. { x | x is a real number and x > 5
d. {x | x is a real number and x ≠ 5 and x ≠ -1
____ 9. Given f(x) = 2x2 -1 and g(x) = (2x -1)2.
What is (f+g) (x) ?
a. 6x2 – 4x c. -6x2 – 4x + 2
b. 4x2 - 2 d. -2x2 +4x - 2
_____10. What is the domain of the function f(x) 3x
x2 4 x 5
=
a. ____ 9. Given f(x) = 2x2 -1 and g(x) = (2x -1)2.
What is (f+g) (x) ?
a. 6x2 – 4x c. -6x2 – 4x + 2
b. 4x2 - 2 d. -2x2 +4x - 2