antiderivative of x^3-4x+2
Let's compute the integral: ∫(x3 -4x + 2)dx
ⅰ ∫(x3 -4x + 2)dx = ∫x3dx -∫4xdx + ∫2dx
∫x3dx -∫4xdx + ∫2dx
ⓘ An antiderivative of x^n is x^(n+1)/(n+1), for n ≠ -1: ∫x3dx = x44■A constant factor stays in front of the integral. An antiderivative of x^n is x^(n+1)/(n+1), for n ≠ -1: -∫4xdx = -4·x22■The derivative of 2x is 2, so 2x is an antiderivative of 2: ∫2dx = 2x
x44 -4·x22 + 2x
ⓘ Multiplying a fraction by a number multiplies its numerator: 4·x22 = 4x22■A fraction is simplified by dividing the numerator and the denominator by the same number: -4x22 = -2x2
x44 -2x2 + 2x
▶Indefinite integrals are defined up to an additive constant C, so this yields: x44 -2x2 + 2x + C