### Learning Objectives

- 5.3.1 Describe the meaning of the Mean Value Theorem for Integrals.
- 5.3.2 State the meaning of the Fundamental Theorem of Calculus, Part 1.
- 5.3.3 Use the Fundamental Theorem of Calculus, Part 1, to evaluate derivatives of integrals.
- 5.3.4 State the meaning of the Fundamental Theorem of Calculus, Part 2.
- 5.3.5 Use the Fundamental Theorem of Calculus, Part 2, to evaluate definite integrals.
- 5.3.6 Explain the relationship between differentiation and integration.

In the previous two sections, we looked at the definite integral and its relationship to the area under the curve of a function. Unfortunately, so far, the only tools we have available to calculate the value of a definite integral are geometric area formulas and limits of Riemann sums, and both approaches are extremely cumbersome. In this section we look at some more powerful and useful techniques for evaluating definite integrals.

These new techniques rely on the relationship between differentiation and integration. This relationship was discovered and explored by both Sir Isaac Newton and Gottfried Wilhelm Leibniz (among others) during the late 1600s and early 1700s, and it is codified in what we now call the Fundamental Theorem of Calculus, which has two parts that we examine in this section. Its very name indicates how central this theorem is to the entire development of calculus.

### Media

Isaac Newton’s contributions to mathematics and physics changed the way we look at the world. The relationships he discovered, codified as Newton’s laws and the law of universal gravitation, are still taught as foundational material in physics today, and his calculus has spawned entire fields of mathematics. To learn more, read a brief biography of Newton with multimedia clips.

Before we get to this crucial theorem, however, let’s examine another important theorem, the Mean Value Theorem for Integrals, which is needed to prove the Fundamental Theorem of Calculus.

### The Mean Value Theorem for Integrals

The Mean Value Theorem for Integrals states that a continuous function on a closed interval takes on its average value at some point in that interval. The theorem guarantees that if $f\left(x\right)$ is continuous, a point *c* exists in an interval $\left[a,b\right]$ such that the value of the function at *c* is equal to the average value of $f\left(x\right)$ over $\left[a,b\right].$ We state this theorem mathematically with the help of the formula for the average value of a function that we presented at the end of the preceding section.

#### The Mean Value Theorem for Integrals

If $f\left(x\right)$ is continuous over an interval $\left[a,b\right],$ then there is at least one point $c\in \left[a,b\right]$ such that

This formula can also be stated as

#### Proof

Since $f\left(x\right)$ is continuous on $\left[a,b\right],$ by the extreme value theorem (see Maxima and Minima), it assumes minimum and maximum values—*m* and *M*, respectively—on $\left[a,b\right].$ Then, for all *x* in $\left[a,b\right],$ we have $m\le f\left(x\right)\le M.$ Therefore, by the comparison theorem (see The Definite Integral), we have

Dividing by $b-a$ gives us

Since $\frac{1}{b-a}{\displaystyle {\int}_{a}^{b}f}\left(x\right)dx$ is a number between *m* and *M*, and since $f\left(x\right)$ is continuous and assumes the values *m* and *M* over $\left[a,b\right],$ by the Intermediate Value Theorem (see Continuity), there is a number *c* over $\left[a,b\right]$ such that

and the proof is complete.

□

### Example 5.15

#### Finding the Average Value of a Function

Find the average value of the function $f\left(x\right)=8-2x$ over the interval $\left[0,4\right]$ and find *c* such that $f\left(c\right)$ equals the average value of the function over $[0,4].$

### Checkpoint 5.14

Find the average value of the function $f\left(x\right)=\frac{x}{2}$ over the interval $\left[0,6\right]$ and find *c* such that $f\left(c\right)$ equals the average value of the function over $[0,6].$

### Example 5.16

#### Finding the Point Where a Function Takes on Its Average Value

Given ${\int}_{0}^{3}{x}^{2}dx}=9,$ find *c* such that $f\left(c\right)$ equals the average value of $f(x)={x}^{2}$ over $[0,3].$

### Checkpoint 5.15

Given ${\int}_{0}^{3}\left(2{x}^{2}-1\right)dx}=15,$ find *c* such that $f\left(c\right)$ equals the average value of $f(x)=2{x}^{2}-1$ over $[0,3].$

### Fundamental Theorem of Calculus Part 1: Integrals and Antiderivatives

