0:00:00.310,0:00:04.596 - [Voiceover] Let's say that[br]f of x is equal to two x 0:00:04.596,0:00:07.853 minus three, and g of x, 0:00:08.461,0:00:12.849 g of x is equal to 1/2 x 0:00:13.310,0:00:14.590 plus three. 0:00:14.590,0:00:17.008 What I wanna do in this video is evaluate 0:00:17.008,0:00:19.405 what f of g of x is, 0:00:20.975,0:00:23.528 and then I wanna evaluate[br]what g of f of x is. 0:00:23.528,0:00:26.797 So first, I wanna evaluate f of g of x, 0:00:27.522,0:00:29.188 and then I'm gonna evaluate[br]the other way around. 0:00:29.188,0:00:30.873 I'm gonna evaluate g of f of x. 0:00:30.873,0:00:32.580 But let's evaluate f of g of x first. 0:00:32.580,0:00:34.734 And I, like always, encourage[br]you to pause the video 0:00:34.734,0:00:36.868 and see if you can work through it. 0:00:36.868,0:00:38.596 This is going to be equal to, 0:00:38.596,0:00:41.309 f of g of x is going to be equal to, 0:00:41.309,0:00:44.499 wherever we see the x in[br]our definition for f of x, 0:00:44.499,0:00:47.994 the input now is g of x, so[br]we'd replace it with the g of x. 0:00:47.994,0:00:50.714 It's gonna be two times g of x. 0:00:51.256,0:00:54.981 Two times g of x minus three. 0:00:57.555,0:01:00.521 And this is going to[br]be equal to two times, 0:01:00.521,0:01:02.756 well, g of x is all of that business, 0:01:02.756,0:01:07.415 two times 1/2 x plus three, 0:01:07.998,0:01:10.137 and then we have the minus three. 0:01:11.655,0:01:14.160 And now we can distribute this two, 0:01:14.804,0:01:19.218 two times 1/2 x is just[br]going to be equal to x. 0:01:19.226,0:01:21.724 Two times three is going to be six. 0:01:21.724,0:01:25.422 So x plus six minus three. 0:01:27.882,0:01:31.688 This is going to equal x plus three. 0:01:31.695,0:01:34.255 X plus three, all right, interesting. 0:01:34.255,0:01:36.064 That's f of g of x. 0:01:36.064,0:01:39.396 Now let's think about what[br]g of f of x is going to be. 0:01:39.396,0:01:42.183 So g of, 0:01:42.183,0:01:44.572 our input, instead of being,[br]instead of calling our input x, 0:01:44.576,0:01:46.737 we're gonna call our input f of x. 0:01:47.014,0:01:51.707 So g of f of x is going to be equal to 0:01:54.728,0:01:59.728 1/2 times our input, which[br]in this case is f of x. 0:02:00.357,0:02:03.511 1/2 time f of x plus three. 0:02:05.477,0:02:08.198 You can view the x up[br]here as the placeholder 0:02:08.198,0:02:10.373 for whatever our input happens to be. 0:02:10.373,0:02:12.770 And now our input is going to be f of x. 0:02:12.770,0:02:16.224 And so, this is going to[br]be equal to 1/2 times, 0:02:16.224,0:02:17.422 what is f of x? 0:02:17.422,0:02:19.533 It is two x minus three. 0:02:20.177,0:02:23.570 So, two times x minus three, 0:02:23.570,0:02:26.217 and we have a plus three. 0:02:26.536,0:02:27.969 And now we can distribute the 1/2. 0:02:27.969,0:02:31.057 1/2 times two x is going to be x. 0:02:31.057,0:02:36.057 1/2 times negative three is negative 3/2s. 0:02:36.705,0:02:39.590 And then we have a plus three. 0:02:39.590,0:02:41.907 So let's see, three is[br]the same thing as 6/2s. 0:02:41.907,0:02:44.934 So 6/2s minus 3/2s is going to be 3/2s. 0:02:44.934,0:02:49.517 So this is going to be[br]equal to x plus 3/2s. 0:02:49.517,0:02:52.402 So notice, we definitely[br]got different things 0:02:52.402,0:02:54.637 for f of g of x and g of f of x. 0:02:54.637,0:02:56.242 And we also didn't do a round trip. 0:02:56.242,0:02:58.050 We didn't go back to x. 0:02:58.050,0:03:00.854 So we know that these are[br]not inverses of each other. 0:03:00.854,0:03:03.292 In fact, we just have to[br]do either this or that 0:03:03.292,0:03:06.055 to know that they're not[br]inverses of each other. 0:03:06.055,0:03:07.957 These are not inverses. 0:03:07.957,0:03:09.765 So we write it this way. 0:03:09.765,0:03:13.502 F of x does not equal 0:03:14.772,0:03:17.360 the inverse of g of x. 0:03:20.117,0:03:23.019 And g of x does not equal 0:03:23.019,0:03:25.646 the inverse of f of x. 0:03:28.505,0:03:30.902 In order for them to be inverses, 0:03:30.902,0:03:33.869 if you have an x value right over here, 0:03:33.869,0:03:37.694 and if you apply g to it,[br]if you input it into g, 0:03:38.155,0:03:40.979 and then that takes you to g of x, 0:03:40.979,0:03:42.869 so that takes you to g[br]of x right over here, 0:03:42.869,0:03:44.189 so that's the function g, 0:03:44.189,0:03:46.221 and then you apply f to it, 0:03:46.221,0:03:48.456 you would have to get[br]back to the same place. 0:03:48.456,0:03:51.971 So g inverse would get us back 0:03:51.971,0:03:53.901 to the same place. 0:03:53.901,0:03:55.892 And clearly, we did not[br]get back to the same place. 0:03:55.892,0:03:58.655 We didn't get back to x, we[br]got back to x plus three. 0:03:58.655,0:04:00.037 Same thing over here. 0:04:00.037,0:04:02.001 We see that we did not get, 0:04:02.001,0:04:04.199 we did not go get back to x, 0:04:04.843,0:04:06.956 we got to x plus 3/2s. 0:04:06.956,0:04:10.152 So they're definitely not[br]inverses of each other.