Combining various functions at different operations:
A.) Sum of Two Functions
In adding two functions, you add their output of the functions
Example: f(x) = x + 1 and g(x) = x + 2
(f + g)(x) = f(x) + g(x) = (x + 1) + (x + 2) = x + 1 + x + 2 = 2x + 3
(f + g)(1) = f(1) + g(1) = (1 + 1) + (1 + 2) = 2 + 3 = 5
B.) Subtraction of Two Functions
In subtracting two functions, you subtract the output of the functions.
Example: f(x) = x + 1 and g(x) = x + 2
(f - g)(x) = f(x) - g(x) = (x + 1) - (x + 2) = x + 1 - x - 2 = -1
(f - g)(1) = f(x) - g(x) = (1 + 1) - (1 + 2) = 2 - 3 = -1
C.) Multiplication of Two Functions
In multiplying two functions, you multiply the output of the functions.
Example: f(x) = x + 1 and g(x) = x + 2
(f * g)(x) = f(x) * g(x) = (x + 1) * (x + 2) = x^2 + 2x + x + 2 = x^2 + 3x + 2
(f * g)(x) = f(x) * g(x) = (1 + 1) * (1 + 2) = 2 * 3 = 6
D.) Division of Two Functions
In dividing two functions, you divide the output of the functions.
Example: f(x) = x + 1 and g(x) = x + 2