A derivative describes how a function changes as its input changes. Geometrically, it gives the slope of the tangent line at a point.
\[\displaystyle f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\]
Use the definition when the limit exists. For standard functions, the rules below make calculation faster.
Sum and constant multiple
\[\displaystyle \frac{d}{dx}(u+v)=u'+v'\]
\[\displaystyle \frac{d}{dx}(cu)=cu'\]
Here c is constant with respect to x.
Power rule
\[\displaystyle \frac{d}{dx}(x^n)=nx^{n-1}\]
For constant n, apply where the function is differentiable.
Product and quotient
\[\displaystyle (uv)'=u'v+uv'\]
\[\displaystyle \left(\frac{u}{v}\right)'=\frac{vu'-uv'}{v^2},\qquad v\ne0\]
Chain rule
\[\displaystyle \frac{d}{dx}f(g(x))=f'(g(x))g'(x)\]
Differentiate the outer function, then multiply by the derivative of the inner function.
Implicit differentiation
When y depends on x, differentiate both sides with respect to x and apply the chain rule to terms involving y.
\[\displaystyle \frac{d}{dx}(y^2)=2y\frac{dy}{dx}\]