Genmath - Module 1
Genmath - Module 1
FUNCTION
In many situations in science, business, and mathematics, a correspondence exists between two sets
of objects. The concept of correspondence plays an important role in function. Here are some of
the examples that shows one quantity depend on another.
Your height depends on your The temperature depends on The cost of a mailing package
age the date depends on its weight
Can you think of other example that describe real-life relationship between two quantities?
Example:
If Katherine wants to buy boxes of facemask, how much will she pay? And of course,
the more boxes she will purchase, the greater amount it will cost. It does not tell us the
total amount she will pay until we know the quantity of facemasks she will buy. Thus,
we need a rule that relates to this situation. For example, we let 𝒙 be the number of
facemask box, 𝒇(𝒙) be the total amount of Katherine will pay, where each box of
facemask cost Php120.
b. table
Based on the equation, in one box of facemask, it cost Php120, which we denote by the
ordered pair (1, 120).
Number of box 0 1 2 3 4 5
𝒙
Total Cost 0 120 240 360 480 600
𝒇(𝒙)
c. ordered pair
{(0, 0), (1, 120), (2, 240), (3, 360), (4, 480), (5, 600)}
d. graph
Since there are no elements It is NOT A FUNCTION The values in the domain
in the domain that are the because it has the same first does not repeat, therefore it
same, it is a FUNCTION. coordinate. is a FUNCTION.
Given the mapping diagram below, write the set of ordered pairs. Then, determine if it is a function
or not. Give the domain and range.
1. 2. 3. 4.
Determine which of the following equations specify functions with independent variable x.
1. 4y – 3x = 8 2. y2 – x2 = 16
Solving for the dependent variable y, we Solving for the dependent variable
have: y2 – x2 = 16
4y = 8 + 3x y2 = 16 + x2
y=2+¾x
𝑦 = ±√16 + 𝑥 2
Since each input value x corresponds to
exactly one output value in y, the equation Since 16 + x2 is always positive real number
defines a function. and since each positive real number has two
real square roots, each value of the
independent variable 𝑥 corresponds to two
values of the dependent variable,
𝑦 = √16 + 𝑥 2 and 𝑦 = −√16 + 𝑥 2 . Thus, the
equation is NOT a function.
• Function notation uses 𝑓(𝑥) to represent the y value. In words, 𝑓(𝑥) is said
“𝑓 𝑜𝑓 𝑥”.
• The elements of the domain can be imagined as input to a machine that
applies a rule so that each input corresponds to only one output.
• To evaluate a function is to find the value the function for a given value of the
variable.
Examples:
Given 𝑓(𝑥) = 3𝑥 + 2, find 𝑓(7) and 𝑓(−4).
𝑓(7) = 3(7) + 2
𝑓(−4) = 3(−4) + 2
𝑓(7) = 21 + 2
𝑓(−4) = −12 + 2
𝑓(7) = 23
𝑓(−4) = −10
PIECE-WISE FUNCTION
• A piecewise function is a function that is defined on a sequence of intervals.
• Piecewise functions are defined using the common functional notation, where the body of
the function is an array of functions and associated subdomains. Crucially, in most settings,
there must only be a finite number of subdomains, each of which must be an interval, in
order for the overall function to be called "piecewise".
Representation:
150ℎ , 𝑖𝑓 0 ≤ ℎ ≤ 20
130ℎ , 𝑖𝑓 21 ≤ ℎ ≤ 50
𝑓(𝑥) = {
110ℎ , 𝑖𝑓 51 ≤ ℎ ≤ 100
100ℎ , 𝑖𝑓 ℎ > 100
Since 𝑥 = −2, the value is for Since 𝑥 = 0, the value is for Since 𝑥 = 3, the value is for
the inequality 𝑥 <0 𝑥 ≥ 0 hence, we will use the 𝑥 ≥ 0 thus, we will use the
therefore, we will use the linear function 𝑚(𝑥) = 2𝑥 − 1. function 𝑚(𝑥) = 2𝑥 − 1.
quadratic function 𝑚(𝑥) =
𝑥 2 + 1. 𝑚(𝑥) = 2𝑥 − 1 𝑚(𝑥) = 2𝑥 − 1
𝑚(0) = 2(0) − 1 𝑚(3) = 2(3) − 1
𝑚(𝑥) = 𝑥 2 + 1 𝑚(0) = 0 − 1 𝑚(3) = 6 − 1
𝑚(−2) = (−2)2 + 1 𝑚(0) = −1 𝑚(3) = 5
𝑚(−2) = 4 + 1
𝑚(−2) = 5
2𝑥+3 𝑖𝑓 𝑥 ≠2
2. 𝑛(𝑥) = {4 𝑖𝑓 𝑥=2
a. 𝑛(5) b. 𝑛(2) c. 𝑛 (− )
1
2
Since 𝑥 = 5, the value is for Since 𝑥 = 2, we will use the 1
𝑥 ≠ 2 therefore, we will use constant function 𝑛(𝑥) = 4. Since 𝑥 = − , the value is for
2
the linear function 𝑛(𝑥) = 𝑥 ≠ 2 therefore, we will use
2𝑥 + 3. the function 𝑛(𝑥) = 2𝑥 + 3.
𝑛(2) = 4
𝑛(𝑥) = 2𝑥 + 3 𝑛(𝑥) = 2𝑥 + 3
𝑛(5) = 2(5) + 3 1 1
𝑛 (− ) = 2 (− ) + 3
𝑛(5) = 10 + 3 2 2
𝑛(5) = 13 1
𝑛 (− ) = −1 + 3
2
1
𝑛 (− ) = 2
2
• A function is a relation where each element in the domain is related to only one
value in the range by some rule.
• We can illustrate a function by an arrow diagram, table, equation, graph, or a set
of ordered pairs.
• If any vertical line intersects a graph in exactly one point, the graph is a function.
• A piecewise function is a function that is defined on a sequence of intervals.
• Evaluating a function means substituting the variable in the function, in this case
x, with a value from the function’s domain and computing for the result