maths.free › Calculus › Foundations › Calculus

Calculus

Calculus is the branch of mathematics that studies continuous change, and is the principal precursor of modern mathematical analysis.

Calculus

Calculus is the branch of mathematics that studies continuous change, and is the principal precursor of modern mathematical analysis. Originally called infinitesimal calculus or the calculus of infinitesimals, it has two major branches, differential calculus and integral calculus. Differential calculus studies instantaneous rates of change and slopes of curves; integral calculus studies accumulation of quantities and areas under or between curves. These two branches are related to each other by the fundamental theorem of calculus. Calculus uses convergence of infinite sequences and infinite series to a well-defined mathematical limit.

Calculus is the "mathematical backbone" for solving problems in which variable quantities change with time or another reference value. It has also been called "the basic instrument of physical science".

In the late 17th century, Isaac Newton and Gottfried Wilhelm Leibniz each independently formulated infinitesimal calculus. Later work, including the formalization of the concept of limits, put calculus on a more solid conceptual footing. The concepts and techniques of calculus have broad applications in science, engineering, and other branches of mathematics.

Etymology

In Latin, the word calculus means "pebble", a meaning which still persists in medicine. Because pebbles were used as counters in Roman counting-board abacuses, Romans called their reckoning "placing pebbles" (calculos ponere), and would settle accounts by "calling someone to the pebbles" (vocare aliquem ad calculos); the Latin word calculare appeared around 400 AD in Spain. The word calculate was used in English in this sense at least as early as 1672, several years before the publications of Leibniz and Newton, who wrote their mathematical texts in Latin.

In addition to differential calculus and integral calculus, the term is also used for naming specific methods of computation or theories that imply some sort of computation. Examples of this usage include propositional calculus, Ricci calculus, calculus of variations, lambda calculus, sequent calculus, and process calculus. Furthermore, the term calculus has variously been applied in ethics and philosophy, for such systems as Bentham's felicific calculus, and the ethical calculus.

Primary concepts and basic notation

Calculus provides a generalization of concepts from elementary geometry and algebra. For example, instead of describing the slope of a straight line, calculus can describe the changing slope of a complicated curve. Elementary geometry provides formulas for the area of shapes like triangles, squares, and other polygons, whereas calculus provides a way to find the area of a shape whose boundary is described by a complicated formula. In elementary algebra, one can calculate the distance traveled over time by an object moving at a constant velocity, while in calculus, one can calculate the distance that an object travels even when the velocity varies.

Limits and infinitesimals

Calculus is usually developed by working with very small quantities. Historically, the first method of doing so was by infinitesimals. These are objects which can be treated like real numbers but which are, in some sense, "infinitely small". For example, an infinitesimal number could be greater than 0, but less than any number in the sequence 1, 1/2, 1/3, ... and thus less than any positive real number. From this point of view, calculus is a collection of techniques for manipulating infinitesimals.

The infinitesimal approach fell out of favor in the 19th century because it was difficult to make the notion of an infinitesimal precise. In the late 19th century, infinitesimals were replaced within academia by the epsilon, delta approach to limits. Limits describe the behavior of a function at a certain input in terms of its values at nearby inputs. They capture small-scale behavior using the intrinsic structure of the real number system. In this treatment, calculus is a collection of techniques for manipulating certain limits. Infinitesimals get replaced by sequences of smaller and smaller numbers, and the infinitely small behavior of a function is found by taking the limiting behavior for these sequences. Limits were thought to provide a more rigorous foundation for calculus, and for this reason, they became the standard approach during the 20th century. However, the infinitesimal concept was revived in the 20th century with the introduction of non-standard analysis and smooth infinitesimal analysis, which provided solid foundations for the manipulation of infinitesimals.

Differential calculus

Differential calculus is the study of the definition, properties, and applications of the derivative of a function. The process of finding the derivative is called differentiation. Given a function and a point in the domain, the derivative at that point is a way of encoding the small-scale behavior of the function near that point. By finding the derivative of a function at every point in its domain, it is possible to produce a new function, called the derivative function or just the derivative of the original function. Geometrically speaking, the derivative generalizes the idea of the slope of a line: it gives a way to quantify the steepness of the graph of a function, even when that graph is not a straight line.

