Math 30 - Day 5 - Composition of Functions
Overview
Christopher Lee reviews graph behavior and operations on functions before teaching composition as a process of feeding one function’s output into another. He demonstrates how to evaluate compositions from formulas, tables, and graphs, then derives their domains, including restrictions from both the inner function and the outer function.
Key takeaways
- To evaluate f(g(x)), calculate g(x) first and then use its output as the input to f; reversing the order generally creates a different function.
- Function composition is distinct from multiplication: f(g(x)) is generally not equal to f(x)g(x).
- For f(x) = x² and g(x) = x + 2, the compositions are f(g(x)) = (x + 2)² and g(f(x)) = x² + 2, making the order difference explicit.
- The same inside-out process works with formulas, tables, and graphs: find the inner output, then use that value to evaluate the outer function.
- The domain of f(g(x)) requires both x to be in the domain of g and g(x) to be in the domain of f.
- For f(x) = 5/(x - 1) and g(x) = 4/(3x - 2), the composite domain excludes x = 2/3, where g is undefined, and x = 2, where g(x) = 1 makes f undefined.
Chapters
- Christopher Lee explains that WebWork submissions can be retried without a grade penalty until the correct answer is entered.
- A WebWork cheat sheet covers answer-entry shortcuts, and assignments can be downloaded as PDFs for working on paper.
- Students can log in with their lowercase first and last names joined together, and WebWork also works on phones.
- The class identifies a local maximum at the coordinate (1, 2).
- The graph’s local minimum occurs at (-1, -2), with coordinates read as (x, y).
- Lee connects the review exercise to the WebWork section on rates of change and graph behavior.
- A constant function such as y = 5 is neither increasing nor decreasing.
- The identity function y = x increases across its domain when the graph is read from left to right.
- For y = x², the function decreases on (-∞, 0) and increases on (0, ∞), with its minimum at (0, 0).
- The cubic function y = x³ increases across the real numbers.
- The reciprocal function y = 1/x decreases on each separate interval (-∞, 0) and (0, ∞).
- The reciprocal-square function y = 1/x² increases on (-∞, 0) and decreases on (0, ∞).
- The cube-root function increases on the real numbers, while √x increases on [0, ∞).
- For y = |x|, the graph decreases on (-∞, 0) and increases on (0, ∞).
- A heating-cost example defines C(T) as the cost at temperature T and T(D) as the average temperature on day D.
- The cost for day D is written C(T(D)): temperature depends on the day, and cost depends on temperature.
- For functions f and g, the pointwise operations are (f + g)(x) = f(x) + g(x), (f - g)(x) = f(x) - g(x), and similarly for products and quotients.
- Lee illustrates function addition with household income: total income T(y) = H(y) + W(y) for each year y.
- Adding or subtracting function outputs requires compatible units; division also requires a nonzero denominator.
- With f(x) = x - 1 and g(x) = x² - 1, g(x) - f(x) simplifies to x² - x.
- For the same functions, g(x)/f(x) = (x² - 1)/(x - 1) factors and simplifies to x + 1.
- The quotient’s original denominator still excludes x = 1, even though the simplified expression is x + 1.
- Students work through additional algebraic combinations of f(x) = x - 1 and g(x) = x² - 1.
- Lee uses the product (x - 1)(x² - 1) to review distribution and combining like terms.
- The practice emphasizes distributing a negative sign across every term when subtracting a function.
- The product f(x)g(x) = (x - 1)(x² - 1) expands to x³ - x² - x + 1.
- The difference f(x) - g(x) becomes (x - 1) - (x² - 1), which simplifies to -x² + x.
- Equivalent polynomial terms may be written in different orders, such as x - x², though Lee prefers descending powers.
- Function composition combines functions so the output of the inner function becomes the input of the outer function.
- The notation f ∘ g at x means f(g(x)); the small circle is a composition operator, not multiplication.
- Lee returns to the heating example: C(T(D)) first finds the temperature for day D, then calculates heating cost.
- In f(g(x)), evaluate g first and then evaluate f using g(x) as its input.
- Composition generally differs from multiplication: f(g(x)) is not usually equal to f(x)g(x).
- The composition f ∘ g is defined only when x belongs to the domain of g and g(x) belongs to the domain of f.
- For f(x) = x² and g(x) = x + 2, f(g(x)) = (x + 2)², while g(f(x)) = x² + 2.
- The two compositions can produce different functions even if their outputs coincide at an individual input.
- A composition is meaningful only if the inner function’s range supplies inputs allowed by the outer function.
- For f(x) = 2x + 1 and g(x) = 3 - x, substituting g into f gives f(g(x)) = 2(3 - x) + 1 = -2x + 7.
- Reversing the order gives g(f(x)) = 3 - (2x + 1) = -2x + 2.
- The different results demonstrate that changing the order of composition changes the resulting function.
- For a table-based composition, first find the inner function’s output at the specified input, then look up that output in the outer function’s table.
- The example evaluates f(g(3)): the table gives g(3) = 2, then f(2) = 8.
- If an intermediate input is missing from the table, the requested composition value cannot be determined from the provided entries.
- The table example also finds g(f(3)) by looking up f(3) first and using that result as the input to g.
- For f(g(1)), the table gives g(1) = 3 and then f(3) = 3.
- For g(f(4)), the table gives f(4) = 1 and then g(1) = 3.
- Locate the original input on the x-axis of the inner function’s graph and read its output from the y-axis.
- Use that inner output as the x-input on the outer function’s graph.
- Read the outer graph’s y-value to obtain the composite function’s final output.
- The graph gives f(2) = 5, so the remaining evaluation is g(5).
- Reading the graph of g at input 5 gives g(5) = 3, and therefore g(f(2)) = 3.
- The method requires switching graphs only after completing the inner function lookup.
- For a formula-based composition, substitute the given input into the inner function before using its result in the outer formula.
- Lee distinguishes the variable names used in function definitions, noting that names such as t and x do not affect evaluation.
- A composition can be evaluated numerically one stage at a time or written as a single substituted expression.
- The inner function gives h(1) = 3(1) + 2 = 5.
- Substituting 5 into f(t) = t² - t yields f(5) = 25 - 5 = 20.
- Thus f(h(1)) = 20, illustrating numerical evaluation from the inside outward.
- Using f(t) = t² - t and h(x) = 3x + 2, f(2) = 2 and h(f(2)) = h(2) = 8.
- For the negative input, f(-2) = 4 - (-2) = 6, so h(f(-2)) = h(6) = 20.
- Students may evaluate each function separately and carry the intermediate result forward instead of substituting everything at once.
- The domain of f(g(x)) contains inputs x in the domain of g for which g(x) lies in the domain of f.
- Finding the domain requires checking the inner function’s restrictions and then excluding inputs whose inner outputs are invalid for the outer function.
- A composite’s domain can include x-values that are not in the domain of f itself, because f receives g(x), not x.
- For g(x) = 4/(3x - 2), the inner function is undefined at x = 2/3.
- With f(x) = 5/(x - 1), the composite is f(g(x)) = 5/(4/(3x - 2) - 1) = 5(3x - 2)/(-3x + 6).
- The outer denominator is zero when g(x) = 1, which occurs at x = 2; the composite domain therefore excludes both x = 2/3 and x = 2.
- In interval notation, the domain is (-∞, 2/3) ∪ (2/3, 2) ∪ (2, ∞).
Transcript excerpt
0:00 Duh. So, does anybody have any questions? >> My favorite color. Today the 16, you know. >> Yeah. I just found out too, man. I'm in the same boat as you, man. I thought it was the 15. They said it was the 16. I'm like, really? Like, time flying. >> Yeah. >> Yeah. Yo, you know, real talk, like half the month is gone already. It's crazy. Like the whole half of the month is gone. Yeah. >> Y'all go y'all gonna get a test, not a quiz. So, y'all got y'all got time. >> And it ain't And it ain't going to be next week. It ain't going to be next week.
0:48 >> If there's time if there's time. Yeah. But anybody got any questions though? So far, everybody's good with the class. Like, no concerns, nothing. >> It's so hard to put in sometimes. >> I feel you. Yeah. Just just ask and I got you. I show you how to do it. >> No, I mean, you got >> Yeah. It's a way the way to enter it. Gotcha. >> Yeah. Yeah. Well, you know what? There's um every time I make an announcement, right, I have like some cheat sheets that I put at the bottom of the announcement. One of them is a webboard cheat sheet which tells you how to answer in the answers if you need it.
1:36 >> Yeah. >> Like I infash >> I feel you. I feel you >> to input it. Yeah, I get it. Yeah. Yeah. I got you. I got you. If if if anything, just check check out that s just check out that cheat sheet. Cheese sheet got all the shortcuts on there, you know, to help you like enter in the answers. Yeah. And and by and by the way,
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Christopher Lee.