<< Chapter < Page Chapter >> Page >
This module describes composite functions in Algebra.

You are working in the school cafeteria, making peanut butter sandwiches for today’s lunch.

  • The more classes the school has, the more children there are.
  • The more children there are, the more sandwiches you have to make.
  • The more sandwiches you have to make, the more pounds (lbs) of peanut butter you will use.
  • The more peanut butter you use, the more money you need to budget for peanut butter.

...and so on. Each sentence in this little story is a function. Mathematically, if c size 12{c} {} is the number of classes and h size 12{h} {} is the number of children, then the first sentence asserts the existence of a function h ( c ) size 12{h \( c \) } {} .

The principal walks up to you at the beginning of the year and says “We’re considering expanding the school. If we expand to 70 classes, how much money do we need to budget? What if we expand to 75? How about 80?” For each of these numbers, you have to calculate each number from the previous one, until you find the final budget number.

# Classes # Children # Sandwiches lb. $$

But going through this process each time is tedious. What you want is one function that puts the entire chain together: “You tell me the number of classes, and I will tell you the budget.”

# Classes $$

This is a composite function —a function that represents in one function, the results of an entire chain of dependent functions . Since such chains are very common in real life, finding composite functions is a very important skill.

How do you make a composite function?

We can consider how to build composite functions into the function game that we played on the first day. Suppose Susan takes any number you give her, quadruples it, and adds 6. Al takes any number you give him and divides it by 2. Mathematically, we can represent the two functions like this:

S ( x ) = 4x + 6 size 12{S \( x \) =4x+6} {}
A ( x ) = x 2

To create a chain like the one above, we give a number to Susan; she acts on it, and gives the resulting number to Al; and he then acts on it and hands back a third number.

3 Susan S ( 3 ) = 18 Al A ( 18 ) = 9 size 12{3 rightarrow ital "Susan" rightarrow S \( 3 \) ="18" rightarrow ital "Al" rightarrow A \( "18" \) =9} {}

In this example, we are plugging S ( 3 ) size 12{S \( 3 \) } {} —in other words, 18— into Al’s function. In general, for any x size 12{x} {} that comes in, we are plugging S ( x ) size 12{S \( x \) } {} into A ( x ) size 12{A \( x \) } {} . So we could represent the entire process as A ( S ( x ) ) size 12{A \( S \( x \) \) } {} . This notation for composite functions is really nothing new: it means that you are plugging S ( x ) size 12{S \( x \) } {} into the A function.

But in this case, recall that S ( x ) = 4x + 6 size 12{S \( x \) =4x+6} {} . So we can write:

A ( S ( x ) ) = S ( x ) 2 = 4x + 6 2 = 2x + 3

What happened? We’ve just discovered a shortcut for the entire process. When you perform the operation A ( S ( x ) ) size 12{A \( S \( x \) \) } {} —that is, when you perform the Al function on the result of the Susan function—you are, in effect, doubling and adding 3. For instance, we saw earlier that when we started with a 3, we ended with a 9. Our composite function does this in one step:

3 2x + 3 9 size 12{3 rightarrow 2x+3 rightarrow 9} {}

Understanding the meaning of composite functions requires real thought. It requires understanding the idea that this variable depends on that variable, which in turn depends on the other variable; and how that idea is translated into mathematics. Finding composite functions, on the other hand, is a purely mechanical process—it requires practice, but no creativity. Whenever you are asked for f ( g ( x ) ) size 12{f \( g \( x \) \) } {} , just plug the g ( x ) size 12{g \( x \) } {} function into the f ( x ) size 12{f \( x \) } {} function and then simplify.

Building and testing a composite function

f ( x ) = x 2 4x size 12{f \( x \) =x rSup { size 8{2} } - 4x} {}

g ( x ) = x + 2 size 12{g \( x \) =x+2} {}

What is f ( g ( x ) ) size 12{f \( g \( x \) \) } {} ?

  • To find the composite, plug g ( x ) size 12{g \( x \) } {} into f ( x ) size 12{f \( x \) } {} , just as you would with any number.

f ( g ( x ) ) = ( x + 2 ) 2 4 ( x + 2 ) size 12{f \( g \( x \) \) = \( x+2 \) rSup { size 8{2} } - 4 \( x+2 \) } {}

  • Then simplify.

f ( g ( x ) ) = ( x 2 + 4x + 4 ) ( 4x + 8 ) size 12{f \( g \( x \) \) = \( x"" lSup { size 8{2} } +4x+4 \) - \( 4x+8 \) } {}

f ( g ( x ) ) = x 2 4 size 12{f \( g \( x \) \) =x rSup { size 8{2} } - 4} {}

  • Let’s test it. f ( g ( x ) ) size 12{f \( g \( x \) \) } {} means do g size 12{g} {} , then f size 12{f} {} . What happens if we start with x = 9 size 12{x=9} {} ?

