<< Chapter < Page Chapter >> Page >

Using [link] , evaluate g ( f ( 2 ) ) .

g ( f ( 2 ) ) = g ( 5 ) = 3

Got questions? Get instant answers now!

Evaluating composite functions using formulas

When evaluating a composite function where we have either created or been given formulas, the rule of working from the inside out remains the same. The input value to the outer function will be the output of the inner function, which may be a numerical value, a variable name, or a more complicated expression.

While we can compose the functions for each individual input value, it is sometimes helpful to find a single formula that will calculate the result of a composition f ( g ( x ) ) . To do this, we will extend our idea of function evaluation. Recall that, when we evaluate a function like f ( t ) = t 2 t , we substitute the value inside the parentheses into the formula wherever we see the input variable.

Given a formula for a composite function, evaluate the function.

  1. Evaluate the inside function using the input value or variable provided.
  2. Use the resulting output as the input to the outside function.

Evaluating a composition of functions expressed as formulas with a numerical input

Given f ( t ) = t 2 t and h ( x ) = 3 x + 2 , evaluate f ( h ( 1 ) ) .

Because the inside expression is h ( 1 ) , we start by evaluating h ( x ) at 1.

h ( 1 ) = 3 ( 1 ) + 2 h ( 1 ) = 5

Then f ( h ( 1 ) ) = f ( 5 ) , so we evaluate f ( t ) at an input of 5.

f ( h ( 1 ) ) = f ( 5 ) f ( h ( 1 ) ) = 5 2 5 f ( h ( 1 ) ) = 20
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Given f ( t ) = t 2 t and h ( x ) = 3 x + 2 , evaluate

  1. h ( f ( 2 ) )
  2. h ( f ( 2 ) )

a. 8; b. 20

Got questions? Get instant answers now!

Finding the domain of a composite function

As we discussed previously, the domain of a composite function such as f g is dependent on the domain of g and the domain of f . It is important to know when we can apply a composite function and when we cannot, that is, to know the domain of a function such as f g . Let us assume we know the domains of the functions f and g separately. If we write the composite function for an input x as f ( g ( x ) ) , we can see right away that x must be a member of the domain of g in order for the expression to be meaningful, because otherwise we cannot complete the inner function evaluation. However, we also see that g ( x ) must be a member of the domain of f , otherwise the second function evaluation in f ( g ( x ) ) cannot be completed, and the expression is still undefined. Thus the domain of f g consists of only those inputs in the domain of g that produce outputs from g belonging to the domain of f . Note that the domain of f composed with g is the set of all x such that x is in the domain of g and g ( x ) is in the domain of f .

Domain of a composite function

The domain of a composite function f ( g ( x ) ) is the set of those inputs x in the domain of g for which g ( x ) is in the domain of f .

Given a function composition f ( g ( x ) ) , determine its domain.

  1. Find the domain of g .
  2. Find the domain of f .
  3. Find those inputs x in the domain of g for which g ( x ) is in the domain of f . That is, exclude those inputs x from the domain of g for which g ( x ) is not in the domain of f . The resulting set is the domain of f g .

Finding the domain of a composite function

Find the domain of

( f g ) ( x )     where f ( x ) = 5 x 1   and  g ( x ) = 4 3 x 2

The domain of g ( x ) consists of all real numbers except x = 2 3 , since that input value would cause us to divide by 0. Likewise, the domain of f consists of all real numbers except 1. So we need to exclude from the domain of g ( x ) that value of x for which g ( x ) = 1.

4 3 x 2 = 1 4 = 3 x 2 6 = 3 x x = 2

So the domain of f g is the set of all real numbers except 2 3 and 2. This means that

x 2 3 or x 2

We can write this in interval notation as

( , 2 3 ) ( 2 3 , 2 ) ( 2 , )
Got questions? Get instant answers now!
Got questions? Get instant answers now!

Questions & Answers

the gradient function of a curve is 2x+4 and the curve passes through point (1,4) find the equation of the curve
Kc Reply
1+cos²A/cos²A=2cosec²A-1
Ramesh Reply
test for convergence the series 1+x/2+2!/9x3
success Reply
a man walks up 200 meters along a straight road whose inclination is 30 degree.How high above the starting level is he?
Lhorren Reply
100 meters
Kuldeep
Find that number sum and product of all the divisors of 360
jancy Reply
answer
Ajith
exponential series
Naveen
what is subgroup
Purshotam Reply
Prove that: (2cos&+1)(2cos&-1)(2cos2&-1)=2cos4&+1
Macmillan Reply
e power cos hyperbolic (x+iy)
Vinay Reply
10y
Michael
tan hyperbolic inverse (x+iy)=alpha +i bita
Payal Reply
prove that cos(π/6-a)*cos(π/3+b)-sin(π/6-a)*sin(π/3+b)=sin(a-b)
Tejas Reply
why {2kπ} union {kπ}={kπ}?
Huy Reply
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
Trilochan Reply
what is complex numbers
Ayushi Reply
Please you teach
Dua
Yes
ahmed
Thank you
Dua
give me treganamentry question
Anshuman Reply
Solve 2cos x + 3sin x = 0.5
shobana Reply
Practice Key Terms 1

Get the best Algebra and trigonometry course in your pocket!





Source:  OpenStax, Algebra and trigonometry. OpenStax CNX. Nov 14, 2016 Download for free at https://legacy.cnx.org/content/col11758/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?

Ask