Linear Equations

Telling Proportional Relationships From Merely Linear Ones

Use ratios, differences, graphs and zero input to decide whether a straight-line relationship is also proportional.

Key takeaways

  • Proportional means the ratio y/x is constant; linear means the rate of change Δy/Δx is constant.
  • A proportional graph is a straight line through the origin, while other linear graphs cross the y-axis elsewhere.
  • Doubling the input doubles the output only when the relationship is proportional.
  • In a merely linear relationship, changes in y are still proportional to changes in x.
  • A fixed fee, head start or starting amount is the usual sign of a nonzero b.

A relationship is proportional when it has the form y = kx, and linear when it has the form y = mx + b. Every proportional relationship is linear, but a linear one is proportional only if b = 0, meaning zero input gives zero output.

The two look alike on a graph, since both are straight lines with a steady rate of change. The difference decides whether you may double, scale or cross multiply, so it is worth checking before you calculate.

Two similar tables

x Table A: y Table B: y
1 5 8
2 10 11
3 15 14
4 20 17

In both tables y climbs by the same amount each time x goes up by 1: by 5 in A and by 3 in B. Both are linear.

Now divide y by x. Table A gives 5, 5, 5 and 5. Table B gives 8, 5.5, about 4.67 and 4.25. Only A has a constant ratio, so only A is proportional. Its rule is y = 5x. Table B follows y = 3x + 5.

Notice that B has the larger values at the start, and A overtakes it later. Size tells you nothing about the type; the pattern of ratios and differences does.

The words and what they promise

In everyday speech, "proportional" is sometimes used loosely for any two things that rise together. In algebra it makes a firm promise: there is one number k such that y is always k times x. If that promise holds, you can scale freely. Ten times the input gives ten times the output, and half the input gives half the output.

"Linear" promises less. It says that equal steps in x produce equal steps in y. Going from 1 to 2 changes y by the same amount as going from 101 to 102. It says nothing about where the line starts.

The terminology differs slightly in higher mathematics. In linear algebra, a "linear map" of one real variable has the form y = kx only, and y = mx + b with nonzero b is called affine. In school algebra both are called linear, which is the usage here. Knowing this saves confusion if you later meet the stricter meaning.

Differences and ratios

The Greek letter Δ means "change in." The quotient Δy/Δx, taken between any two points, is the slope. For a linear relationship it is the same for every pair of points.

The ratio y/x compares the totals, not the changes. It equals the slope of the line from the origin to the point (x, y). Those two slopes agree for every point only when the graph itself passes through the origin.

Two kinds of straight line
Proportional: y = kx y/x is constant Passes through (0, 0) Double x, double y Δy/Δx equals k Merely linear: y = mx + b, b ≠ 0 y/x keeps changing Crosses y-axis at b Double x, not double y Δy/Δx equals m VS Proportional: y = kx y/x is constant Passes through (0, 0) Double x, double y Δy/Δx equals k Merely linear: y = mx + b, b ≠ 0 y/x keeps changing Crosses y-axis at b Double x, not double y Δy/Δx equals m

You can see why the ratio drifts. Dividing y = mx + b by x gives y/x = m + b/x. The extra piece b/x shrinks as x grows, so the ratio approaches m without reaching it when b is not zero. This is the link to slope as a rate of change.

Four quick tests

  1. Zero test. Ask what happens when x = 0. If y is not 0, the relationship is not proportional.
  2. Ratio test. Compute y/x for several points with x ≠ 0. All must agree.
  3. Doubling test. Double any input. The output must exactly double.
  4. Formula test. Rearrange the rule. It must be reducible to a constant times x, with nothing added.

The zero test is quickest but is not enough alone. The rule y = x² gives 0 at 0 and is not proportional, because it is not even linear. You need both a straight line and the origin.

The formula test sometimes takes a step of algebra. The rule y = 3(x + 4) − 12 looks as though something is added, yet it simplifies to y = 3x, so it is proportional. The rule y = (6x + 2)/2 simplifies to 3x + 1, so it is not.

A single data point cannot settle the matter. Infinitely many lines pass through (2, 10), and only one of them is proportional.

Reading the difference from a graph

On axes that both start at zero, extend the line until it meets the vertical axis. If it meets at the corner, the relationship is proportional. If it meets above or below, the height there is b.

Be careful with graphs whose axes do not start at zero. A plot with x running from 50 to 60 and y from 200 to 240 shows no origin at all, and the line may appear to leave the lower left corner. Read the axis labels before you judge. You can always settle it by finding the equation of the line or by checking the ratio y/x at two visible points.

Scale on the axes changes how steep a line looks but never whether it passes through (0, 0). Two graphs of the same data can look very different in slope while agreeing on every test above.

