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

Why is b in the answer
Dahsolar Reply
how do you work it out?
Brad Reply
answer
Ernest
heheheehe
Nitin
(Pcos∅+qsin∅)/(pcos∅-psin∅)
John Reply
how to do that?
Rosemary Reply
what is it about?
Amoah
how to answer the activity
Chabelita Reply
how to solve the activity
Chabelita
solve for X,,4^X-6(2^)-16=0
Alieu Reply
x4xminus 2
Lominate
sobhan Singh jina uniwarcity tignomatry ka long answers tile questions
harish Reply
t he silly nut company makes two mixtures of nuts: mixture a and mixture b. a pound of mixture a contains 12 oz of peanuts, 3 oz of almonds and 1 oz of cashews and sells for $4. a pound of mixture b contains 12 oz of peanuts, 2 oz of almonds and 2 oz of cashews and sells for $5. the company has 1080
ZAHRO Reply
If  , , are the roots of the equation 3 2 0, x px qx r     Find the value of 1  .
Swetha Reply
Parts of a pole were painted red, blue and yellow. 3/5 of the pole was red and 7/8 was painted blue. What part was painted yellow?
Patrick Reply
Parts of the pole was painted red, blue and yellow. 3 /5 of the pole was red and 7 /8 was painted blue. What part was painted yellow?
Patrick
how I can simplify algebraic expressions
Katleho Reply
Lairene and Mae are joking that their combined ages equal Sam’s age. If Lairene is twice Mae’s age and Sam is 69 yrs old, what are Lairene’s and Mae’s ages?
Mary Reply
23yrs
Yeboah
lairenea's age is 23yrs
ACKA
hy
Katleho
Ello everyone
Katleho
Laurene is 46 yrs and Mae is 23 is
Solomon
hey people
christopher
age does not matter
christopher
solve for X, 4^x-6(2*)-16=0
Alieu
prove`x^3-3x-2cosA=0 (-π<A<=π
Mayank Reply
create a lesson plan about this lesson
Rose Reply
Excusme but what are you wrot?
Practice Key Terms 1

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




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