How Do You Calculate the Average Value of a Function Between Two Points?

  • Context: Undergrad 
  • Thread starter Thread starter ribod
  • Start date Start date
  • Tags Tags
    Average Function
Click For Summary

Discussion Overview

The discussion centers around calculating the average value of a function, specifically the function y = x/(x - 1/x), between two specified points on the x-axis. Participants explore mathematical methods to achieve this, including integration techniques.

Discussion Character

  • Mathematical reasoning, Technical explanation, Homework-related

Main Points Raised

  • One participant presents the function and asks for a method to calculate its average value between two points.
  • Another participant suggests using the formula for the average value of a function, involving an integral over the specified interval.
  • A subsequent reply proposes a simplification of the integral result, suggesting it can be expressed in terms of hyperbolic tangent functions.
  • Another participant humorously questions the assumption that the original poster (OP) would be familiar with hyperbolic functions.
  • The OP confirms knowledge of the hyperbolic tangent function but admits to not knowing how to find the average of a function.
  • A later reply reiterates the formula for the average value of a function, emphasizing the integral approach.

Areas of Agreement / Disagreement

Participants generally agree on the mathematical approach to calculating the average value of a function through integration, but there is no consensus on the simplification of the integral or the familiarity with hyperbolic functions.

Contextual Notes

Some assumptions about the OP's knowledge of mathematical concepts, such as hyperbolic functions, are present, which may affect the clarity of the discussion. The simplification of the integral remains unresolved, and the discussion does not clarify the conditions under which the proposed simplifications hold.

ribod
Messages
14
Reaction score
0
I have this function:
y=x/(x-1/x)
and I want to find out the average value of y, between two values of x.

Is there some mathematical way to do this?
 
Physics news on Phys.org
[tex]\frac{1}{x_{2}-x_{1}} \int_{x_{1}}^{x_{2}} {\frac{x}{x-\frac{1}{x}} dx }[/tex]

[tex]a = x_{1}, b = x_{2}[/tex]

[tex]\frac{1}{b-a} * ( b + \frac{1}{2}*log(b - 1) - \frac{1}{2}*log(b+1) - a - \frac{1}{2} * log(a-1) + \frac{1}{2} * log(a+1) )[/tex]
 
Last edited:
Correct me if I am wrong but I think that nicely cancels down to:

[tex]\frac{1}{b - a}\left(b - a + \text{tanh}^{-1}(a) - \text{tanh}^{-1}(b) \right)[/tex]
 
Last edited:
And you assume that if OP doesn't know the avg of a function, then he'll know what hyperbolic tangent is :smile:
 
I know what tanh is but not the average of a function.
 
Ah, but do you know what [tex]\tanh^{-1}[/tex] is??
 
The average of a function, f(x), between x= x1 and x= x2 is:
[tex]\frac{1}{x_2-x_1}\int_{x_1}^{x_2}f(x)dx[/tex]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 26 ·
Replies
26
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K