As mentioned earlier, the Fundamental Theorem of Calculus is an extremely powerful theorem that establishes the relationship between differentiation and integration, and gives us a way to evaluate definite integrals without using Riemann sums or calculating areas. The theorem is comprised of two parts, the first of which, the Fundamental Theorem of Calculus, Part 1, is stated here. Part 1 establishes the relationship between differentiation and integration.

#### Fundamental Theorem of Calculus, Part 1

If $f\left(x\right)$ is continuous over an interval $\left[a,b\right],$ and the function $F\left(x\right)$ is defined by

then ${F}^{\prime}\text{(}x)=f\left(x\right)$ over $\left[a,b\right].$

Before we delve into the proof, a couple of subtleties are worth mentioning here. First, a comment on the notation. Note that we have defined a function, $F\left(x\right),$ as the definite integral of another function, $f\left(t\right),$ from the point *a* to the point *x*. At first glance, this is confusing, because we have said several times that a definite integral is a number, and here it looks like it’s a function. The key here is to notice that for any particular value of *x*, the definite integral is a number. So the function $F\left(x\right)$ returns a number (the value of the definite integral) for each value of *x*.

Second, it is worth commenting on some of the key implications of this theorem. There is a reason it is called the *Fundamental* Theorem of Calculus. Not only does it establish a relationship between integration and differentiation, but also it guarantees that any integrable function has an antiderivative. Specifically, it guarantees that any continuous function has an antiderivative.

#### Proof

Applying the definition of the derivative, we have

Looking carefully at this last expression, we see $\frac{1}{h}{\displaystyle {\int}_{x}^{x+h}f\left(t\right)dt}$ is just the average value of the function $f\left(x\right)$ over the interval $\left[x,x+h\right].$ Therefore, by The Mean Value Theorem for Integrals, there is some number *c* in $\left[x,x+h\right]$ such that

In addition, since *c* is between *x* and *x* + *h*, *c* approaches *x* as *h* approaches zero. Also, since $f\left(x\right)$ is continuous, we have $\underset{h\to 0}{\text{lim}}f\left(c\right)=\underset{c\to x}{\text{lim}}f\left(c\right)=f\left(x\right).$ Putting all these pieces together, we have

and the proof is complete.

□

### Example 5.17

#### Finding a Derivative with the Fundamental Theorem of Calculus

Use the Fundamental Theorem of Calculus, Part 1 to find the derivative of

### Checkpoint 5.16

Use the Fundamental Theorem of Calculus, Part 1 to find the derivative of $g\left(r\right)={\displaystyle {\int}_{0}^{r}\sqrt{{x}^{2}+4}dx}.$

### Example 5.18

#### Using the Fundamental Theorem and the Chain Rule to Calculate Derivatives

Let $F\left(x\right)={\displaystyle {\int}_{1}^{\sqrt{x}}\text{sin}\phantom{\rule{0.1em}{0ex}}tdt}.$ Find ${F}^{\prime}\text{(}x).$

### Checkpoint 5.17

Let $F\left(x\right)={\displaystyle {\int}_{1}^{{x}^{3}}\text{cos}\phantom{\rule{0.1em}{0ex}}tdt}.$ Find ${F}^{\prime}\text{(}x).$

### Example 5.19

#### Using the Fundamental Theorem of Calculus with Two Variable Limits of Integration

Let $F\left(x\right)={\displaystyle {\int}_{x}^{2x}{t}^{3}dt}.$ Find ${F}^{\prime}\text{(}x).$

### Checkpoint 5.18

Let $F\left(x\right)={\displaystyle {\int}_{x}^{{x}^{2}}\text{cos}\phantom{\rule{0.1em}{0ex}}tdt}.$ Find ${F}^{\prime}\text{(}x).$

### Fundamental Theorem of Calculus, Part 2: The Evaluation Theorem

The Fundamental Theorem of Calculus, Part 2, is perhaps the most important theorem in calculus. After tireless efforts by mathematicians for approximately 500 years, new techniques emerged that provided scientists with the necessary tools to explain many phenomena. Using calculus, astronomers could finally determine distances in space and map planetary orbits. Everyday financial problems such as calculating marginal costs or predicting total profit could now be handled with simplicity and accuracy. Engineers could calculate the bending strength of materials or the three-dimensional motion of objects. Our view of the world was forever changed with calculus.

