integral of (x-1)e^{x^2-2x}
⚠ 2x is read as the product 2*x: for a power, write 2^x‖(x-1)e^{x^2-2x} is read as (x-1)*e^{x^2-2x}: use * for multiplication, use ^ for a power‖(x-1)*e^{x^2-2x} is read as (x-1)*e^(x^2-2x)
Before integrating, let's calculate: (x -1)·e(x2 -2x)
xe(x2 -2x) -e(x2 -2x)
Let's integrate: ∫(xe(x2 -2x) -e(x2 -2x))dx
For the math expression: xe(x2 -2x), we know the derivative formula: ddx(exp(a)) = exp(a), so we try differentiating with exp
Let's differentiate: ddx(exp(x2 -2x))
We differentiate using: ddx(exp(f)) = ddx(f)·exp(f) (where f = x2 -2x)
ddx(x2 -2x)·exp(x2 -2x)
(ddx(x2) + ddx(-2x))·exp(x2 -2x)
ℹ(ddx(x2) + ddx(-2x))·exp(x2 -2x) = ddx(x2)·exp(x2 -2x) + ddx(-2x)·exp(x2 -2x)‖ddx(x2) = 2x‖ddx(-2x) = -2
2x·exp(x2 -2x) -2exp(x2 -2x)
You observe that the computed derivative and the original math expression are the same, except for a coefficient. So the integral is:
12·e(x2 -2x)
e(x2 -2x)2
▶Indefinite integrals are defined up to an additive constant C, so this yields: e(x2 -2x)2 + C