# 3.4 Composition of functions  (Page 4/9)

 Page 4 / 9

The gravitational force on a planet a distance r from the sun is given by the function $G\left(r\right).$ The acceleration of a planet subjected to any force $F$ is given by the function $a\left(F\right).$ Form a meaningful composition of these two functions, and explain what it means.

A gravitational force is still a force, so $a\left(G\left(r\right)\right)$ makes sense as the acceleration of a planet at a distance r from the Sun (due to gravity), but $G\left(a\left(F\right)\right)$ does not make sense.

## Evaluating composite functions

Once we compose a new function from two existing functions, we need to be able to evaluate it for any input in its domain. We will do this with specific numerical inputs for functions expressed as tables, graphs, and formulas and with variables as inputs to functions expressed as formulas. In each case, we evaluate the inner function using the starting input and then use the inner function’s output as the input for the outer function.

## Evaluating composite functions using tables

When working with functions given as tables, we read input and output values from the table entries and always work from the inside to the outside. We evaluate the inside function first and then use the output of the inside function as the input to the outside function.

## Using a table to evaluate a composite function

Using [link] , evaluate $\text{\hspace{0.17em}}f\left(g\left(3\right)\right)\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\left(f\left(3\right)\right).$

$x$ $f\left(x\right)$ $g\left(x\right)$
1 6 3
2 8 5
3 3 2
4 1 7

To evaluate $\text{\hspace{0.17em}}f\left(g\left(3\right)\right),\text{\hspace{0.17em}}$ we start from the inside with the input value 3. We then evaluate the inside expression $\text{\hspace{0.17em}}g\left(3\right)\text{\hspace{0.17em}}$ using the table that defines the function $\text{\hspace{0.17em}}g:\text{\hspace{0.17em}}$ $g\left(3\right)=2.\text{\hspace{0.17em}}$ We can then use that result as the input to the function $\text{\hspace{0.17em}}f,\text{\hspace{0.17em}}$ so $\text{\hspace{0.17em}}g\left(3\right)\text{\hspace{0.17em}}$ is replaced by 2 and we get $\text{\hspace{0.17em}}f\left(2\right).\text{\hspace{0.17em}}$ Then, using the table that defines the function $\text{\hspace{0.17em}}f,\text{\hspace{0.17em}}$ we find that $\text{\hspace{0.17em}}f\left(2\right)=8.$

$\begin{array}{ccc}\hfill g\left(3\right)& =& 2\hfill \\ \hfill f\left(g\left(3\right)\right)& =& f\left(2\right)=8\hfill \end{array}$

To evaluate $\text{\hspace{0.17em}}g\left(f\left(3\right)\right),\text{\hspace{0.17em}}$ we first evaluate the inside expression $\text{\hspace{0.17em}}f\left(3\right)\text{\hspace{0.17em}}$ using the first table: $\text{\hspace{0.17em}}f\left(3\right)=3.\text{\hspace{0.17em}}$ Then, using the table for $\text{\hspace{0.17em}}g\text{,\hspace{0.17em}}$ we can evaluate

$g\left(f\left(3\right)\right)=g\left(3\right)=2$

[link] shows the composite functions $\text{\hspace{0.17em}}f\circ g\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\circ f\text{\hspace{0.17em}}$ as tables.

 $x$ $g\left(x\right)$ $f\left(g\left(x\right)\right)$ $f\left(x\right)$ $g\left(f\left(x\right)\right)$ 3 2 8 3 2

Using [link] , evaluate $\text{\hspace{0.17em}}f\left(g\left(1\right)\right)\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\left(f\left(4\right)\right).$

$f\left(g\left(1\right)\right)=f\left(3\right)=3\text{\hspace{0.17em}}$ and $\text{\hspace{0.17em}}g\left(f\left(4\right)\right)=g\left(1\right)=3$

## Evaluating composite functions using graphs

When we are given individual functions as graphs, the procedure for evaluating composite functions is similar to the process we use for evaluating tables. We read the input and output values, but this time, from the $\text{\hspace{0.17em}}x\text{-}$ and $y\text{-}$ axes of the graphs.

Given a composite function and graphs of its individual functions, evaluate it using the information provided by the graphs.

1. Locate the given input to the inner function on the $\text{\hspace{0.17em}}x\text{-}$ axis of its graph.
2. Read off the output of the inner function from the $\text{\hspace{0.17em}}y\text{-}$ axis of its graph.
3. Locate the inner function output on the $\text{\hspace{0.17em}}x\text{-}$ axis of the graph of the outer function.
4. Read the output of the outer function from the $\text{\hspace{0.17em}}y\text{-}$ axis of its graph. This is the output of the composite function.

