Operations with Functions

Operations with Functions
Let f(x) and g(x) be two functions. There are 4 basic operations of functions that can be used:
- Function Addition: f(x)+g(x)
- Function Subtraction: f(x)−g(x)
- Function Multiplication: f(x)⋅g(x)
- Function Division: g(x)f(x); g(x)=0
Example 1
Given f(x)=2x+1 and g(x)=x2−5, find:
a. f(x)+g(x)
b. f(x)−g(x)
c. f(x)⋅g(x)
d. g(x)f(x)
Function Composition (composite function)
Additionally, we can combine functions in one more by way composing them. (putting one function "inside" another)
To compute f(g(x)), substitute g(x) for xin f(x). The domain of f(g(x)) is {x∈Dg:g(x)∈Df}.
Note: Another common notation for f(g(x)) is (f∘g)(x). ∘ is the symbol for composition.

Example: Function Composition
Find (f∘g)(x) and its domain if
f(x)=x−11 and g(x)=x+21
f∘g(x)=x+21−11x+2=0⟺x=−2x+21=1⟺x+2=1⟺x=−1x=−1,−2D:x∈(−∞,−2)∪(−2,−1)∪(−1,∞)
Example: Operations with Functions
Two functions, f(x) in green and g(x) in purple, and graphed below:

Find and graph the following:
- f(x)+g(x)
- f(x)−g(x)
- g(x)−f(x)
- f(x)×g(x)
First, pull a table of values from the graph for f(x) and g(x) using the same x-coordinate points for both f(x) and g(x):
a. f(x)+g(x):
x−4−3−2−1012f(x)4321012g(x)9410149f(x)+g(x)137311511

b. f(x)−g(x):
x−4−3−2−1012f(x)4321012g(x)9410149f(x)−g(x)−5−111−1−3−7

c. g(x)−f(x):
x−4−3−2−1012f(x)4321012g(x)9410149g(x)−f(x)51−1−1137

d. f(x)×g(x):
x−4−3−2−1012f(x)4321012g(x)9410149f(x)×g(x)3612200418

Let f(x)=4x2−1 and g(x)=2x−1.
Determine g(x)f(x) in simplified form.
Practice: Operations with Functions
Blake runs a tutoring company for high-school students. Blake has a fixed monthly cost of $400/month plus an additional cost of $5/student (for supplies, marketing, etc...) Blake charges $60/student.
Note: Let 'x' be the number of students