From Paired Values to a Rule
A table records inputs and their corresponding outputs. It can reveal a pattern that suggests an algebraic rule: a formula that produces the recorded output from an input. The aim is not to guess from one row, but to compare all the rows and see whether a simple pattern fits them.
Several different patterns are useful to test. If equal changes in input produce equal changes in output, a linear rule may fit. If the ratio of output to input stays constant, the rule may be proportional. If the inputs are equally spaced and the second differences of the outputs are constant, a quadratic rule may fit.
These tests identify candidate rules, not automatic guarantees about every possible input. A finite table records only finitely many values. Without an assumption about the kind of rule being sought, different formulas can agree with those values. We will therefore state the pattern being tested and check the proposed rule against every row.
First Check How the Inputs Are Spaced
Let the input be \(x\) and the corresponding output be \(f(x)\). To compare successive rows, write the changes as \(\Delta x\) for the input change and \(\Delta y\) for the output change. When the inputs are equally spaced, it is often convenient to compare output differences directly. When they are not equally spaced, compare the rate of change \(\frac{\Delta y}{\Delta x}\).
For a linear rule \(f(x)=mx+b\), the rate of change is \(m\). Indeed, for any two distinct inputs,
This explains why equal rates across the rows are evidence for a linear rule. Once the rate \(m\) is found, one table row determines \(b\): substitute that row into \(y=mx+b\) and solve.
Worked Example: A Constant Rate with Uneven Inputs
Worked Example: A Constant Rate with Uneven Inputs
Consider the table below. The inputs are not equally spaced, so compare the change in output with the change in input for each interval.
From \(x=-2\) to \(x=0\), the input changes by \(0-(-2)=2\), and the output changes by \(1-(-3)=4\). The rate is \(\frac{4}{2}=2\).
From \(x=0\) to \(x=3\), the input changes by \(3\), and the output changes by \(7-1=6\). The rate is \(\frac{6}{3}=2\).
From \(x=3\) to \(x=8\), the input changes by \(5\), and the output changes by \(17-7=10\). The rate is \(\frac{10}{5}=2\).
The repeated rate suggests a linear rule with \(m=2\), so write \(f(x)=2x+b\). Use the row \(x=0,\ f(x)=1\): \(1=2(0)+b\), hence \(b=1\). The candidate rule is \(f(x)=2x+1\).
Check every row: \(2(-2)+1=-3\), \(2(0)+1=1\), \(2(3)+1=7\), and \(2(8)+1=17\). Each output agrees with the table, so the rule fits all recorded pairs.
Testing for Proportionality
A proportional rule has the form \(f(x)=kx\), where \(k\) is a constant. For every nonzero input, dividing output by input gives \(k\): \(\frac{f(x)}{x}=k\). Thus, when the inputs are nonzero, a constant output-to-input ratio is evidence for a proportional rule.
A proportional rule has no added constant term. In particular, if its input is zero, its output must be zero, since \(f(0)=k\cdot 0=0\). A table that contains \(x=0\) and a nonzero output cannot fit a proportional rule, even if some of its other rows have the same ratio.
Worked Example: A Proportional Rule
Worked Example: A Proportional Rule
Test the following values for proportionality:
Calculate the output-to-input ratio in each row: \(\frac{3}{1}=3\), \(\frac{6}{2}=3\), \(\frac{12}{4}=3\), and \(\frac{18}{6}=3\). The ratios are constant, so the proportional candidate is \(f(x)=3x\).
Check the inputs: \(3(1)=3\), \(3(2)=6\), \(3(4)=12\), and \(3(6)=18\). The rule reproduces every listed output.
Testing for Simple Quadratic Growth
For inputs spaced one unit apart, a table of a quadratic rule \(f(x)=ax^2+bx+c\) has constant second differences. To compute them, first subtract each output from the next output to get the first differences. Then subtract each first difference from the next one to get the second differences.
The reason this works can be shown directly. Let the input be \(x\), with successive inputs \(x,\ x+1,\ x+2\). For \(f(x)=ax^2+bx+c\), the first difference is
The next first difference is \(f(x+2)-f(x+1)=2a(x+1)+a+b=2ax+3a+b\). Subtracting the first difference from this one gives
Therefore, the second difference is constant and equals \(2a\). This gives a way to find the quadratic coefficient: if the constant second difference is \(D\), then \(a=\frac{D}{2}\). The other coefficients can then be found using table values.
Worked Example: Constant Second Differences
Worked Example: Constant Second Differences
Use the table to find a simple quadratic rule. The inputs are equally spaced by one.
Calculate the first differences: \(3-2=1\), \(6-3=3\), \(11-6=5\), and \(18-11=7\). The first differences are \(1,3,5,7\).
Now calculate the second differences: \(3-1=2\), \(5-3=2\), and \(7-5=2\). They are constant at \(2\), so a quadratic candidate has \(2a=2\), giving \(a=1\). Write the rule as \(f(x)=x^2+bx+c\).
Use the row \(x=0,\ f(x)=2\). Then \(2=0^2+b(0)+c\), so \(c=2\). Use the row \(x=1,\ f(x)=3\): \(3=1^2+b(1)+2\), so \(3=3+b\), and \(b=0\). The candidate is \(f(x)=x^2+2\).
Check all rows: \(0^2+2=2\), \(1^2+2=3\), \(2^2+2=6\), \(3^2+2=11\), and \(4^2+2=18\). The rule matches every listed output.
A Common Mistake: Differences Are Not Ratios
A frequent error is to treat equal output differences as proof of proportionality. For example, the table in the first worked example has output differences \(4,6,10\), not one repeated difference, because its input gaps are uneven. Even when outputs have equal differences, that indicates a constant change per step only if the input spacing is also considered. Proportionality requires a constant ratio, not a constant difference.
Here is a concrete incorrect test. In the proportionality example, someone might calculate \(6-3=3\) and \(12-6=6\), then claim that the table is not proportional because the output differences are unequal. That conclusion uses the wrong test. The ratios are \(\frac{3}{1}=3\), \(\frac{6}{2}=3\), \(\frac{12}{4}=3\), and \(\frac{18}{6}=3\), so \(f(x)=3x\) does fit. To test a pattern, choose the comparison that matches the proposed rule.
What a Table Can Establish
A successful test gives a compact rule that agrees with every recorded pair. It does not, by itself, show that this is the only possible rule for all real inputs. For example, the rows \(x=0,1,2\) with outputs \(0,1,2\) fit \(f(x)=x\). They also fit \(g(x)=x+x(x-1)(x-2)\), because the added product is zero at each of those three inputs. The formulas differ at other inputs.
In practical work, the table may come with information that restricts the plausible rule, such as a stated expectation that the relationship is linear. In that case, the table can help identify the rule within that chosen family. Without such a restriction, describe the result precisely: the formula is a candidate that matches the observed values.
Check Your Understanding
For each question, state which pattern you would test and show the relevant calculation.
- The inputs are \(1,3,5\), and the outputs are \(4,10,16\). What is the rate of change between successive rows, and what linear rule fits?
- The table has pairs \((2,8)\), \((5,20)\), and \((7,28)\). Do the output-to-input ratios support a proportional rule? If so, give it.
- For equally spaced inputs \(0,1,2,3\), the outputs are \(1,4,9,16\). Find the first and second differences. What quadratic coefficient do they suggest?
- Why is it necessary to compare \(\frac{\Delta y}{\Delta x}\), rather than only output differences, when input gaps are unequal?
- What does it mean to say a rule fits a finite table, and why does that not necessarily make the rule unique?