Y varies directly as x if y = kx for some constant, k. In other words, y/x is constant. y varies inversely as x if y = k/x for some constant, k. In other words, xy is constant. The equation xy = 8 is an example of inverse variation, not direct variation.