<< Chapter < Page Chapter >> Page >

Performing algebraic operations on functions

Find and simplify the functions ( g f ) ( x ) and ( g f ) ( x ) , given f ( x ) = x 1 and g ( x ) = x 2 1. Are they the same function?

Begin by writing the general form, and then substitute the given functions.

( g f ) ( x ) = g ( x ) f ( x ) ( g f ) ( x ) = x 2 1 ( x 1 )                  = x 2 x                  = x ( x 1 )       ( g f ) ( x ) = g ( x ) f ( x )       ( g f ) ( x ) = x 2 1 x 1                  = ( x + 1 ) ( x 1 ) x 1       where  x 1                  = x + 1

No, the functions are not the same.

Note: For ( g f ) ( x ) , the condition x 1 is necessary because when x = 1 , the denominator is equal to 0, which makes the function undefined.

Got questions? Get instant answers now!
Got questions? Get instant answers now!

Find and simplify the functions ( f g ) ( x ) and ( f g ) ( x ) .

f ( x ) = x 1     and     g ( x ) = x 2 1

Are they the same function?

( f g ) ( x ) = f ( x ) g ( x ) = ( x 1 ) ( x 2 1 ) = x 3 x 2 x + 1 ( f g ) ( x ) = f ( x ) g ( x ) = ( x 1 ) ( x 2 1 ) = x x 2

No, the functions are not the same.

Got questions? Get instant answers now!

Create a function by composition of functions

Performing algebraic operations on functions combines them into a new function, but we can also create functions by composing functions. When we wanted to compute a heating cost from a day of the year, we created a new function that takes a day as input and yields a cost as output. The process of combining functions so that the output of one function becomes the input of another is known as a composition of functions . The resulting function is known as a composite function . We represent this combination by the following notation:

( f g ) ( x ) = f ( g ( x ) )

We read the left-hand side as f composed with g at x ,” and the right-hand side as f of g of x . The two sides of the equation have the same mathematical meaning and are equal. The open circle symbol is called the composition operator. We use this operator mainly when we wish to emphasize the relationship between the functions themselves without referring to any particular input value. Composition is a binary operation that takes two functions and forms a new function, much as addition or multiplication takes two numbers and gives a new number. However, it is important not to confuse function composition with multiplication because, as we learned above, in most cases f ( g ( x ) ) f ( x ) g ( x ) .

It is also important to understand the order of operations in evaluating a composite function. We follow the usual convention with parentheses by starting with the innermost parentheses first, and then working to the outside. In the equation above, the function g takes the input x first and yields an output g ( x ) . Then the function f takes g ( x ) as an input and yields an output f ( g ( x ) ) .

Explanation of the composite function.

In general, f g and g f are different functions. In other words, in many cases f ( g ( x ) ) g ( f ( x ) ) for all x . We will also see that sometimes two functions can be composed only in one specific order.

For example, if f ( x ) = x 2 and g ( x ) = x + 2 , then

    f ( g ( x ) ) = f ( x + 2 )                 = ( x + 2 ) 2                 = x 2 + 4 x + 4


    g ( f ( x ) ) = g ( x 2 )                 = x 2 + 2

These expressions are not equal for all values of x , so the two functions are not equal. It is irrelevant that the expressions happen to be equal for the single input value x = 1 2 .

Note that the range of the inside function (the first function to be evaluated) needs to be within the domain of the outside function. Less formally, the composition has to make sense in terms of inputs and outputs.

Questions & Answers

