If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

### Course: Get ready for AP® Calculus>Unit 1

Lesson 3: Composing functions

# Evaluating composite functions: using graphs

Given the graphs of the functions f and g, Sal evaluates g(f(-5)).

## Want to join the conversation?

• Isn't there another way to write g(f(-5))?
• (g ∘ f)(-5)
• sorry, but how did he pick where the -2 point would match up on the graph? Looking back, couldn't 4 have had the same chance??
• You probably don't need this now but someone else might so.
I'm assuming this from when he solved f(-5).
To get this answer, you use the blue graph which is representing the values of f(x),
You get -5 on the x-axis and trace it down to where the blue curve intersects the line you traced down
When you trace the intersection point to the y-axis, you get -2 which is Sal's answer
• Are we going to use this our life?
• As with any "when will we use this" question, it largely depends on what you're interested in and what careers you want to go into. If you're entering computer science, finance, business, or a math-based field (such as physics or engineering) then yes, this is an important concept to know. If you aren't, then it's still a great thing to learn, but there's no guarantee you will get the chance to use it in the real world.
• At , how do we get that g(-2) is equal to one?
• When you look at the parabola for g(x), and find the point on that parabola where x = -2, you find that y = 1. So, g(-2) = 1
• Okay, so all this composite function things are very neat, but in the mathematical world, where would this come to use?
• In some lesson, before, there was a farming example. It takes crop yield and finds the total profit. Go look at that and think about it.
• What if we do (f+g)(4). How do we find that using only the graph?
• Well, I believe you are asking for f(g(4))...If so, you would look up g(4) from graph and find -2. Then look up f(-2) from graph and see that it is 4 and there you go. Hope this is useful to you...
• How could I apply this to a real life scenario?
• Well, lets say you had one curve which was the cost per item c(x) of producing an agriculturally based product as a function of quantity produced, x. This curve would have a negative slope because generally it costs less per item as you make more of them (efficiency). However, lets say that the quantity produced was also a function of rainfall where say too little and too much rainfall produced low quantities and the curve x(r) was more parabolic shaped at least for a limited domain. You could plug in x(r) for x in c(x) and find the cost per item as a function of rainfall. This is just one example, there are many more...
• where did you get -5? for f(x)
• He just picked that number randomly for the problem. Any number that could be graphed on the line y=f(x) would have worked just as well.
• given f(x)=-x+6 and g(x)=f(x+3), how to write an equation for function g?