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

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply
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, Precalculus. OpenStax CNX. Jan 19, 2016 Download for free at https://legacy.cnx.org/content/col11667/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

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

Ask