HELLO!!! Mr. Tarrou again. Same shirt, same
day. Multiple recordings. I am going to talk about composition of functions. Not just combining
them, not just adding subtracting, multiplying, or dividing but actually a composition of
functions. Composition notation is f open dot g of x, or… This is the notation my
textbook uses a lot but you may also see it as f of g of x. I like this notation better
because really more clearly explains what is happening. We are going to take function
g and put in into f. With this notation you are forced to read right to left which is
not how normally read. So, let’s talk about domain. Basically this is fancy language to
say that when you talk about composition functions you have to check the domain of the individual
pieces and the final answer. If x is not in the domain of g, if x makes g undefined it
must not be in the domain of your final answer f(g(x)), even if your final simplified answer
makes it look like it will be ok. Any x for which g of x is not in the domain of f, so
you take x and plug into the function of g and it works just fine, but then you plug
into the domain of f and that comes out to be undefined then again that must be thrown
out for the domain values of f(g(x)). This is a pretty simple idea as long as you are
comfortable with function notation. Let’s see what it looks like. f of x is going to
be two x minus three and g of x is going to be five x squared minus one. So, let’s first
find out what f of g is, or f of g of x. We want to start off with the outside function,
the overall pattern that we are following is function f. What is function f? Function
f is not 2x minus three. No, no, no. X is a place where plug something in, so I like
to say that f or the outside function is two times something minus three. I don’t care
what I am plugging in. X is some empty space where you are going to plug in something else,
that something else is g. See it is f of g of x and g of x is five x squared minus one.
So, five x squared minus one. Clean it all up, work it out, simplify, blah blah blah.
Two and five is ten x squared plus, two and negative one, is negative two minus three
is negative five. What about your domain and range? No fractions, no radicals, no fractions
no radicals, actually not radical but even roots, and no fractions or even roots so domain
is all real numbers. Lets try this the other way and see what happens. What is g of f,
well that is g of f of x. We are just going to substitute in the opposite direction. What
is g? Well I am glad you asked! It is five times something squared minus one. So it is
five times something squared minus one. What is that something you ask? It is f of x and
f of x is two x minus three. Now I am going to run out of of space so I am going to do
this off the top of my head and hopefully I am right, or I can put this off to the side
and distribute this out and make sure you get all three terms not two. This is going
to be five times four x squared minus twelve x plus nine minus one. If you you did not
get that, go off to the side of your paper, write (2x-3) twice and distribute that together
and you will go OHHH I know where that came from. Now distribute the five through and
you get 20 x squared minus 60x plus 45 minus 1. Combine like terms, clearly that is going
to be 44. And BAM!!! I got the composition working both ways. Again F has a domain of
all real numbers and g(f(x)) is defined for all real numbers. What if, I am going to take
this away so make sure you have a copy, we take a look at…or I ask you, “What is f
of g of 2?” I don’t know why I wrote that in parenthesis, I don’t need to. I just worked
out what f(g(x)) was, it was ten x squared minus five. So if I take x out and plug in
2, what am i going to do? I am going to take out the x and plug in two. Ten times two squared
minus five. That is four so ten times four is forty, and forty minus five is thirty-five.
So there you go, just take out the x and plug in the number. Badda Bing, badda boom. Ok,
any questions…didn’t think so:P Let’s take a look at…. If you had any questions, I
wouldn’t know on this video. Let’s take a look at the next example. A little bit of
fraction work. We have f of x is equal to x over x plus one and g of x is equal to three
over x. I am sure you have some questions, this stuff can get a little bit confusing.
Just ask your teacher about the function notations if you need some extra help. We want to find
f of g of x, or f(g(x)). Well again, this is your framework function f, the outside
function, or the first notation. F is something over something plus one. That something you
are plugging in is three over x. Ok. I am going to need a little bit of space so let
me take out these parenthesis. They were not doing anything except highlighting where I
am going to do my substitution. Again like the last video, if you just watched it, we
are going to have a fraction over a fraction. We need that denominator to be one fraction
and then we are going to flip it up. So we are going to get a common denominator and
that common denominator is going to be x, so this is going to be x over x. You know
multiply the top and bottom by x. So three plus x over x. Voila, three over x over three
plus x over x again. And a fraction divided by a fraction, you cannot really divide fractions
you have to multiply by the reciprocal. Do your little pig tail and flip that denominator
up. Look the x’s are going to cancel out. So our final answer is going to be three over
three plus x. Now let’s talk about domain for a second. This is going to be undefined
when x equals negative three, so x cannot be equal to negative three. But is that the
only problem with our domain? I don’t think so. G of x is undefined at zero, and the rules
say “If x is not in the domain of g, it must not be in the domain of f of g. So x can also
not be equal to zero. And negative one? Any x for which g of x is not in the domain of
f, must not be in the domain of f(g(x)). So can x be negative one…well let’s see. This
becomes undefined but negative one does not make g of x undefined which is what we are
plugging in and the final equation is not undefined at negative one, so that is going
to be ok. It does not say anything about x making f, the outside function, undefined.
It is about x making g (your inside function) undefined and x making g of x making f undefined.
So maybe some of this stuff isn’t quite so simple. But we have a domain which is restricted
at negative three and zero. Let’s look at the other direction. What is
g of f of x, or g(f(x)). That is going to
be, the framework is g so it is going to be three over something. What is that something
that we are plugging in? The something we are plugging in is x over x plus one. And
fraction over fraction again, so that is going to get flipped up. If you want to write this
because three does not look like a fraction, it is three over one times x plus one over
x. So our final answer is going to be three x plus three over x. X cannot be equal to
zero and x cannot be equal to negative on. Check the domain of the inside function, then
check the domain of the final answer. BAM!!!

