Based on the information given, number \( b \) is located the same distance from 0 as number \( a \), but in the opposite direction. This implies that \( b \) is the negative of \( a \), so we can express this relationship as:
\[ b = -a \]
This equation indicates that \( b \) and \( a \) vary directly in the sense that when \( a \) increases or decreases, \( b \) does so in the opposite direction.
Therefore, the correct equation that represents the direct variation between \( a \) and \( b \) is:
\[ b = -a \]