Average Rate of Change
This gives the slope of a secant line through two points on the graph.
Calculus Guide
Learn what derivatives mean, how they measure instantaneous change, and how to differentiate functions using the major derivative rules.
Instantaneous Change
A derivative measures how quickly one quantity changes with respect to another.
Geometrically, the derivative gives the slope of the tangent line to a graph at a particular point.
In applied problems, the derivative often represents an instantaneous rate of change.
Derivative
\(f'(x)\) tells us how the output of \(f(x)\) is changing at each input value \(x\).
Big Idea
If \(y=f(x)\), then \(f'(x)\) describes how rapidly \(y\) changes as \(x\) changes.
A positive derivative means the function is increasing locally, while a negative derivative means the function is decreasing locally.
From Algebra to Calculus
Before calculus, slope describes average change over an interval. Derivatives let us shrink that interval down to a single instant.
Average Rate of Change
This gives the slope of a secant line through two points on the graph.
Instantaneous Rate of Change
This gives the slope of the tangent line at one point.
Example
Suppose position is given by
\[ s(t)=t^2. \]From \(t=2\) to \(t=4\), the average velocity is
\[ \frac{ s(4)-s(2) }{ 4-2 } = \frac{ 16-4 }{ 2 } = 6. \]The derivative will let us find velocity at a single instant instead of over an interval.
Several Equivalent Forms
Calculus uses several common ways to write a derivative. They all describe the same underlying idea.
Prime Notation
\[ f'(x) \]Common when working with a named function \(f\).
Leibniz Notation
\[ \frac{dy}{dx} \]Emphasizes change in \(y\) relative to change in \(x\).
Operator Notation
\[ \frac{d}{dx} \left[f(x)\right] \]Reads as “differentiate \(f(x)\) with respect to \(x\).”
At a Point
\[ f'(a) \]The derivative evaluated at the specific input \(x=a\).
Where Derivatives Come From
The derivative is built directly from the limit of average rates of change over smaller and smaller intervals.
Difference Quotient
\[ \boxed{ f'(x) = \lim_{h\to0} \frac{ f(x+h)-f(x) }{ h } } \]First Principles
Example
Start with
\[ f'(x) = \lim_{h\to0} \frac{ f(x+h)-f(x) }{ h }. \]Substitute \(f(x)=x^2\):
\[ f'(x) = \lim_{h\to0} \frac{ (x+h)^2-x^2 }{ h }. \]Expand:
\[ (x+h)^2 = x^2+2xh+h^2. \] \[ f'(x) = \lim_{h\to0} \frac{ x^2+2xh+h^2-x^2 }{ h }. \]Simplify:
\[ = \lim_{h\to0} \frac{ 2xh+h^2 }{ h }. \] \[ = \lim_{h\to0} \left( 2x+h \right). \]Now let \(h\to0\):
\[ f'(x)=2x. \]Important
Since \(f'(x)=2x\), the slope of \(f(x)=x^2\) changes depending on the value of \(x\).
Core Rules
Once the meaning of the derivative is understood, most derivatives are found using a small collection of rules.
Constant Rule
\[ \frac{d}{dx}(c)=0 \]A constant does not change.
Power Rule
\[ \frac{d}{dx} \left(x^n\right) = nx^{n-1} \]Bring down the exponent and subtract one.
Constant Multiple
\[ \frac{d}{dx} \left[ cf(x) \right] = cf'(x) \]Constants stay in front.
Sum Rule
\[ \frac{d}{dx} \left[ f(x)+g(x) \right] = f'(x)+g'(x) \]Differentiate each term.
Difference Rule
\[ \frac{d}{dx} \left[ f(x)-g(x) \right] = f'(x)-g'(x) \]Differentiate term by term.
The Workhorse Rule
The power rule is one of the most frequently used derivative rules.
Example
\[ \frac{d}{dx}(x^5) \] \[ = 5x^4 \]Example
\[ \frac{d}{dx}(x^{-2}) \] \[ = -2x^{-3} \]Example
\[ \frac{d}{dx}(\sqrt{x}) \]Rewrite first:
\[ \sqrt{x} = x^{1/2} \] \[ = \frac12x^{-1/2} \]Useful Habit
Rewrite radicals and variables in denominators using exponents before applying the power rule.
Combine the Basics
Example
Differentiate each term:
\[ f'(x) = 4(5x^4) - 3(3x^2) + 7 - 0. \] \[ f'(x) = 20x^4-9x^2+7. \]Products of Functions
When two functions are multiplied, you cannot simply differentiate each function and multiply the results.
Memory Pattern
Example
Let
\[ f(x)=x^2, \qquad g(x)=x^3+1. \]Then
\[ f'(x)=2x, \qquad g'(x)=3x^2. \]Apply the product rule:
\[ y' = (2x)(x^3+1) + x^2(3x^2). \] \[ = 2x^4+2x+3x^4. \] \[ = 5x^4+2x. \]Ratios of Functions
Memory Pattern
Bottom times derivative of top minus top times derivative of bottom, all over bottom squared.
Example
Let
\[ f(x)=x^2+1, \qquad g(x)=x. \] \[ f'(x)=2x, \qquad g'(x)=1. \]Apply the quotient rule:
\[ y' = \frac{ (2x)(x) - (x^2+1)(1) }{ x^2 }. \] \[ = \frac{ 2x^2-x^2-1 }{ x^2 }. \] \[ = \frac{x^2-1}{x^2}. \]Before Using the Quotient Rule
Check whether the expression can be simplified or rewritten using negative exponents first. Sometimes the power rule is easier.
Functions Inside Functions
The chain rule is used when one function is composed inside another.
Example
Differentiate the outer function while keeping the inside unchanged:
\[ 5(3x^2+1)^4. \]Then multiply by the derivative of the inside:
\[ \frac{d}{dx}(3x^2+1) = 6x. \]Therefore,
\[ y' = 5(3x^2+1)^4(6x). \] \[ y' = 30x(3x^2+1)^4. \]Common Mistake
Differentiating \((3x^2+1)^5\) as merely \(5(3x^2+1)^4\) is incomplete. The factor \(6x\) must also appear.
Essential Formulas
Sine
\[ \boxed{ \frac{d}{dx} (\sin x) = \cos x } \]Cosine
\[ \boxed{ \frac{d}{dx} (\cos x) = -\sin x } \]Tangent
\[ \boxed{ \frac{d}{dx} (\tan x) = \sec^2 x } \]Cotangent
\[ \boxed{ \frac{d}{dx} (\cot x) = -\csc^2 x } \]Secant
\[ \boxed{ \frac{d}{dx} (\sec x) = \sec x\tan x } \]Cosecant
\[ \boxed{ \frac{d}{dx} (\csc x) = -\csc x\cot x } \]Important
These derivative formulas assume angles are measured in radians.
Combine the Rules
Example
The outer function is sine:
\[ \frac{d}{dx} \sin(u) = \cos(u). \]So the outer derivative gives
\[ \cos(4x^2). \]The derivative of the inside is
\[ \frac{d}{dx}(4x^2) = 8x. \]Multiply:
\[ y' = 8x\cos(4x^2). \]Geometric Meaning
The derivative at a point gives the slope of the tangent line there.
Tangent Line at \(x=a\)
The slope is
\[ m=f'(a). \]The point on the curve is
\[ (a,f(a)). \]Use point-slope form:
\[ \boxed{ y-f(a) = f'(a)(x-a) } \]Example
First find the derivative:
\[ f'(x)=2x. \]Find the slope at \(x=2\):
\[ f'(2)=4. \]Find the point:
\[ f(2)=4. \]So the tangent line passes through \((2,4)\) with slope \(4\).
\[ y-4 = 4(x-2). \] \[ y = 4x-4. \]An Important Application
Position
\[ s(t) \]Describes where an object is.
Velocity
\[ v(t) = s'(t) \]The rate of change of position.
Acceleration
\[ a(t) = v'(t) = s''(t) \]The rate of change of velocity.
Differentiate Again
A derivative can itself be differentiated.
First Derivative
\[ f'(x) \]Second Derivative
\[ f''(x) \]Third Derivative
\[ f'''(x) \]\(n\)th Derivative
\[ f^{(n)}(x) \]Important Relationship
Differentiability is a stronger condition than continuity.
If \(f\) Is Differentiable
Then \(f\) must be continuous.But
Continuity does not guarantee differentiability.Corner
The left-hand and right-hand slopes do not agree.
Cusp
Slopes become unbounded in opposite directions.
Vertical Tangent
The slope becomes infinite or undefined.
Discontinuity
A function cannot be differentiable where it is discontinuous.
Classic Example
The graph of \(y=|x|\) is continuous at \(x=0\), but it has a sharp corner there.
The left-hand slope is
\[ -1 \]while the right-hand slope is
\[ 1. \]Since the slopes do not agree, \(f'(0)\) does not exist.
Watch Out
For the power rule, multiply by the old exponent and then subtract one from the exponent.
The derivative of any constant is zero.
In general,
\[ (fg)' \neq f'g'. \]Use \(f'g+fg'\).
The numerator must preserve the correct subtraction order.
When a function is nested inside another function, multiply by the derivative of the inside.
Remember:
\[ \frac{d}{dx} (\cos x) = -\sin x. \]\(f(a)\) is the function value. \(f'(a)\) is the slope or rate of change at that point.
A continuous graph can still have a corner, cusp, or vertical tangent.
Problem-Solving Roadmap
Simplify First
Rewrite radicals and denominators as powers when that makes differentiation easier.
Identify the Structure
Look for powers, products, quotients, trig functions, and compositions.
Choose the Rule
Use the power, product, quotient, chain, or trig derivative rule.
Work from Outside In
If one function is inside another, differentiate the outside and multiply by the derivative of the inside.
Finish
Combine like terms and simplify the final expression when appropriate.
Keep This Handy
Limit Definition
\[ f'(x) = \lim_{h\to0} \frac{ f(x+h)-f(x) }{ h } \]Constant
\[ \frac{d}{dx}(c)=0 \]Power
\[ \frac{d}{dx}(x^n) = nx^{n-1} \]Product
\[ (fg)' = f'g+fg' \]Quotient
\[ \left( \frac{f}{g} \right)' = \frac{ f'g-fg' }{ g^2 } \]Chain
\[ \frac{d}{dx} f(g(x)) = f'(g(x))g'(x) \]Sine
\[ (\sin x)' = \cos x \]Cosine
\[ (\cos x)' = -\sin x \]Tangent
\[ (\tan x)' = \sec^2x \]Tangent Line
\[ y-f(a) = f'(a)(x-a) \]Before You Practice
Your Turn
Practice the power rule, product rule, quotient rule, chain rule, trig derivatives, tangent lines, and differentiability.
Personalized Math Support
If a concept still feels confusing, you do not have to work through it alone. Tell me what you are studying and where you are getting stuck, and I will help you determine the best next step.
Support Free Math Resources
RaulTheTutor.com provides free interactive tools, guides, reference resources, and practice materials for students, parents, and teachers. If this resource helped you, consider making an optional contribution to support the development of more free math resources.