---
title: "Derivative Rules"
author:
  - name: "Fan Wang"
    affiliation: "Department of Economics, University of Houston"
    url: "https://fanwangecon.github.io/"
date: "2026-11-30"
---

**Part of [Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics](https://fanwangecon.github.io/Stam4Econ/).**  
[Main Stam4Econ site](https://fanwangecon.github.io/Stam4Econ/) | [View this section in the book](https://fanwangecon.github.io/Stam4Econ/math_derivatives/overview.html#derivative-rules) | [Author: Fan Wang](https://fanwangecon.github.io/) | [DOI: 10.5281/zenodo.24696926](https://doi.org/10.5281/zenodo.24696926)  
Date: 2026-11-30 | [HTML](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_derivatives/derivative_rules.html) | [PDF](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_derivatives/derivative_rules.pdf) | [QMD](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_derivatives/derivative_rules.qmd)

## Derivative Rules

### The product rule

There is a number of rules for taking derivatives [derivative rules](https://fanwangecon.github.io/Math4Econ/derivative/htmlpdfm/derivative_rules.html) in one variable calculus. All derivative rules are built on the product rule and the chain rule. 

The product rule states that if $u$ and $v$ are differentiable, then the derivative of their product $h(x) = u(x)v(x)$ is given by:

$$
h'(x) = u'(x)v(x) + u(x)v'(x)
$$

We prove the product rule, by applying the definition of derivative several times:

\begin{align}
h'(x) &= \lim_{h\to 0} \frac{h(x+h) - h(x)}{h}\\
&= \lim_{h\to 0} \frac{u(x+h)v(x+h) - u(x)v(x)}{h}\\
&= \lim_{h\to 0} \frac{u(x+h)v(x+h) - u(x)v(x+h) + u(x)v(x+h) - u(x)v(x)}{h}\\
&= \lim_{h\to 0} \frac{(u(x+h) - u(x))v(x+h) + u(x)(v(x+h) - v(x))}{h}\\
&= \lim_{h\to 0} \frac{u(x+h) - u(x)}{h} v(x+h) + u(x) \lim_{h\to 0} \frac{v(x+h) - v(x)}{h}\\
&= u'(x)v(x) + u(x)v'(x)    
\end{align}

### Quotient rule and power rule

If $v(x)\ne 0$, the product rule delivers the quotient rule:

$$
\left(\frac{u(x)}{v(x)}\right)' = \left(u(x)v(x)^{-1}\right)' = u'(x)v(x)^{-1} + u(x)(-1)v(x)^{-2}v'(x)
= \frac{u'(x)v(x) - u(x)v'(x)}{v(x)^2}
$$

For a positive integer $n$, the product rule delivers the power rule:

$$
\left(u(x)^n\right)' = \left(u(x)u(x)^{n-1}\right)' = u'(x)u(x)^{n-1} + u(x)(n-1)u(x)^{n-2}u'(x)
= nu'(x)u(x)^{n-1}
$$

### The chain rule

The chain rule states that if we have two functions $f(x)$ and $g(x)$, then the derivative of their composition $h(x) = f(g(x))$ is given by:

$$
\left(f(g(x))\right)' = f'(g(x))g'(x)
$$

To see why the chain rule holds, let $\Delta g=g(x+h)-g(x)$. Differentiability of $f$ at $g(x)$ gives

$$
f(g(x+h))-f(g(x))=f'(g(x))\Delta g+o(|\Delta g|).
$$

Since $\Delta g/h\to g'(x)$, dividing by $h$ and taking the limit yields the chain rule. If $\Delta g=0$, the change in $f(g(x))$ is also zero.

### The log rule

For $x>0$, the derivative of the natural logarithm function is given by:

$$
\frac{d\ln x}{dx} = \frac{1}{x}
$$

By the definition of derivative, and using the property of log we have:

\begin{align}
\frac{d\ln x}{dx} &= \lim_{h\to 0} \frac{\ln(x+h) - \ln(x)}{h}\\
&= \lim_{h\to 0} \frac{\ln\left(\frac{x+h}{x}\right)}{h}\\
&= \lim_{h\to 0} \frac{\ln\left(1 + \frac{h}{x}\right)}{h}\\
&= \lim_{h\to 0} \frac{\ln\left(1 + \frac{h}{x}\right)}{\frac{h}{x}} \cdot \frac{1}{x}\\
&= \frac{1}{x}  
\end{align}

The second to the last step uses the fact that $\lim_{u\to 0} \frac{\ln(1+u)}{u} = 1$. You might want to use l'Hôpital's rule to prove this limit, but that would be circular reasoning. So one can use the squeeze theorem to prove this limit.

### The exponential rule

The derivative of the exponential function is given by:

$$
\frac{d e^x}{dx} = e^x
$$

By the definition of derivative, and using the property of exponential function we have:

\begin{align}
\frac{d e^x}{dx} &= \lim_{h\to 0} \frac{e^{x+h} - e^x}{h}\\
&= \lim_{h\to 0} \frac{e^x e^h - e^x}{h}\\
&= e^x \lim_{h\to 0} \frac{e^h - 1}{h}\\
&= e^x \cdot 1\\
&= e^x  
\end{align}

The second to the last step uses the fact that $\lim_{h\to 0} \frac{e^h - 1}{h} = 1$. You might want to use l'Hôpital's rule to prove this limit, but that would be circular reasoning. So we can use a squeeze theorem to prove this limit.