Only registered users can comment.

1. KenoxProductions says:

That handwriting on the left side is beautiful 😀

2. Sadiya J says:

how did u get to 12x in the (g o f)(x) ?

-help

3. Meary gunners says:

i appreciate MR. BANG BANG that was helpful. i hope i'd well on the test tomorrow.

4. HisAngel426 says:

You say BAM… But I don't get it… 🙁

5. Mantaqaa Oheen says:

So helpful, thank you so much!

6. krish nayyar says:

so would you include the -1 in the domain or not?

7. Noor S. says:

is there any way to find the range the composite functions without using a graphing calculator?

8. Dee_V says:

I'm in my last year of highschool and i've watched your videos ever since I was in grade 9.Thank you so much for helping me through high school math! You're an awesome teacher… BAM!

9. S1.23.4.3435.35.45.465.76.57..673.365.7.6.76.763.76.537.676.7.35.76. says:

You Da Man.

10. lane scoggins says:

Wow! A math lesson that doesn't go over my head or bore me! You rock!

11. Monica Hilton says:

You are adorable and you don't look old enough to have students! I am showing this video to the kids I tutor to help them, they understood well! Thanks

12. Phillip Green says:

Do you have videos showing interval notation?

13. Tanganika Bell says:

professor rob bob love your videos but please slow down just a little thanks for your help

14. Boomboom boom says:

I'm in sophomore year in one of the toughest schools in our country, and this video still did better in making me understand the subject than my own professor. Thanks Prof RobBob!

15. redbeardwoodsman says:

Thank god for YouTube! This was so much help, and I'm a college student. Your a lifesaver, I subscribed.

16. hamdard zabuli says:

thanks teacher .love it.

17. David Ratkay says:

Thanks for the video. I am currently a junior in HS and I want to do engineering but I am a little behind on math. I have algebra 1 and 2 and geometry finished. My algebra skills I know I still need to work on. What does composition of functions exactly benefit you for in pre calc and calculus? And what stuff in calculus is used the most from algebra?

18. GIB says:

is that not 10X2-8?

19. kay FUN time says:

price for algebra class =\$2,500. listen to professor babble = 2 hrs sat morning, 3 minutes with your video = priceless. Thanks

20. S3478h9 9 says:

You have taught me what my college math teacher could not accomplish in 3 Hours! I'm going to clone you and replace all math teachers with your clone. My math teacher will be shipped off to Pakistan and used as a camel for the remainder of her life as punishment for tainting the education system. Thanks for the great channel and for restoring my hope that amazing teachers exist.

21. osama ansari says:

what about the range

22. Kiel Quismundo says:

thanks for making this video. really helped profrobbob

23. Angelique Desiree' McDonald says:

You write so well!

24. beacon says:

Helloooo! Lol you're my fav math teacher

25. Jenifer Barka says:

New subscriber! Thank you for these videos!!!

26. akilesh mareachealee says:

thnks proffessor rob

27. luke figredo says:

hey, i cant seem to get f(g(h(x)))
or example a question asks,
For f(x)=x^7 +3, g(x) = x-10, and h (x) = sqrt(x), find f of g of h.

28. Fatima Diallo says:

hi thank you for your help I don't understand in class but here I do

29. Elaina Luna says:

Dear Mr. Rob,

Thank you soo much for making such helpful videos.

Sincerely,
Elaina

30. Elaina Luna says:

How would I solve it if there were three functions? In my textbook it is f of g of h.

