Today in honors precalculus our class discussed section 1-4 of our textbook, which delt with the compostition of functions. This section was aimed at helping us graph and evaluate the compostition of one function with another, given two functions.
We were originally given a sheet that had the functions g(x)=10-2x with domain `1<= x<=4` and f(x)=x+2 with the domain `3<=x<=7`. These two funtions were already graphed on a graph and, so we were supposed to find f(g(3)). To do this we plugged 3 into the function g(x)=10-2x to get g(x)=10-2(3), which equals 4. We used the number 4 and plugged it into the function f(x)=x+2 to get f(x)=(4)+2, which is 6. This means that the f(g(3)) is (4,6). However when you plot f of g you use the origianl x value, which was 3, so your coordinates are (3,6).
After plugging 3 into this function, we had to find the domain and range for f of g. To do this you have to remember two rules about composite functions.
1. g(x) must be in the domain of f(x).
2. x must be in the domain of g.
Following these rules we set up the equation `3<=10-2x<=7` because we are plugging the function g(x) in for the x in the domain of f(x). Then we seperated this into two equations `3<=10-2x`, which equals `x<=3.5` because you have to flip the inequality sign when you divide by a negative number. Our other equation was `10-2x<=7`, which equals `x>=1.5`. This means that the domain for f of g is `1.5<=x<=3.5` or [1.5,3.5]. Then to find the range we plugged 1.5 and 3.5 into the function f(g(x)). First we plugged 1.5 into the g(x) function to get 7 and then we plugged that into the f(x) equation to get 9. For the other part of the domain we plugged 3.5 into the function g(x) to get 3 and then we used that in the function f(x) to get 5. This means that the range is [5,9].
Once we were finished with this composition function we treid the inverse function, which is g(f(x)). We started by putting the f(x) function into the g(x) function to get 10-2(x+2). However, this function did not work because our x values were out of the domain. For instance, the domain of f(x) is `3<=x<=7`, so we plugged in 3 into our new function, but this gave us 0, which is not in the domain of g(x). We tried the other numbers of the function f(x), but they all were out of the domain of g(x).
Through this class we learned that funtions are not the same when you change their order, so it is imprtant that you get the right function to graph.