## Thursday, September 10, 2015

### Transformations vs. Order of Operations

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:
 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:
1. horizontal shifts
2. reflections
3. stretches/compressions
4. vertical shifts
Does that sequence conflict with the order of operations? What a great question! Let’s explore it using the absolute value function f(x) = |x| as our parent function and using
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:

1.     5-1 = 4.         that’s the x-1 piece; there’s the horizontal shift*
2.     |4| = 4.           that’s |x-1|; we have just applied the parent function, |x|.
3.     -2*4 = 8.       that’s -2|x-1|; there’s the reflection (-) and vertical stretch (by 2).
4.     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….

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).
Conclusion: It appears the transformations sequence is consistent with the order of operations.

I'm convinced. Are you?