Calculus Early Transcendentals: Integral & Multi-Variable Calculus for Social Sciences

Just like the process of differentiation is a useful tool in many business and economics applications such as problems related to elasticity of demand and optimization, so is the process of antidifferentiation or integration. In this section, we revisit two important business and economic models, namely concerning law of supply and demand in a free-market environment and continuous money flow, and introduce integration as a method for solving problems of this nature.

Subsection 3.2.1 Surplus in Consumption and Production

Recall that in a free market, the consumer demand for a particular commodity is dependent on the commodity's unit price, which is captured graphically by the demand curve. As expected, the quantity demanded of a commodity increases as the commodity's unit price decreases, and vice versa. Similarly, the unit price of a commodity is dependent on the commodity's availability in the market, which is articulated graphically by the supply curve. Typically, an increase or decrease in the commodity's unit price induces the producer to respectively increase or decrease the supply of the commodity. Below we see the supply and demand curves of a certain item produced and sold:

Use the control points below to change the producer and supplier surpluses (the equilibrium point is fixed).

In a competitive market, the price of a commodity will eventually settle at the market equilibrium, which occurs when the supply of the commodity will be equal to its demand as indicated with the point \((x_e, p_e)\) in Figure 3.6. Let us look at a certain commodity, say, dairy to discuss the economic significance of the market equilibrium. As long as \(p \lt p_e\text\) then the demand for dairy exceeds its supply (see Figure 3.6), which pushes up the price until it reaches the equilibrium price \(p_e\text\) which in turn signifies that the quantity supplied is equal to the quantity demanded, namely \(x_e\text<.>\) On the other hand, if \(p > p_e\text\) then the supply of dairy exceeds demand (see Figure 3.6), which brings the price down. In an ideal free market, buying and selling at the equilibrium price should benefit both consumers and producers. In this section, we will compute the , which tells us exactly how much the consumers save and the producers gain by buying and selling respectively at the equilibrium price rather than at a higher price.

We begin by computing exactly how much consumers spent when they buy at the equilibrium price \(p_e\text\)

\begin \begin \amp \text < total amount spent at equilibrium price >\\ \amp = (\text < number of units bought at equilibrium price >)\cdot(\text < unit price >)\\ \amp =x_e \cdot p_e \end \end

The quantity \(x_e \cdot p_e\) is the rectangular area shown in Figure 3.(a).

Now we compute the total amount that would be spent if every consumer paid the maximum price that each is willing to pay. Given a demand function \(D\text\) partition the interval \([0, x_e]\) into \(n\) subintervals of equal width \(\Delta x = \frac\) with endpoints \(x_i = \frac\text\) \(i=0,1,\dots, n\) as shown below:

Now, let us analyze this partition subinterval by subinterval. Suppose that only \(x_1\) units had been available, then the maximum unit price could have been set at \(D(x_1)\) dollars and a total of \(x_1\) units would be sold, but at this price no further units would have been sold. Then the total expenditure in dollars is given by

\begin (\text < price per unit >)\cdot(\text < number of units >) = D(x_1) \cdot\Delta x\text \end

Now suppose that more units become available by producing \(x_2\) units of our commodity. If the maximum price is set at \(D(x_2)\) dollars, then the remaining \(x_2 - x_1 = \Delta x\) units can be sold at a cost of \(D(x_2) \cdot \Delta x\) dollars. If we continue with this process of price discrimination, then the total amount spent at maximum price is approximately equal to

\begin D(x_1)\cdot\Delta x + D(x_2)\cdot\Delta x + \dots + D(x_n)\cdot\Delta x\text \end
  1. On each of the subintervals \([0,x_1]\text\) \([x_1,x_2]\text\) \(\dots\text\) \([x_,x_e]\text\) the buyers paid as much for each unit as it was worth to them.
  2. We recognize that the last sum is a Riemann sum, which yields \(\ds\int_0^ D(x)\,dx\) as \(n \to \infty\) or alternatively as \(\Delta x \to 0\text\)

Of course, we simply have calculated the area under the demand curve on the interval \([0, x_e]\text\) which is shown in Figure 3.(b).

The difference between the total amount spent at the maximum price (Figure 3.(b)) and the consumer expenditure at the equilibrium price (Figure 3.(a)) is the total amount that consumers save by buying at the equilibrium price (Figure 3.(c)). This saving is called the for this product. We summarize our result.

Theorem 3.10 . Consumer Surplus.

Let \(D\) be the demand function, \(p_e\) be the equilibrium price, and \(x_e\) be the equilibrium quantity sold. Then the consumer surplus is

\begin \int_0^ D(x)\,dx - x_e p_e = \int_0^ \left[D(x) - p_e\right] \, dx\text \end