In Lagrange's notation, the symbol for a derivative is an apostrophe-like mark called a prime. Thus, the derivative of a function called f is denoted by f′, pronounced "f prime" or "f dash". For instance, if f(x) = x is the squaring function, then f′(x) = 2x is its derivative.

If a function is linear (that is if the graph of the function is a straight line), then the function can be written as y = mx + b, where x is the independent variable, y is the dependent variable, b is the y-intercept, and:

\(m= \frac{\text{rise}}{\text{run}}= \frac{\text{change in } y}{\text{change in } x} = \frac{\Delta y}{\Delta x}.\)

This gives an exact value for the slope of a straight line. If the graph of the function is not a straight line, however, then the change in y divided by the change in x varies. Derivatives give an exact meaning to the notion of change in output concerning change in input. To be concrete, let f be a function, and fix a point a in the domain of f. (a, f(a)) is a point on the graph of the function. If h is a number close to zero, then a + h is a number close to a. Therefore, (a + h, f(a + h)) is close to (a, f(a)). The slope between these two points is

\(m = \frac{f(a+h) - f(a)}{(a+h) - a} = \frac{f(a+h) - f(a)}{h}.\)

This expression is called a difference quotient. A line through two points on a curve is called a secant line, so m is the slope of the secant line between (a, f(a)) and (a + h, f(a + h)). The secant line is only an approximation to the behavior of the function at the point a because it does not account for what happens between a and a + h. It is not possible to discover the behavior at a by setting h to zero because this would require dividing by zero, which is undefined. The derivative is defined by taking the limit as h tends to zero, meaning that it considers the behavior of f for all small values of h and extracts a consistent value for the case when h equals zero:

\(\lim_{h \to 0}{f(a+h) - f(a)\over{h}}.\)

Geometrically, the derivative is the slope of the tangent line to the graph of f at a. The tangent line is a limit of secant lines just as the derivative is a limit of difference quotients.

If the input of the function represents time, then the derivative represents change concerning time. For example, if f is a function that takes time as input and gives the position of a ball at that time as output, then the derivative of f is how the position is changing in time, that is, it is the velocity of the ball.

Leibniz notation

A common notation, introduced by Leibniz, for the derivative in the example above is

\(\begin{aligned} y&=x^2 \\ \frac{dy}{dx}&=2x. \end{aligned}\)

In an approach based on limits, the symbol ⁠dy/ dx⁠ is to be interpreted not as the quotient of two numbers but as a shorthand for the limit computed above. Leibniz, however, did intend it to represent the quotient of two infinitesimally small numbers, dy being the infinitesimally small change in y caused by an infinitesimally small change dx applied to x. We can also think of ⁠d/ dx⁠ as a differentiation operator, which takes a function as an input and gives another function, the derivative, as the output. For example:

\(\frac{d}{dx}(x^2)=2x.\)

In this usage, the dx in the denominator is read as "with respect to x". Another example of correct notation could be:

\(\begin{aligned} g(t) &= t^2 + 3t + 1 \\ {d \over dt}g(t) &= 2t + 3 \end{aligned}\)

Integral calculus

Integral calculus is the study of the definitions, properties, and applications of two related concepts, the indefinite integral and the definite integral. The process of finding the value of an integral is called integration. The indefinite integral, also known as the antiderivative, is the inverse operation to the derivative. F is an indefinite integral of f when f is a derivative of F. (This use of lower- and upper-case letters for a function and its indefinite integral is common in calculus.) The definite integral inputs a function and outputs a number, which gives the algebraic sum of areas between the graph of the input and the x-axis. The technical definition of the definite integral involves the limit of a sum of areas of rectangles, called a Riemann sum.

A motivating example is the distance traveled in a given time. If the speed is constant, only multiplication is needed:

\(\mathrm{Distance} = \mathrm{Speed} \cdot \mathrm{Time}\)

