Once I was working on simple integrals, and I decided to break the system by counting the integral. Let $f(x)=xe^x$. Then if we take not $\{x=u;\ e^xdx=dv\}$ but $\{xdx=dv;\ e^x=u\}$. As soon as I did so, the primitive took the form of $$ \int xe^xdx = \sum\limits_{n=2}^{+\infty}(-1)^n\frac{x^n}{n!}e^x + C $$ Can this be considered the right decision?
2026-05-14 13:47:29.1778766449
Non-elementary primitive of $xe^x$
115 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
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
geometry
circles
algebraic-number-theory
functions
real-analysis
elementary-set-theory
proof-verification
proof-writing
number-theory
elementary-number-theory
puzzle
game-theory
calculus
multivariable-calculus
partial-derivative
complex-analysis
logic
set-theory
second-order-logic
homotopy-theory
winding-number
ordinary-differential-equations
numerical-methods
derivatives
integration
definite-integrals
probability
limits
sequences-and-series
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?
Your answer is:
$$\begin{align}e^x\sum_{n=2}^\infty(-1)^n\frac{x^n}{n!}&=e^x\left(e^{-x}-(1-x)\right)\\ &=1+(x-1)e^x\end{align}$$
The usual integration by parts gives you:
$$e^x(x-1)$$
These two answers differ by a constant, so they can be (and are) both correct.
Technically, this is a risky approach, because what you really get, inductively, is, for any $N$:
$$\begin{align}\int xe^x\,dx &=e^x\sum_{n=2}^N(-1)^n\frac{x^n}{n!} +(-1)^{N+1}\frac{1}{N!}\int x^{N}e^x\,dx\end{align}$$
Now you need to know what it means for $$\frac1{N!}\int x^{N}e^x\,dx$$ to converge to zero, since the integral is an indefinite integral.
It works if you replace all the integrals with: $$I_N(x)=\int_{0}^x t^Ne^{t}\,dt$$
But you still need to know $\frac1{N!}I_N(x)\to 0$ for all $x.$
For any $x\geq 0$ $$0<I_N(x)=\int_0^x t^Ne^t\,dt<x^N\int_0^x e^t\,dt=x^N(e^x-1)$$ So we know $\frac1{N!}I_N(x)\to 0$ as $N\to\infty.$
When $x<0$ then $$|I_N(x)|\leq\int_0^{|x|}|x|^{N}=\frac{|x|^{N+1}}{N+1}$$
So again $\frac{1}{N!}I_N(x)\to 0.$
More generally, if $f_1(x),f_2(x),\dots$ have the property that $f_{n+1}’(x)=f_n(x)$ for all $n$ then:
$$\int f_1(x)e^{-x}\,dx=e^{-x}\sum_{n=2}^N f_n(x) + \int f_N(x) e^{-x}\,dx$$ (I’ve switched to $e^{-x}$ here to remove the alternating signs, but you can get them back easily.)
But if $f_1(x)=\cos x$ you don’t get $$I_N(x)=\int f_N(x)e^{-x}\,dx\to 0.$$
Amusingly, if $f_1(x)=\cos \alpha x$, with $\alpha>1,$ you get $I_n(x)\to 0,$ so you get an infinite series.
$$e^{-x}\sum_{n=1}^{\infty}(-1)^n\alpha^{-2n}\left(\alpha\sin \alpha x-\cos\alpha x\right)\\=\frac{\alpha \sin \alpha x -\cos \alpha x}{1+\alpha^2}e^{-x}$$
The right side is the correct value for any $\alpha,$ but the infinite series doesn’t converge for $|\alpha|\leq 1.$