derivative of (x^2+x+2/(2x))
To ease differentiation, the expression 22x is turned into 22·x-1
Let's differentiate: ddx(x2 + x + 22·x-1)
ⓘ We simplify the fraction by dividing the numerator and the denominator by 2, their greatest common divisor: 22 = 1■Multiplying by 1 changes nothing: 1·x-1 = x-1
ddx(x2 + x + x-1)
ⓘ The derivative of a sum is the sum of the derivatives: ddx(x2 + x + x-1) = ddx(x2) + 1 + ddx(x-1)
ddx(x2) + 1 + ddx(x-1)
Apply the differentiation rule: ddx(fn) = n·ddx(f)·fn -1 with f = x
ⓘ The derivative of x^n is n*x^(n-1): ddx(x-1) = -1·x-2
2x + 1 -1·x-2
ⓘ Multiplying by 1 changes nothing: 1·x-2 = x-2
2x + 1 -x-2
ⓘ A negative exponent moves the power to the other side of the fraction bar, for a nonzero base: x-2 = 1x2
2x + 1 -1x2
▶Derivative:   2x -1x2 + 1