# APEX Calculus

## Section7.5Work

Work is the scientific term used to describe the action of a force which moves an object. When a constant force $$F$$ is applied to move an object a distance $$d\text{,}$$ the amount of work performed is $$W=F\cdot d\text{.}$$
The SI unit of force is the newton; one newton is equal to one kg·ms2, and the SI unit of distance is a meter (m). The fundamental unit of work is one newton–meter, or a joule (J). That is, applying a force of one newton for one meter performs one joule of work. In Imperial units (as used in the United States), force is measured in pounds (lb) and distance is measured in feet (ft), hence work is measured in ft–lb.
When force is constant, the measurement of work is straightforward. For instance, lifting a 200 lb object 5 ft performs $$200\cdot 5 = 1000$$ ft–lb of work.
What if the force applied is variable? For instance, imagine a climber pulling a 200 ft rope up a vertical face. The rope becomes lighter as more is pulled in, requiring less force and hence the climber performs less work.

### Subsection7.5.1Work Done by a Variable Force

In general, let $$F(x)$$ be a force function on an interval $$[a,b]\text{.}$$ We want to measure the amount of work done applying the force $$F$$ from $$x=a$$ to $$x=b\text{.}$$ We can approximate the amount of work being done by partitioning $$[a,b]$$ into subintervals $$a=x_0\lt x_1 \lt \cdots \lt x_{n}=b$$ and assuming that $$F$$ is constant on each subinterval. Let $$c_i$$ be a value in the $$i$$th subinterval $$[x_{i-1},x_{i}]\text{.}$$ Then the work done on this interval is approximately $$W_i\approx F(c_i)\cdot(x_{i}-x_{i-1}) = F(c_i)\dx_i\text{,}$$ a constant force × the distance over which it is applied. The total work is
\begin{equation*} W = \sum_{i=1}^n W_i \approx \sum_{i=1}^n F(c_i)\dx_i\text{.} \end{equation*}
This, of course, is a Riemann sum. Taking a limit as the subinterval lengths go to zero gives an exact value of work which can be evaluated through a definite integral.

#### Key Idea7.5.1.Work.

Let $$F(x)$$ be a continuous function on $$[a,b]$$ describing the amount of force being applied to an object in the direction of travel from distance $$x=a$$ to distance $$x=b\text{.}$$ The total work $$W$$ done on $$[a,b]$$ is
\begin{equation*} W = \int_a^b F(x)\, dx\text{.} \end{equation*}

#### Example7.5.2.Computing work performed: applying variable force.

A 60 m climbing rope is hanging over the side of a tall cliff. How much work is performed in pulling the rope up to the top, where the rope has a linear mass density of 66 gm?
Solution.
We need to create a force function $$F(x)$$ on the interval $$[0,60]\text{.}$$ To do so, we must first decide what $$x$$ is measuring: is it the length of the rope still hanging or is it the amount of rope pulled in? As long as we are consistent, either approach is fine. We adopt for this example the convention that $$x$$ is the amount of rope pulled in. This seems to match intuition better; pulling up the first $$10$$ meters of rope involves $$x=0$$ to $$x=10$$ instead of $$x=60$$ to $$x=50\text{.}$$
As $$x$$ is the amount of rope pulled in, the amount of rope still hanging is $$60-x\text{.}$$ This length of rope has a mass of 66 gm or 0.066 kgm. The mass of the rope still hanging is $$0.066(60-x)$$ kg; multiplying this mass by the acceleration of gravity, 9.8 ms2, gives our variable force function
\begin{equation*} F(x) = (9.8)(0.066)(60-x) = 0.6468(60-x)\text{.} \end{equation*}
Thus the total work performed in pulling up the rope is
\begin{equation*} W = \int_0^{60} 0.6468(60-x)\, dx = 1,164.24 \,\text{J}\text{.} \end{equation*}
By comparison, consider the work done in lifting the entire rope $$60$$ meters. The rope weighs $$60\times 0.066 \times 9.8 = 38.808$$ N, so the work applying this force for $$60$$ meters is $$60\times 38.808 = 2,328.48$$ J. This is exactly twice the work calculated before (and we leave it to the reader to understand why.)