31. Allyza Tejada says:

It's a miracle, I understand math by watching this video 😯

32. Sophia Sonia says:

Oh, wow! Did I just understand this lesson???? I've been struggling with this concept. Won't blame my teacher, it's just me having a hard time. Since I finally understood all the steps, now I'll just watch it a few more times, until I can replicate it myself. I have a test next week, so PADIUSH (thank you in Nahuat Pipil) !!!

33. Matthew Collis says:

I've been back in the zone with my favourite maths teacher …..thought I'd go back and check this out after trying to tackle chain rule …think I may have been punching above my weight class haha

34. Taylor Dane says:

I'm 4 hours away from an exam that I was a 100% sure that I was going to bomb. Thank you for being a saving grace! I actually feel like I stand a chance now!

35. Nory * says:

A big thanks from Saudi Arabia👌🏻👌🏻👌🏻

36. Mikkel du Plessis says:

BAAAAMMMMM

37. Robert.E. Lee says:

could you please with problem, x^3/2x-1?

38. K Os says:

Thanks for the epic videos!! They're really a lifesaver 🙂

39. Common Girl says:

BAM! you worth many subs! btw I like your style of teaching and kind'a funny. Thanks 🙂

40. lily doir says:

Omg thank you so much. This is way easier than my teacher is teaching me

41. sohil parekh says:

I am a year 10 student and im kind of confused on a question that you solved, at 4:25 how did you get 5(4x^2 -12x+9)-1, is it not meant to be 5(4x^2 +12x+9)-1, im saying this because when -3 is squared it becomes a positve therfore it should be a +12x and not -12x

42. Jughead says:

What if the given is g °f°h(x)??

43. Yaz Hunt says:

Im in a college algebra class right now.
I havent had a math class in over 10 years, and the teacher I have, moves too fast for me to keep up.
Im not doing great in the class, but I started to understand a few things with this channel.
Without your videos I would have already dropped the class.

44. mohamed mustafa says:

Thanks for the video
can you please explain stochastic processes on another video

45. Mueseek says:

Vert clear and simple thank you!

46. BethRowe27 says:

So would f(x)=x-3 g(x)=x+5
does that = to x^2+2 ? Thanks

47. Zeiad Elmalla says:

BAM you're a genius you made it much easier to understand. Wish you were my teacher XD
Thank you : )

48. Michelle Edmonds says:

I graduated high 16 yrs ago and I'm so lost trying to help my daughter with her homework. She doesn't even have a textbook!! I've spent a ton of time on Google and YouTube trying to figure this out. Your video has been the easiest to understand, unfortunately, I'm still gonna need to watch this about a ten more times.

49. Niaz Masood says:

You're such a amazing teacher! Can you answer this question, please?
Determine whether the statements are True or False. Justify your answer with an explanation.
If you are given two functions f(x) and g(x), you can calculate (f ○g)(x) if and only if the range of g is a subset of the domain of f.

50. Corwin Bowles says:

This saved me. Thank you so much!

51. K Jay says:

Funny and helpful. Couldn't ask for a better tutorial. 😀

52. eric matheus says:

bam bam!

53. Shayma Alassal says:

So darn helpfull

54. Nikunj Bond says:

what's the problem with negetives.does the function always hold positive value?even jf the denominator is negative what's the prob with that I wonder

55. Mohamed Snoussi says:

BAM Mr True ! , Thank you !!!!

56. king fourtyonce says:

BAM!!!

57. Nitish Kumar says:

You are my favourate teacher sir………….. I have recommended many of my friends to watch your videos even they found it simplified and enjoying…… You are fantastic sir…….

58. Akshay Tahiliani says:

How to do composition of piece wise functions

59. Aafra Zarnaz says:

Thank you.
My AS level math exam is less than 24 hours away, and I was panicking over functions till now.
You just helped inhibit another breakdown. Thank you.

60. Shelby shook says:

I have a huge math final this week and I just stumbled across this video and it helped me tremendously. I understand functions now! thanks so much!

61. Clint Strong says:

Im having trouble doing comp of function with functions such as:

f(x)= 1/6x-1 and g(x) = 1/x^2 for instance. Trying to find f◦g(x) I set it all up ok, but have trouble simplifying? Havent had much luck finding videos going over these types of problems.

62. Andrea Lau says:

Please be my teacher for every subject lol

63. AKATSUKI says:

I got my last precalculus exam tomorrow! Woooot!

64. Yui was here says:

need some work sheets 🙁

65. Scott Sengbush says:

My College Algebra teacher attaches your videos to her emails on each chapter as extra help, youre funny and make the math feel easy. Thank you