7 g ( x ) 7 + 2 = 9 f ( x ) ( 9 ) 2 4 ( 9 ) = 45 size 12{7 rightarrow g \( x \) rightarrow 7+2=9 rightarrow f \( x \) rightarrow \( 9 \) rSup { size 8{2} } - 4 \( 9 \) ="45"} {}

  • So, if it worked, our composite function should do all of that in one step.

7 x 2 4 = ( 7 ) 2 4 = 45 size 12{7 rightarrow x rSup { size 8{2} } - 4= \( 7 \) rSup { size 8{2} } - 4="45"} {} It worked!

There is a different notation that is sometimes used for composite functions. This book will consistently use f ( g ( x ) ) size 12{f \( g \( x \) \) } {} which very naturally conveys the idea of “plugging g ( x ) size 12{g \( x \) } {} into f ( x ) size 12{f \( x \) } {} .” However, you will sometimes see the same thing written as f ° g ( x ) size 12{f circ g \( x \) } {} , which more naturally conveys the idea of “doing one function, and then the other, in sequence.” The two notations mean the same thing.

Questions & Answers

What is inflation
Bright Reply
a general and ongoing rise in the level of prices in an economy
AI-Robot
What are the factors that affect demand for a commodity
Florence Reply
price
Kenu
differentiate between demand and supply giving examples
Lambiv Reply
differentiated between demand and supply using examples
Lambiv
what is labour ?
Lambiv
how will I do?
Venny Reply
how is the graph works?I don't fully understand
Rezat Reply
information
Eliyee
devaluation
Eliyee
t
WARKISA
hi guys good evening to all
Lambiv
multiple choice question
Aster Reply
appreciation
Eliyee
explain perfect market
Lindiwe Reply
In economics, a perfect market refers to a theoretical construct where all participants have perfect information, goods are homogenous, there are no barriers to entry or exit, and prices are determined solely by supply and demand. It's an idealized model used for analysis,
Ezea
What is ceteris paribus?
Shukri Reply
other things being equal
AI-Robot
When MP₁ becomes negative, TP start to decline. Extuples Suppose that the short-run production function of certain cut-flower firm is given by: Q=4KL-0.6K2 - 0.112 • Where is quantity of cut flower produced, I is labour input and K is fixed capital input (K-5). Determine the average product of lab
Kelo
Extuples Suppose that the short-run production function of certain cut-flower firm is given by: Q=4KL-0.6K2 - 0.112 • Where is quantity of cut flower produced, I is labour input and K is fixed capital input (K-5). Determine the average product of labour (APL) and marginal product of labour (MPL)
Kelo
yes,thank you
Shukri
Can I ask you other question?
Shukri
what is monopoly mean?
Habtamu Reply
What is different between quantity demand and demand?
Shukri Reply
Quantity demanded refers to the specific amount of a good or service that consumers are willing and able to purchase at a give price and within a specific time period. Demand, on the other hand, is a broader concept that encompasses the entire relationship between price and quantity demanded
Ezea
ok
Shukri
how do you save a country economic situation when it's falling apart
Lilia Reply
what is the difference between economic growth and development
Fiker Reply
Economic growth as an increase in the production and consumption of goods and services within an economy.but Economic development as a broader concept that encompasses not only economic growth but also social & human well being.
Shukri
production function means
Jabir
What do you think is more important to focus on when considering inequality ?
Abdisa Reply
any question about economics?
Awais Reply
sir...I just want to ask one question... Define the term contract curve? if you are free please help me to find this answer 🙏
Asui
it is a curve that we get after connecting the pareto optimal combinations of two consumers after their mutually beneficial trade offs
Awais
thank you so much 👍 sir
Asui
In economics, the contract curve refers to the set of points in an Edgeworth box diagram where both parties involved in a trade cannot be made better off without making one of them worse off. It represents the Pareto efficient allocations of goods between two individuals or entities, where neither p
Cornelius
In economics, the contract curve refers to the set of points in an Edgeworth box diagram where both parties involved in a trade cannot be made better off without making one of them worse off. It represents the Pareto efficient allocations of goods between two individuals or entities,
Cornelius
Suppose a consumer consuming two commodities X and Y has The following utility function u=X0.4 Y0.6. If the price of the X and Y are 2 and 3 respectively and income Constraint is birr 50. A,Calculate quantities of x and y which maximize utility. B,Calculate value of Lagrange multiplier. C,Calculate quantities of X and Y consumed with a given price. D,alculate optimum level of output .
Feyisa Reply
Answer
Feyisa
c
Jabir
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Math 1508 (lecture) readings in precalculus. OpenStax CNX. Aug 24, 2011 Download for free at http://cnx.org/content/col11354/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Math 1508 (lecture) readings in precalculus' conversation and receive update notifications?

Ask