But if the speed changes, a more powerful method of finding the distance is necessary. One such method is to approximate the distance traveled by breaking up the time into many short intervals of time, then multiplying the time elapsed in each interval by one of the speeds in that interval, and then taking the sum (a Riemann sum) of the approximate distance traveled in each interval. The basic idea is that if only a short time elapses, then the speed will stay more or less the same. However, a Riemann sum only gives an approximation of the distance traveled. We must take the limit of all such Riemann sums to find the exact distance traveled.

When velocity is constant, the total distance traveled over the given time interval can be computed by multiplying velocity and time. For example, traveling a steady 50 mph for 3 hours results in a total distance of 150 miles. Plotting the velocity as a function of time yields a rectangle with a height equal to the velocity and a width equal to the time elapsed. Therefore, the product of velocity and time also calculates the rectangular area under the (constant) velocity curve. This connection between the area under a curve and the distance traveled can be extended to any irregularly shaped region exhibiting a fluctuating velocity over a given period. If f(x) represents speed as it varies over time, the distance traveled between the times represented by a and b is the area of the region between f(x) and the x-axis, between x = a and x = b.

The symbol of integration is \(\int\), an elongated S chosen to suggest summation. The definite integral is written as:

\(\int_a^b f(x)\, dx\)

and is read "the integral from a to b of f-of-x with respect to x." The Leibniz notation dx is intended to suggest dividing the area under the curve into an infinite number of rectangles so that their width Δx becomes the infinitesimally small dx.

\(\int f(x)\, dx.\)

\(\int 2x\, dx = x^2 + C.\)

Condensed: the full section is in Wikipedia.

Fundamental theorem

The fundamental theorem of calculus states that differentiation and integration are inverse operations. More precisely, it relates the values of antiderivatives to definite integrals. Because it is usually easier to compute an antiderivative than to apply the definition of a definite integral, the fundamental theorem of calculus provides a practical way of computing definite integrals. It can also be interpreted as a precise statement of the fact that differentiation is the inverse of integration.

The fundamental theorem of calculus states: If a function f is continuous on the interval [a, b] and if F is a function whose derivative is f on the interval (a, b), then

\(\int_{a}^{b} f(x)\,dx = F(b) - F(a).\)

Furthermore, for every x in the interval (a, b),

\(\frac{d}{dx}\int_a^x f(t)\, dt = f(x).\)

This realization, made by both Newton and Leibniz, was key to the proliferation of analytic results after their work became known. (The extent to which Newton and Leibniz were influenced by immediate predecessors, and particularly what Leibniz may have learned from the work of Isaac Barrow, is difficult to determine because of the priority dispute between them.) The fundamental theorem provides an algebraic method of computing many definite integrals, without performing limit processes, by finding formulae for antiderivatives. It is also a prototype solution of a differential equation. Differential equations relate an unknown function to its derivatives and are ubiquitous in the sciences.

Multivariable and vector calculus

Multivariable calculus is the extension of calculus in one variable to functions of several variables: the differentiation and integration of functions involving multiple variables (multivariate), rather than just one.

Vector calculus is a branch of multivariable calculus concerned with the differentiation and integration of vector fields, primarily in three-dimensional Euclidean space, \(\mathbb{R}^3.\) (The term vector calculus is sometimes used as a synonym for the broader subject of multivariable calculus overall.) Vector calculus plays an important role in differential geometry and in the study of partial differential equations. It is used extensively in physics and engineering, especially in the description of electromagnetic fields, gravitational fields, and fluid flow.

Differential equations

A differential equation is an equation that relates one or more unknown functions and their derivatives. In applications, the functions generally represent physical quantities, the derivatives represent their rates of change, and the differential equation defines a relationship between the two. Such relations are common in mathematical models and scientific laws; therefore, differential equations play a prominent role in many disciplines including engineering, physics, economics, and biology.

For example, the differential equation \[\frac{df}{dt} = -a f(t)\] is solved by a function \(f(t)\) that is proportional to its own derivative. Any such function has the form \[f(t) = C e^{-at},\] where \(C\) is a constant. This differential equation describes exponential decay.

