Operations with Functions
If you have two functions, you can conduct operations such as adding, subtracting, multiplying, and dividing with the functions. Look over the following list of operations:
- Sum: (f + g)(x) = f(x) + g(x)
- Difference: (f – g)(x) = f(x) – g(x)
- Product: (f • g)(x) = f(x) • g(x)
- Quotient:
Let’s take a look at an example. Let f(x) = 2x + 6 and g(x) = 4x – 9.
- Find the sum of f(x) and g(x).
f(x) + g(x) = 2x + 6 + (4x – 9)
f(x) + g(x) = 6x – 3
- Find the difference of f(x) and g(x).
f(x) – g(x) = 2x + 6 – (4x – 9)
Remember to distribute the negative. This is a common mistake that you want to avoid.
f(x) – g(x) = 2x + 6 – 4x + 9
f(x) – g(x) = –2x + 15
- Find the product of f(x) and g(x).
f(x) • g(x) = (2x + 6)(4x – 9)
Use the FOIL Method.
f(x) • g(x) = 8x2 – 18x + 24x – 54
Combine like terms
f(x) • g(x) = 8x2 + 6x – 54
- Find the quotient of f(x) and g(x).