A derivative is an operation on a function which describes the rate of change of a single variable function with respect to its input.
There are 2 main notations for the derivative each of which have their own strengths
The derivative can formally be defined for a given function
^formal-derivative-definition
This limit comes from the notion that the slope of a function from
Using a limit we can describe what happens as
Re-writing the previous equation with
We can then apply the limit as
Derivatives can be calculated using the formal limit defined above, graphically by estimating the tangent line with a secant line between two points very near to the desired derivative location on the graph, or by using special differentiation rules. Usually the fastest method for calculating derivatives when possible is using differentiation rules.