# 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.$

why {2kπ} union {kπ}={kπ}?
why is {2kπ} union {kπ}={kπ}? when k belong to integer
Huy
if 9 sin theta + 40 cos theta = 41,prove that:41 cos theta = 41
what is complex numbers
give me treganamentry question
Solve 2cos x + 3sin x = 0.5
madras university algebra questions papers first year B. SC. maths
Hey
Rightspect
hi
chesky
Give me algebra questions
Rightspect
how to send you
Vandna
What does this mean
cos(x+iy)=cos alpha+isinalpha prove that: sin⁴x=sin²alpha
cos(x+iy)=cos aplha+i sinalpha prove that: sinh⁴y=sin²alpha
rajan
cos(x+iy)=cos aplha+i sinalpha prove that: sinh⁴y=sin²alpha
rajan
is there any case that you can have a polynomials with a degree of four?
victor
***sscc.edu/home/jdavidso/math/catalog/polynomials/fourth/fourth.html
Oliver
can you solve it step b step
give me some important question in tregnamentry
Anshuman
what is linear equation with one unknown 2x+5=3
-4
Joel
x=-4
Joel
x=-1
Joan
I was wrong. I didn't move all constants to the right of the equation.
Joel
x=-1
Cristian
y=x+1
gary
what is the VA Ha D R X int Y int of f(x) =x²+4x+4/x+2 f(x) =x³-1/x-1
can I get help with this?
Wayne
Are they two separate problems or are the two functions a system?
Wilson
Also, is the first x squared in "x+4x+4"
Wilson
x^2+4x+4?
Wilson
thank you
Wilson
Wilson
f(x)=x square-root 2 +2x+1 how to solve this value
Wilson
what is algebra
The product of two is 32. Find a function that represents the sum of their squares.
Paul
if theta =30degree so COS2 theta = 1- 10 square theta upon 1 + tan squared theta
how to compute this 1. g(1-x) 2. f(x-2) 3. g (-x-/5) 4. f (x)- g (x)
hi
John
hi
Grace
what sup friend
John
not much For functions, there are two conditions for a function to be the inverse function:   1--- g(f(x)) = x for all x in the domain of f     2---f(g(x)) = x for all x in the domain of g Notice in both cases you will get back to the  element that you started with, namely, x.
Grace