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
Ben Silbermann at Startup School SV 2016
Good morning! Nice to see everyone here. Uh, my name is Ali Rani. I’m a partner at Y Combinator. I run our late-stage fund; it’s called the Y Combinator Continuity Fund. I couldn’t be happier to be here today to conduct a fireside chat with Ben Berman, wh…
Ray Dalio: Is Investing In China Dangerous?
So as you guys will have noticed, a lot of the discussions in the investing world and a lot of the content on this channel lately has been around China. We did that whole series on Alibaba and the Chinese regulatory crackdown, and now recently we’ve been …
Conditional probability and independence | Probability | AP Statistics | Khan Academy
James is interested in weather conditions and whether the downtown train he sometimes takes runs on time. For a year, James records weather each day: is it sunny, cloudy, rainy, or snowy, as well as whether this train arrives on time or is delayed. His re…
Example of shapes on a coordinate plane
So we’re told here the four corners of a rectangle are located at the points (1, 1), (1, 6), (9, 6), and (9, 1). Plot the four corners of the rectangle on the coordinate plane below, and they gave us these four points. We can move them around with our mou…
Mean of sum and difference of random variables | Random variables | AP Statistics | Khan Academy
Let’s say that I have a random variable X, which is equal to the number of dogs that I see in a day. Random variable Y is equal to the number of cats that I see in a day. Let’s say I also know what the mean of each of these random variables are, the expec…
The Most Extreme Explosion in the Universe
Supernovae are the most powerful explosions in the universe, unleashing enough energy to outshine galaxies. We have no real metaphor for their power. If the sun were to magically go supernova, it would feel like you were being hit by the energy of a nucle…