Skip to Main Content

Composition of Functions

Lesson Plan

Composition of Functions

Objectives

In this lesson, students will be introduced to the concept of composition of functions. Students will:

  • evaluate a composition of functions given an input.
  • use a series of graphs to evaluate a composition of functions.
  • determine the function that results from two functions being composed.

Essential Questions

  • How can functions be built upon each other?

Vocabulary

  • Input: In functions, the independent variables. [IS.1 - Preparation]
  • Output: In functions, the dependent variable.

Duration

90–120 minutes

Prerequisite Skills

Prerequisite Skills haven't been entered into the lesson plan.

Materials

Related Unit and Lesson Plans

Related Materials & Resources

The possible inclusion of commercial websites below is not an implied endorsement of their products, which are not free, and are not required for this lesson plan.

Formative Assessment

  • View
    • The Function Machine activity assesses student understanding of the composition process. Obtaining the correct output requires executing each operation in proper order. Proper procedure begins with checking the arithmetic of each computation. Some students will perform the function operation incorrectly by executing the operation on the last output rather than the original function. [IS.5 - All Students]
    • Assessment of the It Takes Two worksheet will indicate whether students are using the correct order of composition. Check the order of composition of each incorrect result and point out the inside-out rule to students before they redo the composition.

Suggested Instructional Supports

  • View
    Active Engagement, Modeling, Explicit Instruction
    W: In this lesson, students will learn how to represent compositions of functions, how to represent them graphically, and how to make meaningful interpretations of the results of the compositions.  
    H: The function machine cards will reprise a concept that most students have used in the elementary grades. The activity reminds students of the familiar process of input/output and the requirement that there is one and only one output for each unique input in order for the relation to be a function.  
    E: By directing students’ attention to the language of composition, they can make individual and collective representations of what it means to compose something. Familiar forms of composition—writing prose, making music, drawing a picture—all require bringing certain individual elements as component parts of the thing to be created. Emphasizing the accuracy of speaking and writing the composition is also essential in promoting more complete understanding.  
    R: After completing the activity It Takes Two, have students reflect on the three questions that examine the core concepts of function composition: What does a function do? What does composition mean? Does the order of composition matter?  
    E: Consider each student’s responses to the three questions and the kinds of language used. Does the student’s answer reflect that s/he has obtained a personal understanding sufficient to make an original representation? Does the explanation of why the order of the composition of functions matters include an example that demonstrates adequate understanding? Is the student able to suggest other questions about the characteristics of composing functions that contribute to more general or specific understanding?  
    T:

    Much of this lesson relies on kinesthetic learning. The kinesthetic and social learners in the room will appreciate and remember their turn at the front of the room, being on stage, and doing math with their peers. Also, other students in the class get to participate by verbally offering inputs.

    During the It Takes Two activity, visual learners will benefit from marking the graphs of the two functions with two different colors. Make sure that colors are available for those who need them.

    While students are working in groups on the worksheet, identify those who need extra help understanding the concept of composition, and help those students verbalize their questions to their group, to facilitate small-group discussions and ensure understanding.

     
    O:

    The lesson is organized to begin with a concept that students already know but is essential for today’s lesson (the basic working of functions). They then get to participate in developing simple function compositions; all the functions provided in the Function Machine are relatively simple operations so students can focus on the composition aspect of the activity rather than getting bogged down in performing complicated calculations. The lesson allows students to explore the new concept on their own, both by providing inputs and also by trying to develop algebraic rules for composition.

    The lesson also allows students independent practice on the It Takes Two worksheet, which reinforces both the multiple representations of functions and the idea of composition.

     

     

    IS.1 - Preparation
    Consider using graphic organizers (e.g., Frayer Model, Verbal Visual Word Association, Concept Circles) to review key vocabulary prior to or during the lesson   
    IS.2 - All Students
    Consider preteaching the concepts critical to this lesson, including the use of hands-on materials. Throughout the lesson (based upon the results of formative assessment), consider the pacing to be flexible to the needs of the students. Also consider the need for reteaching and/or review both during and after the lesson as necessary  
    IS.3 - Struggling Learners
    Consider providing struggling students with time to preview/review information related to composition of functions at www.khanacademy.org  
    IS.4 - All Students
    Consider cooperative learning and student engagement strategies (Think-Pair-Share, Random Reporter) as appropriate. Information on these strategies can be found at www.pdesas.org/Main/Instruction  
    IS.5 - All Students
    Prior to teaching this lesson, consider the prior knowledge and misconceptions that students may bring to this lesson. Use that information to determine when formative assessments techniques are needed (e.g., white boards, thumbs up/thumbs down, and asking assessing and advancing questions). To learn more about assessing and advancing questions, please download Teachers’ Desk Reference: Essential Practices for Effective Mathematics Instruction at: http://www.pattan.net/category/Resources/PaTTAN%20Publications/Browse/Single/?id=4e1f51d3150ba09c384e0000  

