Answers · The mathematics underneath
Why is a function thought of as a rule rather than just a formula?
In shortA function is the rule that gives exactly one output for each input; a formula is only one way of writing that rule down.
A function is a rule that gives exactly one output for each input, and a formula is only one way of writing that rule down. The formula is a recipe; the function is the assignment itself, which may also be given by a table, a procedure, or a measured record.
The rule, not the recipe
Read the arrow as becomes. The rule called takes whatever number arrives as and returns twice that number plus three. The letter is a placeholder, not a fixed value: renaming it throughout, say to , gives , which is the same rule. The expression is only the recipe for the answer. Two different recipes can produce the same rule, and one recipe can be read in more than one way unless the permitted inputs are stated.
Hand the rule four numbers and the arithmetic is ordinary. At it doubles to and adds three to give . At it doubles to and adds three to give . At it doubles to and adds three to give . At it doubles to and adds three to give . Each extra one on the way in adds two on the way out: from to the answer rises from to , and from to it rises from to . That steadiness belongs to this rule, not to the letters used to write it. The same rule can be written as , or as , or as a two column table of inputs and answers. Changing the recipe does not change the function if every permitted input still gets the same single answer.
The formula is not the assignment
The natural guess is that if you have a formula, you have the function. That fails because a formula is a compressed instruction, and it can be ambiguous until the rule says what may be handed in and what is done with it. The formula does not by itself tell you whether is allowed; the rule must exclude , or the assignment is not defined there. A formula can also be rearranged without changing the function, which shows that the function was never the particular string of symbols. And a formula can be incomplete: writing does not say whether the inputs are all real numbers, all integers, or only the numbers between and . The rule is the thing that answers exactly once for each permitted input.
Check the agreement by hand. At , . At , . At , . At , , and at , . The first rule returns at those inputs, exactly the same list. Now check halfway between and : , while . The five whole number answers did not determine the rule, because both rules produced them. No finite list of checked inputs can separate every possible pair of rules either: a third rule can be built to agree at any larger set of points you name.
Where a finite list can be enough
None of this says a table is useless. If the inputs are restricted to a finite set, such as , then a table that gives one answer for each of those five inputs is a complete specification on that restricted domain. The table defines a function there, because every permitted input has exactly one listed answer. The difficulty begins when the input set is an interval and the rule must answer at every number in it. A graph is the same kind of record: it shows answers the rule gave at many inputs, with the line between marks supplied by whoever drew it. Reading a graph is reading history, and the only things that can be read off it honestly are things the rule actually did somewhere.
The distinction also changes what counts as the same function. If two formulas agree on every permitted input they describe the same rule, but if one formula is given on all real numbers and the other only on , they are not the same function even where both are defined. Restricting the inputs can turn a vague formula into a genuine rule, and it can turn a table into a complete rule on a finite domain. What it cannot do is make a finite sample determine what happens between the samples. That is why a rule has to be stated, not merely sampled.
Worth keeping
- A function is a rule that answers exactly once for each permitted input; a formula is only one way of writing that rule down.
- A finite table of answers can never determine a rule on an interval, because two different rules can agree at every checked point.
- The graph is a record of answers the rule gave, not the rule itself.
Where this goes next
This question is one step of Change and Accumulation, a course that works through its subject from the beginning. The page that teaches this part of it is A Rule, and the Picture of It, and it reads the whole way through whether or not you have an account.
What an account changes is the practice: problems standing under every idea, marked with a reason rather than a tick, in a copy of the course that is yours.
Read that pageThe whole courseOther questions people ask about this
- How do you find the parabola that best fits a function near a point?Match the function's height, slope and bending at the chosen point; those three conditions single out exactly one parabola.
- How can there be a slope at a single point if slope needs two points?A slope at one point is the single value that slopes between nearby pairs of points settle on as the pair closes up; it is not a slope measured between two identical points.
- How can you add up infinitely many infinitely thin slices and get a finite number?You add small positive pieces, then take the finite total they approach as the pieces shrink; the pieces never all become zero before the adding.
- Why do you multiply derivatives when functions are composed?Because a small change at the input is scaled once by the inner function and again by the outer function, so the two scale factors multiply.
- What is the difference between variance and standard deviation?They measure the same spread: variance is the average squared distance from the mean, standard deviation is its square root, so you report the standard deviation and calculate with the variance.
- How do you make a vague claim precise enough to tell whether it's true?Fix what is being talked about, what is asserted, which cases are covered and the cut-off, then name an observation that would prove it false.