Topics in this sectionOperations on Functions1 topic
- Adding, Subtracting, Multiplying and Dividing Functions
Operations on Functions
When you work with functions, you can combine them using the same operations you use with numbers: addition, subtraction, multiplication, and division. The result of combining two functions is a new function.
To add two functions, you add their expressions together. If you have f(x) and g(x), then the sum is written as (f + g)(x) or f(x) + g(x).
For example, if f(x) = x + 2 and g(x) = x² - 1, then:
(f + g)(x) = (x + 2) + (x² - 1) = x² + x + 1
To subtract one function from another, you subtract their expressions. The difference is written as (f - g)(x) or f(x) - g(x).
Using the same functions:
(f - g)(x) = (x + 2) - (x² - 1) = x + 2 - x² + 1 = -x² + x + 3
Notice that subtracting the entire expression in parentheses changes the signs.
To multiply two functions, you multiply their expressions together. The product is written as (f × g)(x) or f(x) · g(x).
(f × g)(x) = (x + 2)(x² - 1)
To expand this, multiply each term in the first bracket by each term in the second bracket:
(x + 2)(x² - 1) = x(x²) + x(-1) + 2(x²) + 2(-1) = x³ - x + 2x² - 2 = x³ + 2x² - x - 2
To divide one function by another, you write the first function as the numerator and the second as the denominator. The quotient is written as (f ÷ g)(x) or f(x)/g(x).
(f ÷ g)(x) = (x + 2) / (x² - 1)
This expression cannot be simplified further unless x² - 1 can be factored. Remember that you cannot divide by zero, so the denominator x² - 1 must not equal zero. This means x cannot be 1 or -1.
Given f(x) = x + 2 and g(x) = x² - 1, find each operation:
a) f + g (f + g)(x) = (x + 2) + (x² - 1) = x² + x + 1
b) f - g (f - g)(x) = (x + 2) - (x² - 1) = -x² + x + 3
c) f × g (f × g)(x) = (x + 2)(x² - 1) = x³ + 2x² - x - 2
d) f ÷ g (f ÷ g)(x) = (x + 2)/(x² - 1), where x ≠ 1 and x ≠ -1
When dividing functions, always check that the denominator is not zero. The quotient function is undefined wherever g(x) = 0. This is an important part of verifying your algebraic manipulation.
Try these with a partner:
-
If f(x) = 3x and g(x) = x - 4, find:
- f + g
- f - g
- f × g
- f ÷ g
-
If h(x) = x² + 1 and k(x) = x + 3, find h + k, h - k, h × k, and h ÷ k.
Remember to always simplify your answers and check the domain when dividing.
In South Sudan, understanding how to combine functions is useful when modelling real situations. For example, a shop in Juba that sells sorghum and dura might use one function f(p) = 50p to calculate revenue from sorghum at 50 South Sudanese pounds per bag, and another function g(p) = 30p for dura at 30 pounds per bag. By adding these functions, the shop owner can quickly find total revenue from both crops for any number of bags sold: (f + g)(p) = 80p. This same method helps engineers and economists in South Sudan plan projects and analyse costs.
Question
Given f(x) = 3x and g(x) = x - 4, what is (f + g)(x)?
Sign in to submit your answer and have it count toward your mastery.
Sign in to practiceTutor
Stuck? Ask me anything about this topic.
Sign in to ask the Sonza AI Tutor about this question.
Sign in to askDiscussions
No questions yet