Relation-and-Function
Relation-and-Function
Piecewise Function
Evaluation of Function
Operations on Functions
Functions
Chapter 1
Mathematics Department
Mindanao State University Main Campus
Marawi City
[email protected]
Relation
It is a set or ordered pairs. The set of all first entries of these
pairs is called the domain (abscissa) of the relation while the
set of all second entries are called range (ordinate) of the
relation
Given the set of ordered pairs (1, 2), (3, 4), (5, 6), (5, 7)
Function
It is a relation in which each element of the domain corresponds
to exactly one element of the range.
Piecewise Function
Is a function that is defined by two or more equations where
each equations applies a certain interval over a specified domain.
we use f (x) = 3x + 2
f (0) = 3(0) + 2 = 2
Since x = −3
For (2)
Since x = −5, we use f (x) = x + 2
f (−5) = (−5) + 2 = −3
Since x = 3, we use f (x) = −x + 3
f (3) = −(3) + 3 = 0
Examples
What is f (−2) and f (7)
1 f (x) =
−x − 4, if x ≤ 5
2x2 − 7, if 5 < x ≤ 10
What is f (−4), f (0), f (2) and f (3)
2
x + 3x − 7, if x < −1
5x + 6, if x ≥ −1
1 f (x) =
x3 + 4, if x > 2
12, if x = 2
Evaluating a Function
To evaluate a function is simply substitute/replace a certain
variable with a given number of expressions.
Operations on Function
Given two functions f and g, then:
Sum of f and g: (f + g)(x) = f (x) + g(x)
Difference of f and g = (f − g)(x) = f (x) − g(x)
Product of f and g = (f · g)(x) = f (x) · g(x)
Quotient of f and g = fg (x) = fg(x) (x)
of g of x”.
2 x is in the domain of g and g(x) is in the domain of f .
Definition
The operation that combines f and g to produce their
composite is called function composition.
Example:
Given f (x) = x2 + 3x − 4 and g(x) = x − 2, evaluate the
following.
1 f (−1)
2 g(4)
3 f (g(x))
4 g(g(2))
5 (f ◦ g)(2)
Example: √
Given the functions, f (x) = 2x − 1 and g(x) = 2x + 1
1 Find and simplify (g ◦ f )(x).
2 Find and simplify (g ◦ f )(10).