A line that misses the origin by a small amount can be hard to distinguish by eye when the values plotted are large. That is a good moment to compute.

Where the fixed amount hides

Everyday situations usually announce b in words.

Situation (hypothetical figures) Rule Proportional?
4 dollars per kilogram of rice C = 4w yes
30 dollar call-out fee plus 50 per hour C = 50h + 30 no
sales tax at a flat 8 percent T = 0.08p yes
a 5 dollar coupon on a purchase of at least 5 dollars A = p − 5 no
25 percent off every price A = 0.75p yes
savings starting at 200 and adding 40 a week S = 40n + 200 no

Words such as "fee," "deposit," "head start," "initial" and "already" point to a nonzero constant. So does a subtraction like a coupon, which makes b negative. Percent changes, by contrast, multiply and so keep proportionality.

What goes wrong if you assume proportion

Say a hypothetical taxi charges 3 dollars plus 2 dollars per kilometer, and a 4 km ride costs 11 dollars. What does an 8 km ride cost?

Treating it as a proportion gives 11/4 = C/8, so C = 22. The correct value is 2 · 8 + 3 = 19. The proportion charged the 3 dollar base fee twice.

The same mistake spoils the unitary method: "cost per kilometer is 11/4" is an average for that one ride, not a rate that applies to others. Before writing a proportion, ask whether nothing of one quantity would really mean nothing of the other.

Comparing two options

The difference matters when you compare prices. Say one hypothetical print shop charges 0.12 dollars per page, and another charges a 6 dollar setup fee plus 0.08 dollars per page.

The first cost is proportional to the number of pages. The second is not. Its average cost per page, 6/n + 0.08, starts very high and falls as n grows. At 50 pages the average is 0.20 dollars, and at 300 pages it is 0.10 dollars.

The two totals match when 0.12n = 6 + 0.08n, so 0.04n = 6 and n = 150. Below 150 pages the first shop is cheaper, and above it the second is. No single "price per page" describes the second shop, which is exactly what it means to be linear without being proportional.

An average of this shape, a constant plus a fixed amount shared among n units, appears often in average cost curves.

The proportion hiding inside

A merely linear relationship still contains a proportional one. Subtract b from y:

y = mx + b
y − b = mx

So y − b, the amount above the starting value, is proportional to x. In the taxi example, the fare beyond the base charge is 2 dollars per kilometer, and that part does double with distance.

Likewise, changes are proportional: Δy = mΔx. Take temperature conversion, F = 1.8C + 32. Fahrenheit readings are not proportional to Celsius readings, since 0 °C is 32 °F. But a rise of 10 degrees Celsius is always a rise of 18 degrees Fahrenheit, and a rise of 20 is a rise of 36.

This is why "20 °C is twice as warm as 10 °C" fails. The readings are 68 °F and 50 °F, which are not in the ratio 2 to 1. The zero of each scale is a chosen point, not an absence of temperature.

Finding the rule from two points

When you are handed two data points from a straight-line relationship, compute m and then b. Suppose the points are (4, 14) and (10, 29).

m = (29 − 14)/(10 − 4) = 15/6 = 2.5
14 = 2.5·4 + b
b = 4
y = 2.5x + 4

Since b = 4, the relationship is linear but not proportional. The ratios confirm it: 14/4 = 3.5 and 29/10 = 2.9.

With measured data, a small computed b might come from measurement error. Decide using what you know about the situation. Should the output really be zero when the input is zero? Is the tested range far from zero, so that a small tilt in the line moves the intercept a lot? State your judgment along with the fitted rule, as discussed in interpreting slope and intercept.

Cases that are neither

Some relationships look linear in pieces. A hypothetical delivery service charges one rate per kilogram up to 10 kg and a lower rate beyond that. Its graph through the origin bends at 10. It is proportional up to the bend and not over the whole range.

A flat fee, y = 12 whatever x is, is a linear rule with m = 0 and b = 12. It is not proportional. The rule y = 0 for all x has a constant ratio of 0, but definitions of proportionality usually require k ≠ 0.

Sort these

  1. Perimeter of a square against side length.
  2. Area of a square against side length.
  3. Total phone bill: a monthly fee plus a per-gigabyte charge, against gigabytes.
  4. Distance walked at a steady pace, starting from home, against time.
  5. Distance from home for someone who started 200 meters away and walks steadily farther.
1. P = 4s: proportional
2. A = s²: neither linear nor proportional
3. linear, not proportional
4. d = vt: proportional
5. d = vt + 200: linear, not proportional

The last two describe the same walking and differ only in where the measuring starts.

Written for 4Algebra with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 36 articles in Linear Equations →

Latest news on this topic