Differential Calculus

Differential Calculus - Formulas & Rules

IB Mathematics Analysis & Approaches (SL & HL)

📐 Derivative Definition

Definition from First Principles:

\[f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h}\]

Given in formula booklet

Alternative Notations:

For \(y = f(x)\), the derivative can be written as:
• \(f'(x)\) (Lagrange notation)
• \(\frac{dy}{dx}\) (Leibniz notation)
• \(y'\) (prime notation)
• \(\frac{df}{dx}\)

⚡ Power Rule

General Power Rule:

\[\frac{d}{dx}(x^n) = nx^{n-1}\]

where \(n \in \mathbb{R}\)
Given in formula booklet

With Coefficient:

\[\frac{d}{dx}(ax^n) = anx^{n-1}\]

Special Cases:

• Constant: \(\frac{d}{dx}(c) = 0\)
• Linear: \(\frac{d}{dx}(x) = 1\)
• Square: \(\frac{d}{dx}(x^2) = 2x\)
• Cubic: \(\frac{d}{dx}(x^3) = 3x^2\)

➕ Basic Differentiation Rules

Constant Multiple Rule:

\[\frac{d}{dx}[cf(x)] = c \cdot f'(x)\]

where \(c\) is a constant

Sum/Difference Rule:

\[\frac{d}{dx}[f(x) \pm g(x)] = f'(x) \pm g'(x)\]

Differentiate term by term

Linear Combination:

\[\frac{d}{dx}[af(x) + bg(x)] = af'(x) + bg'(x)\]

📊 Derivatives of Standard Functions

Trigonometric Functions:

\[\frac{d}{dx}(\sin x) = \cos x\]

\[\frac{d}{dx}(\cos x) = -\sin x\]

\[\frac{d}{dx}(\tan x) = \sec^2 x\]

Given in formula booklet

Exponential Function:

\[\frac{d}{dx}(e^x) = e^x\]

Given in formula booklet

Natural Logarithm:

\[\frac{d}{dx}(\ln x) = \frac{1}{x}\]

where \(x > 0\)
Given in formula booklet

🔗 Chain Rule

Chain Rule (Composite Functions):

\[\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}\]

For \(y = f(u)\) where \(u = g(x)\)
Given in formula booklet

Alternative Form:

\[\frac{d}{dx}[f(g(x))] = f'(g(x)) \times g'(x)\]

When to Use:

• Function inside another function (composition)
• Examples: \((3x+2)^5\), \(\sin(2x)\), \(e^{x^2}\), \(\ln(x^2+1)\)

✖️ Product Rule

Product Rule:

\[\frac{d}{dx}[u \cdot v] = u \frac{dv}{dx} + v \frac{du}{dx}\]

Also written as: \((uv)' = uv' + vu'\)
Given in formula booklet

Alternative Notation:

\[\frac{d}{dx}[f(x) \cdot g(x)] = f(x) \cdot g'(x) + g(x) \cdot f'(x)\]

When to Use:

• Multiplication of two functions
• Examples: \(x^2 \sin x\), \(e^x \cos x\), \(x \ln x\)

➗ Quotient Rule

Quotient Rule:

\[\frac{d}{dx}\left[\frac{u}{v}\right] = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}\]

Also written as: \(\left(\frac{u}{v}\right)' = \frac{vu' - uv'}{v^2}\)
Given in formula booklet

Memory Aid:

"Low dee-high minus high dee-low, square the bottom and away we go!"

When to Use:

• Division of two functions
• Examples: \(\frac{x^2}{x+1}\), \(\frac{\sin x}{x}\), \(\frac{e^x}{x^2}\)

🔄 Second Derivatives

Second Derivative:

\[f''(x) = \frac{d^2y}{dx^2} = \frac{d}{dx}\left[\frac{dy}{dx}\right]\]

Derivative of the derivative (rate of change of rate of change)

Interpretation:

• Measures concavity of the graph
• Related to acceleration if y represents position
• Used to determine nature of stationary points

📏 Tangent & Normal Lines

Gradient at Point:

\[m_{\text{tangent}} = f'(a)\]

Gradient of tangent at \(x = a\)

Equation of Tangent Line:

\[y - f(a) = f'(a)(x - a)\]

Point-slope form at \((a, f(a))\)

Gradient of Normal Line:

\[m_{\text{normal}} = -\frac{1}{f'(a)}\]

Perpendicular to tangent (negative reciprocal)

Equation of Normal Line:

\[y - f(a) = -\frac{1}{f'(a)}(x - a)\]

🎯 Stationary Points

Condition for Stationary Point:

\[f'(x) = 0\]

Gradient is zero at stationary points

Second Derivative Test:

At stationary point \(x = a\) where \(f'(a) = 0\):
• If \(f''(a) > 0\): Local minimum
• If \(f''(a) < 0\): Local maximum
• If \(f''(a) = 0\): Test inconclusive (use first derivative test)

First Derivative Test:

Check sign of \(f'(x)\) before and after \(x = a\):
• \(+ \to -\): Local maximum
• \(- \to +\): Local minimum
• \(+ \to +\) or \(- \to -\): Point of inflection

🎯 Optimization

Steps for Optimization Problems:

1. Identify the quantity to maximize/minimize
2. Express it as a function of one variable
3. Find \(f'(x) = 0\) to locate stationary points
4. Use second derivative test or boundary analysis
5. Verify it's a maximum/minimum (not just stationary point)

Common Applications:

• Maximizing area or volume
• Minimizing cost, distance, or time
• Finding optimal dimensions

⏱️ Related Rates

Concept:

When two or more variables are related and change with time, their rates of change are also related

Method:

1. Write equation relating the variables
2. Differentiate both sides with respect to time
3. Substitute known values and solve for unknown rate

Notation:

\[\frac{dx}{dt}, \frac{dy}{dt}\]

Rates of change with respect to time

💡 Exam Tip: Most differentiation formulas are given in the IB formula booklet including power rule, trig derivatives, exponential/log, chain rule, product rule, and quotient rule. Always simplify before differentiating when possible - expand brackets or use negative/fractional powers. Remember: Product rule for multiplication, quotient rule for division, chain rule for composition. For stationary points: find where f'(x) = 0, then use second derivative test. Practice recognizing which rule to use!