The field of mathematics called calculus deals with change in processes or systems. In science many quantities change as we deal with them. The heat in a billet of steel begins to lessen the instant the billet is poured from molten metal. The number of bacteria in a culture changes measurably every fraction of a second. So, likewise, does the direction of a planet’s motion in space as it speeds along its orbit around the sun.
In such instances we may want to know the rate of change. We may also want to know the rate as a basis for figuring the amount of change over a certain interval of space or time. The methods that solve these problems determine areas or volumes embraced within curved lines or surfaces—a calculation that often cannot be made with arithmetic or algebra.
The mathematical methods that have been devised for dealing with such problems make up calculus. Two mathematicians, Sir Isaac Newton of England and Gottfried Wilhelm Leibniz of Germany, share credit for independently developing calculus in the 17th century. The name, like the word calculate, is from the Latin term meaning “pebble,” from the ancient custom of using pebbles as counters in solving arithmetic problems. A simple example will illustrate some of the fundamental ideas and terms used in calculus.
Calculus Uses Functions and Variables
The formula for the volume V of a sphere in terms of its radius r is V = 4/3πr3. This formula gives a definite relation between V and r because, for any value of r, the value of V is determined. For instance, if r = 3 inches, then V = 36π cubic inches. Thus, the value of V may be thought of as depending on r. To express this idea, we say that V is a function of r.
In the formula, r and V are variables because each may have different values. The variable to which values are assigned freely is called the independent variable; the one whose values are determined by those assigned to the other is the dependent variable.
If a formula is known that expresses the relation between variables, it is spoken of as the function. A functional relation need not be given by means of an algebraic formula. It may be given by a table of corresponding values or by a graph.
The fact that the volume of a sphere in terms of its radius is 4/3πr3 may be indicated by functional notation as V = f(r). In general, the statement that y is a function of x is abbreviated to y = f(x). The “f” stands for the terms that define the relation. Thus, since V = f(r) and V = 4/3πr3, we may use f(r) interchangeably with 4/3πr3.
The notation y = f(x) can be used conveniently to indicate that the values of y to be considered are those that correspond to a value of x. For example, if y = x2 – 5x + 6, we may write y = f(x) = x2 – 5x + 6.
If we wish to find the value of y corresponding to x = 2, we may replace x by 2. Then we have y = f(2) = 4 – 10 + 6 = 0. If we wish to find the volume of a sphere with a 3-inch radius, we replace r by 3 in the formula V = f(r) = 4/3πr3 and obtain V = f(3) = 4/3π •33, or 36π cubic inches.
Graphs of Functions
Functions can also be represented by graphs. A system of coordinates is used as shown in Fig. 1 .
Let X′X be a number line drawn horizontally with its positive direction to the right. Let Y′Y be a number line drawn perpendicular to X′X so the point of intersection O is the origin on both lines. Let the positive direction of Y′Y be upward. The line X′X is called the x-axis, and the line Y′Y, the y-axis. The two lines together are the coordinate axes.
Let P be any point in the plane. From P drop a perpendicular to the x-axis. It cuts the x-axis at point M, which corresponds to the number x, called the abscissa of P. Also from P extend a perpendicular to the y-axis. It cuts the y-axis at point N, which corresponds to the number y, called the ordinate of P. The numbers x and y are called the rectangular coordinates of P. To indicate that P has the coordinates x and y, write P(x,y) or the point (x,y).
When a function y = f(x) is given by an algebraic formula for f(x), we must first construct from the formula a table of number pairs from which the points on the plane may be plotted. We select a convenient number of pairs and plot the corresponding points. Then a curve drawn through them is the graph of the function. The method can be illustrated by plotting 2×2 – 5x + 7. If we say that y = f(x) = 2×2– 5x + 7, we find for various values of x the corresponding values of the function as given below .
We plot these points to define a curve. Connecting them in the order of increasing value, we have the graph of Fig. 2.
The Nature of Analytic Geometry
In plane geometry, problems are solved by constructions and geometrical reasonings. A coordinate system as already described, however, makes it possible to use algebraic processes, which usually are easier than geometric reasoning, for solving geometrical problems. Thus algebra and geometry are united. The subject is called analytic geometry.
In analytic geometry certain geometric concepts, such as “point,” “distance,” “line,” “angle,” and so on, as well as geometric figures such as curves, are expressed by means of algebraic symbols, expressions, and equations. This creates a geometry-algebra dictionary. Here are a few terms from such a dictionary:
Functions are studied in such fields as algebra and analytic geometry. These divisions of mathematics cannot provide satisfactory solutions for many problems that involve rates of change. Some problems are: What is the best way of describing the speed of a car or the cooling of a hot object? How does the change of the plate current in a vacuum tube depend upon any change in the grid voltage? In such problems, the rate of change must be computed. The methods used for doing so make up the divisions of mathematics called differential calculus.
The Average Rate of Change
The solution starts with finding the average rate of change. For instance, assume a car begins a trip at noon and at 2:00 pm is 50 miles from the starting point. At 5:00 pm it has gone 140 miles. From 2:00 pm to 5:00 pm it traveled 140 −50 miles, or 90 miles. Since it did so in three hours, it traveled at an average rate of 90/3, or 30, miles an hour.
The distance s from the starting point is regarded as a function of the time t, denoted by the symbol s = f(t). We find that f(2) = 50 and f(5) = 140. The increment of t is Δt = 5 – 2 = 3, and the increment of s is Δs = f(2 + Δt) – f(2) = f(5) – f(2) = 140 – 50 = 90.
The average rate of change can be defined generally as follows: the average rate of change of a function y = f(x) in the interval from x to x + Δx is defined as the ratio of the increments of y and x. In symbols:
A geometrical interpretation of the average rate of change can be given in a graph of the function. The function y = f(x) is plotted in Fig. 3 below .
The increment Δx is given by the segment P′Q′ = PR. The corresponding increment Δy = Δf(x) is given by the segment RQ. Hence the average rate of change in the interval P′Q′ is given by
The average rate of change is computed very easily when the function is given by a formula. For example, to compute the average rate of change of the function y = f(x) = 3×2 – 2, if x changes from 1 to 3:
The Problem of Instantaneous Rate
Many rate problems in practical life are not satisfactorily solved by merely computing an average rate of change of a function. If an automobile accident happens, the driver cannot shake his responsibility by proving that he drove at an average rate of 20 miles an hour during the preceding two hours. The important fact is his “instantaneous” rate of speed at the instant of the accident, especially if the rate happened to have been changing.
The meaning of an instantaneous rate therefore needs to be established. The approach that defined an average rate does not work as well for an instantaneous rate. There is no interval of time that spreads over the instant of the accident and no corresponding distance covered by the automobile. A definition can be reached by “creeping up to it” from each side; that is, if the definition can be made increasingly sharper for ever-smaller intervals of time and distance traveled and the same is done for “afterward” by assuming the car could have gone on, then there will be a set of values that separates everything “before” from everything “after.” These values can be called a limit. It will provide the desired instantaneous rate at the moment the accident occurred.
Meaning of Instantaneous Change
This “limiting set of values” can be illustrated in geometric terms in Fig. 4 below .
In a function given by the graph points P1, P2, P3, and so on to the right of P are selected. They establish secants PP1, PP2, PP3. Points P′1, P′2, P′3, and so on to the left establish secants PP′1, PP′2, PP′3.
The average rate of change of the function for the segment QQ1, for example, will be equal to the slope of the secant PP1. Other secants define other average rates. The figure shows, however, that one line, PT, separates the secants meeting the curve to the right of P from those meeting to the left. This line is called the tangent of the curve at P.
The slopes of secants on either side of P approach the slope of the tangent as the defining points are taken nearer to P. Thus the slope of the tangent at P is the limit of the slopes of the secants through P as the defining points approach P. If the slopes of the secants define average rates of change on either side of P, then the slope of the tangent must be the instantaneous rate at P. Thus the instantaneous rate of change at P is equal to the slope of the tangent at P. To find the slope of the tangent, take any point, T, on the tangent in Fig. 5 .
The increments of the coordinates, if one passes from P to T, may be denoted by dx and dy. The slope (angle θ from the horizontal) of the tangent PT therefore is:
It was stated above, however, that the instantaneous rate of change at the point P, which may be denoted by m, is equal to the slope of the tangent PT. We then have an expression for the value of m:
Since the instantaneous rate of change was defined as the limit (lim) of the average rate of change for the interval Δx, as Δx approaches zero, we also have
Therefore the derivative (or instantaneous rate of change) of a function y = f(x) at a particular point
The Formula for a Derivative
To show how to find the derivative of a function that is defined by a formula, consider the function
y = f(x) = 3×2 – 5
To find the derivative of this function at some particular point (for example, x = 2), first find the average rate of change in the interval from x = 2 to x = 2 + Δx. This can be done as follows:
Such a computation of a derivative applies to any power function of x—that is, x with any exponent, thus, xn. A formula for problems in xn is as follows (together with other important derivatives):
A simple example of integral calculus is a computation of the area under a portion of a curve y = f(x). In Fig. 6 we want the area defined by the segment AB of the curve itself, the segment A′B′ of the base, or x-axis, and the side boundaries (A′A and B′B) .
Divide the base into segments of length Δx and upon these segments erect rectangles with heights P1Q1, P2Q2, and so on. The area of each rectangle will be its base Δx multiplied by the height. The sum of these areas will be
I + II + . . . = (P1Q1) Δx + (P2Q2) Δx + . . . (1)
= f(x1) • Δx + f(x2) •Δx + . . . (2)
This sum obviously gives an approximate value for the area ABB′A′. The area can be found with any desired degree of precision by taking a large enough number of segments (rectangles). The expression (2) above can be abbreviated Sf(x)Δx.
Here the symbol S signifies that a series of similar terms—f(x1) • Δx, f(x2) • Δx, and so on—is to be added. In order to show that the area can be found as precisely as we desire by taking Δx small enough, we use the symbol dx instead of Δx, and the
In order to indicate that the area bounded by the lines x = a and x = b is to be computed, we write
The right-hand member of this equation is called the definite integral of f(x)dx between the limits a and b (or it can be said, “from a to b”).
Integration as the Inverse of Differentiation
From this stage, we must find a way to obtain an exact value, in algebraic terms, for the definite integral. This value can be computed, because if the f(x) in the integral is considered as a derivative of some other function, that other function will provide the basis for the desired answer.
This can be done readily for simple functions. If the curve that helps define the desired area, for example, is y = x2, the integral (in part) will be
The problem now is to discover “what other function” will yield x2 as a derivative. Knowledge of differentiation tells us that “the other function” can only be x3/3. (Under the rule for differentiating a power function in which n is 3, the derivative is 3×2/3, or x2.) This reasoning can be “turned around” by using n for 2, 3, or any other exponent and saying that the integral (in part) of
The final step in applying the result above (use of x3/3 for x2 in the integral) is evaluating
This can be done for a definite integral by subtracting the lesser value (at x = a) from the greater (at x = b). For an example, use the parabola y = mx2 (Fig. 7). Since it cuts the coordinate axes (x and y) at their origin (O), the value of a can be considered 0 and we need only deal with the value x = b .
The area A can now be obtained immediately by substituting b for x in the partial solution x3/3 obtained above as follows:
In many problems f(x)dx is given without limits. It is to be evaluated over its entire range. Evaluation depends upon this fact: the derivatives of both x2 + 2 and x2 + 3 will be 2x because the derivative of any constant (such as 2 or 3) is 0. In using x3/3 for integrating x2dx, the possible existence of a constant with x3/3 (a constant that would “disappear in differentiating”) is recognized by writing x3/3 + C. C is called the constant of integration; the result, an indefinite integral, because its value depends in part upon whatever value the constant C may have.