A f(r) πr
2
(the area of a circle is a function of its radius, r).
V f(r,h) πr
2
h (the volume of a cylinder is a function of its radius, r,
and its height, h).
V f(r)
4
3
πr
3
(the volume of a sphere is a function of its radius, r).
Functions can also be implicit; that is, the rule is unspecified:
Teacher salary f(county of employment).
Job satisfaction f(salary, autonomy, responsibility, role specificity).
Linear Functions. Especially important in this book, and in statistics generally, are
linear functions. Y is a linear function of one or more x’s if it can be expressed as a
weighted sum of x-values times constants plus (possibly) other constants. For exam-
ple, equations of the form y a bx are linear functions of a single x. This is a
weighted sum of a constant, b, times x, plus another constant, a. As another exam-
ple, y a b
1
x
1
b
2
x
2
b
3
x
3
is a linear function of x
1
, x
2
, and x
3
.
The function y a bx is linear in the sense that if the set of points (x,y) is plotted
on a two-dimensional graph, they will all fall on a straight line. [Correspondingly,
when y is a linear function of several x’s, the set of points (x
1
, x
2
,...,x
k
, y) falls on
a single hyperplane.]
Example. Let y 2 3x. Figure A.1 presents a graph of this equation. The equation
is defined by two important components: the intercept, a (2, in this case), and the
slope, b (3, here). The intercept is the value of y when x 0. It is also the value of y
where the line of (x,y) points, implied by the equation, crosses the y-axis. The slope
of the equation indicates the number of units y changes as x increases by 1 unit. It is
also known as the ratio of the “rise” in y to the “run” in x, or slope rise/run. For
example, if x increases 5 units, from 0 to 5, y increases from 2 3(0) 2 to 2
3(5) 17. This is an increase of 15 units. The unit increase in y per unit increase in
x, however, is 15/5 3 units, which agrees with the slope value of 3 for this equa-
tion. The resulting (x,y) points achieved by plugging sample values of x into this
equation lie on the line indicated in the figure.
Point–Slope Form of a Line. If we know the slope of a linear equation and any
point on the equation, we can easily recover the equation for the line. Hence, if x
0
,y
0
is a point on the line and b is the slope, the general equation for the line is
(y y
0
) b(x x
0
). As an example, let’s find the equation for the line with slope 5.2
that passes through the point (2,9). Solution: The equation would be (y 9)
5.2(x 2) or y 9 5.2x 10.4. The resulting equation in the form y a bx is
y 1.4 5.2x. It is easily verified that the point (2,9) is on the line, since if x 2,
we have y 1.4 5.2(2) 9.
Nonlinear Function. Y can also be a nonlinear function of x. Examples are y a
MATHEMATICS TUTORIALS 455