Exploring the Physical Application of Calculating Average Value of a Function

In summary, the conversation discussed the average value of a function and its relation to average speed. It was noted that when taking the integral of a velocity function, the result is distance over time, which can be considered average velocity. However, when considering the directionality of velocity, the concept of average speed becomes more complex. The conversation also explored the use of integrals to find the average value of a function in terms of area under the curve. The example of driving in circles was used to illustrate the distinction between displacement and distance driven.
  • #1
in the rye
83
6
Hey everyone,

I am preparing for a Calc 2 lecture tomorrow with KhanAcademy videos. I was watching a video on average value of a function in which he said, basically, you'll have some definite integral on a to b divided by (b-a). My question is, is this essentially calculating average speed?

I was thinking of the graph of an integrand expressed in terms of a velocity-vs-time axis. By taking the integral we get a position function, but then we are dividing it by time. Since the integral is definite, the result would be that we have change in position/change in time. This would give distance/time, or average speed? Perhaps more specifically, average velocity. I'm just trying to understand this in a physical context.

Thanks.
 
Physics news on Phys.org
  • #2
If you have velocity v(t) vs. time t in two dimensions, you are assuming a constant direction of travel. When you take the integral of v(t), you will get total distance.
Total distance divided by total time is average velocity.
Your question about velocity vs. speed is not entirely clear. For example, velocity could be negative, indicating a reversal of direction, but speed is defined as the magnitude of velocity. So, for a velocity function that is all positive, the two are interchangeable. However, if you have a velocity function that is positive then negative, like throwing a ball into the air and having it return to your hand, your average velocity and average speed are two different things.
 
  • #3
RUber said:
If you have velocity v(t) vs. time t in two dimensions, you are assuming a constant direction of travel. When you take the integral of v(t), you will get total distance.
Total distance divided by total time is average velocity.
Your question about velocity vs. speed is not entirely clear. For example, velocity could be negative, indicating a reversal of direction, but speed is defined as the magnitude of velocity. So, for a velocity function that is all positive, the two are interchangeable. However, if you have a velocity function that is positive then negative, like throwing a ball into the air and having it return to your hand, your average velocity and average speed are two different things.

I follow you, but the first part of your response is kind of what I was getting at. If you're divided an integral by its upper and lower bounds (in this case the x-axis is time), when you take the integral, you'd get a distance over time, so average velocity, right?

However, I think this spawns another question based on what you said. Isn't total distance divided by total time average speed, not average velocity considering the speed doesn't include direction of motion? Yet, taking a definite integral is solely our net area, which would include direction, would it not (provided the graph falls below the x-axis we would be subtracting distance). I guess to simplify it by taking the integral and dividing by its bound we wind up getting Δy/Δx, velocity.

Perhaps I'm reading too far into your response and confusing myself in the process. Haha.

Thanks.
 
  • #4
By plotting velocity vs. time on a 2D graph, you have already nearly taken the directional component out of velocity. But, you still have +y and -y directionality.
If you had a plot of a ball going up and coming down, your average velocity would be zero, since your total distance traveled would be zero. This can be though of as average velocity in the +y direction.
However, your average speed would be the integral of the absolute value of velocity, so it would not be zero.
 
  • #5
Given a function f(x), its "average value" over interval [a, b], is given by
[tex]\frac{\int_a^b f(x)dx}{b- a}[/tex]
Is that what you are asking?

RUber's last sentence-
"However, your average speed would be the integral of the absolute value of velocity, so it would not be zero." is referring to the distinction between "velocity", which is a vector quantity, and "speed" which is the norm of the velocity vector.
 
  • #6
in the rye said:
I was thinking of the graph of an integrand expressed in terms of a velocity-vs-time axis. By taking the integral we get a position function, but then we are dividing it by time. Since the integral is definite, the result would be that we have change in position/change in time. This would give distance/time, or average speed? Perhaps more specifically, average velocity. I'm just trying to understand this in a physical context.
What if you are driving around in circles? After a while you would come back to where you started, so your "distance" is zero (but your average speed is not zero). You need a slightly more complex integral in order to find the true average speed:

