Welcome to the Chapter on Differentiation (Unit P4)!
Hello future mathematician! This chapter is where you truly start to unlock the power of calculus. In Unit P3, you learned the basics of finding the rate of change. In Unit P4, we expand our toolkit to handle much more complex and fascinating functions, including exponential, logarithmic, and advanced trigonometric expressions.
Why is this important? Differentiation is the backbone of modeling change in the real world. Whether you are calculating the precise speed of a rocket, the instantaneous growth rate of a bacterial colony, or the optimization of a complex structure, you are using the skills you will master in this chapter.
Don't worry if some of the concepts (like implicit differentiation) seem strange at first. We will break everything down into manageable, easy-to-follow steps. Let's get started!
Section 1: New Standard Derivatives in P4
In P3, you mastered power rules. Now, we introduce the essential derivatives for transcendental functions (functions that 'transcend' algebra).
1.1 Exponential Functions: \(e^x\)
The number \(e\) (Euler's number, approx 2.718) is the most special number in calculus. Its derivative is wonderfully simple.
If \(y = e^x\), then \(\frac{dy}{dx} = e^x\).
Memory Aid (The Magic Function): The exponential function \(e^x\) is its own derivative. It remains unchanged!
The General Case (using the Chain Rule):
If \(y = e^{f(x)}\), then \(\frac{dy}{dx} = f'(x) e^{f(x)}\).
Example: If \(y = e^{3x^2+5}\), then \(f(x) = 3x^2+5\), so \(f'(x) = 6x\). Therefore, \(\frac{dy}{dx} = 6x e^{3x^2+5}\).
1.2 Logarithmic Functions: \(\ln x\)
The natural logarithm (\(\ln x\)) is the inverse function of \(e^x\).
If \(y = \ln x\) (where \(x>0\)), then \(\frac{dy}{dx} = \frac{1}{x}\).
The General Case (using the Chain Rule):
If \(y = \ln(f(x))\), then \(\frac{dy}{dx} = \frac{f'(x)}{f(x)}\).
Example: If \(y = \ln(4x^3)\), then \(f(x) = 4x^3\), so \(f'(x) = 12x^2\). Therefore, \(\frac{dy}{dx} = \frac{12x^2}{4x^3} = \frac{3}{x}\).
Quick Review: Exponential & Logarithmic Derivatives
- \(\frac{d}{dx} (e^{ax}) = a e^{ax}\)
- \(\frac{d}{dx} (\ln(ax)) = \frac{a}{ax} = \frac{1}{x}\)
1.3 Standard Trigonometric Derivatives (Refresher and P4 addition)
You should recall the cycle for sine and cosine. The key new derivative you must memorize for P4 is the derivative of \(\tan x\).
1. If \(y = \sin x\), then \(\frac{dy}{dx} = \cos x\).
2. If \(y = \cos x\), then \(\frac{dy}{dx} = -\sin x\).
3. If \(y = \tan x\), then \(\frac{dy}{dx} = \sec^2 x\).
Common Mistake to Avoid: Forgetting the minus sign!
Remember: Cos functions have Cold (negative) derivatives.
Section 2: Mastering Advanced Differentiation Rules (P4 Application)
P4 requires you to apply the Chain, Product, and Quotient Rules expertly, often combining them with the new functions we just learned.
2.1 The Chain Rule (Function of a Function)
Used when one function is nested inside another (e.g., \(\sin(x^2)\), \(e^{5x}\), \((2x+1)^3\)).
Formula: If \(y = f(u)\) and \(u = g(x)\), then \(\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}\).
Analogy: The Onion
Imagine the function is an onion. You differentiate the outer layer first (treating the inner function as a single variable), and then multiply by the derivative of the inner layer.
Example: Differentiate \(y = \cos(x^3)\).
- Outer layer (cos): Derivative is \(-\sin(\text{stuff})\).
- Inner stuff (\(x^3\)): Derivative is \(3x^2\).
- Multiply them: \(\frac{dy}{dx} = -\sin(x^3) \times 3x^2 = -3x^2 \sin(x^3)\).
2.2 The Product Rule
Used when two separate functions of \(x\) are multiplied together (e.g., \(x^2 e^x\), \(x \cos x\)).
Formula: If \(y = uv\), then \(\frac{dy}{dx} = u \frac{dv}{dx} + v \frac{du}{dx}\).
Memory Aid (Vaughn's Rule): "U D-V plus V D-U"
Example: Differentiate \(y = x^2 \ln x\).
Let \(u = x^2\) and \(v = \ln x\).
Then \(\frac{du}{dx} = 2x\) and \(\frac{dv}{dx} = \frac{1}{x}\).
\(\frac{dy}{dx} = (x^2) \left(\frac{1}{x}\right) + (\ln x) (2x)\)
\(\frac{dy}{dx} = x + 2x \ln x\). (Factor out \(x\) if needed: \(x(1 + 2 \ln x)\)).
2.3 The Quotient Rule
Used when one function of \(x\) is divided by another (e.g., \(\frac{e^x}{x}\), \(\frac{\sin x}{x^2+1}\)).
Formula: If \(y = \frac{u}{v}\), then \(\frac{dy}{dx} = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2}\).
Memory Aid (The Nursery Rhyme):
"Low D-High minus High D-Low, over Low-Squared we go!"
(Low = \(v\), High = \(u\), D = Derivative)
Crucial Point: The order matters in the numerator! It MUST be \(v \frac{du}{dx}\) minus \(u \frac{dv}{dx}\).
Example: Differentiate \(y = \frac{\sin x}{e^x}\).
Let \(u = \sin x\), \(\frac{du}{dx} = \cos x\).
Let \(v = e^x\), \(\frac{dv}{dx} = e^x\).
\(\frac{dy}{dx} = \frac{(e^x)(\cos x) - (\sin x)(e^x)}{(e^x)^2}\)
\(\frac{dy}{dx} = \frac{e^x (\cos x - \sin x)}{e^{2x}}\)
\(\frac{dy}{dx} = \frac{\cos x - \sin x}{e^x}\).
2.4 Derivatives of Reciprocal Trigonometric Functions
These derivatives are often derived using the Quotient Rule, but you are expected to memorize them for speed and accuracy.
- If \(y = \sec x\), then \(\frac{dy}{dx} = \sec x \tan x\).
- If \(y = \csc x\), then \(\frac{dy}{dx} = -\csc x \cot x\).
- If \(y = \cot x\), then \(\frac{dy}{dx} = -\csc^2 x\).
Did you know? All derivatives starting with the letter 'C' (\(\cos x\), \(\csc x\), \(\cot x\)) result in a negative derivative!
Section 3: Implicit Differentiation
Implicit differentiation is a core P4 skill. We use it when \(y\) cannot easily (or at all) be written explicitly as a function of \(x\) (e.g., \(x^2 + y^2 = 25\)).
3.1 The Concept: Treating \(y\) as \(f(x)\)
When you differentiate a term involving only \(x\), you differentiate normally. But when you differentiate a term involving \(y\), you must apply the Chain Rule because \(y\) is secretly a function of \(x\).
i.e., \(\frac{d}{dx} (y^n) = \frac{d}{dy} (y^n) \times \frac{dy}{dx} = n y^{n-1} \frac{dy}{dx}\).
Rule: Every time you differentiate a term containing \(y\) with respect to \(x\), you must multiply the result by \(\frac{dy}{dx}\).
3.2 Step-by-Step Implicit Differentiation
Step 1: Differentiate every term in the equation with respect to \(x\).
Step 2: Apply the Product Rule if you have a mixed term (e.g., \(xy\)). Remember the \(\frac{dy}{dx}\) multiplier for the \(y\) part!
Step 3: Collect all terms containing \(\frac{dy}{dx}\) on one side of the equation, and move all other terms to the opposite side.
Step 4: Factor out \(\frac{dy}{dx}\) and solve.
Example: Find \(\frac{dy}{dx}\) for \(x^2 + y^3 + 2xy = 5\).
Step 1 & 2: Differentiate term by term
\(\frac{d}{dx}(x^2) = 2x\)
\(\frac{d}{dx}(y^3) = 3y^2 \frac{dy}{dx}\)
\(\frac{d}{dx}(2xy)\) requires the Product Rule. Let \(u=2x\) (\(\frac{du}{dx}=2\)) and \(v=y\) (\(\frac{dv}{dx}=\frac{dy}{dx}\)).
Derivative of \(2xy\): \(u \frac{dv}{dx} + v \frac{du}{dx} = 2x \frac{dy}{dx} + y(2)\)
\(\frac{d}{dx}(5) = 0\)
Equation after differentiation: \(2x + 3y^2 \frac{dy}{dx} + 2x \frac{dy}{dx} + 2y = 0\)
Step 3 & 4: Collect and Solve
\(3y^2 \frac{dy}{dx} + 2x \frac{dy}{dx} = -2x - 2y\)
\(\frac{dy}{dx} (3y^2 + 2x) = -2x - 2y\)
\(\frac{dy}{dx} = \frac{-2x - 2y}{3y^2 + 2x}\)
Key Takeaway for Implicit Differentiation
Implicit differentiation is just the Chain Rule applied multiple times. Whenever you see a \(y\), treat it as an inner function and remember to attach \(\frac{dy}{dx}\).
Section 4: Related Rates of Change
This section applies the Chain Rule to solve problems where two rates (how fast two different quantities are changing) are linked by a single variable, usually time (\(t\)).
For example: How fast is the radius of a balloon changing (\(\frac{dr}{dt}\)) if we know how fast the volume is changing (\(\frac{dV}{dt}\))?
4.1 The Fundamental Relationship
We often use the Chain Rule to bridge the gap between two rates:
\[ \frac{dA}{dt} = \frac{dA}{dB} \times \frac{dB}{dt} \]
In this formula, \(A\) and \(B\) are the two changing quantities (like Area and Radius), and \(t\) is the common linking variable (time).
4.2 Step-by-Step Procedure for Related Rates
Step 1: Identify Given Information. List the known rates and the values of the variables at the instant you are interested in.
Step 2: Find the Linking Equation. Write down the algebraic formula that relates the two quantities (e.g., \(V = \frac{4}{3} \pi r^3\)).
Step 3: Form the Chain Rule. Decide which rates need linking. If you know \(\frac{dV}{dt}\) and need \(\frac{dr}{dt}\), you will need: \[ \frac{dV}{dt} = \frac{dV}{dr} \times \frac{dr}{dt} \]
Step 4: Differentiate the Linking Equation. Find the required intermediate derivative (e.g., calculate \(\frac{dV}{dr}\) from your linking equation). This derivative will be in terms of a variable (like \(r\)).
Step 5: Substitute and Solve. Plug the known values (including the instantaneous values of the variables and the known rate) into your Chain Rule formula and calculate the required rate.
Example Analogy: The Melting Ice Cube
If an ice cube is melting such that its volume \(V\) is decreasing at \(2 \text{ cm}^3\text{/min}\) (\(\frac{dV}{dt} = -2\)). We want to find the rate the side length \(x\) is changing (\(\frac{dx}{dt}\)) when the side length is \(x=5 \text{ cm}\).
Linking Equation: \(V = x^3\)
Intermediate Derivative: \(\frac{dV}{dx} = 3x^2\)
Chain Rule: \(\frac{dV}{dt} = \frac{dV}{dx} \times \frac{dx}{dt}\)
Substitute knowns (where \(x=5\)):
\(-2 = (3(5)^2) \times \frac{dx}{dt}\)
\(-2 = 75 \times \frac{dx}{dt}\)
\(\frac{dx}{dt} = -\frac{2}{75} \text{ cm/min}\) (The negative sign confirms the side length is decreasing).
Quick Review: P4 Differentiation Checklist
Ensure you can fluently handle:
- The derivatives of \(e^{f(x)}\) and \(\ln(f(x))\).
- Combining the Product, Quotient, and Chain Rules seamlessly.
- Differentiating implicitly (especially mixed terms like \(x^2 y\)).
- Solving contextual problems involving Related Rates of Change.
Congratulations on tackling this essential chapter! Keep practicing, and these advanced techniques will become second nature.