The following question was raised by one of the work groups in class today: Why is the order of performing transformations different than the order of operations?
We are studying function transformations like these:
We are studying function transformations like these:
From College Algebra by Coburn & Herdlick |
Our explorations in class have supported our book's claim that function transformations must be applied in the following order:
- horizontal shifts
- reflections
- stretches/compressions
- vertical shifts
g(x) = -2|x-1| + 5.to define the intended transformation. Consider what happens to a point on the graph of y = |x| under this transformation. Let's use the point (5,5). Where does it end up after the transformation?
To find out, we evaluate f(5)= -2|5-1| + 8. This requires the following sequence of calculations:
- 5-1 = 4. that’s the x-1 piece; there’s the horizontal shift*
- |4| = 4. that’s |x-1|; we have just applied the parent function, |x|.
- -2*4 = 8. that’s -2|x-1|; there’s the reflection (-) and vertical stretch (by 2).
- 8+5 = 13. that’s -2|x-1|+5; there’s the vertical shift.
*But why is it a rightward shift? That's for another post.
Has the order of operations been maintained? It is probably easiest to see if we use GEMA rather than PEMDAS to track the order of operations. They reflect the same underlying order of operations, but GEMA seems to produce fewer order of operations misconceptions (sounds like a PhD thesis topic to me!)
GEMA = Grouping symbols first, then Exponents, then Multiplication (and Division, from left to right), and finally Addition (and Subtraction, from left to right).
Now let’s step through GEMA:
G: Grouping symbols. The absolute value bars a type of grouping symbol (so are parentheses and brackets, square root symbols, and even the horizontal line that separates the numerator and denominator in a fraction). First, we work on the expression inside the grouping symbols (absolute value bars). There is only one operation to do in there: subtract 1 (step 1). Now we apply the absolute value bars (step 2), at which point the Grouping symbols are gone and we move on to….Conclusion: It appears the transformations sequence is consistent with the order of operations.
E: Exponents. No exponents to deal with this time. Move on to….
M: Multiply (or Divide): With the || bars gone, the function now reads: f(4) = -2*4 + 5. We multiply by -2 next. This creates the reflection (step 3a) and stretch (3b).
A: Add (or Subtract): Only one thing left to do! (step 4).
I'm convinced. Are you?
Thank you for linking to my blog post on using GEMA instead of order of operations. I have received great feedback from teachers who have tried using this method instead of PEMDAS.
ReplyDeleteLauren @ www.leafandstemlearning.com
I meant GEMA instead of PEMDAS--not order of operations!
DeleteWhat if you graph Square root of (-x-2)? Does this follow order of operations?
ReplyDeleteNice question! It certainly follows order of operations--has to, right?
ReplyDeletex --> (-x) --> (-x)-1 --> sqrt((-x)-1)
First work within the grouping symbol (sqrt). Then multiply x by -1. Then subtract. Now that's done, so look outside the grouping symbol. That means apply the sqrt.
But the question is whether the "rules" provided by the book will yield the same result as applying the order of operations. The answer there is no, but that's ok: the conditions for applying the rules has not been met: the function is you named has a horizontal reflection (b/c of the -x), and the book's "rules" are not meant to be applied in that case.
Thanks Kim. I think your example also "follows the order of operations" in the sense that I was referring to on Nov. 4. That is, when we *evaluate* the function for a specific value of x, we must either multiply by -2 then subtract 4, or (equivalently, as you point out) add 2 and then multiply by -2. THEN we may apply the square root to get the final result.
ReplyDeleteWhat I think you are pointing out is the fact that the 'rules' given in the book don't work "on the inside". In fact, they seem to work backwards: the compression (toward the y-axis) has to be applied before the shift (weird), and the shift goes the 'wrong' way ($**!).
I wouldn't label that a problem with the order of operations, but with the order of applying function transformations. The order of applying transformations that was given in the textbook doesn't work, because it doesn't apply. Your example has a coefficient on x other than 1, and the textbook's scenario [a*f(x+h)+k] excludes that case.
Very helpful post, thank you so much!
ReplyDelete