Wize University Calculus 1 Textbook > Pre-Calculus (Review)
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
PAGE BREAK
Example 1
Given f(x)=2x+1 and g(x)=x2−5, find:
a. f(x)+g(x)
f(x)+g(x)=(2x+1)+(x2−5) =x2+2x−4
b. f(x)−g(x)
f(x)−g(x)=(2x+1)−(x2−5) =−x2+2x+6
c. f(x)⋅g(x)
f(x)⋅g(x)=(2x+1)(x2−5) =2x3−10x+x2−5=2x3+x2−10x−5
d. g(x)f(x)
g(x)f(x)=x2−52x+1
PAGE BREAK
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,∞)
Let f(x)=4x2−1 and g(x)=2x−1.
Determine g(x)f(x) in simplified form.