34 Operations With Functions
34 Operations With Functions
Addition
We can add two functions:
Subtraction
We can also subtract two functions:
Multiplication
We can multiply two functions:
Division
And we can divide two functions:
(f/g)(x) = (2x+3)/x2
Function Composition
(g f)(x)
Domains
It has been very easy so far, but now we must consider the Domains of the functions.
The domain is the set of all the values that go into a function.
The function must work for all values we give it, so it is up to us to make sure we get the
domain correct!
| x 0}
{x
"the set of all x's that are a member of the Real Numbers,
such that x is greater than or equal to zero"
Or using interval notation it is:
[0,+)
It is important to get the Domain right, or we will get bad results!
So how do we work out the new domain after doing an operation?
So what we cook can't have peanuts and also can't have dairy products.
If we choose any other value, then one or the other part of the new function won't work.
In other words we want to find where the two domains intersect.
Note: we can put this whole idea into one line using Set Builder Notation:
Dom(f+g) = { x
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"
The same rule applies when we add, subtract, multiply or divide, except divide has one
extra rule.
(f/g)(x) = x / (3x)
1. The domain for f(x)=x is from 0 onwards:
Summary
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.