integral of 1-x
Let's compute the integral: ∫(1 -x)dx
ⅰ ∫(1 -x)dx = ∫1dx -∫xdx
∫1dx -∫xdx
ⓘ The derivative of x is 1, so x is an antiderivative of 1: ∫1dx = x■An antiderivative of x^n is x^(n+1)/(n+1), for n ≠ -1: -∫xdx = -x22
x -x22
▶Indefinite integrals are defined up to an additive constant C, so this yields: -x22 + x + C