Theory
For simple direct proportion, y = kx. The graph is a straight line through (0, 0) because y = 0 when x = 0. Its gradient k is the same ratio y/x at every nonzero x.
A straight line that misses the origin is not directly proportional, even if y rises steadily with x. For example y = 2x + 3 is linear but has a starting value of 3.
For simple inverse proportion with positive x, y = k/x. The graph curves down as x increases: doubling x halves y. It approaches the axes but does not touch them for nonzero k.
The diagram compares y = x and y = 4/x. The first passes through (1, 1) and (2, 2); the second passes through (1, 4), (2, 2) and (4, 1). Both meet at (2, 2), but their overall shapes differ.
Use the values as well as the shape: direct proportion has constant y/x, whereas inverse proportion has constant xy. These tests help when a graph is not perfectly drawn.