In a similar manner, we can determine how much producers gain when they sell at the equilibrium price \(p_e\text\)

\begin \begin \amp \text < total amount gained at equilibrium price >\\ \amp = (\text < number of units sold at equilibrium price >) \cdot (\text < unit price >)\\ \amp = x_e \cdot p_e \end \end

Now we compute the total amount that would be gained if every producer sold at the minimum amount they are willing to accept for the product. Given a supply function \(S\text\) partition the interval \([0, x_e]\) into \(n\) subintervals of equal width \(\Delta x = \frac\) with endpoints \(x_i = \frac\text\) \(i=0,1,\dots, n\) as shown below:

Similarly to the subinterval by subinterval analysis for the demand curve, an analysis of the partition of the supply curve shows that the total revenue on every subinterval in dollars by selling at the minimum price is given by

\begin (\text < price per unit) >\cdot (\text < number of units >) = S(x_i) \cdot \Delta x \end

for \(i=1,2,\dots,n\text<.>\) Continuing with the process of price discrimination, the total amount gained at minimum price is approximately equal to

\begin S(x_1)\cdot\Delta x + S(x_2)\cdot\Delta x + \dots + S(x_n)\cdot \Delta x\text \end
  1. On each of the subintervals \([0,x_1]\text\) \([x_1,x_2], \dots [x_,x_e]\text\) the producers sold at the lowest price that they are willing to set.
  2. This sum is again a Riemann sum, which yields \(\ds \int_0^ S(x)\, dx\) as \(n\to\infty\) or alternatively as \(\Delta x \to 0\text\)

Figure 3.(b) shows the area under the supply curve on the interval \([0, x_e]\) that our computation has yielded.

Figure 3.8. Producer revenue on \([0, x_e]\) at equilibrium price, in total, and for surplus.

The difference between the producer revenue at the equilibrium price (Figure 3.(a)) and the total amount achieved at the minimum price (Figure 3.(b)) is the total amount that producers gain by selling at the equilibrium price (Figure 3.(c)). This income is called the for this product. We summarize our result.

Theorem 3.11 . Producer Surplus.

Let \(S\) be the supply function, \(p_e\) be the equilibrium price, and \(x_e\) be the equilibrium quantity sold. Then the producer surplus is

\begin x_e p_e - \int_0^ S(x)\,dx = \int_0^ \left[p_e-S(x)\right] \, dx\text \end

Note: In general, the consumer surplus and the producer surplus are not equal.

Example 3.12 . Consumer Surplus.

The demand for a product, in dollars, is

\begin p = D(x) = 1000 - 0.5x-0.0002x^2\text \end

Find the consumer surplus when the sales level is \(200\text<.>\)

When the number of units sold is \(x_e = 200\text\) the corresponding price is

\begin p_e = 1000 - 0.5(200) - 0.0002(200^2) = 892\text \end

Therefore, the consumer surplus is

\begin \begin \int_0^ \left[D(x) - p_e\right]\,dx \amp = \int_0^ \left(1000 - 0.5x-0.0002x^2 - 892\right)\, dx\\ \amp = \int_0^ \left(108 - 0.5x - 0.0002x^2\right)\, dx\\ \amp = \left[108x-0.25x^2 - \frac x^3 \right]_0^\\ \amp = 108(200)-0.25(200)^2 - \frac (200)^3\\ \amp = \$ 11,066.70 \end \end

Example 3.13 . Consumer and Producer Surplus.

The price, in dollars per kg, of flour at a certain grocer is given by

\begin D(x)= 75 - e^, \text < for >x \in [0,21] \end

corresponding to a demand of \(x\) kg. When the supply is \(x\) kg, the wholesale price is given by

\begin S(x)=2e^-1\text \end

Determine the consumer surplus and the producer surplus.

We set \(D(x)=S(x)\) to find the equilibrium quantity and price:

Therefore, the equilibrium point is

\begin (x_e,p_e) = (16.16, 75-e^) \approx (16.16, 49.67)\text \end

We now calculate the consumer surplus as

\begin \begin \int_0^ \left[(75-e^)-49.67\right]\,dx \amp = \int_0^ \left(25.33-e^\right)\,dx\\ \amp = \left[25.33x - \frace^\right]_0^ \\ \amp \approx \$ 287.68. \end \end

Similarly, we calculate the producer surplus as

\begin \begin \int_0^ \left[49.67 - \left(2e^-1\right)\right]\,dx \amp = \int_0^ \left(50.67 - 2e^\right)\,dx \\ \amp = \left[50.67x - \frace^\right]_0^ \\ \amp \approx \$ 575.53. \end \end

Thus, the consumer surplus is approximately $287.68 and the producer surplus is approximately $575.53. These quantities are illustrated in the figure below.

