Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Differentiates to x^x

  1. Mar 18, 2009 #1

    madmike159

    User Avatar
    Gold Member

    I know this is asked about alot, but can you work out [tex]\int[/tex][tex]x^{x}[/tex]. My teacher was talking about impossible integrals and he mentioned one which could be solved with the Bessel functions. I know there is no function which differentiates to x^x, but if you integrated with limits could you get a numerical answer?
     
  2. jcsd
  3. Mar 18, 2009 #2
    Re: x^x

    The integral of x^x exists in a mathematical sense (so there is a function that has x^x as derivative), but there is no formula for it in terms of elementary functions or other common functions, like Bessel functions.

    The definite integral can be computed numerically for any function (that is integrable and computable).
     
  4. Mar 18, 2009 #3

    madmike159

    User Avatar
    Gold Member

    Re: x^x

    My calculator has an integral function on it. If I integrate x^x between 1 and 2 it gives me an answer of 2.05046... does that mean it is computable?
     
  5. Mar 18, 2009 #4
    Re: x^x

    I probably shouldn't have mentioned it, since "computability" is a rather theoretical restriction. All the functions you will ever encounter in practice, and cerainly all you can enter into your calculator, are computable.

    The point is that there are numbers and functions which can be defined in a mathematical sense but cannot be computed to arbitrary precission by a normal computer ("Turing machine"). A detailed discussion can be found http://en.wikipedia.org/wiki/Computable_function" [Broken].
     
    Last edited by a moderator: May 4, 2017
  6. Mar 18, 2009 #5

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Re: x^x

    [itex]y= x^x[/itex] is itself a continuous function. That means that [itex]x^x[/itex] certainly is intgrable: there exist some differentiable function having [itex]x^x[/itex] as its derivative. That function (plus a constant) is the anti-derivative of [itex]x^x[/itex]. It is not any "elementary" or regularly defined function, as yyat says but it certainly exists. If we call such a function "I(x)", then it is true that
    [tex]\int_a^b x^x dx= I(b)- I(a)[/tex]
    and any numerical method of integration will approximate that.
     
    Last edited: Mar 18, 2009
  7. Mar 18, 2009 #6

    lurflurf

    User Avatar
    Homework Helper

    Re: x^x

    The integral with limits 0 and 1 has a particularly nice infinite series as does 1/x^x, try it.
     
  8. May 1, 2009 #7
    Re: x^x

    Using Bernoulli's approach to this integral (x^x=e^(x*ln(x))=1+x*ln(x)+x^2*(ln(x))^2/2...), I found an infinite sum that converges very quickly but requires the computation of the gamma function and the upper incomplete gamma function. A special case in which the two cancel is the integral between 0 and 1 which is the one mentioned by lurflurf.
     
    Last edited: May 1, 2009
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Differentiates to x^x
  1. X+(∞)+(-∞) = x? (Replies: 5)

Loading...