The indefinite integral: $$J=\int x^xdx$$ has no known closed form solution. Expanding in series the function $f=x^x$ we get: $$f\simeq\sum_{k=0}^N \dfrac{x^k\ln(x)^k}{k!}$$ So we can write: $$J\simeq\sum_{k=0}^N\int\dfrac{x^k\ln(x)^k}{k!}dx$$ and we get: $$J\simeq x+\sum_{k=1}^N\dfrac{\ln(x)^k\left[-(k+1)\ln(x)\right]^{-k}\Gamma\left(k+1,-(k+1)\ln(x)\right)}{(k+1)!}$$ where $\Gamma(x,a)$ is the incomplete gamma function. It seems to work well in approximating J, for $N\ge 20$ and $x\in\mathbb{R}$. Is there a better way to calculate numerically $J$ avoiding the use of the usual methods to evaluate definite integrals? Thanks.
2026-04-08 21:28:32.1775683712
Series expansion of $\int x^xdx$
553 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in SEQUENCES-AND-SERIES
- How to show that $k < m_1+2$?
- Justify an approximation of $\sum_{n=1}^\infty G_n/\binom{\frac{n}{2}+\frac{1}{2}}{\frac{n}{2}}$, where $G_n$ denotes the Gregory coefficients
- Negative Countdown
- Calculating the radius of convergence for $\sum _{n=1}^{\infty}\frac{\left(\sqrt{ n^2+n}-\sqrt{n^2+1}\right)^n}{n^2}z^n$
- Show that the sequence is bounded below 3
- A particular exercise on convergence of recursive sequence
- Proving whether function-series $f_n(x) = \frac{(-1)^nx}n$
- Powers of a simple matrix and Catalan numbers
- Convergence of a rational sequence to a irrational limit
- studying the convergence of a series:
Related Questions in DEFINITE-INTEGRALS
- How can I prove that $\int_0^{\frac{\pi}{2}}\frac{\ln(1+\cos(\alpha)\cos(x))}{\cos(x)}dx=\frac{1}{2}\left(\frac{\pi^2}{4}-\alpha^2\right)$?
- Closed form of integration
- Integral of ratio of polynomial
- An inequality involving $\int_0^{\frac{\pi}{2}}\sqrt{\sin x}\:dx $
- How is $\int_{-T_0/2}^{+T_0/2} \delta(t) \cos(n\omega_0 t)dt=1$ and $\int_{-T_0/2}^{+T_0/2} \delta(t) \sin(n\omega_0 t)=0$?
- Roots of the quadratic eqn
- Area between curves finding pressure
- Hint required : Why is the integral $\int_0^x \frac{\sin(t)}{1+t}\mathrm{d}t$ positive?
- A definite integral of a rational function: How can this be transformed from trivial to obvious by a change in viewpoint?
- Integrate exponential over shifted square root
Related Questions in SPECIAL-FUNCTIONS
- Generalized Fresnel Integration: $\int_{0}^ {\infty } \sin(x^n) dx $ and $\int_{0}^ {\infty } \cos(x^n) dx $
- Is there any exponential function that can approximate $\frac{1}{x}$?
- What can be said about the series $\sum_{n=1}^{\infty} \left[ \frac{1}{n} - \frac{1}{\sqrt{ n^2 + x^2 }} \right]$
- Branch of Math That Links Indicator Function and Expressability in a Ring
- Generating function of the sequence $\binom{2n}{n}^3H_n$
- Deriving $\sin(\pi s)=\pi s\prod_{n=1}^\infty (1-\frac{s^2}{n^2})$ without Hadamard Factorization
- quotients of Dedekind eta at irrational points on the boundary
- Sources for specific identities of spherical Bessel functions and spherical harmonics
- Need better resources and explanation to the Weierstrass functions
- Dilogarithmic fashion: the case $(p,q)=(3,4)$ of $\int_{0}^{1}\frac{\text{Li}_p(x)\,\text{Li}_q(x)}{x^2}\,dx$
Related Questions in INDEFINITE-INTEGRALS
- Closed form of integration
- How to find $\int \sqrt{x^8 + 2 + x^{-8}} \,\mathrm{d}x$?
- Find the integral $\int\sqrt{\frac{1-\sqrt{x}}{1+\sqrt{x}}}\,dx.$
- Integrate $\int \frac {x^4}{\sqrt {x^2-9}} \,dx$
- Integral of $\frac{1}{2x}$.
- Contradictory results of the integral of an odd function
- Integrate $\int \frac{x+2}{(x^2+3x+3) \sqrt{x+1}} dx$
- Evaluation of Integral $\int \frac{x^2+1}{\sqrt{x^3+3}}dx$
- Integral of a Polynomial in Square Root
- Using a substitution of a square of a trigonometric function.
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
$\int x^x~dx=\int e^{x\ln x}~dx=\int\sum\limits_{n=0}^\infty\dfrac{x^n(\ln x)^n}{n!}dx$
For $\int x^n(\ln x)^n~dx$ , where $n$ is any non-negative integers,
$\int x^n(\ln x)^n~dx$
$=\int(\ln x)^n~d\left(\dfrac{x^{n+1}}{n+1}\right)$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\int\dfrac{x^{n+1}}{n+1}d((\ln x)^n)$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\int\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)x}dx$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\int\dfrac{nx^n(\ln x)^{n-1}}{n+1}dx$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\int\dfrac{n(\ln x)^{n-1}}{n+1}d\left(\dfrac{x^{n+1}}{n+1}\right)$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)^2}+\int\dfrac{x^{n+1}}{n+1}d\left(\dfrac{n(\ln x)^{n-1}}{n+1}\right)$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)^2}+\int\dfrac{n(n-1)x^{n+1}(\ln x)^{n-2}}{(n+1)^2x}dx$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)^2}+\int\dfrac{n(n-1)x^n(\ln x)^{n-2}}{(n+1)^2}dx$
$=\cdots\cdots$
$\vdots$
$\vdots$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)^2}+\cdots\cdots+\dfrac{(-1)^{n-1}(n(n-1)\cdots\cdots\times2)x^{n+1}\ln x}{(n+1)^n}-\int\dfrac{(-1)^{n-1}(n(n-1)\cdots\cdots\times1)x^n}{(n+1)^n}dx$
$=\dfrac{x^{n+1}(\ln x)^n}{n+1}-\dfrac{nx^{n+1}(\ln x)^{n-1}}{(n+1)^2}+\cdots\cdots+\dfrac{(-1)^{n-1}(n(n-1)\cdots\cdots\times2)x^{n+1}\ln x}{(n+1)^n}+\dfrac{(-1)^n(n(n-1)\cdots\cdots\times1)x^{n+1}}{(n+1)^{n+1}}+C$
$=\dfrac{(n+1)x^{n+1}(\ln x)^n}{(n+1)^2}-\dfrac{(n+1)nx^{n+1}(\ln x)^{n-1}}{(n+1)^3}+\cdots\cdots+\dfrac{(-1)^{n-1}((n+1)n(n-1)\cdots\cdots\times2)x^{n+1}\ln x}{(n+1)^{n+1}}+\dfrac{(-1)^n((n+1)n(n-1)\cdots\cdots\times1)x^{n+1}}{(n+1)^{n+2}}+C$
$=\sum\limits_{k=0}^n\dfrac{(-1)^{n+k}(n+1)!x^{n+1}(\ln x)^k}{k!(n+1)^{n-k+2}}+C$
$=\sum\limits_{k=0}^n\dfrac{(-1)^{n+k}n!x^{n+1}(\ln x)^k}{k!(n+1)^{n-k+1}}+C$
$\therefore\int\sum\limits_{k=0}^n\dfrac{(x\ln x)}{n!}dx=\sum\limits_{n=0}^\infty\sum\limits_{k=0}^n\dfrac{(-1)^{n+k}x^{n+1}(\ln x)^k}{k!(n+1)^{n-k+1}}+C$
Hence $\int x^x~dx=\sum\limits_{n=0}^\infty\sum\limits_{k=0}^n\dfrac{(-1)^{n+k}x^{n+1}(\ln x)^k}{k!(n+1)^{n-k+1}}+C$