Calculate the derivative of f(x) = x^3 - 4x^2 + x - 7
We save the definition: f(x) = x3 -4x2 + x -7
Let's perform the differentiation: ddx(x3 -4x2 + x -7)
ⓘ Differentiate a sum by differentiating each term, then adding the derivatives: ddx(x3 -4x2 + x -7) = ddx(x3) + ddx(-4x2) + 1 + 0
ddx(x3) + ddx(-4x2) + 1 + 0
ⓘ Differentiating xn gives nxn -1: ddx(x3) = 3x2, ddx(x2) = 2x■The derivative of a constant multiple keeps that factor: that of ku is k·u': ddx(-4x2) = -4·ddx(x2)■Adding 0 preserves the original value: 1 + 0 = 1
3x2 -4·2x + 1
ⓘ Perform multiplications before additions and subtractions: 4·2 = 8
▶Derivative:   3x2 -8x + 1