1a Function2
1a Function2
1a Function2
Genalyn
Diagram B Vincent Grace
Not a
Heidie
function
Arman
Diagram C Julius Ann function
Glenn
Remember:
Every element in the domain is mapped to a single element
in the range.
There is no duplication of the first coordinates in the set of
ordered pairs.
The graph of the relation can only be intersected once when
a vertical line is drawn anywhere in the graph.
Now, if these three features are present, then the given relation
is said to be a function.
Relations can be represented by
ordered pairs
table of values
mapping diagram
graph
rule or equations
Functions can often be used to model real situations.
Example 1.
Give a function C that can represent the cost of buying x shirts, if
one shirt costs ₱400.
Solution
Since each shirt costs ₱400, then the cost function is C(x) = 400x
Functions can often be used to model real situations.
Example 2
If distance (D) is a function of time (t), give a function D that can represent
the distance a car travels in t time, if every hour the car travels 60
kilometers.
Solution
Solution
function is 𝑯(𝒂) = 𝟐 + 𝒂
Since every year the height is added by 2 inches, then the height
Functions can often be used to model real situations.
Example 4
Solution
Solution
The area of the rectangular enclosure is A = xy. Write this as a function of x as
A(x) = xy. Recall that the formula for the perimeter of a rectangle is defined as
P=2l+2w. In this problem, we only need to enclose the three sides of the rectangular
area since the frontal side is a river. Therefore, the perimeter becomes P=x+2y or
x+2y=P. Then, x+2y=100 or y = (100 – x)/2 = 50 – 0.5x. Thus, A(x) = x(50 – 0.5x) or
A(x) = 50x – 0.5x2
TOPIC:
Piecewise Functions
In real life, however, functions are represented by a
combination of equations, each corresponding to a
part of the domain.
x2 + 1 , x 0
f(x) = x–1, x0
Piecewise Function
• is a function defined by two or more functions over
a specified domain.
• Each formula has its own domain, and the domain
of the function is the union of all these smaller
domains.
f
How to write the formula given a piecewise
function?
1)Identify the intervals for which the rule applies.
2)Determine the formulas that describe how to
calculate an output in each interval.
3)Use braces and “if – statements” to write the
function.
Illustrative Example 1
15000+125(x – 100 ), if x > 100 For more than 100 t-shirts purchased
Illustrative Example 2
STEP 2 Determine the formulas that describe how to calculate an output in each interval.
STEP 3 Use braces and “if – statements” to write the function.
Answer:
STEP 2 Determine the formulas that describe how to calculate an output in each interval.
STEP 3 Use braces and “if – statements” to write the function.
Answer:
50n, 𝑖𝑓 0 < n ≤ 5
For buying 5 chocolate bars or less
f(n) =
48n, 𝑖𝑓 n > 5 For buying more than 5 chocolate bars
Illustrative Example 4
STEP 2 Determine the formulas that describe how to calculate an output in each interval.
STEP 3 Use braces and “if – statements” to write the function.
Answer:
For the service to at least 50 persons
250h, if 0 < h ≤ 50
C(h) = 200h, if 51 ≤ h ≤ 100 For the service to 51 to 100 persons
150h, if h > 100 For the service to more than 100 persons
EXERCISES:
1. The fee to park in the parking lot of a shopping mall costs Php.
40.00 for the first two hours and an extra Php. 10.00 for each
hour after that. If you park for more than twelve hours, you
instead pay a flat rate of Php. 200.00. Represent your parking
fee using the function p(t) where t is the number of hours you
parked in the mall.
2. The cost of hiring a catering service to serve food for a party is
₱150 per head for 20 persons or less, ₱130 per head for 21 to
50 persons, and ₱110 for 51 to 100 persons. For more than
100 persons, the cost is at Php100 per head. Represent the
total cost C as a function of the number of attendees h to the
party using equation.
EXERCISES:
The fee to park in the parking lot of a shopping mall costs ₱ 40.00
for the first two hours and an extra ₱10.00 for each hour after that. If
you park for more than twelve hours, you instead pay a flat rate of
₱200.00. Represent your parking fee using the function p (t) where t
is the number of hours you parked in the mall.
40 , if 0 < t ≤ 2
Solution
p(t) = 40 + 10 (t-2), if 2 < t < 12
200 , if t > 12
EXERCISES:
2. The cost of hiring a catering service to serve food for a party is
₱150 per head for 20 persons or less, ₱130 per head for 21 to 50
persons, and ₱110 for 51 to 100 persons. For more than 100
persons, the cost is at Php100 per head. Represent the total cost
C as a function of the number of attendees h to the party using
equation.
150h , if 0 < h ≤ 20
Solution 130h, if 21 ≤ h ≤ 50
C(h) =
110h, if 51 ≤ h ≤ 100