#### Example7.5.3.Computing work performed: applying variable force.

Consider again pulling a 60 m rope up a cliff face, where the rope has a mass of 66 gm. At what point is exactly half the work performed?
Solution.
From Example 7.5.2 we know the total work performed is $$1,164.24$$ J. We want to find a height $$h$$ such that the work in pulling the rope from a height of $$x=0$$ to a height of $$x=h$$ is $$582.12\text{,}$$ or half the total work. Thus we want to solve the equation
\begin{equation*} \int_0^h 0.6468(60-x)\, dx = 582.12 \end{equation*}
for $$h\text{.}$$
\begin{align*} \int_0^h 0.6468(60-x)\, dx \amp = 582.12\\ \left(38.808x-0.3234x^2\right)\Big|_0^h \amp =582.12\\ 38.808h-0.3234h^2 \amp =582.12\\ -0.3234h^2+38.808h-582.12 \amp =0 .\\ \end{align*}

\begin{align*} h\amp =17.57 \,\text{ and } \,102.43 \end{align*}
As the rope is only 60 m long, the only sensible answer is $$h=17.57\text{.}$$ Thus about half the work is done pulling up the first 17.57 m; the other half of the work is done pulling up the remaining 42.43 m.

#### Example7.5.4.Computing work performed: applying variable force.

A box of 100 lb of sand is being pulled up at a uniform rate a distance of 50 ft over $$1$$ minute. The sand is leaking from the box at a rate of 1 lbs. The box itself weighs 5 lb and is pulled by a rope weighing 0.2 lbft.
1. How much work is done lifting just the rope?
2. How much work is done lifting just the box and sand?
3. What is the total amount of work performed?
Solution.
1. We start by forming the force function $$F_r(x)$$ for the rope (where the subscript denotes we are considering the rope). As in the previous example, let $$x$$ denote the amount of rope, in feet, pulled in. (This is the same as saying $$x$$ denotes the height of the box.) The weight of the rope with $$x$$ feet pulled in is $$F_r(x) = 0.2(50-x) = 10-0.2x\text{.}$$ (Note that we do not have to include the acceleration of gravity here, for the weight of the rope per foot is given, not its mass per meter as before.) The work performed lifting the rope is
\begin{equation*} W_r = \int_0^{50} (10-0.2x)\, dx = 250\,\text{ft--lb}\text{.} \end{equation*}
2. The sand is leaving the box at a rate of 1 lbs. As the vertical trip is to take one minute, we know that 60 lb will have left when the box reaches its final height of 50 ft. Again letting $$x$$ represent the height of the box, we have two points on the line that describes the weight of the sand: when $$x=0\text{,}$$ the sand weight is 100 lb, producing the point $$(0,100)\text{;}$$ when $$x=50\text{,}$$ the sand in the box weighs 40 lb, producing the point $$(50,40)\text{.}$$ The slope of this line is $$\frac{100-40}{0-50} = -1.2\text{,}$$ giving the equation of the weight of the sand at height $$x$$ as $$w(x) = -1.2x+100\text{.}$$ The box itself weighs a constant 5 lb, so the total force function is $$F_b(x) = -1.2x+105\text{.}$$ Integrating from $$x=0$$ to $$x=50$$ gives the work performed in lifting box and sand:
\begin{equation*} W_b = \int_0^{50} (-1.2x+105)\, dx = 3750\,\text{ft--lb}\text{.} \end{equation*}
3. The total work is the sum of $$W_r$$ and $$W_b\text{:}$$ $$250+3750=4000$$ ft–lb. We can also arrive at this via integration:
\begin{align*} W \amp = \int_0^{50} (F_r(x)+F_b(x))\, dx\\ \amp = \int_0^{50} (10-0.2x-1.2x+105)\, dx\\ \amp = \int_0^{50} (-1.4x+115) \, dx\\ \amp = 4000 \,\text{ft--lb}\text{.} \end{align*}

