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!!!

That handwriting on the left side is beautiful 😀

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

-help

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

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

So helpful, thank you so much!

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

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

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!

You Da Man.

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

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

Do you have videos showing interval notation?

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

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!

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

thanks teacher .love it.

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?

is that not 10X2-8?

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

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.

what about the range

thanks for making this video. really helped profrobbob

You write so well!

Helloooo! Lol you're my fav math teacher

New subscriber! Thank you for these videos!!!

thnks proffessor rob

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.

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

Dear Mr. Rob,

Thank you soo much for making such helpful videos.

Sincerely,

Elaina

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

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

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) !!!

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

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!

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

BAAAAMMMMM

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

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

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

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

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

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

At around 4:15 you got 5(4x^2-12x+9) from a^2-2(a)(b)+ b^2 am thinking… xD

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.

Thanks for the video

can you please explain stochastic processes on another video

Vert clear and simple thank you!

So would f(x)=x-3 g(x)=x+5

does that = to x^2+2 ? Thanks

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

Thank you : )

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.

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.

This saved me. Thank you so much!

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

bam bam!

So darn helpfull

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

BAM Mr True ! , Thank you !!!!

BAM!!!

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…….

How to do composition of piece wise functions

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.

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!

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.

Please be my teacher for every subject lol

I got my last precalculus exam tomorrow! Woooot!

need some work sheets 🙁

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

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

Damnnnn Slowwww down bubby

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

I understand math by this video. Whoaaah <3

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.

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

how did you get 12x and 9?

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

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

Heh looooooh

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

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

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

Prof Robbob I support you for your explanation

awesome and enjoyable

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

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

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)=

Please help me

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)

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

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

Thanks teachers

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

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

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!!

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

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

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.

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

cringe

Thanks a lot. You rock!

BAMMM!!!!

Thanks boi