When driving along a flat road, assume that your position is given as [itex] (x(t), y(t))[/itex]. The length element corresponding to dt is then [itex]\sqrt{(\frac{dx(t)}{dt})^{2}+(\frac{dy(t)}{dt})^{2}} [/itex]. So, in order to calculate the length of the road you have traveled in the time interval [a, b] you must calculate the integral [itex] \int_{a}^{b}\sqrt{(\frac{dx(t)}{dt})^{2}+(\frac{dy(t)}{dt})^{2}} dt[/itex].
 
  • #7
Instead of looking at the average value of a function in terms of a speed-time curve, which drags in a whole host of other issues, look at the integral of a function as an area under the curve, such that

$$A =\int_a^b f(x)\,dx$$

The length of the base of this area is then (b - a). The value ##\frac{A}{(b-a)}## is the average length of all the ordinates under the curve of f(x) from a to b, and A = favg ⋅ (b - a).


trap6.gif

 
  • #8
Svein said:
What if you are driving around in circles? After a while you would come back to where you started, so your "distance" is zero (but your average speed is not zero).
'
If you drive around in a circle, you displacement is 0 but the distance driven is the circumference of the circle.
 
Last edited by a moderator:
  • #9
You're on a road trip and you want to find your average speed over the trip. So you start out by writing down the starting odometer reading and the time you left. During your trip, you don't travel to your destination in a straight line. The roads don't run that way. And, you take some side trips. And, you stop for lunch and for getting gas. There are stop signs and traffic lights. The speed limit changes along the way. When you arrive at your destination, you write down your odometer reading and the time that you arrived. How do you calculate your average speed for the trip?
 
  • #10
This is my attempt to repeat what others have said, but without some restrictions that I believe are unnecessary:

Let C be a smooth curve located in any space you like (such as Rn for any n ≥ 1) with a specified direction (orientation). Assume the points of C are assigned position numbers in such a way that the difference between two position numbers is the distance along C between the corresponding points in the specified direction (or the negative of the distance if in the opposite direction.)

Let s(t) denote the position of a point moving smoothly on C at time t, for a ≤ t ≤ b.

Then v(t), the velocity at time t, is the derivative ds(t)/dt, defined for a <= t <= b. (Positive velocity means you are moving in the specified direction; negative velocity means you are moving in the opposite direction. The function v(t) might have both positive and negative values.)

Thus if you draw the graph of v(t) as the y-coordinate vs. t as the x-coordinate, you can picture integrating v(t) between t = a and t = b, to get s(b) - s(a), or the net distance traveled along C. (Which is clear, since v(t) = ds(t)/dt.) The total time is b-a, and thus the average velocity, being the net distance divided by the total time, is

vavg = (1/(b-a)) ∫ v(t) dt​

where the integral is from t = a to t = b.

Of course the same formalism works for any function f(x) for a ≤ x ≤ b in place of v(t) for a ≤ t ≤ b, so that the average value of f(x) becomes

favg = (1/(b-a)) ∫ f(x) dx​

where likewise the integral is from x = a to x = b.
 
  • Like
Likes RUber
  • #11
Isn't this calculus one?
 

What is the average value of a function?

The average value of a function is the sum of all the function values divided by the number of values. It represents the overall value of the function over a given interval.

How is the average value of a function calculated?

The average value of a function is calculated by taking the integral of the function over the given interval and dividing it by the length of the interval. This can also be represented as the mean value of the function over the interval.

What is the significance of the average value of a function?

The average value of a function can provide important information about the behavior of the function over a specific interval. It can help to determine the overall trend of the function and can be used to compare different functions.

Can the average value of a function be negative?

Yes, the average value of a function can be negative. This can occur when the function has both positive and negative values over the given interval, causing the sum of the values to be negative.

How is the average value of a function used in real-world applications?

The average value of a function is commonly used in various fields such as physics, economics, and engineering. It can be used to determine the average speed, acceleration, or rate of change of a quantity over a given time interval. It can also be used in financial analysis to calculate the average return on investment.

Similar threads

Replies
2
Views
2K
Replies
2
Views
4K
  • Introductory Physics Homework Help
Replies
2
Views
879
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
1K
  • Calculus
Replies
5
Views
2K
  • Introductory Physics Homework Help
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
1
Views
844
  • Atomic and Condensed Matter
Replies
1
Views
820
Back
Top