1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The average of a function

  1. Mar 19, 2005 #1
    I have this function:
    and I want to find out the average value of y, between two values of x.

    Is there some mathematical way to do this?
  2. jcsd
  3. Mar 19, 2005 #2


    User Avatar
    Gold Member

    [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: Mar 19, 2005
  4. Mar 19, 2005 #3


    User Avatar
    Science Advisor
    Homework Helper

    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: Mar 19, 2005
  5. Mar 19, 2005 #4


    User Avatar
    Gold Member

    And you assume that if OP doesnt know the avg of a function, then he'll know what hyperbolic tangent is :rofl:
  6. Mar 19, 2005 #5
    I know what tanh is but not the average of a function.
  7. Mar 19, 2005 #6
    Ah, but do you know what [tex]\tanh^{-1}[/tex] is?!?!
  8. Mar 21, 2005 #7


    User Avatar
    Staff Emeritus
    Science Advisor

    The average of a function, f(x), between x= x1 and x= x2 is:
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Discussions: The average of a function