Showing posts with label transformations. Show all posts
Showing posts with label transformations. Show all posts

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?

Friday, June 27, 2014

Transformations

Or: Is this the kind of problem where you can have more than one answer?


There are a select few topics in algebra that can get me tied up in knots. One of those is function transformations--you know, horizontal & vertical shifts, vertical stretches & compressions, and horizontal & vertical reflections--specifically, those that involve a multiple transformations.

Here's the task I got hung up on the other day:
The graph of a function f is shown. Sketch the graph of y = 2f(x+1) - 3.
On these types of tasks, it's not the transformations themselves that get me. There are three transformations at work here, and I can describe them easily enough:
  1. Horizontal shift one unit left (because of the x+1).
  2. Vertical shift three units down (because of the -3).
  3. Vertical stretch by a factor of 2 (basically, double the y-values). 
The part that gets me hung up, at least when I have not done these kinds of problems in a while, is... in which order should I apply the transformations?

Because it makes a big difference! To illustrate, let's trace where the point (-2,1) ends up if we shift-then-double vs. double-then-shift:
  • Shift-then-double: (-2,1) --left1--> (-3,1) --down3--> (-3,-2) --double y--> (-3,-4).
  • Double-then-shift: (-2,1) --double y--> (-2,2) --left1--> (-3,2) --down3--> (-3,-1).
See? (-3,4) and (-3,-1).. we end up in two different spots.

This is not "the kind of problem you can have two different answers to" (Cathy Humphreys; clipped from one of the videos in this book).