66. Pusheen Jojo says:

Thank You!! Life saver! Algebra 2 is fun but complex 🙁

67. jj boyy says:

Damnnnn Slowwww down bubby

68. Isabella A. says:

I love you haha. You make math fun and your handwriting is great!

69. Denver Anza says:

I understand math by this video. Whoaaah <3

70. Fernando Falcon says:

Just a friendly observation regarding the domain . At about 8:30 you ask "can x be -1?" I believe we should be looking for an x-value that would make g(x)=-1, since this output will be used as an input by f(x). Therefore , the x-value which makes g(x)=-1 is actually x=-3, which you had already excluded.

71. solomon Abebe says:

Very helpful and clear explanation! I have a great fear of math ;(

72. carlos ortiz says:

how did you get 12x and 9?

73. Jayden Moy says:

My teacher plays u all the time. I love your entrance. Starts the lesson right. U made me love math for the first time.

74. Muhamad Thaha says:

Your videos are very helpful thank you sir i understood very well

75. Thomas Carter says:

Heh looooooh

76. Fazal Mian says:

This lesson was so help ful thank u ps this was. Rotten buy a kid not my dad that is the owner of this computer

77. Fazal Mian says:

How do u emoji on this thing q mark q mark q mark sorry i can’t do q mark I’m a kid

78. Fazal Mian says:

This was a super super super help ful this ps im akid not the owner

79. Abdifatah Ibrahim says:

Prof Robbob I support you for your explanation

80. Promise Sinkonde says:

awesome and enjoyable

81. Richard em Watson Institue nos EUA says:

I couldn't understand. 5(x2-12x+9) Why is there the number 12x? Why is this result?

82. Syrhene Marie Bosquet says:

this is very helpful. thank you for this. I subscribed because you rock!!!!!! BAM!

83. Entertainment and funny videos says:

I have a question

How to solve this question.

For which of the following functions f(x)f(x) is the relation f(f(x))=f(f(f(f(x))))f(f(x))=f(f(f(f(x)))) NOT true for at least some values of xx not equal to zero?
f(x)=−|x|f(x)=−|x|f(x)=2−xf(x)=2−xf(x)=3xf(x)=3xf(x)=4xf(x)=4xf(x)=5f(x)=

84. Dipjyoti Kalita says:

Please help me

85. Philip Pizzo says:

Domain restrictions on the input function and the composition.
(3/x) / ((3/x) + (1/1)) => (3/x) / ((3/x)+(x/x)) => (3/x) / (3+x/x) =>
(3/x) * (x/3+x) => (3x) / (3x+x^2) = Factor out an x in denominator => 3(x) / (x)(3+x) ==X bound by multiplication okay to cancel ==> 3/(3+x)
|||Domain restrictions on the input function|||
[g(x) = 3/x] is the the input function. g(x) is a rational function. rational functions cannot have 0 in the denominator. set the denominator = 0. [[x = 0]] remove 0 from the domain.
||The composition||
3/(3+x)==> same rules apply ==> [[3+x=0]] ===>[[x= -3]] remove -3 from the domain.
(-oo, -3) U (-3,0) U (0,+oo)

86. ilose3 says:

thank you for helping me learn and prep for my test by relearning it

87. Rey Mendiola says:

You helped me through high school now I´m getting through college with your vids!!!

88. ADLE YARE MEDIA 4K says:

Thanks teachers

89. Raceine Wilson says:

Your're the only reason I am passing my online college algebra class. Always great videos.

90. Omar Jalal says:

You are very good teacher I loved you you very helped me thank you

91. reed mattek says:

i've been consistently horrible at algebra my entire high school career, at one point failing a semester of it. now i've finally made it to my final exam in college algebra and this just saved my life. thanks dude!!

92. Eugene Muriuki says:

DAMN!! I never thought this day would come. Thanks so much. I've understood everything

93. Thabani Dominique says:

I am trying to understand how he got the 12x in the middle by just looking at it

94. Kiona Barker says:

Love your videos, I always come home and watch the ones pertaining to whatever the lecture was that day to ACTUALLY understand so THANK YOU!! I'm wondering if you've created a video specifically to the decomposition of functions?? I've been through your website and can't seem to find one. for some reason this topic has boggled me.

95. David Markus says:

Amongst the best math teachers on the net – bravo professor!

96. Yosef says:

cringe

97. Maria de Lourdes Schneider says:

Thanks a lot. You rock!

98. Joshua David Severo says:

BAMMM!!!!

99. Cimone Mitchell says:

Thanks boi