Operations With Functions
Operations With Functions
Addition
Subtraction
Division
(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 very easy so far, but now we must consider the Domains of the
functions.
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 | 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,+∞)
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:
Here is an example:
(f/g)(x) = √x / √(3−x)
1. The domain for f(x)=√x is from 0 onwards:
2. The domain for g(x)=√(3−x) is up to and including 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.
The sum of these functions can be written f(x) + g(x) or as (f + g)(x). Watch what happens when
these two functions are added.
That’s it—the sum of the two functions is the sum of the two polynomials.
Addition, subtraction, multiplication, and division will all be explained in turn. The table below
shows the notation that is used for each type of arithmetic operation.
Addition
Subtraction
Multiplication
Division
Adding and Subtracting
You have already seen one example of adding two functions. Let’s look at another one. The
domain (x-values) for both functions is all real numbers.
Example
Proble
m
Find (f + g)(x).
Identify f(x)
and g(x).
Replace f(x)
with ,
and g(x)
with
.
Then add and
combine like
terms.
Answ
er
Subtracting follows the same process. As long as you remember how to subtract one
polynomial from another, you can figure out how to subtract one function from another.
Example
Proble
m
Find (g – f)(x).
Replace g(x
) and f(x)
with their
respective
expressions
.
Then
subtract
and
combine
like terms.
Answer
Example
Proble
m
Find (f – h)(x).
Notice
that
(f – h)(x)
= f(x)
– h(x).
You can
ignore g(x)
since it is
not
required to
solve this
problem.
Replace
the
function
notations
with their
appropriat
e
polynomial
s and
subtract.
Answer
A)
B)
C)
D)
Show/Hide Answer
A)
B)
Incorrect. It looks like you tried to calculate , but you subtracted incorrectly.
Remember:
. The
C)
Correct. To find (f – g)(x), subtract g(x)
from f(x).
D)
Incorrect. It looks like you tried to calculate . This question is looking
Answer
Example
Proble
m
Find .
To find the quotient,
divide f by g.
Substitute the
polynomials in
for f(x) and g(x) and
divide. We
add becaus
e x = 0 would make
the denominator g(x)
=0 and
undefined.
Remember to
rename as 1.
Answ
er
Operations with three functions work the same way. In the example below, two functions are
added and then divided by a third. It is no different than what you have already done with
polynomials—just continue to substitute the polynomials in for the correct functions, combine,
divide, and simplify.
Example
Problem
Find .
Replace f(x), g(x),
and h(x) with the
equivalent
polynomials.
We add
because that
would make the
denominator h(x)
of
zero and the
fraction undefined.
Add f(x) and g(x).
Find .
A)
B)
C)
D)
Show/Hide Answer
A)
Correct. .
B)
C)
D)
X
functions that are neither even nor odd include y = x - 2, y = , and y = sin(x) + 1.
Figure %:
The function on the left is even; the function on the right is odd. Note the different types of
symmetry.
The inverse of a function is the relation in which the roles of the independent
anddependent variable are reversed. Let f (x) = 2x. The inverse of f, f-1 (not to be
confused with a negative exponent), equals . It is written like this: f-1(x) = . The
inverse of a function can be found by switching the places of x and y in the formula of
the function. The inverse of any function is a relation. Whether the inverse is a function
depends on the original function f. If f is a one-to-one function, then its inverse is also a
function. A one-to-one function is a function for which each element of the range
corresponds to exactly one element of the domain. Therefore if a function is not a one-
to- one function, its inverse is not a function. The horizontal line test shows us that if a
horizontal line can be placed in a graph such that it intersects the graph of a function
more than once, that function is not one-to-one, and its inverse is therefore not a
function.
Inverse functions are important in solving equations. Sometimes the solution y to a
function is known, but the input for that solution x is not known. In situations like these,
the inverse of the function can be used to find x. We'll see more inverse functions later.
Figure %: A
piecewise function is governed by different rules depending on the value of the independent
variable.
A periodic function is a function with the following characteristic: f (x) = f (x + c), for all
values of x, where c is some constant. This means that the values of f repeat
themselves in a regular cycle. The most common periodic functions are the
trigonometric functions, but others exist as well.