After finding approximate areas by adding the areas of *n* rectangles, the application of this theorem is straightforward by comparison. It almost seems too simple that the area of an entire curved region can be calculated by just evaluating an antiderivative at the first and last endpoints of an interval.

#### The Fundamental Theorem of Calculus, Part 2

If *f* is continuous over the interval $\left[a,b\right]$ and $F\left(x\right)$ is any antiderivative of $f\left(x\right),$ then

We often see the notation ${F\left(x\right)|}_{a}^{b}$ to denote the expression $F\left(b\right)-F\left(a\right).$ We use this vertical bar and associated limits *a* and *b* to indicate that we should evaluate the function $F\left(x\right)$ at the upper limit (in this case, *b*), and subtract the value of the function $F\left(x\right)$ evaluated at the lower limit (in this case, *a*).

The Fundamental Theorem of Calculus, Part 2 (also known as the evaluation theorem) states that if we can find an antiderivative for the integrand, then we can evaluate the definite integral by evaluating the antiderivative at the endpoints of the interval and subtracting.

#### Proof

Let $P=\left\{{x}_{i}\right\},i=0,1\text{,\u2026,}\phantom{\rule{0.2em}{0ex}}n$ be a regular partition of $\left[a,b\right].$ Then, we can write

Now, we know *F* is an antiderivative of *f* over $\left[a,b\right],$ so by the Mean Value Theorem (see The Mean Value Theorem) for $i=0,1\text{,\u2026,}\phantom{\rule{0.2em}{0ex}}n$ we can find ${c}_{i}$ in $\left[{x}_{i-1},{x}_{i}\right]$ such that

Then, substituting into the previous equation, we have

Taking the limit of both sides as $n\to \infty ,$ we obtain

□

### Example 5.20

#### Evaluating an Integral with the Fundamental Theorem of Calculus

Use The Fundamental Theorem of Calculus, Part 2 to evaluate

### Example 5.21

#### Evaluating a Definite Integral Using the Fundamental Theorem of Calculus, Part 2

Evaluate the following integral using the Fundamental Theorem of Calculus, Part 2:

### Checkpoint 5.19

Use The Fundamental Theorem of Calculus, Part 2 to evaluate ${\int}_{1}^{2}{x}^{\mathrm{-4}}dx}.$

### Example 5.22

#### A Roller-Skating Race

James and Kathy are racing on roller skates. They race along a long, straight track, and whoever has gone the farthest after 5 sec wins a prize. If James can skate at a velocity of $f\left(t\right)=5+2t$ ft/sec and Kathy can skate at a velocity of $g\left(t\right)=10+\text{cos}\left(\frac{\pi}{2}t\right)$ ft/sec, who is going to win the race?

### Checkpoint 5.20

Suppose James and Kathy have a rematch, but this time the official stops the contest after only 3 sec. Does this change the outcome?

### Student Project

#### A Parachutist in Free Fall

Julie is an avid skydiver. She has more than 300 jumps under her belt and has mastered the art of making adjustments to her body position in the air to control how fast she falls. If she arches her back and points her belly toward the ground, she reaches a terminal velocity of approximately 120 mph (176 ft/sec). If, instead, she orients her body with her head straight down, she falls faster, reaching a terminal velocity of 150 mph (220 ft/sec).

Since Julie will be moving (falling) in a downward direction, we assume the downward direction is positive to simplify our calculations. Julie executes her jumps from an altitude of 12,500 ft. After she exits the aircraft, she immediately starts falling at a velocity given by $v\left(t\right)=32t.$ She continues to accelerate according to this velocity function until she reaches terminal velocity. After she reaches terminal velocity, her speed remains constant until she pulls her ripcord and slows down to land.

On her first jump of the day, Julie orients herself in the slower “belly down” position (terminal velocity is 176 ft/sec). Using this information, answer the following questions.

- How long after she exits the aircraft does Julie reach terminal velocity?
- Based on your answer to question 1, set up an expression involving one or more integrals that represents the distance Julie falls after 30 sec.
- If Julie pulls her ripcord at an altitude of 3000 ft, how long does she spend in a free fall?
- Julie pulls her ripcord at 3000 ft. It takes 5 sec for her parachute to open completely and for her to slow down, during which time she falls another 400 ft. After her canopy is fully open, her speed is reduced to 16 ft/sec. Find the total time Julie spends in the air, from the time she leaves the airplane until the time her feet touch the ground.