Instructional Procedures

  • View

    “We use composition of functions every day: We take the answer from one mathematical problem and use it as the input for a different mathematical problem. For example, let’s say you have $20 and you want to see a movie for $6.50, and after that, you want to eat dinner for $9, and you want to buy a gift for your brother. Of course, these can be represented by a single linear function, but in more complex situations, composition may be easier (and the linear function that represents all these situations together can be obtained through composition of functions).”

    Ask for volunteers. Start with one person at the board. Let the student secretly pick one of the functions on the laminated Function Machine cards (M-A2-6-3_Function Machine.doc).

    Remind students that functions require an input and produce an output. Have students volunteer inputs to the student with the chosen function, and have that student perform the function on the input and provide the output on the board. Keep a table of x- and y-values (inputs and outputs) for the chosen function also on the board. Have students keep guessing until they can guess the function.

    “That’s a good review of how ‘regular’ functions work: you provide an input and you get an output. Today, we’re going to talk about composing functions. What does the word compose mean or where have you heard the word compose before?” (composing an e-mail, writing a composition, a music composer, etc.)

    “All those uses of the word compose have basically the same meaning—to put together. That relates precisely to what we’re doing when we compose functions; we’re going to put them together, although in a very specific way.”

    Have two more volunteers come to the front of the class and have each of them secretly select a function from the Function Machine cards. Give each function a name (f, g, etc. You can use each student’s first initial as well). Explain to the class how we’re going to combine, or compose, the two functions.

    “First, we’ll provide the first function with an input. Then, we’re going to use that function’s output as the input to the next function.”

    Demonstrate this to students first using the Function Machine (M-A2-6-3_Function Machine.doc) [IS.4 - All Students], and show them the function f(x) and g(x) on the front of the card, and then flip it over to show them f(g(x)) and g(f(x)). Emphasize that whatever the function g(x) is, you place the entire function in place of the x in f(x) for f(g(x)), as that notation literally means plug in g(x) for x in f(x). Also emphasize that order matters, f(g(x)) is not going to be the same as g(f(x)) in most cases. Show the two index cards and have students notice how different the two results are. Once you think students understand this, continue with more examples as follows:

    • Do some examples first (without worrying about recording the results). Have students provide the first function with an input, and then have the person representing that function tell the other function/student the output, and have the second person provide the “final output.”
    • Get two new students with two new functions. Again, provide them with function names, and introduce the notation for composition of functions. Stress which of the two functions the class will provide the initial input to (say, f ) and stress the order in which the functions are written under composition, i.e., g(f (x)), with the first function on the inside of the composition statement. (Also, use the other notation for composition, (g ○ f)(x).) Emphasize that the way in which composed functions are written and spoken is important in making accurate representations of the functions being composed. Have students say and speak the terms correctly. Write g(f(x)) and have them practice saying it correctly, “g of f of x”.

    Create an input–output table for g(f (x)), again allowing the class to provide inputs and allow the functions to generate the appropriate output. Now, ask the class how calculating f (g(x)) is different from g(f (x)). Remind students of the importance of order when writing the functions.

    Create an input–output table for f (g(x)) and compare it to the original table.

    “Does the order in which we compose functions make a difference?” (Yes, most of the time.)

    Depending on how the class is doing (and the time remaining), this activity can be repeated, allowing for exploration of composition, including using more than two students/functions, trying to find functions where composition does not make a difference, allowing students to come up with their own functions instead of using the Function Machine cards, etc.

    Eventually, bring the situation back to having two functions, both chosen from the Function Machine cards. Remind students how, at the beginning of class, they provided inputs to a function and were given outputs and eventually determined what the function was. Have them repeat that process with both functions, f and g, and write f and g on the board with their rule, in function notation:

    f (x) = x +2 and g(x) = 3x

    Now, have students provide the composition  some inputs, and have the composition work together, in the correct order, to provide outputs. Record the inputs and outputs and ask students if they can figure out a single rule that covers the whole composition instead of thinking about it as two separate rules. Guide students through a couple of examples (including reversing the order of composition) of generating a single rule to cover the composition, and then work into the abstract, algebraic approach.

     

    Example: f (x) = x + 2; g(x) = 3x

    (g f )(x) = 3(x + 2)

    f (x) = x + 2; g(x) = 3x

    (f g)(x) = 3x + 2

    When doing the algebraic approach, remind students that whatever is inside the parentheses functions as our input, and we replace all instances of x with our input, and then simplify.

    “Now that we have explored composition with functions written as equations, as well as with the Function Machine, we’ll take a look at exploring composition with graphs. Remember, though, that graphs are really just another representation of functions (equations) and tables, so the idea is going to be almost identical.”

    Hand out the It Takes Two activity (M-A2-6-3_It Takes Two.doc and M-A2-6-3_It Takes Two KEY.doc) and work with students on the first couple of problems. Again, emphasize starting with the inside function, determining the y-coordinate associated with the given x-coordinate, and then using that y-coordinate as the x-coordinate for the second, outside function. Work with the class through as many examples as necessary; once individual students get it, they will begin to work ahead at their own pace.

    Use the following questions to help students reflect on the lesson:

    “What does a function do on its own?” (take an input, provide an output, change a number)

    “What does composition of functions mean?” (to combine two functions, use the output from one as the input for the other)

    “Does the order of composition matter?” (yes)

    Extension:

    • Assign students to create two additional compositions that they can pose to the class. Each student will work each composition, showing each step and its associated arithmetic operation. Make sure that students are prepared to explain what and why for each step and demonstrate the procedure individually to the entire class.
    • After several students have demonstrated a solution to each of their questions, ask the class to suggest which characteristics of the questions make some solutions more difficult than others.

    Some possible answers might include:

    • functions that use nonintegers
    • functions with exponents and/or radicals
    • multiple compositions

Related Instructional Videos

Note: Video playback may not work on all devices.
Instructional videos haven't been assigned to the lesson plan.
DRAFT 10/12/2011
Loading
Please wait...