Operations of Functions
General Mathematics
• https://www.mathsisfun.com/sets/functions-
operations.html
• https://www.youtube.com/watch?v=lIbAiPUrt
vQ
• https://www.youtube.com/watch?v=SWOS3H
OvJbk
Addition of Functions
Let f and g be any two functions.
The sum f + g is a function whose domains are
the set of all real numbers common to the
domain of f and g, and defined as follows:
(f + g)(x) = f(x) + g(x)
Example 1
If f (x) = 3x – 2 and g (x) = x2 + 2x – 3,
find (f + g) (x).
Solution to Example 1
(f + g) (x) = f (x) + g (x)
= (3x – 2) + (x2+ 2x – 3)
= x2 + 5x – 5
Subtraction of Functions
Let f and g be any two functions.
The difference f – g is a function whose domains
are the set of all real numbers common to the
domain of f and g, and defined as follows:
(f – g)(x) = f(x) – g(x)
Example 2
Let f (x) = x2– 5 and g (x) = 5x + 4,
find (f – g)(x).
Solution to Example 2
(f – g)(x) = f (x) – g (x)
= (x2 – 5) – (5x + 4)
= x2 – 5 – 5x – 4
= x2 – 5x – 9
Multiplication of Functions
Let f and g be any two functions.
The product fg is a function whose domains are
the set of all real numbers common to the
domain of f and g, and defined as follows:
(fg)(x) = f(x) · g(x)
Example 3
If f (x) = 3x – 2 and g (x) = x2 + 2x – 3,
find (fg) (x).
Solution to Example 3
(fg)(x) = (3x – 2)(x2 + 2x – 3)
= 3x (x2 + 2x – 3) – 2(x2 + 2x –3)
= 3x3 + 6x2 – 9x – 2x2 – 4x + 6
= 3x3 + 4x2 – 13x + 6
Division of Functions
Let f and g be any two functions.
The quotient f/g is a function whose domains
are the set of all real numbers common to the
domain of f and g, and defined as follows: ,
where g(x) ≠ 0.
Example 4
If f (x) = x + 3 and g (x) = x2 + 2x – 3,
find (f/g) (x).
Solution to Example 4
Composition of Functions
The composition of the function f with g is
denoted by and is defined by the equation:
The domain of the composition function f g is
the set of all x such that
1. x is in the domain of g; and
2. g(x) is in the domain of f.
Example 5
Given f(x) = 4x – 5 and g(x) = x^2 + 4,
find .
Solution to Example 5