On Julie’s second jump of the day, she decides she wants to fall a little faster and orients herself in the “head down” position. Her terminal velocity in this position is 220 ft/sec. Answer these questions based on this velocity: - How long does it take Julie to reach terminal velocity in this case?
- Before pulling her ripcord, Julie reorients her body in the “belly down” position so she is not moving quite as fast when her parachute opens. If she begins this maneuver at an altitude of 4000 ft, how long does she spend in a free fall before beginning the reorientation?

Some jumpers wear “wingsuits” (see Figure 5.31). These suits have fabric panels between the arms and legs and allow the wearer to glide around in a free fall, much like a flying squirrel. (Indeed, the suits are sometimes called “flying squirrel suits.”) When wearing these suits, terminal velocity can be reduced to about 30 mph (44 ft/sec), allowing the wearers a much longer time in the air. Wingsuit flyers still use parachutes to land; although the vertical velocities are within the margin of safety, horizontal velocities can exceed 70 mph, much too fast to land safely.

Answer the following question based on the velocity in a wingsuit.

- If Julie dons a wingsuit before her third jump of the day, and she pulls her ripcord at an altitude of 3000 ft, how long does she get to spend gliding around in the air?

### Section 5.3 Exercises

Consider two athletes running at variable speeds ${v}_{1}\left(t\right)$ and ${v}_{2}\left(t\right).$ The runners start and finish a race at exactly the same time. Explain why the two runners must be going the same speed at some point.

Two mountain climbers start their climb at base camp, taking two different routes, one steeper than the other, and arrive at the peak at exactly the same time. Is it necessarily true that, at some point, both climbers increased in altitude at the same rate?

To get on a certain toll road a driver has to take a card that lists the mile entrance point. The card also has a timestamp. When going to pay the toll at the exit, the driver is surprised to receive a speeding ticket along with the toll. Explain how this can happen.

Set $F\left(x\right)={\displaystyle {\int}_{1}^{x}\left(1-t\right)dt}.$ Find ${F}^{\prime}\text{(}2)$ and the average value of ${F}^{\text{\u2032}}$ over $\left[1,2\right].$

In the following exercises, use the Fundamental Theorem of Calculus, Part 1, to find each derivative.

$\frac{d}{dx}{\displaystyle {\int}_{1}^{x}{e}^{\text{\u2212}{t}^{2}}dt}$

$\frac{d}{dx}{\displaystyle {\int}_{3}^{x}\sqrt{9-{y}^{2}}dy}$

$\frac{d}{dx}{\displaystyle {\int}_{x}^{2x}tdt}$

$\frac{d}{dx}{\displaystyle {\int}_{0}^{\text{sin}\phantom{\rule{0.1em}{0ex}}x}\sqrt{1-{t}^{2}}dt}$

$\frac{d}{dx}{\displaystyle {\int}_{\text{cos}\phantom{\rule{0.1em}{0ex}}x}^{1}\sqrt{1-{t}^{2}}dt}$

$\frac{d}{dx}{\displaystyle {\int}_{1}^{\sqrt{x}}\frac{{t}^{2}}{1+{t}^{4}}dt}$

$\frac{d}{dx}{\displaystyle {\int}_{0}^{\text{ln}\phantom{\rule{0.1em}{0ex}}x}{e}^{t}dt}$

The graph of $y={\displaystyle {\int}_{0}^{x}f(t)dt,}$ where *f* is a piecewise constant function, is shown here.

- Over which intervals is
*f*positive? Over which intervals is it negative? Over which intervals, if any, is it equal to zero? - What are the maximum and minimum values of
*f*? - What is the average value of
*f*?

The graph of $y={\displaystyle {\int}_{0}^{x}f(t)dt,}$ where *f* is a piecewise constant function, is shown here.

- Over which intervals is
*f*positive? Over which intervals is it negative? Over which intervals, if any, is it equal to zero? - What are the maximum and minimum values of
*f*? - What is the average value of
*f*?

The graph of $y={\displaystyle {\int}_{0}^{x}\ell (t)dt,}$ where *ℓ* is a piecewise linear function, is shown here.