## Using a graph to evaluate a composite function

Using [link] , evaluate $\text{\hspace{0.17em}}f\left(g\left(1\right)\right).$

To evaluate $\text{\hspace{0.17em}}f\left(g\left(1\right)\right),\text{\hspace{0.17em}}$ we start with the inside evaluation. See [link] .

We evaluate $\text{\hspace{0.17em}}g\left(1\right)\text{\hspace{0.17em}}$ using the graph of $\text{\hspace{0.17em}}g\left(x\right),\text{\hspace{0.17em}}$ finding the input of 1 on the $\text{\hspace{0.17em}}x\text{-}$ axis and finding the output value of the graph at that input. Here, $\text{\hspace{0.17em}}g\left(1\right)=3.\text{\hspace{0.17em}}$ We use this value as the input to the function $\text{\hspace{0.17em}}f.$

$f\left(g\left(1\right)\right)=f\left(3\right)$

We can then evaluate the composite function by looking to the graph of $\text{\hspace{0.17em}}f\left(x\right),\text{\hspace{0.17em}}$ finding the input of 3 on the $x\text{-}$ axis and reading the output value of the graph at this input. Here, $\text{\hspace{0.17em}}f\left(3\right)=6,\text{\hspace{0.17em}}$ so $\text{\hspace{0.17em}}f\left(g\left(1\right)\right)=6.$

show that the set of all natural number form semi group under the composition of addition
what is the meaning
Dominic
explain and give four Example hyperbolic function
_3_2_1
felecia
⅗ ⅔½
felecia
_½+⅔-¾
felecia
The denominator of a certain fraction is 9 more than the numerator. If 6 is added to both terms of the fraction, the value of the fraction becomes 2/3. Find the original fraction. 2. The sum of the least and greatest of 3 consecutive integers is 60. What are the valu
1. x + 6 2 -------------- = _ x + 9 + 6 3 x + 6 3 ----------- x -- (cross multiply) x + 15 2 3(x + 6) = 2(x + 15) 3x + 18 = 2x + 30 (-2x from both) x + 18 = 30 (-18 from both) x = 12 Test: 12 + 6 18 2 -------------- = --- = --- 12 + 9 + 6 27 3
Pawel
2. (x) + (x + 2) = 60 2x + 2 = 60 2x = 58 x = 29 29, 30, & 31
Pawel
ok
Ifeanyi
on number 2 question How did you got 2x +2
Ifeanyi
combine like terms. x + x + 2 is same as 2x + 2
Pawel
x*x=2
felecia
2+2x=
felecia
×/×+9+6/1
Debbie
Q2 x+(x+2)+(x+4)=60 3x+6=60 3x+6-6=60-6 3x=54 3x/3=54/3 x=18 :. The numbers are 18,20 and 22
Naagmenkoma
Mark and Don are planning to sell each of their marble collections at a garage sale. If Don has 1 more than 3 times the number of marbles Mark has, how many does each boy have to sell if the total number of marbles is 113?
Mark = x,. Don = 3x + 1 x + 3x + 1 = 113 4x = 112, x = 28 Mark = 28, Don = 85, 28 + 85 = 113
Pawel
how do I set up the problem?
what is a solution set?
Harshika
find the subring of gaussian integers?
Rofiqul
hello, I am happy to help!
Abdullahi
hi mam
Mark
find the value of 2x=32
divide by 2 on each side of the equal sign to solve for x
corri
X=16
Michael
Want to review on complex number 1.What are complex number 2.How to solve complex number problems.
Beyan
yes i wantt to review
Mark
16
Makan
x=16
Makan
use the y -intercept and slope to sketch the graph of the equation y=6x
how do we prove the quadratic formular
Darius
hello, if you have a question about Algebra 2. I may be able to help. I am an Algebra 2 Teacher
thank you help me with how to prove the quadratic equation
Seidu
may God blessed u for that. Please I want u to help me in sets.
Opoku
what is math number
4
Trista
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
can you teacch how to solve that🙏
Mark
Solve for the first variable in one of the equations, then substitute the result into the other equation. Point For: (6111,4111,−411)(6111,4111,-411) Equation Form: x=6111,y=4111,z=−411x=6111,y=4111,z=-411
Brenna
(61/11,41/11,−4/11)
Brenna
x=61/11 y=41/11 z=−4/11 x=61/11 y=41/11 z=-4/11
Brenna
Need help solving this problem (2/7)^-2
x+2y-z=7
Sidiki
what is the coefficient of -4×
-1
Shedrak