derivative of y=3x+4/x
We save the definition: y = 3x + 4x
To ease differentiation, the expression 4x is turned into 4x-1
Let's differentiate: ddx(3x + 4x-1)
ⓘ The derivative of a sum is the sum of the derivatives: ddx(3x + 4x-1) = ddx(3x) + ddx(4x-1)
ddx(3x) + ddx(4x-1)
Apply the differentiation rule: ddx(fn) = n·ddx(f)·fn -1 with f = x
ⓘ A constant factor stays in front of the derivative, (k*u)' = k*u': ddx(3x) = 3, ddx(4x-1) = 4·ddx(x-1)■The derivative of x^n is n*x^(n-1): ddx(x-1) = -1·x-2
3 + 4·(-1·x-2)
ⓘ Multiplications are done before additions and subtractions. A single minus sign does not cancel out, the product of a negative number by a positive number is negative: 4·(-1) = -4
3 -4x-2
ⓘ The factor is moved to the numerator or the denominator by changing the sign of its exponent, for a nonzero base: 4x-2 = 4x2
▶Derivative:   3 -4x2