Subsection 3.2.2 Continuous Money Flow

Another application of integrals is for the computation involved in problems. These problems may be payments to repay a debt or deposits to establish a retirement plan that are made at regular monthly payments over a certain time period. If the time between deposits or payments are made in relatively short intervals compared to the entire time period, then the money can be thought of as flowing continuously, hence the name continuous money flow. Some textbooks refer to these types of problems as “continuous income streams” or “continuous money streams”. Naturally, deposits or payments cannot be made continuously in a physical manner, since the units of legal tender are by their very nature discrete such as the cent and dollar.

A word of caution: Discussing the value of money is difficult as there are many parameters affecting it. For the purpose of this introductory section, we take a simplified point of view such as assuming that there is a single interest rate, no inflation, and no other factors influencing computation. This simplified approach will provide for an intuitive understanding of solving continuous money flow problems that can then be expanded upon. Before we develop formulas for the present and future value of such a continuous money flow, we begin by computing the total amount of money that is being accumulated making the regular deposits or payments.

Suppose that \(f(t)\) is the rate in dollars per unit of time for a continuous money flow. Figure 3.9 above shows a uniform rate of money flow \(f(t)=m\) dollars per year to the left and a variable rate of money flow \(f(t)\) dollars per year to the right. The in dollars of the former case can be readily calculated and is simply the rectangular area \(m\cdot T\) dollars. For the latter case, we readily understand that the area under the curve \(f\) from \(t=0\) to \(t=T\) is the total income, whose value in dollars is determined by the definite integral \(\ds \int_0^T f(t)\,dt\text<.>\)

Theorem 3.14 . Total Income of Money Flow.

Suppose that \(f(t)\) is the rate in dollars per unit of time for a continuous money flow. Then the total income \(I\) over the time period \([0,T]\) is

\begin I = \int_0^T f(t) \,dt\text \end Note: The above computation does not calculate the accumulated interest, just the total income.
Example 3.15 . Total Income.

Suppose the income of a small coffee shop projected to grow exponentially. The rate of income when the shop first opened was at $5,000 per month, which grew to a rate of $6,000 per month by the second month. What is the expected total income from the coffee shop during its first 6 months of operation?

Let \(t\) be the time in months since the opening of the shop. The projected income is of the form

\begin f(t) = C e^\text \end

Since \(f(0) = 5000\text\) we must have \(C=5000\text<.>\) Now to determine \(k\text\) we use \(f(1)=6000\text\)

\begin \begin 5000 e^ \amp = 6000 \\ k \amp = \ln \frac \\ k \amp \approx 0.18. \end \end

Thus, \(f(t) = 5000e^\text<.>\) We can now determine the total income, \(I\text\)

\begin \begin I \amp = \int_0^6 f(t) \, dt \\ \amp = \int_0^6 5000e^ \, dt\\ \amp = \frac e^ \big\vert_0^6\\ \amp \approx 54018.8764. \end \end

We conclude that the coffee shop is expected to produce an income of approximately $54,018.88 in its first six months of operation.

Let us now develop the formulas for the present value and future value of a continuous money flow. We begin by summarizing the present and future value of money that earns interest compounded continuously at a rate \(r\) over time t without making continuous deposits or payments. Suppose that \(F\) is the amount of money at time \(t\) that accumulates interest compounded continuously at a rate \(r\) over time \(t\text\) then the growth of the investment or loan due to accumulated interest earned over time is described by the differential equation

\begin \frac = rF\text \end

In Chapter 5, differential equations will be discussed in more detail, but for now, we simply present the solution to this differential equation, and so the future value is described by

\begin F(t) = Pe^\text \end

where \(P\) is the initial amount. Similarly, if we want to obtain an amount of \(F\) dollars that has accrued interest compounded continuously at the annual rate \(r\) over \(t\) years, then the amount of money that needs to be deposited today, namely the present value \(P\text\) is given by

\begin P(t) = Fe^\text \end

Now, the \(P\) of a continuous money stream must be the amount of money that will accumulate to the same future value as the continuous money when deposited at the same interest rate compounded continuously for the same period of time but without the continuous stream of income. Let \(f(t)\) represent the rate of continuous money flow and \(r\) the rate of interest for \(T\) years. As usual, we partition the interval \([0, T]\) into \(n\) subintervals of equal width \(\Delta t = \frac\) with endpoints \(t_i = \frac\text\) \(i=0,1,\dots,n\) as shown below.

Using our result from above about accruing interest compounded continuously, the present value \(P_i\) of the money flow over the \(i\)-th subinterval is approximately

\begin P_i = \left[f(t_i)\Delta t\right] e^\text \end

and so the total present value is approximated by a typical Riemann sum

\begin P\approx\sum_^n\left[f(t_i)\Delta t\right] e^\text \end