- Over which intervals is
*ℓ*positive? Over which intervals is it negative? Over which, if any, is it zero? - Over which intervals is
*ℓ*increasing? Over which is it decreasing? Over which, if any, is it constant? - What is the average value of
*ℓ*?

The graph of $y={\displaystyle {\int}_{0}^{x}\ell (t)dt,}$ where *ℓ* is a piecewise linear function, is shown here.

- Over which intervals is
*ℓ*positive? Over which intervals is it negative? Over which, if any, is it zero? - Over which intervals is
*ℓ*increasing? Over which is it decreasing? Over which intervals, if any, is it constant? - What is the average value of
*ℓ*?

In the following exercises, use a calculator to estimate the area under the curve by computing *T*_{10}, the average of the left- and right-endpoint Riemann sums using $N=10$ rectangles. Then, using the Fundamental Theorem of Calculus, Part 2, determine the exact area.

**[T]** $y={x}^{2}$ over $\left[0,4\right]$

**[T]** $y=\sqrt{{x}^{3}}$ over $\left[0,6\right]$

**[T]** $\int (\text{cos}\phantom{\rule{0.1em}{0ex}}x-\text{sin}\phantom{\rule{0.1em}{0ex}}x)dx$ over $\left[0,\pi \right]$

In the following exercises, evaluate each definite integral using the Fundamental Theorem of Calculus, Part 2.

${\int}_{\mathrm{-1}}^{2}\left({x}^{2}-3x\right)dx$

${\int}_{\mathrm{-2}}^{3}\left(t+2\right)\left(t-3\right)dt$

${\int}_{1}^{2}{x}^{9}dx$

${\int}_{4}^{8}\left(4{t}^{5\text{/}2}-3{t}^{3\text{/}2}\right)dt$

${\int}_{1}^{2}\frac{2}{{x}^{3}}dx$

${\int}_{1}^{4}\frac{2-\sqrt{t}}{{t}^{2}}dt$

${\int}_{0}^{2\pi}\text{cos}\phantom{\rule{0.1em}{0ex}}\theta d\theta$

${\int}_{0}^{\pi \text{/}4}{\text{sec}}^{2}\theta d\theta$

${\int}_{0}^{\pi \text{/}4}\text{sec}\phantom{\rule{0.1em}{0ex}}\theta \phantom{\rule{0.1em}{0ex}}\text{tand}\phantom{\rule{0.1em}{0ex}}\theta$

${\int}_{\pi \text{/}3}^{\pi \text{/}4}\text{csc}\phantom{\rule{0.1em}{0ex}}\theta \phantom{\rule{0.1em}{0ex}}\text{cot}\phantom{\rule{0.1em}{0ex}}\theta d\theta$

${\int}_{1}^{2}\left(\frac{1}{{t}^{2}}-\frac{1}{{t}^{3}}\right)dt$

In the following exercises, use the evaluation theorem to express the integral as a function $F(x).$

${\int}_{a}^{x}{t}^{2}dt$

${\int}_{0}^{x}\text{cos}\phantom{\rule{0.1em}{0ex}}tdt$

In the following exercises, identify the roots of the integrand to remove absolute values, then evaluate using the Fundamental Theorem of Calculus, Part 2.

${\int}_{\mathrm{-2}}^{3}\left|x\right|dx$

${\int}_{0}^{\pi}\left|\text{cos}\phantom{\rule{0.1em}{0ex}}t\right|dt$

${\int}_{\text{\u2212}\pi \text{/}2}^{\pi \text{/}2}\left|\text{sin}\phantom{\rule{0.1em}{0ex}}t\right|dt$

Suppose that the number of hours of daylight on a given day in Seattle is modeled by the function $\mathrm{-3.75}\phantom{\rule{0.1em}{0ex}}\text{cos}\left(\frac{\pi t}{6}\right)+12.25,$ with *t* given in months and $t=0$ corresponding to the winter solstice.

- What is the average number of daylight hours in a year?
- At which times
*t*_{1}and*t*_{2}, where $0\le {t}_{1}<{t}_{2}<12,$ do the number of daylight hours equal the average number? - Write an integral that expresses the total number of daylight hours in Seattle between ${t}_{1}$ and ${t}_{2}.$
- Compute the mean hours of daylight in Seattle between ${t}_{1}$ and ${t}_{2},$ where $0\le {t}_{1}<{t}_{2}<12,$ and then between ${t}_{2}$ and ${t}_{1},$ and show that the average of the two is equal to the average day length.

