In mathematics (particularly in differential calculus), the derivative is a way to show instantaneous rate of change: that is, the amount by which a function is changing at one given point. For functions that act on the real numbers, it is the slope of the tangent line at a point on a graph.  The derivative is often written as  ("dy over dx", meaning the difference in y divided by the difference in x). The d is not a variable, and therefore cannot be cancelled out. Another common notation is —the derivative of function  at point , usually read as " prime of ".

Definition of a derivative

The derivative of y with respect to x is defined as the change in y over the change in x, as the distance between  and  becomes infinitely small (infinitesimal). In mathematical terms,

That is, as the distance between the two x points (h) becomes closer to zero, the slope of the line between them comes closer to resembling a tangent line.

Derivatives of functions

Linear functions
Derivatives of linear functions (functions of the form  with no quadratic or higher terms) are constant. That is, the derivative in one spot on the graph will remain the same on another.

When the dependent variable  directly takes 's value (), the slope of the line is 1 in all places, so  regardless of where the position is.

When  modifies 's number by adding or subtracting a constant value, the slope is still 1, because the change in  and  do not change if the graph is shifted up or down. That is, the slope is still 1 throughout the entire graph and its derivative is also 1.

Power functions
Power functions (in the form of ) behave differently from linear functions, because their exponent and slope vary.

Power functions, in general, follow the rule that . That is, if we give a the number 6, then 

Another example, which is less obvious, is the function . This is essentially the same, because 1/x can be simplified to use exponents:

In addition, roots can be changed to use fractional exponents, where their derivative can be found:

Exponential functions
An exponential function is of the form , where  and  are constants and  is a function of . The difference between an exponential and a polynomial is that in a polynomial  is raised to some power, whereas in an exponential  is in the power.

Example 1

Example 2 
Find .

Therefore,

Logarithmic functions
The derivative of logarithms is the reciprocal:
.
Take, for example, . This can be reduced to (by the properties of logarithms):

The logarithm of 5 is a constant, so its derivative is 0. The derivative of  is . So,

For derivatives of logarithms not in base e, such as , this can be reduced to:

Trigonometric functions
The cosine function is the derivative of the sine function, while the derivative of cosine is negative sine (provided that x is measured in radians):

.

Properties of derivatives
Derivatives can be broken up into smaller parts where they are manageable (as they have only one of the above function characteristics). For example,  can be broken up as:

Uses of derivatives 
A function's derivative can be used to search for the maxima and minima of the function, by searching for places where its slope is zero.

Derivatives are used in Newton's method, which helps one find the zeros (roots) of a function..One can also use derivatives to determine the concavity of a function, and whether the function is increasing or decreasing.

Related pages
Difference quotient
Fundamental theorem of calculus
Implicit derivative
Integral
Partial derivative
Second derivative

References

Other websites
Online derivative calculator which shows the intermediate steps of calculation 
Solved problems in derivatives

Mathematical analysis