### Subsection7.5.2Hooke’s Law and Springs

Hooke’s Law states that the force required to compress or stretch a spring $$x$$ units from its natural length is proportional to $$x\text{;}$$ that is, this force is $$F(x) = kx$$ for some constant $$k\text{.}$$ For example, if a force of 1 N stretches a given spring 2 cm, then a force of 5 N will stretch the spring 10 cm. Converting the distances to meters, we have that stretching this spring 0.02 cm requires a force of $$F(0.02) = k(0.02) = 1$$ N, hence $$k = 1/0.02 = 50$$ Nm.

#### Example7.5.5.Computing work performed: stretching a spring.

A force of 20 lb stretches a spring from a natural length of $$7$$ inches to a length of $$12$$ inches. How much work was performed in stretching the spring to this length?
Solution.
In many ways, we are not at all concerned with the actual length of the spring, only with the amount of its change. Hence, we do not care that 20 lb of force stretches the spring to a length of $$12$$ inches, but rather that a force of 20 lb stretches the spring by $$5$$ inches. This is illustrated in Figure 7.5.6; we only measure the change in the spring’s length, not the overall length of the spring.
Converting the units of length to feet, we have
\begin{equation*} F(5/12) = 5/12k = 20\,\text{lb}\text{.} \end{equation*}
Thus $$k = 48$$ lbft and $$F(x) = 48x\text{.}$$
We compute the total work performed by integrating $$F(x)$$ from $$x=0$$ to $$x=5/12\text{:}$$
\begin{align*} W \amp = \int_0^{5/12} 48x \, dx\\ \amp = 24x^2\Big|_0^{5/12}\\ \amp = 25/6 \approx 4.1667\,\text{ft--lb}\text{.} \end{align*}

### Subsection7.5.3Pumping Fluids

Another useful example of the application of integration to compute work comes in the pumping of fluids, often illustrated in the context of emptying a storage tank by pumping the fluid out the top. This situation is different than our previous examples for the forces involved are constant. After all, the force required to move one cubic foot of water (about 62.4 lb ) is the same regardless of its location in the tank. What is variable is the distance that cubic foot of water has to travel; water closer to the top travels less distance than water at the bottom, producing less work.
We demonstrate how to compute the total work done in pumping a fluid out of the top of a tank in the next two examples.

#### Example7.5.8.Computing work performed: pumping fluids.

A cylindrical storage tank with a radius of 10 ft and a height of 30 ft is filled with water, which weighs approximately 62.4 lbft3. Compute the amount of work performed by pumping the water up to a point $$5$$ feet above the top of the tank.
Solution.
We will refer often to Figure 7.5.9 which illustrates the salient aspects of this problem.
We start as we often do: we partition an interval into subintervals. We orient our tank vertically since this makes intuitive sense with the base of the tank at $$y=0\text{.}$$ Hence the top of the water is at $$y=30\text{,}$$ meaning we are interested in subdividing the $$y$$-interval $$[0,30]$$ into $$n$$ subintervals as
\begin{equation*} 0 = y_0 \lt y_1 \lt \cdots \lt y_{n} = 30\text{.} \end{equation*}
Consider the work $$W_i$$ of pumping only the water residing in the $$i$$th subinterval, illustrated in Figure 7.5.9. The force required to move this water is equal to its weight which we calculate as volume × density. The volume of water in this subinterval is $$V_i = 10^2\pi \Delta y_i\text{;}$$ its density is 62.4 lbft3. Thus the required force is $$6240\pi\Delta y_i$$ lb.
We approximate the distance the force is applied by using any $$y$$-value contained in the $$i$$th subinterval; for simplicity, we arbitrarily use $$y_i$$ for now (it will not matter later on). The water will be pumped to a point $$5$$ feet above the top of the tank, that is, to the height of $$y=35$$ ft. Thus the distance the water at height $$y_i$$ travels is $$35-y_i$$ ft.
In all, the approximate work $$W_i$$ performed in moving the water in the $$i$$th subinterval to a point $$5$$ feet above the tank is
\begin{equation*} W_i \approx 6240\pi\Delta y_i(35-y_i)\text{.} \end{equation*}
To approximate the total work performed in pumping out all the water from the tank, we sum all the work $$W_i$$ performed in pumping the water from each of the $$n$$ subintervals of $$[0,30]\text{:}$$
\begin{equation*} W \approx \sum_{i=1}^n W_i = \sum_{i=1}^n 6240\pi\Delta y_i(35-y_i)\text{.} \end{equation*}
This is a Riemann sum. Taking the limit as the subinterval length goes to 0 gives
\begin{align*} W \amp = \int_0^{30} 6240\pi(35-y)\, dy\\ \amp = 6240\pi\left(35y-1/2y^2\right)\Big|_0^{30}\\ \amp = 11,762,123 \,\text{ft--lb}\\ \amp \approx 1.176 \times 10^7 \,\text{ft--lb} \text{.} \end{align*}
We can “streamline” the above process a bit as we may now recognize what the important features of the problem are. Figure 7.5.10 shows the tank from Example 7.5.8 without the $$i$$th subinterval identified.
Instead, we just draw one differential element. This helps establish the height a small amount of water must travel along with the force required to move it (where the force is volume × density).
We demonstrate the concepts again in the next examples.