The study of differential equations consists mainly of the study of their solutions (the set of functions that satisfy each equation), and of the properties of their solutions. Only the simplest differential equations are solvable by explicit formulas; however, many properties of solutions of a given differential equation may be determined without computing them exactly, and differential equations that cannot be solved exactly are often amenable to numerical approximations.

Real analysis

Real analysis provides the rigorous underpinnings of calculus, establishing that ideas often introduced heuristically in introductory calculus have a solid foundation. It studies the behavior of real numbers, sequences and series of real numbers, and real functions. Some particular properties of real-valued sequences and functions that real analysis studies include convergence, limits, continuity, smoothness, differentiability, and integrability.

Complex analysis

Complex analysis investigates functions of a complex variable. It is helpful in many branches of mathematics, including real analysis, algebraic geometry, number theory, analytic combinatorics, and applied mathematics, as well as in physics, including the branches of hydrodynamics, thermodynamics, quantum mechanics, and twistor theory. By extension, use of complex analysis also has applications in engineering fields such as nuclear, aerospace, mechanical and electrical engineering.

The derivative of a function \(f\) of a complex variable \(z\) can be defined just as in elementary calculus: \[\frac{df}{dz} = \lim_{\Delta z \to 0} \frac{f(z + \Delta z) - f(z)}{\Delta z}.\] Because the limit \(\Delta z \to 0\) can be taken along any direction in the complex plane, the condition of differentiability is more restrictive for functions of a complex variable than it is for functions of a real variable. Complex analysis studies holomorphic functions, the differentiable functions of a complex variable. By contrast with the real case, a holomorphic function is always infinitely differentiable and equal to the sum of its Taylor series in some neighborhood of each point of its domain. This makes methods and results of complex analysis significantly different from those of real analysis.

Calculus of variations

The calculus of variations (or variational calculus) studies functionals in analogy to how elementary calculus studies functions. Whereas elementary calculus considers infinitesimally small changes in the input and output values of functions, the calculus of variations considers infinitesimally small changes in functions themselves. A functional is a mapping from a set of functions to the real numbers. The calculus of variations studies how the output of a functional changes as the input function is infinitesimally perturbed.

A simple example of such a problem is to find the curve of shortest length connecting two points. If there are no constraints, the solution is a straight line between the points. However, if the curve is constrained to lie on a surface in space, then the solution is less obvious, and possibly many solutions may exist. Such solutions are known as geodesics. A related problem is posed by Fermat's principle: light follows the path of shortest optical length connecting two points, which depends upon the material of the medium. One corresponding concept in mechanics is the principle of least/stationary action.

Functionals are often expressed as definite integrals involving functions and their derivatives. Functions that maximize or minimize functionals may be found using the Euler-Lagrange equation of the calculus of variations.

History

Modern calculus was developed in 17th-century Europe by Isaac Newton and Gottfried Wilhelm Leibniz (independently of each other, first publishing around the same time). Elements of it first appeared in ancient Egypt and later Greece, then in China and the Middle East, and still later again in medieval Europe and India.

Now you No calculator settles this one, but the pieces of it are computable. Try one below, or type your own.

Keep your own working

A free account adds notes on every lesson, a record of what you have finished, your solved problems in one place, and a tutor you can ask about this page. The maths itself is open to everyone, signed in or not.

Sign Up Login

Symbols used here

Tap any symbol for the full definition, a picture, and what every letter in it means.

Questions people ask

What is a derivative in one sentence?

The slope of the graph at a point, the rate at which the output is changing there. Speed is the derivative of position.

What is an integral in one sentence?

The accumulated total of a rate: the area under the curve. Distance travelled is the integral of speed.

Why are derivatives and integrals opposites?

That is the fundamental theorem of calculus: accumulating a rate and then measuring how fast the accumulation grows gets you back the rate. Integration undoes differentiation up to a constant.

When do I use substitution and when integration by parts?

Substitution when part of the integrand is the derivative of another part (u and du both present). Parts when the integrand is a product of two unrelated kinds of function, a polynomial times an exponential, log or trig function.

Parts of this page are adapted from Wikipedia (CC BY-SA 4.0). Condensed and re-explained here; errors are ours.

More in Calculus