Suppose the rate of gasoline consumption over the course of a year in the United States can be modeled by a sinusoidal function of the form $\left(11.21-\text{cos}\left(\frac{\pi t}{6}\right)\right)\phantom{\rule{0.2em}{0ex}}\times \phantom{\rule{0.2em}{0ex}}{10}^{9}$ gal/mo.

- What is the average monthly consumption, and for which values of
*t*is the rate at time*t*equal to the average rate? - What is the number of gallons of gasoline consumed in the United States in a year?
- Write an integral that expresses the average monthly U.S. gas consumption during the part of the year between the beginning of April $(t=3)$ and the end of September $(t=9\text{).}$

Explain why, if *f* is continuous over $\left[a,b\right],$ there is at least one point $c\in \left[a,b\right]$ such that $f\left(c\right)=\frac{1}{b-a}{\displaystyle {\int}_{a}^{b}f\left(t\right)dt}.$

Explain why, if *f* is continuous over $\left[a,b\right]$ and is not equal to a constant, there is at least one point $M\in \left[a,b\right]$ such that $f\left(M\right)=\frac{1}{b-a}{\displaystyle {\int}_{a}^{b}f\left(t\right)dt}$ and at least one point $m\in \left[a,b\right]$ such that $f\left(m\right)<\frac{1}{b-a}{\displaystyle {\int}_{a}^{b}f\left(t\right)dt}.$

Kepler’s first law states that the planets move in elliptical orbits with the Sun at one focus. The closest point of a planetary orbit to the Sun is called the *perihelion* (for Earth, it currently occurs around January 3) and the farthest point is called the *aphelion* (for Earth, it currently occurs around July 4). Kepler’s second law states that planets sweep out equal areas of their elliptical orbits in equal times. Thus, the two arcs indicated in the following figure are swept out in equal times. At what time of year is Earth moving fastest in its orbit? When is it moving slowest?

A point on an ellipse with major axis length 2*a* and minor axis length 2*b* has the coordinates $\left(a\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}\theta ,b\phantom{\rule{0.1em}{0ex}}\text{sin}\phantom{\rule{0.1em}{0ex}}\theta \right),0\le \theta \le 2\pi .$

- Show that the distance from this point to the focus at $\left(\text{\u2212}c,0\right)$ is $d\left(\theta \right)=a+c\phantom{\rule{0.1em}{0ex}}\text{cos}\phantom{\rule{0.1em}{0ex}}\theta ,$ where $c=\sqrt{{a}^{2}-{b}^{2}}.$
- Use these coordinates to show that the average distance $\stackrel{\u2013}{d}$ from a point on the ellipse to the focus at $\left(\text{\u2212}c,0\right),$ with respect to angle
*θ*, is*a*.

As implied earlier, according to Kepler’s laws, Earth’s orbit is an ellipse with the Sun at one focus. The perihelion for Earth’s orbit around the Sun is 147,098,290 km and the aphelion is 152,098,232 km.

- By placing the major axis along the
*x*-axis, find the average distance from Earth to the Sun. - The classic definition of an astronomical unit (AU) is the distance from Earth to the Sun, and its value was computed as the average of the perihelion and aphelion distances. Is this definition justified?

The force of gravitational attraction between the Sun and a planet is $F\left(\theta \right)=\frac{GmM}{{r}^{2}\left(\theta \right)},$ where *m* is the mass of the planet, *M* is the mass of the Sun, *G* is a universal constant, and $r\left(\theta \right)$ is the distance between the Sun and the planet when the planet is at an angle *θ* with the major axis of its orbit. Assuming that *M*, *m*, and the ellipse parameters *a* and *b* (half-lengths of the major and minor axes) are given, set up—but do not evaluate—an integral that expresses in terms of $G,m,M,a,b$ the average gravitational force between the Sun and the planet.

The displacement from rest of a mass attached to a spring satisfies the simple harmonic motion equation $x\left(t\right)=A\phantom{\rule{0.1em}{0ex}}\text{cos}\left(\omega t-\varphi \right),$ where $\varphi $ is a phase constant, *ω* is the angular frequency, and *A* is the amplitude. Find the average velocity, the average speed (magnitude of velocity), the average displacement, and the average distance from rest (magnitude of displacement) of the mass.