#### Example7.5.11.Computing work performed: pumping fluids.

A conical water tank has its top at ground level and its base 10 feet below ground. The radius of the cone at ground level is 2 ft. It is filled with water weighing 62.4 lbft3 and is to be emptied by pumping the water to a spigot 3 feet above ground level. Find the total amount of work performed in emptying the tank.
Solution.
The conical tank is sketched in Figure 7.5.12. We can orient the tank in a variety of ways; we could let $$y=0$$ represent the base of the tank and $$y=10$$ represent the top of the tank, but we choose to keep the convention of the wording given in the problem and let $$y=0$$ represent ground level and hence $$y=-10$$ represents the bottom of the tank. The actual “height” of the water does not matter; rather, we are concerned with the distance the water travels.
The figure also sketches a differential element, a cross-sectional circle. The radius of this circle is variable, depending on $$y\text{.}$$ When $$y=-10\text{,}$$ the circle has radius 0; when $$y=0\text{,}$$ the circle has radius 2. These two points, $$(-10,0)$$ and $$(0,2)\text{,}$$ allow us to find the equation of the line that gives the radius of the cross-sectional circle, which is $$r(y) = 1/5y+2\text{.}$$ Hence the volume of water at this height is $$V(y)=\pi(1/5y+2)^2dy\text{,}$$ where $$dy$$ represents a very small height of the differential element. The force required to move the water at height $$y$$ is $$F(y) = 62.4\times V(y)\text{.}$$
The distance the water at height $$y$$ travels is given by $$h(y)=3-y\text{.}$$ Thus the total work done in pumping the water from the tank is
\begin{align*} W \amp = \int_{-10}^0 62.4\pi(1/5y+2)^2(3-y)\, dy\\ \amp = 62.4\pi\int_{-10}^0\left(-\frac1{25}y^3-\frac{17}{25}y^2-\frac85y+12\right)\, dy\\ \amp = 62.2\pi\cdot\frac{220}{3} \approx 14,376 \text{ft--lb}\text{.} \end{align*}

#### Example7.5.13.Computing work performed: pumping fluids.

