The limit definition
Differentiation from first principles establishes a derivative using its limit definition, rather than a differentiation rule:
Keep fixed and take a nearby point , where .
The change in is and the change in is . Dividing these changes gives the gradient of the line .
As , approaches . When the limit exists, it gives the gradient of the tangent at .
The sketch shows a positive value of .
Approaching zero is not substituting zero
The notation asks for the value approached as tends to zero. Directly substituting into the original quotient would give
which is undefined. Instead, simplify the quotient while , then evaluate its limit. The variable stays fixed while approaches zero.