Operations on Functions — Definition, Formula & Examples
Operations on functions are ways of combining two or more functions to create a new function. The main operations are addition, subtraction, multiplication, division, and composition.
Given functions and with domains and , the sum , difference , product , and quotient are each defined on (with the additional restriction for the quotient). The composition is defined for all in such that is in .
Key Formula
Where:
- = First function evaluated at x
- = Second function evaluated at x
- = Composition: f applied to the output of g
How It Works
To perform an arithmetic operation on two functions, you apply that operation to their output values at each input . For addition, evaluate both functions at and add the results. Multiplication and subtraction work the same way. Division requires you to check that the denominator function is not zero. Composition is different: you feed the output of one function into the input of another, essentially chaining them together. In every case, pay attention to the domain — the new function is only defined where the operation makes sense.
Worked Example
Problem: Let f(x) = 2x + 3 and g(x) = x². Find (f + g)(4), (f · g)(4), and (f ∘ g)(4).
Evaluate each function at x = 4: Find f(4) and g(4) first.
Addition: Add the two outputs.
Multiplication: Multiply the two outputs.
Composition: For (f ∘ g)(4), first evaluate g(4), then plug that result into f.
Answer: (f + g)(4) = 27, (f · g)(4) = 176, and (f ∘ g)(4) = 35.
Another Example
Problem: Let f(x) = x + 1 and g(x) = x − 4. Find the domain of (f / g)(x) and evaluate it at x = 6.
Write the quotient: Form the quotient function.
Determine the domain: The denominator equals zero when x = 4, so exclude that value.
Evaluate at x = 6: Substitute x = 6 into the quotient.
Answer: The domain is all real numbers except 4, and (f / g)(6) = 7/2.
Why It Matters
Operations on functions appear throughout Algebra 2 and Precalculus, forming the basis for topics like inverse functions and transformations. In calculus, the product rule and chain rule are differentiation techniques built directly on function multiplication and composition. Scientists and engineers routinely combine simpler functions to model complex behavior — for instance, multiplying a growth function by a decay function to model a quantity that rises then falls.
Common Mistakes
Mistake: Treating composition as multiplication: writing f(g(x)) as f(x) · g(x).
Correction: Composition means substituting g(x) into f. For f(x)=2x and g(x)=x+3, f(g(x))=2(x+3)=2x+6, not 2x(x+3).
Mistake: Forgetting to restrict the domain when dividing functions.
Correction: Always exclude any x-value that makes the denominator function equal to zero before evaluating (f / g)(x).
