Introduction
Alright, you've nailed the basics of differentiation in P1, but now it's time to seriously expand your calculus toolkit. In this chapter, we're tackling the big guns. First up, we'll learn the derivatives for all those other functions you've been working with – think trig ($sin x$, $cos x$, $tan x$), exponentials ($e^x$), and natural logs ($ln x$). Then, we'll unleash two incredibly powerful tools: the Product Rule and the Quotient Rule, which let you differentiate functions that are multiplied or divided together. Finally, we'll dive into some next-level techniques with Parametric and Implicit Differentiation. These are your secret weapons for finding gradients when the relationship between $x$ and $y$ isn't a straightforward $y = f(x)$. By the end of this, you'll be able to differentiate almost anything an examiner can throw at you. Let's get started! 💪
Derivatives of Standard Functions and the Chain Rule2.4
Alright, let's level up our differentiation game. You've mastered the power rule, but that's like only knowing one move in a video game. To tackle the big bosses in your exams and in future STEM courses, we need to add some new special moves to our arsenal. These are the derivatives of five key 'standard' functions that pop up everywhere, from modeling population growth to analyzing electrical circuits. You absolutely must commit these to memory:<br><br>1. The Exponential Function: $\frac{d}{dx}(e^x) = e^x$. Yes, you read that right. It's its own derivative. Mind-blowing and incredibly useful.<br>2. The Natural Logarithm: $\frac{d}{dx}(\ln x) = \frac{1}{x}$. Simple, elegant, and the inverse of the exponential relationship.<br>3. The Trig Trio: $\frac{d}{dx}(\sin x) = \cos x$, $\frac{d}{dx}(\cos x) = -\sin x$ (watch out for that sneaky negative!), and $\frac{d}{dx}(\tan x) = \sec^2 x$.<br><br>Now, what happens when these functions aren't just applied to a plain old $x$? What if you have to differentiate something like $e^{5x^2}$ or $\sin(3x-1)$? This is where the MVP of differentiation, the Chain Rule, comes in. The chain rule is how we handle composite functions – basically, a function living inside another function. Think of it like a Russian doll. To find the derivative, you follow the 'outside-inside' method: first, you differentiate the outer function (the big doll), leaving the inner function (the little doll) completely untouched inside. Then, you multiply that result by the derivative of the inner function.
Formally, if $y = f(g(x))$, then its derivative is $\frac{dy}{dx} = f'(g(x)) \times g'(x)$. Mastering this is non-negotiable for exam success and is a foundational concept for university-level calculus.
Worked Example: Applying the Chain Rule to a Logarithmic Function2.4
Problem Find the derivative of the function $y = 4 \ln(x^2 + 3x)$.
Step 1 First, we need to identify the structure of this composite function. Think 'outside-inside'. The outer function is the logarithm part, $4 \ln(u)$, and the inner function is the polynomial inside the brackets, $u = x^2 + 3x$. $$y = 4 \ln(u) \quad \text{where} \quad u = x^2 + 3x$$
Step 2 Next, we differentiate the outer function with respect to its variable, $u$. Remember, the derivative of $\ln(u)$ is $\frac{1}{u}$. $$\frac{dy}{du} = 4 \times \frac{1}{u} = \frac{4}{u}$$
Step 3 Now, we differentiate the inner function with respect to $x$. This is a straightforward application of the power rule. $$\frac{du}{dx} = 2x + 3$$
Step 4 Time to assemble the pieces using the chain rule formula: $\frac{dy}{dx} = \frac{dy}{du} \times \frac{du}{dx}$. We just multiply the two derivatives we found. $$\frac{dy}{dx} = \frac{4}{u} \times (2x + 3)$$
Step 5 The final, crucial step is to get our answer entirely in terms of $x$. We substitute the original expression for $u$ back into our derivative. This gives us our final, clean answer. $$\frac{dy}{dx} = \frac{4}{x^2 + 3x} \times (2x + 3) = \frac{4(2x + 3)}{x^2 + 3x}$$
Differentiation of Products and Quotients2.4
Alright, let's level up our differentiation game. You've mastered the basics, but what happens when functions get complicated and start multiplying or dividing? You can't just differentiate each part separately – that's a classic exam trap! Instead, we need two powerful new tools: the Product Rule and the Quotient Rule.<br><br>First up, the Product Rule. Use this when you have two functions multiplied together, like $y = u(x)v(x)$. Think of it as a team effort or a musical duet. Each function gets its turn to be differentiated while the other one supports it. The formula you need to memorise is: $$ \frac{dy}{dx} = u \frac{dv}{dx} + v \frac{du}{dx} $$ Or, in prime notation, $y' = uv' + vu'$. Since it's addition, the order doesn't strictly matter, but sticking to one form helps avoid errors.<br><br>Next, the Quotient Rule. This is for when you're dividing one function by another, like $y = \frac{u(x)}{v(x)}$. This rule is a bit more dramatic and requires precision. The order is critical because of the subtraction. The formula is: $$ \frac{dy}{dx} = \frac{v \frac{du}{dx} - u \frac{dv}{dx}}{v^2} $$ A great way to remember this is: "low d-high, minus high d-low, square the bottom and away we go!". Mastering these isn't just about passing this exam; it's fundamental for university-level physics, engineering, and economics, where you'll model complex, interacting systems. 
Worked Example: Applying the Quotient Rule2.4
Problem Given the function $y = \frac{e^{2x}}{x^2 + 1}$, find an expression for $\frac{dy}{dx}$.
Step 1 First, we identify our 'u' (the numerator) and 'v' (the denominator) from the fraction. This is our setup phase. $$ u = e^{2x} \\ v = x^2 + 1 $$
Step 2 Now, we differentiate both parts with respect to $x$. Remember to use the chain rule for $u$! $$ \frac{du}{dx} = 2e^{2x} \\ \frac{dv}{dx} = 2x $$
Step 3 Time to substitute these four components into the Quotient Rule formula: $\frac{dy}{dx} = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2}$. Be meticulous with your substitution and brackets to avoid sign errors. $$ \frac{dy}{dx} = \frac{(x^2 + 1)(2e^{2x}) - (e^{2x})(2x)}{(x^2 + 1)^2} $$
Step 4 The final, crucial step is to simplify the numerator. Look for common factors to pull out. A simplified answer is always expected and makes it easier to work with in subsequent steps (like finding stationary points). $$ \frac{dy}{dx} = \frac{2e^{2x}(x^2 + 1 - x)}{(x^2 + 1)^2} $$
Parametric and Implicit Differentiation2.4
Alright, let's level up our differentiation game. So far, you've mostly dealt with explicit functions like $y = f(x)$, where $y$ is clearly the star of the show. But in more advanced maths, and definitely at university, relationships get more complex. Enter parametric and implicit differentiation! <br><br>First up, parametric equations. Imagine you're tracking a drone. Instead of describing its path as $y$ in terms of $x$, it's more natural to describe its x-position and y-position separately over time, $t$. So you get $x = f(t)$ and $y = g(t)$. Here, '$t$' is the parameter – a third variable that controls both $x$ and $y$. To find the gradient $\frac{dy}{dx}$, we can't just differentiate $y$ with respect to $x$ directly. Instead, we use a clever application of the chain rule: $$ \frac{dy}{dx} = \frac{dy/dt}{dx/dt} $$ Think of it as 'rate of change of y over time' divided by 'rate of change of x over time'. This is essential for physics (projectile motion) and computer graphics (creating smooth curves for animation). Once you have $\frac{dy}{dx}$ in terms of $t$, finding tangents and normals is business as usual: find the gradient at a specific $t$, find the $(x, y)$ coordinates at that $t$, and use $y - y_1 = m(x - x_1)$.
<br><br>Next, implicit differentiation. This is for equations where $x$ and $y$ are all tangled up, like $x^3 + y^3 = 6xy$. It's the "it's complicated" relationship status of functions. You can't easily isolate $y$. So, what do we do? We differentiate the entire equation with respect to $x$, term by term. The crucial rule is: whenever you differentiate a term involving $y$, you must multiply by $\frac{dy}{dx}$. Why? Because we're assuming $y$ is secretly a function of $x$. It's the chain rule again! For example, the derivative of $y^3$ with respect to $x$ is $3y^2 \times \frac{dy}{dx}$. After differentiating every term, you'll have an equation with $x$, $y$, and $\frac{dy}{dx}$. Your final mission is to do some algebraic kung fu to isolate $\frac{dy}{dx}$. This technique is a lifesaver for finding gradients on curves like circles and ellipses, and it's foundational for related rates problems you'll see in engineering and economics.
Worked Example: Equation of a Tangent to a Parametric Curve2.4
Problem A curve C is defined by the parametric equations $x = t^2 + 1$ and $y = t^3 - 3t$. Find the equation of the tangent to C at the point where $t = 2$.
Step 1 First, we need the rates of change for both x and y with respect to our parameter, t. This gives us the components for our gradient formula. $$ \frac{dx}{dt} = 2t \quad \text{and} \quad \frac{dy}{dt} = 3t^2 - 3 $$
Step 2 Now we use the chain rule for parametric equations, $\frac{dy}{dx} = \frac{dy/dt}{dx/dt}$, to find the gradient of the curve in terms of t. $$ \frac{dy}{dx} = \frac{3t^2 - 3}{2t} $$
Step 3 The problem asks for the tangent at a specific point, defined by $t=2$. We substitute this value into our expression for $\frac{dy}{dx}$ to find the numerical gradient, $m$. $$ m = \frac{3(2)^2 - 3}{2(2)} = \frac{12 - 3}{4} = \frac{9}{4} $$
Step 4 We have the gradient, but we need the actual $(x, y)$ coordinates of the point on the curve. We get these by substituting $t=2$ back into the original parametric equations. $$ x = (2)^2 + 1 = 5 \\ y = (2)^3 - 3(2) = 8 - 6 = 2 \\ \text{So, the point is } (5, 2). $$
Step 5 We have a point $(5, 2)$ and a gradient $m = \frac{9}{4}$. We can now use the point-gradient formula $y - y_1 = m(x - x_1)$ to find the equation of the line, usually required in the form $ax+by+c=0$. $$ y - 2 = \frac{9}{4}(x - 5) \\ 4(y - 2) = 9(x - 5) \\ 4y - 8 = 9x - 45 \\ 9x - 4y - 37 = 0 $$
Key Points to Remember
- Master the new standard derivatives: $ \frac{d}{dx}(e^{ax}) = ae^{ax} $, $ \frac{d}{dx}(\ln x) = \frac{1}{x} $, $ \frac{d}{dx}(\sin(ax)) = a\cos(ax) $, $ \frac{d}{dx}(\cos(ax)) = -a\sin(ax) $, and $ \frac{d}{dx}(\tan(ax)) = a\sec^2(ax) $.
- For products use $ \frac{d}{dx}(uv) = u\frac{dv}{dx} + v\frac{du}{dx} $. For quotients use $ \frac{d}{dx}(\frac{u}{v}) = \frac{v\frac{du}{dx} - u\frac{dv}{dx}}{v^2} $. Don't mix them up!
- For parametric equations, use the chain rule: $ \frac{dy}{dx} = \frac{dy/dt}{dx/dt} $. For implicit equations, differentiate term-by-term with respect to $x$, remembering that $ \frac{d}{dx}(f(y)) = f'(y)\frac{dy}{dx} $.