A factory's total cost C(w) (in dollars) depends on the number of widgets w produced: C(w)=50+8w. The number of widgets produced after d days is w(d)=12d. What does the composition C(w(d)) represent?
AThe number of days needed to produce w widgets
BThe total cost (in dollars) after d days of production
Practice Compose Two Functions in Algebra with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.
What this quiz covers
This quiz focuses on Compose Two Functions, giving you a quick way to practice the rules, question types, and explanations that matter most for Algebra.
How to use this quiz
Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.
All questions
Question 1
A factory's total cost C(w) (in dollars) depends on the number of widgets w produced: C(w)=50+8w. The number of widgets produced after d days is w(d)=12d. What does the composition C(w(d)) represent?
The number of days needed to produce w widgets
The total cost (in dollars) after d days of production (correct answer)
The number of widgets produced per dollar
The cost per widget after d days
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Function composition f(g(x)) means 'f of g of x': first evaluate g(x), then take that result and plug it into f. Think of it like a two-step process or a chain: x goes into g, g(x) comes out, that goes into f, and f(g(x)) comes out. The inner function (g) is evaluated first, then the outer function (f) is applied to that result. In the context, w(d) gives the number of widgets after d days, and C(w) gives the total cost for w widgets. The composition C(w(d)) means first find widgets after d days, then find the cost for that many widgets. This represents the total cost after d days of production. For example, if w converts days to widgets and C converts widgets to dollars, then C(w(d)) converts days to dollars in one combined operation! Choice C correctly describes the composition by identifying it as the total cost after d days. Choice A reverses the order, describing something like the inverse or a different composition. Remember: f(g(x)) means g is the inner function (evaluated first) and f is the outer function (applied second). The function name closest to x is evaluated first! Quick check to see if you have composition vs. addition: composition has one function INSIDE another (literally nested), while addition has functions side by side with a + between them. f(g(x)) = nested = composition. f(x) + g(x) = side by side = addition. The notation tells you which operation to use!
Question 2
Use the table to evaluate f(g(2)).
Table for g:
g(2)=5
Table for f:
f(5)=12
5
12 (correct answer)
f(2)
g(12)
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. To evaluate a composition at a specific number like f(g(2)): Step 1 - find g(2) by looking it up in the table; Step 2 - take that answer and substitute it into f. If g(2) = 5, then you need f(5). It's like a relay race where g passes its output to f! To find f(g(2)), we work inside-out: First, from the table, g(2) = 5. Now we take this result and look up f(5) in the table: f(5) = 12. So f(g(2)) = 12. Two separate evaluations, one after the other! Choice B correctly evaluates the composition by working inside-out using the table values, giving 12. Choice A only evaluates the inner function g(2) = 5 but forgets the second step of plugging that into f. You're not done until you've applied both functions in order! For evaluating at a specific number using tables: do it in TWO separate steps: Step 1: Find g(input) = 5 from the table. Step 2: Find f(5) = 12 from the table. Write down the intermediate answer from Step 1 before moving to Step 2—this prevents mistakes and makes checking easier! When working with tables, the process is the same as with formulas: evaluate the inner function first, then use that result as the input for the outer function.
Question 3
A factory's cost (in dollars) to produce w widgets is C(w)=5w+100. The number of widgets produced after d days is w(d)=20d. What does C(w(d)) represent?
The number of widgets produced after d days
The cost to produce the number of widgets made after d days (correct answer)
The cost to produce d widgets
The number of days needed to spend C dollars
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. In the context, we have two functions: w(d) gives the number of widgets produced after d days, and C(w) gives the cost to produce w widgets. The composition C(w(d)) means we first find how many widgets are produced after d days, then find the cost to produce that many widgets. This represents a two-step process: days → widgets → cost. For example, if w converts days to widgets and C converts widgets to cost, then C(w(d)) converts days to cost in one combined operation! Choice C correctly describes the composition: 'The cost to produce the number of widgets made after d days.' This captures the two-step nature: first we determine the widget count from the days (using w), then we find the cost for that widget count (using C). Choice B reverses the interpretation, suggesting 'The cost to produce d widgets,' which would be C(d), not C(w(d)). Remember: C(w(d)) means w is the inner function (evaluated first) and C is the outer function (applied second). The function name closest to d is evaluated first! To remember that composition represents chained processes: think of real-world sequences. If one function converts input A to output B, and another converts input B to output C, then their composition converts A directly to C. Here, days → widgets → cost, so C(w(d)) takes days and gives cost!
Question 4
If f(x)=2x−5 and g(x)=x2+1, find f(g(x)).
2x2−3 (correct answer)
(2x−5)(x2+1)
x2+1
2x2−5
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation f(g(x)) can look intimidating, but it's just telling you the order: work from the inside out, just like nested parentheses in arithmetic. If f(x) = 2x - 5 and g(x) = x² + 1, then f(g(x)) means 'plug x² + 1 into f,' giving f(x² + 1) = 2(x² + 1) - 5 = 2x² + 2 - 5 = 2x² - 3. To find f(g(x)) where f(x) = 2x - 5 and g(x) = x² + 1, we substitute the entire expression for g(x) into f: f(g(x)) = f(x² + 1) = 2(x² + 1) - 5 = 2x² + 2 - 5 = 2x² - 3—every place you see x in f, you replace it with (x² + 1)—the whole thing, not just x! Choice C correctly composes the functions by properly substituting g into f, giving 2x² - 3. Choice A has the right process but makes an arithmetic error by not distributing the 2 to the +1, resulting in 2x² - 5 instead of 2x² - 3—when composing functions, there are multiple steps where calculation errors can creep in—always double-check each substitution and simplification! To compose functions into a formula: (1) Write down the inner function's expression g(x) = x² + 1, (2) In the outer function f(x), everywhere you see x, replace it with (g(x) expression)—treat it as a single chunk, use parentheses!, (3) Simplify by expanding and combining like terms.
Question 5
If f(x)=x+4 and g(x)=2x2, find both f(g(x)) and g(f(x)).
f(g(x))=2(x+4)2 and g(f(x))=2x2+4
f(g(x))=2x2+4 and g(f(x))=2x2+4
f(g(x))=2x2+4 and g(f(x))=2(x+4)2 (correct answer)
f(g(x))=2x2 and g(f(x))=x+4
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Order matters in composition: f(g(x)) is NOT the same as g(f(x)) in general! If f adds 4 and g squares and doubles, then f(g(x)) means 'square and double, then add 4', while g(f(x)) means 'add 4, then square and double'. Different order, different result! Let's find both directions: For f(g(x)), inner function g gives 2x², and plugging into f gives f(2x²) = 2x² + 4. For g(f(x)), inner function f gives x + 4, and plugging into g gives g(x + 4) = 2(x + 4)² = 2(x + 4)². Notice how 2x² + 4 ≠ 2(x + 4)²—the order changes everything! Choice B correctly composes the functions in both orders: f(g(x)) = 2x² + 4 and g(f(x)) = 2(x + 4)². Choice A incorrectly claims both compositions give the same result 2x² + 4. This would mean the functions commute, but they don't! When you square (x + 4), you get x² + 8x + 16, not just x² + 4. To remember that order matters: think of real-world sequences. 'Put on socks then shoes' is different from 'put on shoes then socks'! Similarly, 'square-and-double then add 4' (giving 2x² + 4) is different from 'add 4 then square-and-double' (giving 2(x + 4)²). In math, f(g(x)) and g(f(x)) are usually different, just like changing the order of getting dressed gives different results!
Question 6
If f(x)=2x+3, g(x)=x2, and h(x)=x−1, find f(g(h(x))).
2(x2−1)+3
2(x−1)2+3 (correct answer)
2x2+3
(2x+3)2−1
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation f(g(h(x))) can look intimidating, but it's just telling you the order: work from the inside out, just like nested parentheses in arithmetic—first h(x), then g of that, then f of that result—you're replacing step by step! To find f(g(h(x))) where f(x) = 2x + 3, g(x) = x², and h(x) = x - 1, we substitute inward: First, h(x) = x - 1; then g(h(x)) = (x - 1)²; then f(g(h(x))) = 2((x - 1)²) + 3 = 2(x - 1)² + 3—every place you see x in the outer, you build the chain! Choice B correctly composes the functions by properly substituting h into g into f, giving 2(x - 1)² + 3. Choice A makes a substitution error: when replacing with (x - 1) in g(x) = x², it's (x - 1)², not x² - 1, and then applying f correctly—we need to substitute the ENTIRE expression, including handling it as a grouped quantity! The golden rule for composition f(g(h(x))): work INSIDE OUT—the function closest to x (h) gets evaluated first, then g, then f—think: 'h hands to g, g hands to f.' To compose multiple functions: start with the innermost, substitute into the next, and so on, using parentheses to keep track!
Question 7
If f(x)=2x+1 and g(x)=x−3, which expression equals f(g(x))?
2x−5 (correct answer)
2x−2
x−2
2x+1−3
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Function composition f(g(x)) means 'f of g of x': first evaluate g(x), then take that result and plug it into f. Think of it like a two-step process or a chain: x goes into g, g(x) comes out, that goes into f, and f(g(x)) comes out. To find f(g(x)) where f(x) = 2x + 1 and g(x) = x - 3, we substitute the entire expression for g(x) into f: f(g(x)) = f(x - 3) = 2(x - 3) + 1 = 2x - 6 + 1 = 2x - 5. Every place you see x in f, you replace it with x - 3—the whole thing, not just x! Choice A correctly composes the functions by properly substituting g into f, giving 2x - 5. Choice B has an arithmetic error in the simplification (should be -6 + 1 = -5, not -2), Choice C seems to only use part of f(x), and Choice D shows the unsimplified form but equals 2x - 2, not 2x - 5. The golden rule for composition f(g(x)): work INSIDE OUT, just like nested parentheses. To compose: (1) Write g(x) = x - 3, (2) In f(x) = 2x + 1, replace every x with (x - 3), (3) Simplify: 2(x - 3) + 1 = 2x - 6 + 1 = 2x - 5.
Question 8
If f(x)=4x and g(x)=x2−3, what is f(g(x))?
4x2−3
(4x)2−3
4(x2−3) (correct answer)
4x(x2−3)
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation f(g(x)) can look intimidating, but it's just telling you the order: work from the inside out, just like nested parentheses in arithmetic. If f(x) = 4x and g(x) = x² - 3, then f(g(x)) means 'plug x² - 3 into f,' giving f(x² - 3) = 4(x² - 3). You're replacing every x in f with the entire expression for g(x)! To find f(g(x)) where f(x) = 4x and g(x) = x² - 3, we substitute the entire expression for g(x) into f: f(g(x)) = f(x² - 3) = 4(x² - 3) = 4x² - 12. Every place you see x in f, you replace it with (x² - 3)—the whole thing, not just x! Choice C correctly composes the functions by properly substituting g into f, giving 4(x² - 3). Choice A makes a substitution error: when replacing x with (x² - 3) in f(x) = 4x, we need to substitute the ENTIRE expression for g(x), including handling it as a grouped quantity. We get 4(x² - 3), not 4x² - 3! To compose functions into a formula: (1) Write down the inner function's expression g(x) = x² - 3, (2) In the outer function f(x) = 4x, everywhere you see x, replace it with (x² - 3)—treat it as a single chunk, use parentheses!, (3) Keep the result as 4(x² - 3) or expand to 4x² - 12 if needed. The golden rule for composition f(g(x)): work INSIDE OUT, and always use parentheses when substituting to show that you're multiplying 4 by the entire expression (x² - 3)!
Question 9
Suppose f(x)=3x+2 and g(x)=x−5. Which expression represents f(g(x))?
3x+2+(x−5)
(3x+2)−5
3x−5+2
3(x−5)+2 (correct answer)
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation f(g(x)) can look intimidating, but it's just telling you the order: work from the inside out, just like nested parentheses in arithmetic. If f(x) = 3x + 2 and g(x) = x - 5, then f(g(x)) means 'plug x - 5 into f,' giving f(x - 5) = 3(x - 5) + 2. You're replacing every x in f with the entire expression for g(x)! To find f(g(x)) where f(x) = 3x + 2 and g(x) = x - 5, we substitute the entire expression for g(x) into f: f(g(x)) = f(x - 5) = 3(x - 5) + 2 = 3x - 15 + 2 = 3x - 13. Every place you see x in f, you replace it with (x - 5)—the whole thing, not just x! Choice B correctly represents the composition by properly substituting g into f, showing 3(x - 5) + 2. Choice A adds the functions (3x + 2) + (x - 5) instead of composing them. These are completely different operations: addition of functions combines outputs, while composition plugs the output of one into the other as input. Watch out for this confusion! Quick check to see if you have composition vs. addition: composition has one function INSIDE another (literally nested), while addition has functions side by side with a + between them. f(g(x)) = nested = composition. f(x) + g(x) = side by side = addition. The notation tells you which operation to use!
Question 10
Given f(x)=2x−5 and g(x)=x2+1, find f(g(x)).
2x2−3 (correct answer)
2x−4
x2−9
2x2−5
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Function composition f(g(x)) means 'f of g of x': first evaluate g(x), then take that result and plug it into f. Think of it like a two-step process or a chain: x goes into g, g(x) comes out, that goes into f, and f(g(x)) comes out. The inner function (g) is evaluated first, then the outer function (f) is applied to that result. To find f(g(x)) where f(x) = 2x - 5 and g(x) = x² + 1, we substitute the entire expression for g(x) into f: f(g(x)) = f(x² + 1) = 2(x² + 1) - 5 = 2x² + 2 - 5 = 2x² - 3. Every place you see x in f, you replace it with (x² + 1)—the whole thing, not just x! Choice A correctly composes the functions by properly substituting g into f, giving 2x² - 3. Choice D makes an arithmetic error: when expanding 2(x² + 1) - 5, we get 2x² + 2 - 5 = 2x² - 3, not 2x² - 5! When composing functions, there are multiple steps where calculation errors can creep in—always double-check each substitution and simplification! To compose functions into a formula: (1) Write down the inner function's expression g(x) = x² + 1, (2) In the outer function f(x) = 2x - 5, everywhere you see x, replace it with (x² + 1)—treat it as a single chunk, use parentheses!, (3) Simplify by expanding and combining like terms.
Question 11
Given f(x)=3x+2 and g(x)=x−4, find both f(g(x)) and g(f(x)).
f(g(x))=3x−10,g(f(x))=3x−2 (correct answer)
f(g(x))=3x−2,g(f(x))=3x−10
f(g(x))=3x+2,g(f(x))=x−4
f(g(x))=3x−10,g(f(x))=x−2
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Order matters in composition: f(g(x)) is NOT the same as g(f(x)) in general! If f(x) = 3x + 2 and g(x) = x - 4, then f(g(x)) means 'apply g first, then f,' while g(f(x)) means 'apply f first, then g.' Different order, different result! Let's find both directions: For f(g(x)), inner function g gives x - 4, and plugging into f gives f(x - 4) = 3(x - 4) + 2 = 3x - 12 + 2 = 3x - 10. For g(f(x)), inner function f gives 3x + 2, and plugging into g gives g(3x + 2) = (3x + 2) - 4 = 3x - 2. Notice how 3x - 10 ≠ 3x - 2—the order changes everything! Choice A correctly computes both compositions: f(g(x)) = 3x - 10 and g(f(x)) = 3x - 2. Choice B reverses the answers, mixing up which composition gives which result. Remember: the function name closest to x is evaluated first! To remember that order matters: think of real-world sequences. 'Put on socks then shoes' is different from 'put on shoes then socks'! Similarly, 'subtract 4 then triple and add 2' gives a different result than 'triple and add 2 then subtract 4.'
Question 12
If f(x)=x2 and g(x)=2x−1, what is f(g(x))?
4x2−1
(2x−1)2 (correct answer)
2x2−1
2x−1
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Function composition f(g(x)) means 'f of g of x': first evaluate g(x), then take that result and plug it into f. Think of it like a two-step process or a chain: x goes into g, g(x) comes out, that goes into f, and f(g(x)) comes out. The inner function (g) is evaluated first, then the outer function (f) is applied to that result. To find f(g(x)) where f(x) = x² and g(x) = 2x - 1, we substitute the entire expression for g(x) into f: f(g(x)) = f(2x - 1) = (2x - 1)². Every place you see x in f, you replace it with 2x - 1—the whole thing, not just x! Choice B correctly composes the functions by properly substituting g into f, giving (2x - 1)². Choice A makes a substitution error: when replacing x with 2x - 1 in f(x) = x², we need to substitute the ENTIRE expression for g(x), including handling it as a grouped quantity. We get (2x - 1)², not 4x² - 1! To compose functions into a formula: (1) Write down the inner function's expression g(x) = 2x - 1, (2) In the outer function f(x) = x², everywhere you see x, replace it with (2x - 1)—treat it as a single chunk, use parentheses!, (3) The result is (2x - 1)², which we could expand to 4x² - 4x + 1 if needed.
Question 13
If f(x)=4−x and g(x)=x2, what is g(f(x))?
4−x2
16−x2
(4−x)2 (correct answer)
x2−4
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation g(f(x)) tells you the order: work from the inside out, with f as the inner function and g as the outer function. If f(x) = 4 - x and g(x) = x², then g(f(x)) means 'plug 4 - x into g,' giving g(4 - x) = (4 - x)². You're replacing every x in g with the entire expression for f(x)! To find g(f(x)) where g(x) = x² and f(x) = 4 - x, we substitute the entire expression for f(x) into g: g(f(x)) = g(4 - x) = (4 - x)². Every place you see x in g, you replace it with 4 - x—the whole thing, treated as a single unit! Choice B correctly composes the functions by properly substituting f into g, giving (4 - x)². Choice A shows 16 - x², which might come from incorrectly thinking (4 - x)² = 4² - x² = 16 - x². Remember: (a - b)² ≠ a² - b²! We need to use the formula (a - b)² = a² - 2ab + b². To compose functions into a formula: (1) Write down the inner function's expression f(x) = 4 - x, (2) In the outer function g(x) = x², everywhere you see x, replace it with (4 - x)—use parentheses to treat it as one chunk!, (3) The result is (4 - x)², which equals 16 - 8x + x² when expanded.
Question 14
Let f(x)=x2+2 and g(x)=x−3. Evaluate f(g(0)).
11 (correct answer)
−7
5
−1
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. To evaluate a composition at a specific number like f(g(0)): Step 1 - find g(0) by substituting 0 into g; Step 2 - take that answer and substitute it into f. If g(0) = -3, then you need f(-3). It's like a relay race where g passes its output to f! To find f(g(0)), we work inside-out: First, g(0) = 0 - 3 = -3. Now we take this result and plug it into f: f(-3) = (-3)² + 2 = 9 + 2 = 11. So f(g(0)) = 11. Two separate evaluations, one after the other! Choice A correctly evaluates the composition by working inside-out, giving 11. Choice B only evaluates the inner function g(0) = -3 but forgets the second step of plugging that into f. You're not done until you've applied both functions in order! For evaluating at a specific number: do it in TWO separate steps: Step 1: Find g(0) = -3. Step 2: Find f(-3) = 11. Write down the intermediate answer from Step 1 before moving to Step 2—this prevents mistakes and makes checking easier! Remember that when squaring a negative number like (-3)², the result is positive: (-3)² = 9, not -9.
Question 15
Let f(x)=x−4 and g(x)=x2. Evaluate f(g(−3)).
−13
5 (correct answer)
13
−5
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. To evaluate a composition at a specific number like f(g(3)): Step 1 - find g(3) by substituting 3 into g; Step 2 - take that answer and substitute it into f—if g(3) = 7, then you need f(7)—it's like a relay race where g passes its output to f! To find f(g(-3)) where f(x) = x - 4 and g(x) = x², we work inside-out: First, g(-3) = (-3)² = 9; now we take this result and plug it into f: f(9) = 9 - 4 = 5—so f(g(-3)) = 5. Choice B correctly evaluates the composition by working inside-out, giving 5. Choice A makes a substitution error or perhaps forgets the sign: g(-3) = 9, not -9, since squaring a negative gives positive—when composing functions, there are multiple steps where calculation errors can creep in—always double-check each substitution and simplification! For evaluating at a specific number: do it in TWO separate steps: Step 1: Find g(input) = some number; Step 2: Find f(that number) = final answer—write down the intermediate answer from Step 1 before moving to Step 2—this prevents mistakes and makes checking easier!
Question 16
Let f(x)=x2−1 and g(x)=x+3. Compute f(g(0)).
8 (correct answer)
2
−1
3
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. To evaluate a composition at a specific number like f(g(0)): Step 1 - find g(0) by substituting 0 into g; Step 2 - take that answer and substitute it into f. If g(0) gives some value, then you need f(that value). It's like a relay race where g passes its output to f! To find f(g(0)), we work inside-out: First, g(0)=0+3=3. Now we take this result and plug it into f: f(3)=32−1=9−1=8. So f(g(0))=8. Two separate evaluations, one after the other! Choice A correctly evaluates the composition by working inside-out, giving 8. Choice B might result from only evaluating the inner function g(0)=3 but forgetting the second step of plugging that into f. You're not done until you've applied both functions in order! For evaluating at a specific number: do it in TWO separate steps: Step 1: Find g(input)=3. Step 2: Find f(3)=8. Write down the intermediate answer from Step 1 before moving to Step 2—this prevents mistakes and makes checking easier!
Question 17
Given f(x)=x+4 and g(x)=3x−1, compute (f∘g)(5).
18 (correct answer)
15
8
5+4
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. To evaluate a composition at a specific number like f(g(3)): Step 1 - find g(3) by substituting 3 into g; Step 2 - take that answer and substitute it into f—if g(3) = 7, then you need f(7)—it's like a relay race where g passes its output to f! To find (f ∘ g)(5) where f(x) = √(x + 4) and g(x) = 3x - 1, we work inside-out: First, g(5) = 3(5) - 1 = 15 - 1 = 14; now we take this result and plug it into f: f(14) = √(14 + 4) = √18—so (f ∘ g)(5) = √18. Choice A correctly evaluates the composition by working inside-out, giving √18. Choice B only evaluates the inner function g(5) = 14 but forgets the second step of plugging that into f, or perhaps miscalculates √(14 + 4) as √(14 + 1)—you're not done until you've applied both functions in order! For evaluating at a specific number: do it in TWO separate steps: Step 1: Find g(input) = some number; Step 2: Find f(that number) = final answer—write down the intermediate answer from Step 1 before moving to Step 2—this prevents mistakes and makes checking easier! The golden rule for composition f(g(x)): work INSIDE OUT, just like nested parentheses—the function closest to x (g in this case) gets evaluated first, then its output becomes the input for the next function (f).
Question 18
Let f(x)=4x and g(x)=x2−2. Find g(f(x)).
4(x2−2)
4x2−2
x2−2(4x)
(4x)2−2 (correct answer)
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation g(f(x)) means 'g of f of x': first evaluate f(x), then take that result and plug it into g. Think of it like a two-step process or a chain: x goes into f, f(x) comes out, that goes into g, and g(f(x)) comes out. The inner function (f) is evaluated first, then the outer function (g) is applied to that result. To find g(f(x)) where f(x) = 4x and g(x) = x² - 2, we substitute the entire expression for f(x) into g: g(f(x)) = g(4x) = (4x)² - 2 = 16x² - 2. Every place you see x in g, you replace it with 4x—the whole thing, not just x! Choice B correctly composes the functions by properly substituting f into g, giving (4x)² - 2. Choice A makes a substitution error: when replacing x with 4x in g(x) = x² - 2, we need to substitute the ENTIRE expression for f(x), including handling it as a grouped quantity. We get (4x)² = 16x², not 4x²! If g(x) = x², then g(4x) = (4x)², not 4(x²)! To compose functions into a formula: (1) Write down the inner function's expression f(x) = 4x, (2) In the outer function g(x) = x² - 2, everywhere you see x, replace it with 4x—treat it as a single chunk, use parentheses!, (3) Simplify: (4x)² - 2 = 16x² - 2.
Question 19
Given f(x)=5−x and g(x)=2x+1, what is f(g(x))?
5−(2x+1) (correct answer)
2(5−x)+1
10−x
5−x+2x+1
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. Function composition f(g(x)) means 'f of g of x': first evaluate g(x), then take that result and plug it into f—think of it like a two-step process or a chain: x goes into g, g(x) comes out, that goes into f, and f(g(x)) comes out—the inner function (g) is evaluated first, then the outer function (f) is applied to that result. To find f(g(x)) where f(x)=5−x and g(x)=2x+1, we substitute the entire expression for g(x) into f: f(g(x))=f(2x+1)=5−(2x+1)—every place you see x in f, you replace it with (2x+1)—the whole thing, not just x! Choice A correctly composes the functions by properly substituting g into f, giving 5−(2x+1). Choice B reverses the order, giving something like g(f(x))=2(5−x)+1 instead of f(g(x))—remember: f(g(x)) means g is the inner function (evaluated first) and f is the outer function (applied second)—the function name closest to x is evaluated first! To compose functions into a formula: (1) Write down the inner function's expression g(x)=2x+1, (2) In the outer function f(x), everywhere you see x, replace it with (g(x) expression)—treat it as a single chunk, use parentheses!, (3) Simplify if needed, like 5−(2x+1)=4−2x, but the choice shows the composed form.
Question 20
If f(x)=x2 and g(x)=2x−1, which expression represents f(g(x))?
(2x−1)2 (correct answer)
2x2−1
2(x2)−1
2x−(12)
Explanation: This question tests your understanding of function composition—taking the output of one function and using it as the input for another function. The notation f(g(x)) can look intimidating, but it's just telling you the order: work from the inside out, just like nested parentheses in arithmetic. If f(x) = x² and g(x) = 2x - 1, then f(g(x)) means 'plug 2x - 1 into f,' giving f(2x - 1) = (2x - 1)². You're replacing every x in f with the entire expression for g(x)! To find f(g(x)) where f(x) = x² and g(x) = 2x - 1, we substitute the entire expression for g(x) into f: f(g(x)) = f(2x - 1) = (2x - 1)². Every place you see x in f, you replace it with 2x - 1—and since we're squaring, we need parentheses around the whole thing! Choice A correctly composes the functions by properly substituting g into f, giving (2x - 1)². Choices B and C make a substitution error: when replacing x with 2x - 1 in f(x) = x², we need to substitute the ENTIRE expression for g(x), including handling it as a grouped quantity. Since f(x) = x², then f(2x - 1) = (2x - 1)², not 2x² - 1! To compose functions into a formula: (1) Write down the inner function's expression g(x) = 2x - 1, (2) In the outer function f(x) = x², everywhere you see x, replace it with (2x - 1)—treat it as a single chunk, use parentheses!, (3) The result is (2x - 1)², which we could expand if needed.