1. What a derivative means
The derivative measures how a function changes as its input changes.
If $y = f(x)$, then $f'(x)$ describes the instantaneous rate of change of $y$ with respect to $x$.
It also gives the slope of the tangent line to the graph of $y = f(x)$ at a point.
Two useful interpretations:
Rate interpretation: how fast one quantity changes compared with another
Geometric interpretation: slope of the tangent line
Examples:
If $s(t)$ is position, then $s'(t)$ is velocity.
If $C(q)$ is cost, then $C'(q)$ is marginal cost.
If the derivative is:
Positive, the function is increasing locally
Negative, the function is decreasing locally
Zero, the function may have a horizontal tangent
Interactive visual
Tangent line slope
Move the tangent point to see the instantaneous slope on a cubic curve.
2. Formal definition
The derivative of $f$ at $x$ is defined by the limit
if the limit exists.
This is the slope of the secant line in the limit as the two points merge into one.
An equivalent form is
Differentiability and continuity
If a function is differentiable at a point, then it is continuous there.
But the converse is not always true:
Differentiable $\Rightarrow$ continuous
Continuous $\nRightarrow$ differentiable
Common reasons a derivative fails to exist:
Corner
Cusp
Vertical tangent
Discontinuity
Example:
is continuous at $x=0$, but not differentiable there because the left-hand and right-hand slopes are different.
3. Notation
If $y=f(x)$, common derivative notations include:
For functions of time:
Higher derivatives:
Leibniz notation is especially useful when applying the chain rule because it keeps track of variables clearly.
4. Core differentiation rules
These rules let you differentiate most elementary functions efficiently.
Constant rule
Power rule
This holds for any real exponent $n$ when the function is defined.
Examples:
Constant multiple rule
Sum and difference rules
Product rule
Example:
Quotient rule
where $g(x)\ne 0$.
Example:
5. Derivatives of common functions
Exponential functions
Logarithmic functions
Trigonometric functions
These formulas assume angles are measured in radians.
Inverse trigonometric functions
Useful extensions:
6. Chain rule and composite functions
The chain rule is essential for differentiating nested functions.
If
then
In operator form:
Examples
If
then let $u=3x^2+1$. Since $\frac{d}{du}[u^5]=5u^4$ and $\frac{du}{dx}=6x$,
If
then
If
then
General pattern
Differentiate the outer function first, leaving the inner function unchanged, then multiply by the derivative of the inner function.
This is where many mistakes happen. Do not differentiate the inside and outside independently without the linking factor.
7. Implicit differentiation
Sometimes a relation involving $x$ and $y$ is not solved explicitly for $y$.
Example:
To differentiate with respect to $x$, treat $y$ as a function of $x$:
So
Why $\frac{dy}{dx}$ appears
When differentiating any expression involving $y$, use the chain rule because $y=y(x)$.
For example:
Tangent line example
Given
find the tangent slope at $(3,4)$:
At $(3,4)$,
So the tangent line is
8. Higher-order derivatives
The second derivative is the derivative of the first derivative:
Similarly:
Interpretation
$f'(x)$ describes slope or rate of change
$f''(x)$ describes how the slope changes
In motion:
Position: $s(t)$
Velocity: $v(t)=s'(t)$
Acceleration: $a(t)=s''(t)$
Concavity
If:
$f''(x) > 0$, the graph is concave up
$f''(x) < 0$, the graph is concave down
Possible inflection points occur where concavity changes.
Example:
Then
Since $f''(x)$ changes sign at $x=0$, the graph has an inflection point there.
9. Linear approximation and differentials
Near a point $x=a$, a differentiable function is well approximated by its tangent line.
Linearization
The linear approximation of $f(x)$ at $x=a$ is
This is useful for estimation.
Example:
Estimate $\sqrt{4.1}$ using $f(x)=\sqrt{x}$ at $a=4$.
So
At $x=4.1$:
So
Differentials
If $y=f(x)$, then the differential is
For a small change $dx$, the corresponding change in $y$ is approximately
Differentials are useful in error estimation and applied modeling.
10. Applications of derivatives
Increasing and decreasing behavior
Use the sign of $f'(x)$:
If $f'(x)>0$ on an interval, $f$ is increasing there.
If $f'(x)<0$ on an interval, $f$ is decreasing there.
Critical points
Critical points occur where:
$f'(x)=0$, or
$f'(x)$ does not exist
These points are candidates for local maxima, local minima, or neither.
First derivative test
If $f'$ changes:
From positive to negative, $f$ has a local maximum
From negative to positive, $f$ has a local minimum
Without a sign change, there is no local extremum
Second derivative test
If $f'(c)=0$ and:
$f''(c)>0$, then $f(c)$ is a local minimum
$f''(c)<0$, then $f(c)$ is a local maximum
$f''(c)=0$, the test is inconclusive
Related rates
If variables are connected by an equation and all depend on time, differentiate with respect to $t$.
Example for a circle:
Differentiate with respect to time:
This connects the rate of change of area to the rate of change of radius.
Newton's method
Derivatives also support numerical root-finding:
This method works well when the initial guess is reasonable and $f'(x_n)\ne 0$.
11. Optimization workflow
Many applied derivative problems reduce to optimization.
Use this process:
Define the quantity to optimize.
Write it as a function of one variable.
Find the derivative.
Solve $f'(x)=0$ and check points where $f'$ does not exist.
Use the first or second derivative test.
Check endpoints if the domain is closed and bounded.
State the answer with units and context.
Example
Find the maximum value of
Differentiate:
Set equal to zero:
Second derivative:
So $x=2$ gives a local maximum. The maximum value is
12. Formula sheet
Definition
Basic rules
Chain rule
Common functions
Linearization
Differential
Newton's method
Common mistakes to avoid
Treating the derivative as an average rate of change instead of a limit-based instantaneous rate.
Forgetting the chain rule for nested expressions such as $(3x^2+1)^5$ or $\sin(x^3)$.
Misusing the product rule by differentiating only one factor.
Dropping parentheses in quotient-rule problems.
Using trigonometric derivative formulas when the angle is not in radians.
Assuming continuity automatically implies differentiability.
Forgetting that critical points include places where $f'(x)$ does not exist.
Using the second derivative test when $f''(c)=0$ and drawing a conclusion anyway.
Writing $\frac{d}{dx}[\ln x]=\frac{1}{x}$ without checking that the domain requires $x>0$.
Solving an optimization problem algebraically but forgetting to interpret the result in context.
Sources
Stewart, Calculus: Early Transcendentals
Lay, Linear Algebra and Its Applications
Rosen, Discrete Mathematics and Its Applications
Boyce and DiPrima, Elementary Differential Equations and Boundary Value Problems
Blitzstein and Hwang, Introduction to Probability