An equation shows inverse variation if it can be represented in the form

. The first equation can be rearranged into this form:



This is in the form

, so the first equation shows inverse variation.
An equation shows direct variation if it can be represented in the form

. The second equation can be rearranged into this form:


This is in the form

, so the second equation shows direct variation.