derivative of f(x)=5x^2-2x-7
We save the definition: f(x) = 5x2 -2x -7
Let's differentiate: ddx(5x2 -2x -7)
ⓘ The derivative of a sum is the sum of the derivatives: ddx(5x2 -2x -7) = ddx(5x2) + ddx(-2x) + 0
ddx(5x2) + ddx(-2x) + 0
ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(5x2) = 5·ddx(x2), ddx(-2x) = -2■The derivative of x^n is n*x^(n-1): ddx(x2) = 2x■Adding 0 changes nothing: ddx(-2x) + 0 = ddx(-2x)
5·2x -2
ⓘ Multiplications are done before additions and subtractions: 5·2 = 10
▶Derivative:   10x -2