Precalculus › Functions and Their Graphs · free preview
A function is a rule that assigns to each input exactly one output. That word exactly carries the whole idea. Feed the rule a number and it hands back one number, never two, never none. Think of a vending machine: press B4 and you get one specific snack every time. A machine that sometimes dropped chips and sometimes a soda for the same button would be useless, and in mathematics it would not be a function at all. The set of allowed inputs is the domain; the set of outputs the rule can actually produce is the range.
We write y = f(x) and read it as "y equals f of x." Here x is the input, f is the name of the rule, and f(x) is the output the rule produces from x. The letter x is just a placeholder: f(3) means substitute 3 everywhere x appears. So if f(x) = x² + 1, then f(3) = 3² + 1 = 10 and f(a + 1) = (a + 1)² + 1. Nothing about the letter matters; the rule is what matters.
A function can be described four ways: in words, with a table of input–output pairs, with an equation, or with a graph. The graph is the most revealing, because it shows every input–output pair at once as the point (x, f(x)). This leads to a quick test. A curve in the plane is the graph of a function precisely when it passes the vertical line test: no vertical line touches the curve more than once. A vertical line represents a single input x, and if it hit the curve twice, that input would have two outputs — forbidden. A circle fails the test; a parabola opening upward passes it.
From a graph you can read the domain by sweeping left to right (which x-values does the curve cover?) and the range by sweeping bottom to top (which y-values are attained?). A point where the graph crosses the x-axis is a zero of the function, an input whose output is 0; where it crosses the y-axis is the value f(0).
Find the domain of f(x) = √(x − 4) divided by (x − 7). Two separate restrictions apply, and we honor both.
The square root demands a nonnegative radicand: x − 4 ≥ 0, so x ≥ 4.
The denominator may not be zero: x − 7 ≠ 0, so x ≠ 7.
Combine the conditions: x must be at least 4 but not equal to 7. In interval notation the domain is [4, 7) together with (7, ∞).
The lesson generalizes: whenever you meet an even root, force its inside to be nonnegative; whenever you meet a fraction, forbid a zero denominator; and later, whenever you meet a logarithm, force its argument to be positive. Domain-finding is just the discipline of never asking a rule to do something undefined.
Functions are the nouns of everything that follows. Polynomials, exponentials, logarithms, and the trigonometric functions are all specific functions with specific personalities, and calculus — the course this one feeds — studies how functions change and accumulate. Master the vocabulary of input, output, domain, range, and graph now, and every later topic becomes a variation on a language you already speak fluently.
Curriculum aligned with OpenStax's Precalculus 2e; all lesson text is original to Syllabus.
This is one lesson of the full subject.
Get every module, lesson and quiz — free right now, yours forever.