Section 5.1 An Overview of Calculus
¶The previous chapter 13 studied sequences. There are three major concepts in calculus that we can use sequences to motivate. These are limits, derivatives, and integrals.
In this chapter, we will focus on the idea of the definite integral as a generalization of accumulating increments of change. Thinking of sequences in terms of their increments of change is simpler because the domain consists only of integers which are equally spaced. More general functions are defined with domains consisting of intervals of the real numbers. (Some functions can be defined on even more complex sets, which gives rise to even more advanced mathematics.) Consequently, we can not think only in terms of increments of change but in terms of a rate of change.
Subsection 5.1.1 Derivatives and Integrals
For sequences, we learned to think of complementary ideas of accumulation sequences and increments. With a sequence \(x\text{,}\) we had a forward difference
and a backward difference
These differences measure the change in the sequence \(x\) for consecutive values of the index, which plays the role of the independent variable.
For functions defined on intervals, there is no meaning to consecutive values of the independent variable. Near a point of interest \(x=c\text{,}\) there are infinitely many other values close to \(c\text{.}\) Consequently, when measuring the change of a function \(\Delta f\text{,}\) we must also specify the change in the independent variable \(\Delta x\text{.}\) Consider two values for the independent variable, say \(x=a\) and \(x=b\text{,}\) and we define \(\Delta x = b-a\) and \(\Delta f = f(b) - f(a)\text{.}\)
Different increments \(\Delta x\) will usually result in different function increments \(\Delta f\text{.}\) However, for many functions, the ratio \(\Delta f / \Delta x\text{,}\) called the average rate of change, has a limit as \(\Delta x \to 0\text{.}\) This limiting rate of change is called the instantaneous rate of change and in calculus is named the derivative.
Definition 5.1.1. Instantaneous Rate of Change.
Given a function \(f\) that relates variables \(x \overset{f}\mapsto y\text{,}\) the instantaneous rate of change of \(y\) with respect to \(x\) is the derivative \(\displaystyle \frac{dy}{dx}\) defined by
if the limit exists. Consequently, for sufficiently small increments \(\Delta x\text{,}\) we have
The following example illustrates the role of the instantaneous rate of change to relate the increments of the independent variable with the increments of the dependent variable.
Example 5.1.2.
A ball dropped from a tower has a height \(h\) (measured in feet) modeled as a function of time \(t\) (measured in seconds) given by
At \(t=1\text{,}\) the instantaneous rate of change is \(\displaystyle \frac{dh}{dt} = -32\text{.}\)
This rate of change is illustrated in the dynamic figure below. Thinking of \(t_0=1\) as one value of the independent variable, you can adjust the second value \(t_1\) to establish the increment \(\Delta t=t_1-t_0\text{.}\) The function automatically computes \(f(1)\) and \(f(t_1)\) and shows \(\Delta h = f(t_1)-f(1)\text{.}\) The ratio \(\Delta h/\Delta t\) will be close to -32 ft⁄s for small values of \(\Delta t\text{.}\)
We can recover this instantaneous rate of change using limits, as shown in the solution below.
We know that \(\Delta t = t_1 - 1\) and \(\Delta h = f(t_1)-f(1)\text{.}\) Using the formula, this gives
The average rate of change is defined by the quotient
which has a value for all \(t_1 \ne 1\text{.}\)
The instantaneous rate of change is the limit of the average rate of change as \(\Delta t \to 0\text{,}\) which in this case requires \(t_1 \to 1\text{.}\) Even though the quotient is not defined at \(t_1=1\text{,}\) we can simplify the formula used on the sides to a formula that is defined.
The key step in this limit calculation was changing the limit expression from one in which the formula is not continuous to a new formula. When the formula is continuous, we can just evaluate it at the point of interest. The variable \(t_1\) used in the limit could have been chosen to be any convenient name.
At this point, our emphasis is understanding that the rate of change or derivative measures the limiting ratio for increments of change in the value of the function to corresponding increments of change in the independent variable. Not every function has a derivative. We will study the calculation of the derivative in more depth in later chapters.
Computing a derivative for a given function is analogous to computing the increments of a sequence. The complementary calculation for sequences is to compute the accumulation sequence for given increments. That is, if \(x=(x_n)_{n=1}^{\infty}\) is a sequence of increments, then the accumulation sequence \(u\) with increments \(\nabla u_n=u_n - u_{n-1} = x_n\) and initial value \(u_0\) was written
The calculus analogue is to be given a function that represents a rate of change and use it to find a new function, the accumulation function, that has that rate of change as its derivative. Suppose \(f(x)\) is the rate of change or derivative of a quantity \(Q\) with respect to \(x\text{,}\)
We are then interested in finding \(Q\) as a function of \(x\) if we know an initial value \(Q(x_0) = Q_0\text{.}\) The analogue of summation of increments is the definite integral, and we will write
The rest of this chapter is focused on bringing meaning to the idea of the definite integral. We study definite integrals before derivatives because we have just studied summation and sequences. The calculations involved in developing the ideas of definite integrals apply these concepts. Ultimately, the Fundamental Theorem of Calculus will provide a connection between the definite integral and the derivative, showing that our two ideas of rate of change represent the same thing.
Subsection 5.1.2 A Technological Aside
Computational tools play an important role in the real-world application of mathematics. It is increasingly common to have a tool perform actual computations with the user responsible to formulate the appropriate problem.
For example, you may have heard of the website WolframAlpha. This site acts like a search engine for mathematical content, and you can enter queries like “factor x^2+3x
”. The ability extends to calculus tools as well. We might have asked for our earlier example “derivative of 40-16t^2 at t=1
”.
Disadvantages of a site like WolframAlpha is that you are limited to a single query at a time and it can sometimes be hard to state precisely what you want. More powerful tools are available, including advanced programmable calculators and commercial software tools like Wolfram's Mathematica and MapleSoft's Maple programs.
A free, but similarly powerful tool is SageMath. A calculation in SageMath uses a script based on the Python programming language. Comments in the scripts follow the #
symbol and are ignored by the computer but are useful to understand what is happening.
Example 5.1.4.
To factor the formula \(x^2+3x\text{,}\) we would use the following script.
Example 5.1.5.
To find the derivative of \(40-16t^2\) at \(t=1\text{,}\) we would use the following script.
Example 5.1.6.
A container of water has a volume \(V\text{.}\) Suppose that the volume has an instantaneous rate of change with respect to time \(t\) given by
When \(\displaystyle \frac{dV}{dt}\) is negative, the volume is decreasing; when \(\displaystyle \frac{dV}{dt}\) is positive, the volume is increasing. The expression defines exactly how fast the water is entering or leaving the container. Find the volume of water as a function of time if \(V=500\) when \(t=1\text{.}\)
The following SageMath script will start by defining the formula for the rate of change. It then uses a definite integral to create the variable for the volume,
The integration variable \(z\) was needed in the integral for the same reason that a summation in sequence accumulations requires a dummy index variable. The formula DV(z)
represents the formula for the rate of change evaluated at this integration variable instead of \(t\text{,}\) \(-40+3z\text{.}\) This could have been computed in WolframAlpha with the query integrate -40+3z with respect to z from 1 to t
.
Subsection 5.1.3 Summary
- Calculus is developed using ideas similar to those for sequences—limits, increments, and accumulation— to limits of functions, derivatives, and integrals.
- The derivative \(\displaystyle \frac{dQ}{dx}\) measures the instantaneous rate of change of a quantity \(Q\) with respect to the independent variable \(x\text{,}\) represented by a limit,\begin{equation*} \frac{dQ}{dx} = \lim_{\Delta x\to 0} \frac{\Delta Q}{\Delta x}. \end{equation*}Consequently, increments of change in \(Q\text{,}\) \(\Delta Q\text{,}\) will be approximately proportional to the increment in \(x\text{,}\)\begin{equation*} \Delta Q \approx \frac{dQ}{dx} \cdot \Delta x, \end{equation*}for sufficiently small \(\Delta x\text{.}\)
- Given a function \(f'\) for the rate of change of a quantity \(Q\text{,}\) \(x \overset{f'}\mapsto \frac{dQ}{dx}\text{,}\) and an initial value \(Q_0\) when \(x=x_0\text{,}\) the accumulation function will be that function with derivative \(\frac{dQ}{dx} = f'(x)\text{,}\) represented by the integral\begin{equation*} Q = Q_0 + \int_{x_0}^{x} f'(z) \, dz\text{.} \end{equation*}
- Computational tools, such as WolframAlpha and SageMath, are available to perform these calculations, leaving us the responsibility of formulating problems and interpreting the results.
Exercises 5.1.4 Exercises
Use appropriate tables to approximate the following function limits. For a two-sided limit, be sure that your work verifies that both sides approximate the same value
1.
\(\displaystyle \lim_{x \to 3^-} \frac{2^x-8}{x-3}\)
2.
\(\displaystyle \lim_{x \to 3^+} \frac{2^x-8}{x-3}\)
3.
\(\displaystyle \lim_{x \to 2} \frac{x^2-4}{2^x-4}\)
4.
\(\displaystyle \lim_{x \to 1} \frac{x^2-1}{|x-1|}\)
Find the instantaneous rate of change for the relationship described in each problem using the limit of the average rate of change between the given point and a second variable point. Compare the instantaneous rate to the average rate for the specified increments.
5.
An object tossed into the air has a height that changes in time. Let \(h\) measure the height from the ground in feet and let \(t\) measure the time since the object was tossed in seconds. Then \(h\) has a model
Find \(\displaystyle \frac{dh}{dt}\) at \(t=1\) and compare this to the average rate \(\displaystyle \frac{\Delta h}{\Delta t}\) with \(\Delta t=0.1\text{.}\)
6.
The material cost for producing an aluminum box the shape of a cube is a function of the size of the cube. Let \(C\) be the cost in dollars and let \(s\) measure the length of each side of the box in centimeters. Then \(C\) has a model
Find \(\displaystyle \frac{dC}{ds}\) at \(s=10\) and compare this to the average rate \(\displaystyle \frac{\Delta C}{\Delta s}\) with \(\Delta s=-0.2\text{.}\)
7.
For a circle of radius \(r\text{,}\) the area \(A\) satisfies a relation
Find \(\displaystyle \frac{dA}{dr}\) at \(r=2\) and compare this to the average rate \(\displaystyle \frac{\Delta A}{\Delta r}\) with \(\Delta r=0.05\text{.}\)
For each problem, write down the formula involving an integral for the quantity whose derivative and initial value are given. Use technology to find the algebraic formula of the quantity.
8.
Given \(\displaystyle \frac{dy}{dx}=4\) and \(y=5\) when \(x=2\text{.}\) Find \(y\) as a function of \(x\text{.}\)
9.
Given \(\displaystyle \frac{dy}{dx}=2+3x\) and \(y=4\) when \(x=1\text{.}\) Find \(y\) as a function of \(x\text{.}\)
10.
Given \(\displaystyle \frac{dQ}{dt}=t^3\) and \(Q=2\) when \(t=1\text{.}\) Find \(Q\) as a function of \(t\text{.}\)
11.
Given \(\displaystyle \frac{dP}{dt}=500e^{0.2t}\) and \(P=4000\) when \(t=0\text{.}\) Find \(P\) as a function of \(t\text{.}\)