basic-concepts-of-functions
basic-concepts-of-functions
A function is a correspondence between two (2) sets of elements such that with each element in the
first set, there corresponds to one and only one element in the second set. The first set is called the
domain and the set of all corresponding elements in the second set is called the range.
Function means that each element in the set A must have corresponding only one element in the
set B. An input must only have one output. However, two (2) inputs can have the same output.
Examples:
For any real number𝒙, the square of 𝒙 is
a. 𝑦 = 𝑥2 + 2𝑥 𝑥 = any real number
a unique real number. When you
Answer: 𝑓 (𝑥) = 𝑥2 + 2𝑥
subtract 4, the
This equation assigns to each domain value
result is again unique. So for any input𝒙,
𝑥 and one (1) range value 𝑦. For example,
there is exactly one (1) output𝒚, and the
If 𝑥 = 4, then 𝑦 = (4)2 + 2(4) = 24
equation defines a function.
c. 𝑥2 + 𝑦2 = 16
1 1 1 Answer: In this case, it will be helpful to
If 𝑥 = − , then 𝑦 = (− 2 + 2 (− =
) )
3 3 3 solve the equation for the dependent variable.
5
−
𝑥2 + 𝑦2 = 16
9
Piece-wise function
Piece-wise functions are functions that behave differently based on the input (x) value.
Example:
• Find 𝑓(6), 𝑓(𝑎), and 𝑓(6 + 𝑎) for • Find 𝑔(7),𝑔(ℎ) and 𝑔(7 + ℎ) for
15
𝑓(𝑥) = . 𝑔(𝑥) = 16 + 3𝑥 − 𝑥2.
𝑥−3
B. Subtraction
Let 𝑓 and 𝑔 be any two (2) functions. Then, (𝑓 − 𝑔)(𝑥) = 𝑓(𝑥) − 𝑔(𝑥).
Example:
𝑓(𝑥) = 𝑥 − 2 𝑔(𝑥) = 2𝑥 + 3 ℎ(𝑥) = 𝑥2
Evaluate: (ℎ − 𝑓)(𝑥)
Solution: (ℎ − 𝑓)(𝑥) = ℎ(𝑥) − 𝑓(𝑥) = 𝑥2 − 𝑥 − 2
Evaluate: (𝑔 − 𝑓)(𝑥)
Solution: (𝑔 − 𝑓)(𝑥) = 𝑔(𝑥) − 𝑓(𝑥) = 2𝑥 + 3 − (𝑥 − 2)
(𝑔 − 𝑓)(𝑥) = 3𝑥 + 5
C. Multiplication
Let 𝑓 and 𝑔 be any two (2) functions. Then, (𝑓∙𝑔)(𝑥)=𝑓(𝑥)∙𝑔(𝑥).
Example:
𝑓(𝑥) = 𝑥 − 2 𝑔(𝑥) = 2𝑥 + 3 ℎ(𝑥) = 𝑥2
Evaluate: (𝑓 ∙ 𝑔)(𝑥)
Solution:(𝑓 ∙ 𝑔)(𝑥) = 𝑓(𝑥) ∙ 𝑔(𝑥) = (𝑥 − 2)(2𝑥 + 3)
(𝑓 ∙ 𝑔)(𝑥) = 2𝑥2 − 𝑥 − 6
Evaluate: (𝑓 ∙ ℎ)(𝑥)
Solution: (𝑓 ∙ ℎ)(𝑥) = 𝑓(𝑥) ∙ ℎ(𝑥) = (𝑥 − 2)( 𝑥2)
(𝑓 ∙ ℎ)(𝑥) = 𝑥3 − 2𝑥2
D. Division
𝑓
Let 𝑓 and 𝑔 be any two (2) functions. Then, ( ) (𝑥) = 𝑓(𝑥) , where 𝑔(𝑥) ≠ 0.
𝑔 𝑔(𝑥)
Example: 𝑥
𝑓(𝑥) = 𝑥2 − 5𝑥 + 6 𝑔(𝑥) = ℎ(𝑥) = 𝑥 − 2
𝒇
𝑥−3
Evaluate: ( ) (𝒙)
𝒉
Solution:( 𝑓) (𝑥) = 𝑓(𝑥) 𝑥2−5𝑥+6
=
ℎ ℎ(𝑥) 𝑥−2
𝑓 (𝑥 − 3)(𝑥 − 2)
( ) (𝑥) = =𝑥−3
ℎ (𝑥 − 2)
Evaluate: (𝒉) (𝒙)
𝒇
ℎ ℎ(𝑥) 𝑥−2
Solution:( ) (𝑥) = =
𝑓 𝑓(𝑥) 𝑥2−5𝑥+6
ℎ 𝑥−2 1
( ) (𝑥) = =
𝑓 (𝑥 − 3)(𝑥 − 2) 𝑥 − 3
Composition of function
Composition of function is a special operation on functions. It is applying one (1)
function to the result of another. It is like the result of f(x) is sent through g(x).
Let 𝑓 and 𝑔 be any two (2) functions. Then, (𝑔 ∘ 𝑓)(𝑥) = 𝑔(𝑓(𝑥)).
Example:
Consider f(x) = 2x + 3 and g(x) = x2.
(𝑔 ∘ 𝑓)(𝑥) = 𝑔(𝑓(𝑥))
(𝑔 ∘ 𝑓)(𝑥) = 𝑔(𝑓(𝑥)) = 𝑔(2𝑥 + 3)
(𝑔 ∘ 𝑓)(𝑥) = (2𝑥 + 3)2
(𝑔 ∘ 𝑓)(𝑥) = 4𝑥2 + 12𝑥 + 9