Average velocityWe have seen in our discussion of velocities and displacements that

As you may remember, we called this thedisplacement.

We also discussed average velocities as a motivation for an eventual definition of the derivative (and "instantaneous rates"), and you hopefully remember that

Putting these two ideas together leads to the conclusion that

Average value of a functionIn general, following much the same idea as above, we will define theaverage valueof a function on an interval as:

What is the meaning of this expression, and why does it correspond to our intuitive idea of what the average value of a function means? To understand this, note that the average of n numbers, is

To make some sense of the expression for the average value of the function f, suppose we sample values that it takes at a few equally spaced points in the interval [a,b], . Then the spacing of the points is and

From the spacing between the values of x, we notice that

We thus conclude that

As the number of sample points gets larger ( ), this sum approaches the definite integral, so that, in this limit,

Example 1: Average Day lengthThe length of a day varies over the seasons, with some very short and some very long days. This is a cyclic phenomenon, which repeats itself year in and year out. We can describe day length approximately by a simple formula involving the periodic functionsin(t). We can then use this formula to determine average day length over a given period of time, for example, over a month, a season, or over part of the year.

Suppose that at days after a Spring Equinox, the length of time from sunrise to sunset (in hours) is:

We will use this expression to determine the average length of the day during the spring and summer. Before doing so, let us see why this expression is a reasonable description of day length.

## For your consideration:

- What is the length of the shortest day, according to this expression and when does it occur ? (i.e. for what value of t?)

- What is the length of the longest day, and when does it occur?

- What is the day length when ? Why is this day called the Equinox ?

- For what value of t does the cyclic pattern of day length start to repeat itself?

We can now determine the average length of a day during the spring and summer. Assuming that spring and summer are half a year, i.e 365/2 = 182 days, we are to calculate the following integral:

Using the expression for in this integral, we find that

## For your consideration:

- Verify the final step by expanding and performing the necessary calculation.

- What would be the average day length over one month (i.e. over 1/12 of a year)?

Example 2: Average Power in an Electric CircuitIn an AC ("alternating current") electric circuit, the current is oscillatory, i.e. it is given by the expression

where A is the amplitude and the frequency. Most common household currents are 60 cycles per second. We will use this to determine how the average power over one cycle is related to the amplitude of the current.

Powerin a circuit is defined as follows:

So, using the above formula

## For your consideration:

- Sketch the current as a function of time for several cycles. Show when the maximal and minimal values of the current occur.

- Sketch the power as a function of time for several cycles. Hint: Can the power ever be negative ? At what times is the power zero ? What is the maximal value of the power ?

- If the frequency of the oscillation is , how long is one cycle?

- Calculate the average value of the current over one cycle. Show that you get zero.

- Now explain WHY the average of the current over one cycle is zero. Use your sketch in (1) and a geometric argument, if you like.

- Do you expect that the average power over one cycle will also be zero ? Why or why not? Explain, again using your sketch in part (2).

We will now compute the average power over one cycle, i.e for . To do so, we compute the following integral:

This integral involves the square of trigonometric function, for which no antiderivative exists as is, but we can use the following

Trick:

Plugging this in, we find that

Simplifying the above algebraically, we arrive at