Mathematics · Article
Choosing a function for a relationship
Choose a function family from a stated relationship, its units and its permitted inputs. Distinguish proportional, affine, power, inverse and piecewise rules; test finite observations without claiming a unique underlying law; and interpret residuals, interpolation and extrapolation within the model's actual scope.
Useful background article: Rational functions and asymptotes
Back to MathematicsAfter reading, you can
- Derive a candidate function from explicit structural assumptions, distinguish proportional from affine and power from inverse relationships, and retain meaningful units and domains.
- Use equal-step differences, scaling checks and exact parameter calculations to assess a chosen family, while explaining why agreement at finitely many inputs need not determine a rule elsewhere.
- Check piecewise boundaries, calculate residuals as observed minus predicted, and distinguish interpolation, extrapolation and inadmissible inputs without claiming that fit establishes a cause.
A model includes its meaning and conditions
A function model assigns one predicted output to each permitted input. Start by naming both quantities, their units and the question the prediction should answer. Then state the domain and what remains fixed. In the measurement formulas below, variables mean numerical values in the named units, and coefficients carry the units needed by each equation. For a cost depending on item count, the input may be an integer count; for an area depending on a length, it may be a positive real measurement. A formula that can be evaluated at a negative input does not make that input meaningful in the problem.
There are two different reasons to propose a rule. A specified pricing scheme or a geometric identity can determine it from stated assumptions. A table of measurements can suggest a candidate that needs further checking. An exact deduction within an ideal model remains conditional on its assumptions; an approximate fit to records does not become an exact law merely because its graph looks convincing. State which kind of evidence you have.
Write a model statement such as: C(n) is the total price in euros for an integer order count n from 0 to 20, with a fixed setup charge and an unchanged price per item. The domain, units and conditions are part of the statement. If another factor changes the price at the same count, a rule using count alone may no longer describe the actual prices; it can still be an explicitly chosen prediction rule, rather than a claim that the raw records are a single exact function of count.
Constant additions suggest an affine rule; proportionality is more specific
An affine rule has the form f(x) = mx + b, with real constants m and b. It satisfies f(x + h) − f(x) = mh whenever both inputs are permitted. Thus equal input increments produce equal output increments, and every pair of distinct permitted inputs has the same average rate of change m. That rate has units of output per input. The constant b has the output's units; it is the actual output at zero only when zero is in the domain.
A proportional rule has the form f(x) = kx. Its ratio f(x)/x is the same k at every permitted nonzero input. It is the affine case with b = 0. Under an unchanged proportional relationship, doubling the input doubles the output. In a fixed fee plus a per-item charge, doubling the count doubles only the variable part: the fixed fee is paid once. A nonzero fixed fee therefore prevents the total from being proportional to count.
Some textbooks call both mx + b and kx linear functions. Here affine makes the possible offset explicit, while proportional means the offset is zero. A constant rule is also affine, with m = 0. These family names overlap. When the domain excludes zero, use the full relationship or a constant-ratio argument to establish proportionality; do not claim to have observed a zero-input output that the model never permits.
| Rule | What stays constant | Effect of doubling when both inputs are permitted |
|---|---|---|
| f(x) = kx | f(x)/x = k at nonzero inputs | The output doubles |
| f(x) = mx + b | Output change divided by nonzero input change is m | f(2x) = 2f(x) − b |
| f(x) = b | The output itself | The output stays b |
Scaling a length can produce a power rather than a constant addition
For a square of positive side length s, its area is A(s) = s². Doubling the side multiplies the area by four. For a cube, V(s) = s³, and doubling the side multiplies the volume by eight. Those conclusions come from multiplying the side lengths, with the shape unchanged. A model may explicitly add the degenerate zero-size case with output zero; the geometry of a nondegenerate square or cube uses s > 0.
More generally, a stated direct-power relationship y = kx^p, for p = 1, 2 or 3 here and nonzero k, has constant ratio y/x^p at permitted nonzero inputs. Scaling x by a factor r scales the output by r^p, provided both inputs are in the domain. Find k from a permitted nonzero input, then check the rule's dimensions. For area in square centimetres and length in centimetres, a coefficient of s² is dimensionless; a coefficient of a lone s in an area formula needs units of centimetres.
A general quadratic ax² + bx + c, with a ≠ 0, need not be the pure power kx². A rectangle with fixed perimeter 20 centimetres has sides s and 10 − s, so its area is s(10 − s) = −s² + 10s square centimetres for 0 < s < 10. The second side changes when the first changes; doubling s therefore need not quadruple this area. A pure square power is quadratic, polynomial and rational through denominator 1, while a quadratic with additional terms can have a different scaling pattern. Choose a relationship within a family rather than treating the family names as mutually exclusive boxes.
A fixed product suggests inverse variation
If two positive quantities satisfy a fixed product xy = k, then y = k/x on a positive domain. Doubling x halves y when both inputs are allowed. For example, an ideal job requiring 18 worker-hours would take T(n) = 18/n hours with n identical workers contributing independently at unchanged rates. If only integer worker counts 1 through 6 are allowed, retain that finite domain. Team coordination or a different rate would change the assumptions and could change the rule.
A decreasing table alone does not establish inverse variation. Check the fixed product xy, or derive it from the stated mechanism. An affine decreasing rule can also decrease, but it preserves a constant rate of change rather than a constant product. Likewise, an average cost b + k/x with a nonzero offset is not pure inverse variation: subtract b before looking for the fixed product.
Inverse variation is not the same as an inverse function. The rule k/x describes a relationship with a constant product; the notation f⁻¹ refers to reversing a one-to-one function on its actual range. Choose words and notation that keep those two ideas distinct. Zero is excluded from k/x when k ≠ 0, and negative inputs allowed by an algebraic extension need not be allowed by the physical model.
| Stated structure | Candidate form | Condition to check |
|---|---|---|
| Unchanged amount per unit, with no offset | kx | Constant ratio at nonzero inputs |
| Fixed offset plus unchanged amount per unit | mx + b | Constant rate of change |
| Output proportional to a specified square or cube | kx² or kx³ | Constant y/x² or y/x³ at nonzero inputs |
| Positive quantities with fixed product | k/x | Constant xy and x > 0 |
| The rule changes at a stated threshold | A piecewise rule | Correct formula and inclusion at each boundary |
Differences and ratios test candidates at the inputs you have
For equally spaced inputs x, x + h, x + 2h with h ≠ 0, an affine rule has equal first differences mh. A quadratic ax² + bx + c has constant second difference 2ah²: subtract one successive output difference from the next. For unitless inputs 0, 1, 2, 3 and outputs 1, 4, 9, 16, the first differences are 3, 5, 7 and the second differences are 2, 2, consistent with the quadratic (x + 1)². They are not constant first differences, and the output at zero shows this is not the pure power kx².
Equal spacing matters. For x = 0, 1, 3 and y = 2, 5, 11, the output increments 3 and 6 differ because the input increments differ. The pairwise rates are 3/1 = 3 and 6/2 = 3, consistent with y = 3x + 2. Do not compare raw differences as if unequal input steps were equal. Similarly, ratios for proportional or power candidates require nonzero input, and a reciprocal candidate requires the original nonzero denominator.
These checks describe a finite table. Exact agreement can rule out a conflicting candidate, and, under a prior choice of family, can determine parameters. It does not establish that all future or intermediate outputs follow that family. Recorded measurements may also contain rounding or variation; approximate differences suggest a candidate rather than prove an exact identity. Keep every observation's meaning and precision visible, and use the structural conditions as well as the numerical pattern.
| Input x | Recorded output | First difference from preceding row | Second difference |
|---|---|---|---|
| 0 | 1 | — | — |
| 1 | 4 | 3 | — |
| 2 | 9 | 5 | 2 |
| 3 | 16 | 7 | 2 |
A changed rule needs a precise boundary
Suppose a stated service charges 4 euros per kilogram for the first 3 kilograms and 2 euros per kilogram for any additional mass, with allowed mass 0 ≤ w ≤ 10 kilograms. Its charge in euros is C(w) = 4w for 0 ≤ w ≤ 3 and C(w) = 12 + 2(w − 3) for 3 < w ≤ 10. The second expression retains the 12-euro charge for the first three kilograms; applying 2w to the whole mass would describe a different pricing scheme.
The boundary w = 3 belongs to the first piece and gives C(3) = 12. The second formula approaches the same charge there, so this example has no jump. At w = 4 the charge is 14 euros. Specify which inputs belong to each piece, including zero, the threshold and any upper bound. On the full stated domain each input must receive one output. Overlapping pieces are consistent only if their formulas agree at every shared input; otherwise they do not define a function there.
A different stated scheme could discount the whole order after a threshold, producing a jump, or use integer counts rather than continuously measured mass. Do not assume every piecewise model is continuous or replace a discrete count by all real inputs. Draw any open or closed endpoint according to the actual inequalities, and let the words of the scheme determine whether the cheaper rate applies only to an extra portion or to the entire purchase.
Parameters can be unique within a family without the family being established
Once an affine family is specified, two observations at distinct inputs determine its parameters: m = (y₂ − y₁)/(x₂ − x₁) and b = y₁ − mx₁. The nonzero input difference is essential. For a specified pure power y = kx^p, one observation at a nonzero input determines k = y/x^p. For specified inverse variation y = k/x, a permitted observation gives k = xy. A zero-input zero-output observation alone cannot determine the coefficient of kx or kx².
After calculating parameters, check other observations and the entire context. A candidate giving negative area or a fractional number of people can contradict the output meaning even when its algebra is valid. Different output records at the same input cannot all be exact values of a single function of that input alone. They may indicate changing conditions or measurement variation; a chosen prediction rule is separate from that raw collection of records.
The phrase two points determine a line means a unique affine rule through those points, not a unique function of every kind. Three distinct inputs similarly determine at most one polynomial of degree at most two: the difference between two such polynomials would have three distinct zeros, so it would have to be the zero polynomial. This is conditional uniqueness in a stated family. It does not eliminate cubic, piecewise or other rules unless the model's assumptions do so.
A finite fit can leave infinitely many possible continuations
For unitless exact records (0, 1), (1, 3), (2, 5), the rule f(x) = 2x + 1 fits every record. So does g(x) = 2x + 1 + x(x − 1)(x − 2), because its added product is zero at each recorded input. At the unrecorded input 1/2, f gives 2 while g gives 19/8. At input 3 they give 7 and 13. Agreement at all three samples therefore leaves both an intermediate and a later value undetermined if those inputs are in the intended domain.
More generally, suppose f fits records at finitely many distinct inputs a₁ through aₙ. The rules gλ(x) = f(x) + λ(x − a₁)⋯(x − aₙ) preserve every recorded value. On a domain containing at least one allowed unrecorded input, the product is nonzero at that input, so different real λ produce different functions there. For dimensional quantities the coefficient λ must have the units needed to make the added term an output; the unitless construction already proves the mathematical point. Additional physical or output restrictions may rule out some of these alternatives, so the construction by itself does not validate them as real-world models.
There is an important finite-domain exception. If the entire domain is {0, 1, 2} and all three outputs have been recorded exactly, those records determine the complete function on that domain. The formulas above then represent the same function there, despite differing on extensions. To choose a model beyond a finite set of records, use stated mechanisms, further permitted observations and explicit assumptions. A simplest-looking formula is a choice that needs an explanation, not a proof supplied by the finite table.
A residual is observed minus predicted
At an input with an observed output, define the residual as r = observed output − predicted output. It has the output's units. A positive residual means the observation is above the prediction, so the model underpredicts; a negative residual means it overpredicts. A zero residual means agreement at that input. At an unobserved input there is a prediction, but no observed residual to calculate.
For a candidate water-level prediction M(t) = 10 + 2t centimetres, with numerical t in minutes, a record of 15.5 centimetres at t = 3 gives prediction 16 centimetres and residual −0.5 centimetres. The model overpredicts by 0.5 centimetres. The same numerical difference should be expressed as −5 millimetres if the outputs are converted to millimetres. Compare models on the same observations and in the same units rather than comparing unconverted numbers.
A smaller absolute residual at one input is useful local evidence, not proof that a model is correct everywhere. Several positive or negative residuals can signal a systematic mismatch worth investigating; that pattern still does not identify its cause on its own. Check whether assumptions, units, omitted factors or recorded precision need revision. We can compare explicit candidates here without introducing an automatic regression procedure or declaring an unspecified rule best.
Interpolation and extrapolation concern the observed inputs
For forward prediction from input to output, compare the selected input with the smallest and largest observed inputs. A prediction at an unobserved permitted input between them is interpolation. A prediction at a permitted input outside their span is extrapolation. Evaluating a model at a recorded input is a comparison with that record. This positional classification uses the input span; it does not require the predicted output to lie between the recorded output heights.
Check admissibility independently. If the input is an integer worker count, 2.5 workers may lie between observed counts 1 and 4 but remains outside the model's domain. A formula value there is a mathematical extension, not an allowed worker prediction. Likewise, a count beyond a stated maximum can lie beyond the data but is not authorized by that finite model. Even at allowed inputs, interpolation is not guaranteed correct: two rules fitting the same records can disagree between them, as the product construction shows.
Extrapolation needs particular attention to whether the same conditions continue beyond the observed span. A capacity limit, changed price or altered process can make a formerly useful rule fail. Exact structural models can justify predictions throughout their stated domain by their assumptions, while empirical predictions need supporting evidence. In either case, explain the output and units, retain the domain and identify what would make the rule need revision.
Compare candidates, evidence and permitted predictions separately
The explorer has seven contexts: distance at a stated constant speed, a fixed fee plus distance charge, square area, a fixed job shared by integer worker counts, a delivery tariff with a mass threshold, unknown temperature records and cube volume. Each offers three candidate rules. Read the stated assumptions and units before comparing the formulas. Proportional rules also belong to the affine family, square powers are quadratic, and a constant rule is affine; these labels can overlap without making every candidate suitable for the context.
Compare every candidate with every supplied record using exact observed-minus-predicted residuals. Then choose a test input independently. Check whether that input is permitted, whether its position is within or outside the observed span, and what each candidate predicts. The extra polynomial term in the distance case can fit all supplied records while conflicting with the unchanged-speed assumption. Two temperature candidates can both fit all supplied records while disagreeing at unrecorded inputs; the records alone do not establish a temperature mechanism. Celsius temperatures may be negative, unlike a physical square area.
Inspect the delivery threshold using the stated piecewise conditions and the worker case using integer counts 1 through 6. The square and cube cases explicitly allow the ideal zero-size value as well as positive sizes. A table of selected controls does not prove a full relationship, and a matching record does not prove causation. The next chapter develops exponential and logarithmic relationships; a repeated multiplicative change over equal input steps will need a different candidate from an affine rule's repeated additive change.
Compare a fitted rule with a justified model
Choose a stated context, a candidate rule and an exact test input independently. Compare the candidate with every supplied observation, then check its assumptions, units and contextual domain. Agreement with a finite table and a structural reason for a rule are different kinds of evidence.
This stipulated ideal motion starts at distance 0 and travels at a constant speed of 4 kilometres per hour for t ≥ 0. Its distance is therefore 4t kilometres. The observations are exact values generated from those assumptions, not a report of measured travel.
Input unit: hours. Output unit: kilometres.
In each formula, the input is the numerical value in the stated input unit and the result is measured in the stated output unit. Coefficients carry the units needed for that relationship; an algebraic formula with consistent units can still contradict the context.
d(t) = 4t
Contextual input domain: t ∈ ℝ; t ≥ 0. Useful family descriptions: Proportional, Affine, Direct power.
Family descriptions can overlap. A proportional rule kx is affine with intercept 0. A square rule is both quadratic and a power rule; a cube rule is both cubic and a power rule. A constant rule is affine with slope 0. The zero rule is also proportional with k = 0. A family name alone does not determine the coefficients, the domain or the right model.
The coefficient 4 has units kilometres per hour, and starting distance 0 makes the rule proportional. Constant speed gives this formula on the stated ideal domain.
All three candidates at this same test input: t = 3/2
Observed output
d(t) = 4t — Proportional distance
d(t) = 4t + 1 — Distance with an offset
d(t) = 4t + t(t − 1)(t − 2) — A perturbed cubic
Check the selected input and its candidate prediction: t = 3/2
t ≥ 0: Pass.
Input allowed by the stated context. The candidate formula has a defined real value here.
Formal expression value: 6. Candidate prediction in the context: 6.
The candidate output meets the context’s output constraint.
A nonnegative area or volume is required even when a wrong candidate formula produces a negative number. That output conflict does not make the original input inadmissible. Passing an output constraint also does not establish that a candidate is the true relationship.
Position relative to the observed input span: Inside the observed input interval. Observed input interval: [0, 2].
For an admissible unobserved input inside the observed interval, using a model is interpolation; beyond that interval it is extrapolation. These are positions relative to the data, not proof of model validity. An input can lie inside the interval and still be forbidden by the context, such as a fractional worker count. An extrapolated input can be allowed by the context while its prediction remains conditional on the model.
No observed output is supplied at this test input, so a residual cannot be computed there.
| Observed input | Observed output | Candidate prediction | Residual: observed minus predicted |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 4 | 4 | 0 |
| 2 | 8 | 8 | 0 |
A positive residual means that the observed value is above the prediction; a negative residual means that it is below. A zero residual means agreement at this observed input. The table uses stipulated exact teaching values; measured data in a real investigation may carry uncertainty.
Matches every supplied observation exactly. Sum of squared residuals for the supplied observations: 0.
Here the sum is 0 exactly when all listed residuals are 0. The sum has squared output units. A smaller table error by itself does not establish physical validity, causality or reliability outside the observations.
Justification from the stated structure: Supported by the stated ideal assumptions.
A structurally supported rule is a consequence of the stated ideal model. This is conditional on those assumptions, rather than evidence that every real situation follows them. For the unknown temperature relationship, fitting every supplied value still leaves the global rule undetermined.
| Candidate rule | Exact fit to all supplied observations? | Sum of squared table residuals | Structural justification | Candidate prediction at the selected input |
|---|---|---|---|---|
d(t) = 4t | Pass | 0 | Supported by the stated ideal assumptions | 6 |
d(t) = 4t + 1 | Fail | 3 | Contradicts the stated ideal assumptions | 7 |
d(t) = 4t + t(t − 1)(t − 2) | Pass | 0 | Contradicts the stated ideal assumptions | 45/8 |
Changing the test input does not change the observed table or any candidate’s table residuals. The comparison uses the same test input for all candidates.
Change-pattern tests must respect input spacing. Constant raw output differences suggest an affine pattern only when the input steps being compared are equal. With unequal steps, compare rates of change instead. A constant output-to-input ratio tests a proportional pattern only at permitted nonzero inputs, and finite matches still require a justified scope.
Constant-speed distance. Proportional distance. t = 3/2: Input allowed by the stated context; The candidate formula has a defined real value here; Candidate prediction in the context: 6. Inside the observed input interval. Matches every supplied observation exactly. Supported by the stated ideal assumptions.
Fractions, predictions, residuals and boundary comparisons use exact integer arithmetic. Decimal approximations do not decide a fit, a contextual exclusion or a threshold branch.
Worked examples
A fixed setup charge makes a per-card price affine
A stated printing model pays a 9-euro setup charge even for zero cards and adds 1.50 euros for every card. It allows integer counts n from 0 to 20. Write the total cost rule, check recorded totals of 12 euros for two cards and 18 euros for six cards, and find the price for ten cards. Is total cost proportional to count?
- Let n be the integer card count and C(n) the total cost in euros. The domain is {0, 1, …, 20}; the fee is paid even at n = 0 under the stated model.
- The fixed charge is 9 euros and the variable charge is (3/2)n euros. Therefore
C(n) = 9 + (3/2)n. The coefficient 3/2 has units euros per card, so both terms are costs in euros. - Substitute the recorded inputs: C(2) = 9 + 3 = 12 and C(6) = 9 + 9 = 18 euros. The rate between them is
(18 − 12)/(6 − 2) = 3/2euros per card. These records are consistent; the specified unchanged pricing terms justify the rule throughout the domain. - At ten cards, C(10) = 9 + 15 = 24 euros. The complete finite range is
{9 + (3/2)n : n is an integer from 0 to 20}euros, from 9 to 39 in steps of 1.50 euros; it does not include every real cost in that interval. - The nonzero fee makes the rule affine but not proportional. For example, C(4) = 15 euros while 2C(2) = 24 euros. Doubling the count doubles the variable cost, not the fixed fee; the algebraic check C(2n) = 2C(n) − 9 applies when both counts are permitted.
C(n) = 9 + (3/2)n euros on integer counts 0 through 20. Both records match; C(10) = 24 euros. Its range is the 21 stated costs from 9 to 39 euros in steps of 1.50 euros. The total is affine and is not proportional to count.
A geometric constraint produces a quadratic that is not a pure square power
A nondegenerate rectangle has fixed perimeter 20 centimetres. Let s be one side's numerical length in centimetres. Derive its area as a function of s, give the complete domain and range, find the area at s = 3 and explain why doubling s need not quadruple the area.
- Let the other side be l centimetres. The perimeter condition is 2s + 2l = 20, so l = 10 − s. Both sides must be positive, giving domain 0 < s < 10.
- Multiply the side lengths:
A(s) = s(10 − s) = −s² + 10ssquare centimetres, with s expressed numerically in centimetres. This is a quadratic with a linear term; it is not a pure k s² relationship. - Complete the square:
A(s) = 25 − (s − 5)². Hence A(s) ≤ 25, with equality at s = 5. The product of the two positive sides also gives A(s) > 0; zero area is excluded because a zero-length side is excluded. - For every proposed numerical area a with 0 < a ≤ 25, choose
s = 5 − √(25 − a)centimetres. The square root is at least zero and strictly less than 5, so 0 < s ≤ 5 < 10. Substitution gives A(s) = a. This proves that the complete range is 0 < a ≤ 25 square centimetres, including its upper endpoint and excluding zero. - At s = 3, the other side is 7 and the area is 21 square centimetres. Doubling s to 6 changes the other side to 4, giving area 24 square centimetres, rather than 84. The fixed-perimeter condition changes the second side, so the square's unchanged-shape scaling argument does not apply.
A(s) = s(10 − s) square centimetres, with 0 < s < 10 centimetres. Its complete range is 0 < A ≤ 25 square centimetres; A(3) = 21 square centimetres. Doubling the first side need not quadruple the area because the other side changes to keep the perimeter fixed.
Two finite fits can disagree on a new observation
Synthetic water-level records at elapsed times 0, 2 and 4 minutes are 10, 14 and 18 centimetres. Consider M(t) = 10 + 2t and N(t) = 10 + 2t + t(t − 2)(t − 4)/4, with numerical t in minutes and outputs in centimetres. Both are candidate rules on 0 ≤ t ≤ 6; no unchanged-flow mechanism is asserted. Check the records, predict at 3 and 6 minutes, and calculate residuals if a new observation at 3 minutes is 15.5 centimetres.
- M gives 10, 14 and 18 at t = 0, 2 and 4. The added product in N is zero at each of those inputs, so N gives the same three outputs. These exact agreements do not determine the output at another permitted input.
- At t = 3, M(3) = 16. The product term is
3(3 − 2)(3 − 4)/4 = −3/4, so N(3) = 61/4 = 15.25 centimetres. The coefficient of that cubic product has units centimetres per minute cubed; the numerical formula uses minutes consistently. - Input 3 lies between the originally recorded inputs 0 and 4 and is permitted, so these were interpolated predictions before the new record. At t = 6, M gives 22 and N gives
22 + 6·4·2/4 = 34centimetres. Six is permitted but beyond the observed span, so those are extrapolated predictions. - For the new observed level 15.5 centimetres at t = 3, the residual for M is 15.5 − 16 = −0.5 centimetres: M overpredicts. The residual for N is 15.5 − 15.25 = +0.25 centimetres: N underpredicts. Neither candidate exactly matches this new record.
- N has the smaller absolute residual at this new input, but that comparison does not prove N correct at every other time or establish a cause of the level changes. The updated observed span still runs from 0 to 4 minutes; predicting at 6 remains extrapolation. Further records and justified assumptions are needed to assess either model beyond the observations.
Both rules fit the first three records. At 3 minutes, M predicts 16 centimetres and N predicts 15.25 centimetres; their new residuals are −0.5 and +0.25 centimetres. At 6 minutes they predict 22 and 34 centimetres, respectively. The first new input is within the observed span and the second is beyond it; neither the finite fit nor one smaller residual establishes a complete underlying law.
Try it yourself
A stated service has an unchanged per-item price and a fixed charge paid even for zero items. Its total is 13 euros for two items and 25 euros for six items. It permits integer counts 0 through 10. Find the cost rule and the cost of five items; state the coefficient units and decide whether the total is proportional to count.
Show the answer and reasoning
C(n) = 3n + 7 euros on integer counts 0 through 10; C(5) = 22 euros. The rate is 3 euros per item and the fixed charge is 7 euros. The total is affine and is not proportional to count.
The distinct counts give rate (25 − 13)/(6 − 2) = 3 euros per item. Substituting the two-item total gives fixed charge 13 − 3·2 = 7 euros. The stated constant pricing structure justifies the affine family; a finite pair alone would not establish that structure. The nonzero offset prevents a constant total-cost-to-count ratio.
An ideal family of similarly shaped containers has capacity V(s) = k s³, where s > 0 is a numerical length in centimetres and V is in cubic centimetres. At s = 2 the capacity is 12 cubic centimetres. Find k, predict capacity at s = 6 and give the factor by which tripling s changes capacity. Does a constant addition per centimetre explain this scaling?
Show the answer and reasoning
k = 3/2, dimensionless under the stated units; V(s) = (3/2)s³ cubic centimetres. V(6) = 324 cubic centimetres. Tripling s multiplies capacity by 27, rather than adding a fixed amount per centimetre.
The stated power relationship gives k = 12/2³ = 3/2. Then V(6) = (3/2)·216 = 324. In general V(3s)/V(s) = 3³ = 27 for permitted positive s. Because capacity and s³ both have cubic-length units, k is dimensionless; the derivation relies on the supplied shape-scaling assumption.
A stipulated ideal job requires 18 worker-hours. Each identical worker contributes independently at the same rate, and allowed team sizes are integer counts n from 1 to 6. Choose a time rule, find times for three and six workers, and explain why the fact that a candidate decreases would not by itself establish inverse variation. Is a prediction for 2.5 workers permitted?
Show the answer and reasoning
T(n) = 18/n hours for integer n = 1, …, 6. T(3) = 6 hours and T(6) = 3 hours. The constant product nT(n) = 18 worker-hours justifies inverse variation; a decreasing pattern alone does not. A count of 2.5 workers is outside the domain.
The unchanged independent contributions give the fixed work product nT = 18. Divide by the permitted positive nonzero n to obtain the rule. Doubling the team from 3 to 6 halves the predicted time. An affine rule could also decrease without preserving that product, and a fractional numerical input does not become an allowed team size merely because 18/2.5 can be calculated.
Unitless inputs 0, 2, 4, 6 have outputs 1, 9, 33, 73. Assuming a polynomial of degree at most two, find its formula using the equal-step differences. Does this table alone prove that the same quadratic applies at unrecorded inputs?
Show the answer and reasoning
The conditional quadratic is f(x) = 2x² + 1. Its first differences are 8, 24, 40 and second differences are 16, 16 at input step h = 2. The finite table alone does not prove that rule at unrecorded inputs.
For ax² + bx + c, the second difference is 2ah² = 8a, so a = 2. At x = 0, c = 1; at x = 2, 9 = 8 + 2b + 1 gives b = 0. The value at 6 checks as 73. Adding λx(x − 2)(x − 4)(x − 6) leaves all four records unchanged and can change an allowed unsampled value, showing that the chosen family assumption remains necessary.
A service charges 3 euros per kilogram for the first 2 kilograms and 1 euro per kilogram only for the extra mass. Its measured mass domain is 0 ≤ w ≤ 5 kilograms. Write a piecewise total charge, find the charges at 2 and 2.5 kilograms, and prove its complete range. Explain why w euros for all w > 2 would describe a different scheme.
Show the answer and reasoning
C(w) = 3w euros for 0 ≤ w ≤ 2, and C(w) = 6 + (w − 2) = w + 4 euros for 2 < w ≤ 5. C(2) = 6 euros and C(2.5) = 6.5 euros. The complete range is 0 ≤ C ≤ 9 euros.
The first portion costs 6 euros at the threshold and remains included above it. The first piece attains every charge from 0 to 6 via w = C/3; the second attains every charge above 6 through 9 via w = C − 4, so their union proves the whole range. Both formulas agree at 2, which the stated definition assigns to the first piece. Using w above 2 would apply the cheaper rate to the whole mass and discard the first portion's charge.
Exact synthetic cost records at integer counts 1, 3, 5 are 4, 8, 12 euros. A candidate M(n) = 2n + 2 euros permits integer counts 1 through 8. Before a new record, classify a prediction at n = 4 and at n = 7, and find both values. A new total at n = 4 is 11 euros: calculate its residual and direction. Is n = 2.5 an allowed prediction merely because it lies inside the observed input span?
Show the answer and reasoning
M(4) = 10 euros is an interpolated prediction; M(7) = 16 euros is an extrapolated prediction, both at permitted counts. The new residual is 11 − 10 = +1 euro, so M underpredicts. Input 2.5 is not permitted.
The original observed span is 1 through 5: 4 is inside it and 7 outside it, while both belong to the stated integer domain. The residual uses observed minus predicted, not the reverse. Adding the record at 4 does not change the span endpoints. A fractional count remains inadmissible even inside that span; its formula value would concern an extension rather than this count model.
Unitless records at x = 0, 1, 2 have outputs 2, 5, 8. Compare f(x) = 3x + 2 with g(x) = 3x + 2 + 2x(x − 1)(x − 2). Check every record and find both values at x = 1/2 and x = 3. How does the conclusion differ when the domain is all real numbers versus exactly {0, 1, 2}?
Show the answer and reasoning
Both rules give 2, 5, 8 at the records. At 1/2, f = 7/2 and g = 17/4; at 3, f = 11 and g = 23. They are different functions on all real inputs, but the same complete function on domain {0, 1, 2}.
The added product vanishes at each recorded input. At 1/2 it equals 2·(1/2)·(−1/2)·(−3/2) = 3/4, and at 3 it equals 2·3·2·1 = 12. Thus a finite fit does not choose a unique continuation on a domain with those unsampled inputs. If the domain contains only the three sampled inputs, no additional allowed values remain to distinguish the rules.
What to carry forward
- A useful model names its quantities, units, permitted inputs and fixed conditions. Distinguish an exact deduction under stated assumptions from a candidate fitted to observations.
- Proportional means f(x) = kx; affine means f(x) = mx + b and permits an offset. Equal changes and constant ratios answer different questions, and function-family names can overlap.
- Derive a power relationship from a specified scaling rule and inverse variation from a fixed product. Decreasing outputs alone do not establish k/x, and inverse variation is different from an inverse function.
- First and second differences need equally spaced inputs. Parameter uniqueness within a chosen family and agreement at a finite table do not prove that family describes every allowed unrecorded input.
- A piecewise model needs complete, consistent boundary conditions. Preserve the charge or relationship for an earlier portion when a new rate applies only to an extra portion.
- Residual means observed minus predicted, in output units: positive indicates underprediction and negative indicates overprediction. Local agreement or smaller errors alone do not establish a complete law or its cause.
- Forward interpolation and extrapolation classify a prediction by its input's position relative to the observed span. Check domain admissibility separately, and retain the model's assumptions before extending any prediction.
References
Sources for the concepts and teaching approaches in this article.
OpenStax, Rice University2 sources
- College Algebra 2eOpenStax, Rice UniversityTextbook chapterOpenStax · College Algebra 2e · 2.3 Models and ApplicationsOpenStax · College Algebra 2e · 5.8 Modeling Using VariationOpenStax · College Algebra 2e · 3.2 Domain and Range
- OpenStax · Precalculus 2e · 2.4 Fitting Linear Models to DataOpenStax, Rice UniversityTextbook chapter