A rectangular swimming pool is 20 ft wide and has a 3 ft “shallow end” and a 6 ft “deep end.” It is to have its water pumped out to a point 2 ft above the current top of the water. The cross-sectional dimensions of the water in the pool are given in Figure 7.5.14; note that the dimensions are for the water, not the pool itself. Compute the amount of work performed in draining the pool.
Solution.
For the purposes of this problem we choose to set $$y=0$$ to represent the bottom of the pool, meaning the top of the water is at $$y=6\text{.}$$
Figure 7.5.15 shows the pool oriented with this $$y$$-axis, along with 2 differential elements as the pool must be split into two different regions.
The top region lies in the $$y$$-interval of $$[3,6]\text{,}$$ where the length of the differential element is 25 ft as shown. As the pool is 20 ft wide, this differential element represents a thin slice of water with volume $$V(y) = 20\cdot25\cdot dy\text{.}$$ The water is to be pumped to a height of $$y=8\text{,}$$ so the height function is $$h(y) = 8-y\text{.}$$ The work done in pumping this top region of water is
\begin{equation*} W_t = 62.4\int_3^6 500(8-y)\, dy = 327,600 \,\text{ft--lb}\text{.} \end{equation*}
The bottom region lies in the $$y$$-interval of $$[0,3]\text{;}$$ we need to compute the length of the differential element in this interval.
One end of the differential element is at $$x=0$$ and the other is along the line segment joining the points $$(10,0)$$ and $$(15,3)\text{.}$$ The equation of this line is $$y= 3/5(x-10)\text{;}$$ as we will be integrating with respect to $$y\text{,}$$ we rewrite this equation as $$x=5/3y+10\text{.}$$ So the length of the differential element is a difference of $$x$$-values: $$x=0$$ and $$x=5/3y+10\text{,}$$ giving a length of $$x=5/3y+10\text{.}$$
Again, as the pool is 20 ft wide, this differential element represents a thin slice of water with volume $$V(y) = 20\cdot(5/3y+10)\cdot dy\text{;}$$ the height function is the same as before at $$h(y)=8-y\text{.}$$ The work performed in emptying this part of the pool is
\begin{equation*} W_b = 62.4\int_0^3 20(5/3y+10)(8-y)\, dy = 299,520\,\text{ft--lb}\text{.} \end{equation*}
The total work in empyting the pool is
\begin{equation*} W = W_b+W_t = 327,600+299,520 = 627,120\,\text{ft--lb}\text{.} \end{equation*}
Notice how the emptying of the bottom of the pool performs almost as much work as emptying the top. The top portion travels a shorter distance but has more water. In the end, this extra water produces more work.
The next section introduces one final application of the definite integral, the calculation of fluid force on a plate.

### Exercises7.5.4Exercises

#### Terms and Concepts

##### 1.
What are the typical units of work?
##### 2.
If a man has a mass of 80 kg on Earth, will his mass on the moon be bigger, smaller, or the same?
##### 3.
If a woman weighs 130 lb on Earth, will her weight on the moon be bigger, smaller, or the same?
##### 4.
Fill in the blanks:
Some integrals in this section are set up by multiplying a variable by a constant distance; others are set up by multiplying a constant force by a variable .

#### Problems

