Operations with Functions
Operations with Functions
Addition
The only other thing to worry about is the Domain (the set of numbers that go into
the function), but we will talk about that later!
https://www.mathsisfun.com/sets/functions-operations.html 1/7
22/04/2025, 03:45 Operations with Functions
Subtraction
Multiplication
Division
https://www.mathsisfun.com/sets/functions-operations.html 2/7
22/04/2025, 03:45 Operations with Functions
(f/g)(x) = (2x+3)/x2
Function Composition
There is another special operation called Function Composition,
read that page to find out more!
(g º f)(x)
Domains
It has been easy so far, but now we must consider the Domains of the functions.
Range
The function must work for all values we give it,
so it is up to us to make sure we get the domain
correct!
Domain x
We can't have the square root of a negative number (unless we use imaginary
numbers, but we aren't doing that here), so we must exclude negative
numbers:
https://www.mathsisfun.com/sets/functions-operations.html 3/7
22/04/2025, 03:45 Operations with Functions
{x | x ≥ 0}
"the set of all x's that are a member of the Real Numbers,
such that x is greater than or equal to zero"
[0,+∞)
So what we cook can't have peanuts and also can't have dairy
products.
https://www.mathsisfun.com/sets/functions-operations.html 4/7
22/04/2025, 03:45 Operations with Functions
0 3
If we choose any other value, then one or the other part of the new function
won't work.
Note: we can put this whole idea into one line using Set Builder Notation :
Which says "the domain of f plus g is the set of all Real Numbers that are in the
domain of f AND in the domain of g" ( means "member of")
The same rule applies when we add, subtract, multiply or divide, except divide has
one extra rule.
we must also make sure that g(x) is not equal to zero (so we don't
divide by zero ).
Here is an example:
https://www.mathsisfun.com/sets/functions-operations.html 5/7
22/04/2025, 03:45 Operations with Functions
(f/g)(x) = √x / √(3−x)
0 3
Summary
To add, subtract, multiply or divide functions just do as the operation says.
The domain of the new function will have the restrictions of both functions that
made it.
Divide has the extra rule that the function we are dividing by cannot be zero.
Mathopolis: Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10
https://www.mathsisfun.com/sets/functions-operations.html 6/7
22/04/2025, 03:45 Operations with Functions
Copyright © 2022 Rod Pierce
https://www.mathsisfun.com/sets/functions-operations.html 7/7