Taking the limit as \(n\to\infty\text\) we obtain the following definite integral

\begin P = \int_0^T f(t) e^\,dt\text \end

We capture our result in the following theorem.

Theorem 3.16 . Present Value of a Continuous Money Flow.

Suppose that \(f(t)\) is the rate of money flow in dollars per unit of time that is earning interest compounded continuously at a rate \(r\) per unit of time over the time period \([0,T]\text<.>\) Then the present value \(P\) of this continuous money flow is

\begin P = \int_0^T f(t) e^\,dt\text \end

Before we develop the formula for the accumulated amount of a continuous money flow, we present one example of a present value problem.

Example 3.17 . Present Value.

A certain manufacturer produces industrial bread-making machines, which are estimated to generate a continuous income stream each with a rate of \(28 - 4.5t\) million dollars per year in year \(t\) of operation. Each machine is in operation for about 6 years and the money is invested at the annual rate of 5% compounded continuously. Compute the fair market price of each machine.

We assume that the fair market price of each machine is the present value of the continuous money flow with

\begin f(t) = 28-4.5t , \ r=0.05, \ \text < and >\ T=6\text \end

Therefore, the price \(P\) is given by

\begin P = \int_0^6 \left[28-4.5t\right]e^\,dt = \int_0^6 28e^\,dt -4.5\int_0^6 te^\,dt\text \end

The first integral can be computed directly

\begin \int_0^6 28e^\,dt = \left[-\frace^\right]_0^6 = 560\left(1-e^\right)\text \end

The second integral can be solved using Integration by Parts, with

\begin u=t, \ dv = e^ dt \implies du = dt, \ v = -\frace^ \end

\begin \begin P \amp = \int_0^6 \left[28-4.5t\right]e^\,dt \\ \amp = 560 \left(1-e^\right) - 4.5 \left(20-26e^\right) \\ \amp \approx 141.82, \end \end

and so the fair market price of each machine is about 142 million dollars.

Similarly, we can develop a formula for the of a continuous money flow. Again, we partition the interval \([0, T]\) into \(n\) subintervals of equal width \(\Delta t = \frac\) with endpoints \(t_i = \frac\text\) \(i=0,1,\dots,n\text<.>\) Now, the money that is deposited or paid during the \(i\)-th time interval stays in the account for the length of time \(T- t_i\text<.>\) Using our result from the beginning of this section about interest being earned compounded continuously, the future value \(F_i\) of the money flow over the \(i\)-th subinterval is approximately

\begin F_i = \left[f(t_i)\Delta t\right]e^\text \end

and so the total future value is again approximated by a Riemann sum, namely

\begin F \approx \sum_^n \left[f(t_i)\Delta t\right]e^\text \end

Taking the limit as \(n\to\infty\text\) the following definite integral is obtained

\begin F = \int_0^T f(t)e^\,dt\text \end

This leads to the following theorem.

Theorem 3.18 . Future Value of a Continuous Money Flow.

Suppose that \(f(t)\) is the rate of money flow in dollars per unit of time that is earning interest compounded continuously at a rate \(r\) per unit of time over the time period \([0,T]\text<.>\) Then the future value \(F\) of this continuous money flow is

\begin F = \int_0^T f(t)e^\,dt\text \end
Example 3.19 . Continuous Money Flow.

Suppose money is flowing continuously at a constant rate \(f(t)\) for 10 years at 8% interest compounded continuously accumulating to $20,000. Compute \(f(t)\text<.>\)

\begin F=20,000, \ r=0.08, \ \text < and >T=10\text \end

We can use the formula for the future value to solve for the rate \(f(t)\) of the continuous money flow:

\begin 20,000 = \int_0^ f(t) e^\,dt \end

Since the rate of money flow is constant, \(f(t)\) does not depend on \(t\text<.>\) Therefore, \(f(t)\) can be taken out of the integral as follows.

\begin \begin 20,000 \amp = f(t) \int_0^ e^\,dt \\ -0.08\cdot e^\cdot 20,000 \amp = f(t) \left[e^\right]_0^ \\ -0.08\cdot e^ \cdot 20,000 \amp = f(t) \left[e^-e^0\right] \\ f(t)\amp = \frac<\left[e^<0.8>-1\right]> \approx \$1305.55 \end \end

Example 3.20 . Total Income, Present and Future Values.

Suppose money is flowing continuously at a constant rate of $3500 per year for 10 years at 1.25% interest compounded continuously. Compute the following:

  1. total income;
  2. future value at \(T=10\) years;
  3. total interest; and
  4. present value.

We have that \(f(t) = 3500\text\) \(r=0.0125\text\) and \(T=10\text<.>\)

    The total income \(I\) is given by