haha actually, no it wasn't a typo. I did think i was doing something incorrect. Thanks for the correction, it clears things up.
Do you know why in the example diagram, the denominator becomes a positive?
edit: perhaps i should have created a separate thread for separate questions.