yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Evaluating composite functions: using graphs | Mathematics III | High School Math | Khan Academy


2m read
·Nov 11, 2024

  • So we have the graphs of two functions here. We have the graph (y) equals (f(x)) and we have the graph (y) is equal to (g(x)). And what I wanna do in this video is evaluate what (g(f(...)). Let me do the (f(...)) in another color. (f(-5)) is... (f(-5)) is...

And it can sometimes seem a little daunting when you see these composite functions. You're evaluating the function (g) at (f(-5)). What does all this mean? We just have to remind ourselves what functions are all about. They take an input and they give you an output.

So really, what we're doing is we're going to take... we have the function (f). We have the function (f). We're going to input (-5) into that function. We're going to input (-5) into that function and it's going to output (f(-5)). It's going to output (f(-5)) and we can figure what that is.

And then that's going to be the input into the function (g). So that's going to be the input into the function (g) and so we're going to... and then the output is going to be (g(f(-5))), (g(f(-5))). Let's just do it step by step.

So the first thing we wanna figure out is what is the function (f) when (x = -5)? What is (f(-5))? Well, we just have to see when (x) is equal to (-5). When (x) is equal to (-5), the function is right over here. Let's see, let me see if I can draw a straight line.

So then (x = -5). The function is right over here. It looks like (f(-5) = -2). It's equal to (-2). You see that right over there. So, (f(-5) = -2).

And so we can now think of this. Instead of saying (g(f(-5))), we could say well (f(-5)) is just (-2), is just (-2). So this is going to be equivalent to (g(-2)), (g(-2)), (g(-2)).

We're gonna take (-2) into (g) and we're gonna output (g(-2)). So we're taking that output, (-2), and we're inputting it into (g). So when (x = -2), when (x = -2), what is (g)?

So we see, when (x = -2), (g)... the graph is right over there, (g(-2) = 1). So this is going to be (1).

So (g(f(-5))) sounds really complicated; we were able to figure out is (1) 'cause you input (-5) into (f), it outputs (-2). And then you input (-2) into (g), it outputs (1) and we're all done.

More Articles

View All
Parametric curves | Multivariable calculus | Khan Academy
More function visualizations. So, let’s say you have a function; it’s got a single input T, and then it outputs a vector. The vector is going to depend on T. So, the X component will be T times the cosine of T, and then the Y component will be T times the…
Treating systems (the easy way) | Forces and Newton's laws of motion | Physics | Khan Academy
So in the previous video, we solved this problem the hard way. Maybe you watched it, maybe you didn’t. Maybe you just skipped right to here and you’re like, “I don’t even want to know the hard way. Just show me the easy way, please.” Well, that’s what we’…
Predicting the Apocalypse? | The Story of God
But is it possible to predict the end? A few years back, many people thought they had. According to popular legend, the ancient Maya thought the apocalypse would arrive on a specific date: December 21st, 2012. I want to know if this is really true, so I’v…
Why India is a Rising Power
If you were to look at China and India, and those two countries specifically, um, and you were to handicap them, as you are uniquely qualified to do, maybe you could just broadly handicap India versus China for us. This is a topic we’ve been talking about…
Inflation Just Went From BAD To WORSE
What’s up, your Graham? It’s Gas here, and it’s official: the stock market is backwards. Throughout the last week, news came out that retail sales are jumping, company earnings are soaring, employment growth accelerated by the highest level in 10 months, …
The mindset that is slowly destroying your life
[Music] Ah, what a lovely weekend in the neighborhood. Susan is out walking the dog. Frank is hard at work writing his new book, and Billy is, ah yes, a classic Billy Saturday—waking up late, his mind filled with dread. There are so many things he could d…