How can you tell what type of parent function a graph is ?
Mary Reply
generally by how the graph looks and understanding what the base parent functions look like and perform on a graph
if you have a graphed line, you can have an idea by how the directions of the line turns, i.e. negative, positive, zero
y=x will obviously be a straight line with a zero slope
y=x^2 will have a parabolic line opening to positive infinity on both sides of the y axis vice versa with y=-x^2 you'll have both ends of the parabolic line pointing downward heading to negative infinity on both sides of the y axis
y=x will be a straight line, but it will have a slope of one. Remember, if y=1 then x=1, so for every unit you rise you move over positively one unit. To get a straight line with a slope of 0, set y=1 or any integer.
yes, correction on my end, I meant slope of 1 instead of slope of 0
what is f(x)=
Karim Reply
I don't understand
Typically a function 'f' will take 'x' as input, and produce 'y' as output. As 'f(x)=y'. According to Google, "The range of a function is the complete set of all possible resulting values of the dependent variable (y, usually), after we have substituted the domain."
Sorry, I don't know where the "Â"s came from. They shouldn't be there. Just ignore them. :-)
It is the  that should not be there. It doesn't seem to show if encloses in quotation marks. "Â" or 'Â' ... Â
Now it shows, go figure?
what is this?
unknown Reply
i do not understand anything
lol...it gets better
I've been struggling so much through all of this. my final is in four weeks 😭
this book is an excellent resource! have you guys ever looked at the online tutoring? there's one that is called "That Tutor Guy" and he goes over a lot of the concepts
thank you I have heard of him. I should check him out.
is there any question in particular?
I have always struggled with math. I get lost really easy, if you have any advice for that, it would help tremendously.
Sure, are you in high school or college?
Hi, apologies for the delayed response. I'm in college.
how to solve polynomial using a calculator
Ef Reply
So a horizontal compression by factor of 1/2 is the same as a horizontal stretch by a factor of 2, right?
The center is at (3,4) a focus is at (3,-1), and the lenght of the major axis is 26
Rima Reply
The center is at (3,4) a focus is at (3,-1) and the lenght of the major axis is 26 what will be the answer?
I done know
What kind of answer is that😑?
I had just woken up when i got this message
Can you please help me. Tomorrow is the deadline of my assignment then I don't know how to solve that
i have a question.
how do you find the real and complex roots of a polynomial?
@abdul with delta maybe which is b(square)-4ac=result then the 1st root -b-radical delta over 2a and the 2nd root -b+radical delta over 2a. I am not sure if this was your question but check it up
This is the actual question: Find all roots(real and complex) of the polynomial f(x)=6x^3 + x^2 - 4x + 1
@Nare please let me know if you can solve it.
I have a question
hello guys I'm new here? will you happy with me
The average annual population increase of a pack of wolves is 25.
Brittany Reply
how do you find the period of a sine graph
Imani Reply
Period =2π if there is a coefficient (b), just divide the coefficient by 2π to get the new period
if not then how would I find it from a graph
by looking at the graph, find the distance between two consecutive maximum points (the highest points of the wave). so if the top of one wave is at point A (1,2) and the next top of the wave is at point B (6,2), then the period is 5, the difference of the x-coordinates.
you could also do it with two consecutive minimum points or x-intercepts
I will try that thank u
Case of Equilateral Hyperbola
Jhon Reply
f(x)=4x+2, find f(3)
f(3)=4(3)+2 f(3)=14
pre calc teacher: "Plug in Plug in...smell's good" f(x)=14
Explain why log a x is not defined for a < 0
Baptiste Reply
the sum of any two linear polynomial is what
Esther Reply
divide simplify each answer 3/2÷5/4
Momo Reply
divide simplify each answer 25/3÷5/12
how can are find the domain and range of a relations
austin Reply
the range is twice of the natural number which is the domain
A cell phone company offers two plans for minutes. Plan A: $15 per month and $2 for every 300 texts. Plan B: $25 per month and $0.50 for every 100 texts. How many texts would you need to send per month for plan B to save you money?
Diddy Reply
more than 6000
For Plan A to reach $27/month to surpass Plan B's $26.50 monthly payment, you'll need 3,000 texts which will cost an additional $10.00. So, for the amount of texts you need to send would need to range between 1-100 texts for the 100th increment, times that by 3 for the additional amount of texts...
...for one text payment for 300 for Plan A. So, that means Plan A; in my opinion is for people with text messaging abilities that their fingers burn the monitor for the cell phone. While Plan B would be for loners that doesn't need their fingers to due the talking; but those texts mean more then...
can I see the picture
Zairen Reply
Practice Key Terms 1

Get the best Precalculus course in your pocket!

Source:  OpenStax, Precalculus. OpenStax CNX. Jan 19, 2016 Download for free at https://legacy.cnx.org/content/col11667/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Precalculus' conversation and receive update notifications?