Thursday, March 10, 2011

Beyond the Algebra of Composition Functions

Now that my kids are comfortable with writing composition function equations, I gave them a few word problems to illustrate:
1. why composition functions can combine functions that have different types of domains. (For example, function f takes in dollars as domain, and function g takes in time as domain. It's possible to get an equation that represents f(g(x)). See first problem in Part 2 of the worksheet.)

2. how composition functions combine step-wise dependencies to represent them all in one swoop!

(The examples are a bit silly. But, they are intuitive and easy enough for kids to grasp/follow. After this, I made them do a bit more heavy-duty problems in the textbook, that are less light-hearted and a bit more "real", but also less fun.)

Check them out! (Part 1 is adopted from a lesson from NCTM. I just re-formatted the questions and re-worded them quickly. I was a bit scared by how long it took my 11th-graders to get through that first exercise.) I think the worksheets were pretty effective. I'm sure if you did it with a more accelerated class, they'd breeze right through this, and it'd help solidify their conceptual view of compositions.




--------------------------

I also have an idea for how to teach inverse functions this year using a sort of telephone game. I haven't tried it out yet (that's for tomorrow's class), but I'm thinking of starting the class with writing a table of first / last names on the board and asking kids to evaluate
f(Isabella) or f(Alvaro) for last names. Then, I'll introduce / review that the reverse lookup notation is
f-1(Alvarez) or f-1(Garcia) and that this is called the inverse function.

Then, I'll call a few kids to sit in front of class in a row, and they each will get to pick a secret basic operation +, -, x, with an operand. For example, "+ 3" or "- 8" could be what they secretly choose. I'll give the person on one end of the row a number, and he or she would do the operation in their head, and then tell the result to the next person. So on, until they get to the end. Say that the original number is 10 and the final number is 61, I'd write f(10) = 61 on the board. Then, I'll ask them to go backwards, starting with the last person with the number 61. Each step, they should "un-do" their own step by doing the opposite of what they did before. That way, by the time they get to the front again, we should see that f-1(61) = 10 happened by reversing each operation AND reversing the order of each operation. And I'll use that to introduce how to write equations of inverse functions!

Example: First person secretly chooses "add 3", second person "times 2", third person "minus 9", fourth person chooses to square.
f(x) = (2(x + 3) - 9)^2

That means that on the way back, in order to use the output to find the original input, we would need to: First square root, then "add 9", then "divide by 2", then "subtract 3".
f-1(x) = (sqrt(x) + 9)/2 - 3

I think the nice thing about this demo is that we can repeat this process quickly if kids have questions about any part of the classwork/homework. (I'd just choose kids to represent each step of the operation, and have them sit in a row to demonstrate how the operations reverse their nature as well as their order.)

...I'm excited about this!! I think it will work and make sense to the kids!!! (Of course, I'll also teach them the "short cut" of flipping x and y and solving for the other variable. But I think that comes later, once they have a foundation of what inverse operations are and why they work.)

The other nice thing about the chairs exercise is that we can use it down the road to illustrate why f-1(f(x)) = x, by putting twice as many chairs in a row, with the middle two operations canceling each other out, and then the next pair canceling each other out, etc. Example:

x --> Add 3, Times 4, Minus 1, Plus 1, Divide by 4, Subtract 3 --> you get x back, obviously!

Thoughts??

Addendum: The telephone game worked fabulously! It also was a good anchor for me to come back to in order to explain to kids why inverse function has nothing to do with flipping the signs. All I had to do was say to kids, "When I gave them the reverse input while going backwards, I didn't flip its sign, did I?"

Using the first and last names as warmup also had the added benefit of a giggle factor, when I explained to the class that f(Cuellar) = undefined. (Cuellar is the last name of a very silly and likeable kid in the class, but since it's the wrong type of domain value, it cannot be evaluated. The class thought it was funny that his evaluation gives an error.)

7 comments:

  1. Love your telephone idea!! Definitely adding that to my list of cool things!

    Also, in reference to a blog post a while back, I finally figured out a good way of explaining why, if you have 2x, you 1/2 all the x values for graphing. Just looking at a linear function, if you go at twice the speed (2x), it will take you 1/2 the time to get there. There is a good piston/sine function java doohickey around the interwebs I will try to find again that gives a really good visual representation of this.

    ReplyDelete
  2. Thanks, Meg!

    I like your twice the speed idea, but how does that work with the horizontal shifts?

    Mimi

    ReplyDelete
  3. Hmmm...maybe (playing off inverse functions a bit) talk about it like a race--we want everyone to be on a fair level at the start of the race (before we input into the function, whether it is a sine, quadratic, square root, etc), but after the start of the race (when the main function is performed) you can do whatever you want.

    For example: y = 4sin(x + 1) + 3. Before we go into the race, make everything fair--this guy is already 1 ahead of everyone, so we need to back him up one to be fair. But after the race starts, not only does he get to move up 3, but he also gets to multiply all his values by 4.

    y= 1/3 sin(2x-1) - 5 This guy looks like he's behind by one, but since he moves twice as fast, he's only behind by 1/2. However, since he does travel twice as fast, we better cut all his x values in half to be fair. After the race starts, he only goes up 1/3 high as everyone else, plus sadly he moves down 5.

    Plus here is the website I was talking about--scroll down for the piston http://www.intmath.com/trigonometric-graphs/2-graphs-sine-cosine-period.php

    Does this make sense? I know it's not a really "mathy" explaination. I'm kind of thinking out loud here, but I'm about to do trig graphs soon so it's good to think about. :)

    ReplyDelete
  4. "Fairness" could work. I'm thinking more along the lines of "laziness"...

    In my original post about function transformations (see http://untilnextstop.blogspot.com/2011/02/function-transformations-nitty-gritties.html ), another reader ("glsr") had described the transformations as something that happens to the axes instead of to x or y values. For example,

    y = 1/3 sin(2x-1) - 5, that means that the axes are working hard to double the x's and subtract 1. So, to get to the same location in the graph as originally, the x's get to hang out, go at half speed, and just add 1 to start. I think that's a nice combo of both your explanation and his. He also explains using the same way for y, except that that looks like 3(y + 5) = sin(2x - 1) if you move the y numbers to the "correct side." So yes, each y value also gets to chill out. They get to go at 1/3 speed, and start 5 units less than usual (ie. 5 below 0), since the y axis is aleady doing so much work for them.

    Thoughts?

    ReplyDelete
  5. Thank you for this post! I will try the activity with the "secret basic operation" in my Summer Enrichment class.:) It's a really good motivational activity.

    ReplyDelete
  6. No problem. Thanks for leading me back to this post. I didn't realize that what before were just some dollar sign typing shortcuts had become error statements upon my recent installation of LaTeX into blogger.

    Funniness. I fixed it now so the entry would make sense again.

    ReplyDelete
  7. Just found this blog! I'm a student teacher and this will help a lot - thanks for your great ideas!

    ReplyDelete