Example

Write in terms of and simplify:

Solution

Notice that in the second and third lines above, we used the rule that says

This rule only works when and are positive numbers! The rule was not (and should not be) used in the first line.