##### 5.
A 100 ft rope, weighing 0.1 lbft, hangs over the edge of a tall building.
###### (a)
How much work is done pulling the entire rope to the top of the building?
###### (b)
How much rope is pulled in when half of the total work is done?
##### 6.
A 50 m rope, with a mass density of 0.2 kgm, hangs over the edge of a tall building.
###### (a)
How much work is done pulling the entire rope to the top of the building?
###### (b)
How much work is done pulling in the first 20 m?
##### 7.
A rope of length $$\ell$$ ft hangs over the edge of tall cliff. (Assume the cliff is taller than the length of the rope.) The rope has a weight density of $$d$$ lbft.
###### (a)
How much work is done pulling the entire rope to the top of the cliff?
###### (b)
What percentage of the total work is done pulling in the first half of the rope?
###### (c)
How much rope is pulled in when half of the total work is done?
##### 8.
A 20 m rope with mass density of 0.5 kgm hangs over the edge of a 10 m building. How much work is done pulling the rope to the top?
##### 9.
A crane lifts a 2000 lb load vertically 30 ft with a 1 in cable weighing 1.68 lbft.
###### (a)
How much work is done lifting the cable alone?
###### (b)
How much work is done lifting the load alone?
###### (c)
Could one conclude that the work done lifting the cable is negligible compared to the work done lifting the load?
##### 10.
A100 lb bag of sand is lifted uniformly 120 ft in one minute. Sand leaks from the bag at a rate of 1/4 lbs. What is the total work done in lifting the bag?
##### 11.
A box weighing 2 lb lifts 10 lb of sand vertically 50 ft. A crack in the box allows the sand to leak out such that 9 lb of sand is in the box at the end of the trip. Assume the sand leaked out at a uniform rate. What is the total work done in lifting the box and sand?
##### 12.
A force of 1000 lb compresses a spring 3 in. How much work is performed in compressing the spring?
##### 13.
A force of 2 N stretches a spring 5 cm. How much work is performed in stretching the spring?
##### 14.
A force of 50 lb compresses a spring from a natural length of 18 in to 12 in. How much work is performed in compressing the spring?
##### 15.
A force of 20 lb stretches a spring from a natural length of 6 in to 8 in. How much work is performed in stretching the spring?
##### 16.
A force of 7 N stretches a spring from a natural length of 11 cm to 21 cm. How much work is performed in stretching the spring from a length of 16 cm to 21 cm?
##### 17.
A force of $$f$$ N stretches a spring $$d$$ m from its natural length. How much work is performed in stretching the spring?
##### 18.
A 20 lb weight is attached to a spring. The weight rests on the spring, compressing the spring from a natural length of 1 ft to 6 in.
How much work is done in lifting the box 1.5 ft (i.e, the spring will be stretched 1 ft beyond its natural length)?
##### 19.
A 20 lb weight is attached to a spring. The weight rests on the spring, compressing the spring from a natural length of 1 ft to 6 in.
How much work is done in lifting the box 6 in (i.e, bringing the spring back to its natural length)?
##### 20.
A 5 m tall cylindrical tank with radius of 2 m is filled with 3 m of gasoline, with a mass density of 737.22 kgm3. Compute the total work performed in pumping all the gasoline to the top of the tank.
##### 21.
A 6 ft cylindrical tank with a radius of 3 ft is filled with water, which has a weight density of 62.4 lbft3. The water is to be pumped to a point 2 ft above the top of the tank.
###### (a)
How much work is performed in pumping all the water from the tank?
###### (b)
How much work is performed in pumping 3 ft of water from the tank?
###### (c)
At what point is 1/2 of the total work done?
##### 22.
A gasoline tanker is filled with gasoline with a weight density of 45.93 lbft3. The dispensing valve at the base is jammed shut, forcing the operator to empty the tank via pumping the gas to a point 1 ft above the top of the tank. Assume the tank is a perfect cylinder, 20 ft long with a diameter of 7.5 ft. How much work is performed in pumping all the gasoline from the tank?
##### 23.
A fuel oil storage tank is 10 ft deep with trapezoidal sides, 5 ft at the top and 2 ft at the bottom, and is 15 ft wide (see diagram below). Given that fuel oil weighs 55.46 lbft3, find the work performed in pumping all the oil from the tank to a point 3 ft above the top of the tank.
##### 24.
A conical water tank is 5 m deep with a top radius of 3 m. (This is similar to Example 7.5.11.) The tank is filled with pure water, with a mass density of 1000 kgm3.
###### (a)
Find the work performed in pumping all the water to the top of the tank.
###### (b)
Find the work performed in pumping the top 2.5 m of water to the top of the tank.
###### (c)
Find the work performed in pumping the top half of the water, by volume, to the top of the tank.
##### 25.
A water tank has the shape of a truncated cone, with dimensions given below, and is filled with water with a weight density of 62.4 lbft3. Find the work performed in pumping all water to a point 1 ft above the top of the tank.
##### 26.
A water tank has the shape of an inverted pyramid, with dimensions given below, and is filled with water with a mass density of 1000 kgm3. Find the work performed in pumping all water to a point 5 m above the top of the tank.
##### 27.
A water tank has the shape of an truncated, inverted pyramid, with dimensions given below, and is filled with water with a mass density of 1000 kgm3. Find the work performed in pumping all water to a point 1 m above the top of the tank.