Direct Variation
Direct variation describes a relationship where two variables are proportional: y = kx, where k is the constant of variation and the graph always passes through the origin.
Formula
y = kx
Definition
Direct variation describes two quantities that change together at a constant ratio, when one doubles, the other doubles, following the equation $y = kx$ for some non-zero constant $k$, the constant of variation; the graph is always a line through the origin, since $x = 0$ forces $y = k \cdot 0 = 0$, and the ratio $y/x = k$ stays the same everywhere on that line. It is a special case of a linear function with $b = 0$, requiring both a linear relationship and passage through the origin. Formally, $y = kx$ is a linear map from $\mathbb{R}$ to $\mathbb{R}$ with zero constant term, a morphism of $\mathbb{R}$-modules; the idea extends to power variation ($y = kx^n$) and joint variation ($y = kxz$), all sharing the same proportionality structure, and this is the simplest example of a scaling law used throughout physics and engineering.
Example
Earning $\$12$ per hour means pay $y$ and hours $x$ satisfy $y = 12x$: $3$ hours pays $\$36$, $5$ hours pays $\$60$, and the ratio pay/hours is always $12$. If $y = 15$ when $x = 3$, then $k = 15/3 = 5$, so $y = 5x$, and when $x = 7$, $y = 35$. Gravitational force $F = Gm_1m_2/r^2$ combines joint variation (directly with $m_1$ and $m_2$) with inverse variation (inversely with $r^2$), each part carrying its own proportionality constant.
Key Insight
Direct variation always passes through the origin; if a line does not pass through the origin, it is not direct variation, so $y = 3x + 2$ is linear but not direct variation because of its nonzero intercept. In physics and engineering, this same idea underlies scaling laws and dimensional analysis, letting you predict how quantities scale with fundamental parameters without solving the full equations.