2. Pure Mathematics 2

Differentiation

Differentiation rules, implicit differentiation, higher derivatives and applications to rates and optimization.

Differentiation

Hey students! šŸ‘‹ Ready to dive into one of the most powerful tools in mathematics? Differentiation is like having a mathematical superpower that lets you find rates of change instantly - from how fast a car is accelerating to predicting the maximum profit a company can make. By the end of this lesson, you'll master the fundamental differentiation rules, tackle implicit differentiation like a pro, explore higher derivatives, and apply these skills to solve real-world problems involving rates and optimization. Let's unlock the secrets of calculus together! šŸš€

Understanding Differentiation and Basic Rules

Differentiation is the mathematical process of finding how quickly one quantity changes with respect to another. Think of it as finding the "steepness" or slope of a curve at any given point. When you're driving and look at your speedometer, you're actually seeing differentiation in action - it shows how your position changes over time! šŸ“ˆ

The derivative of a function $f(x)$ is written as $f'(x)$ or $\frac{df}{dx}$, and it represents the instantaneous rate of change at any point $x$.

The Power Rule is your first and most frequently used tool. For any function $f(x) = x^n$ where $n$ is any real number, the derivative is:

$$f'(x) = nx^{n-1}$$

For example, if $f(x) = x^3$, then $f'(x) = 3x^2$. If $f(x) = x^{1/2} = \sqrt{x}$, then $f'(x) = \frac{1}{2}x^{-1/2} = \frac{1}{2\sqrt{x}}$.

The Product Rule comes into play when you're differentiating two functions multiplied together. If $f(x) = u(x) \cdot v(x)$, then:

$$f'(x) = u'(x)v(x) + u(x)v'(x)$$

Remember it as "first times derivative of second, plus second times derivative of first." For instance, if $f(x) = x^2 \sin(x)$, then $f'(x) = 2x \sin(x) + x^2 \cos(x)$.

The Quotient Rule handles division of functions. If $f(x) = \frac{u(x)}{v(x)}$, then:

$$f'(x) = \frac{u'(x)v(x) - u(x)v'(x)}{[v(x)]^2}$$

A helpful memory trick: "Low dee-high minus high dee-low, over low squared." For example, $f(x) = \frac{x^2}{x+1}$ gives $f'(x) = \frac{2x(x+1) - x^2(1)}{(x+1)^2} = \frac{x^2 + 2x}{(x+1)^2}$.

The Chain Rule is essential for composite functions - functions within functions. If $f(x) = g(h(x))$, then:

$$f'(x) = g'(h(x)) \cdot h'(x)$$

Think of it as working from the outside in. For $f(x) = (3x^2 + 1)^5$, you'd get $f'(x) = 5(3x^2 + 1)^4 \cdot 6x = 30x(3x^2 + 1)^4$.

Implicit Differentiation: When y Won't Behave

Sometimes equations don't give us $y$ explicitly in terms of $x$. Instead, we have relationships like $x^2 + y^2 = 25$ (a circle!) or $xy + y^2 = 10$. This is where implicit differentiation becomes your secret weapon! šŸŽÆ

The key insight is that $y$ is still a function of $x$, even if we can't solve for it directly. When we differentiate terms involving $y$, we must multiply by $\frac{dy}{dx}$ using the chain rule.

Let's work through $x^2 + y^2 = 25$:

  • Differentiate both sides: $\frac{d}{dx}(x^2 + y^2) = \frac{d}{dx}(25)$
  • This gives us: $2x + 2y\frac{dy}{dx} = 0$
  • Solving for $\frac{dy}{dx}$: $\frac{dy}{dx} = -\frac{x}{y}$

This tells us the slope of the circle at any point $(x,y)$! At the point $(3,4)$ on the circle, the slope is $-\frac{3}{4}$.

For more complex examples like $xy + y^2 = 10$:

  • Differentiate: $\frac{d}{dx}(xy) + \frac{d}{dx}(y^2) = 0$
  • Using product rule and chain rule: $y + x\frac{dy}{dx} + 2y\frac{dy}{dx} = 0$
  • Factor out $\frac{dy}{dx}$: $y + \frac{dy}{dx}(x + 2y) = 0$
  • Solve: $\frac{dy}{dx} = -\frac{y}{x + 2y}$

Higher Derivatives: Going Deeper

Just as you can differentiate once, you can keep going! The second derivative $f''(x)$ tells us about the concavity of a function - whether it's curving upward (like a smile 😊) or downward (like a frown šŸ˜”).

If $f(x) = x^4 - 6x^2 + 5$:

  • First derivative: $f'(x) = 4x^3 - 12x$
  • Second derivative: $f''(x) = 12x^2 - 12$
  • Third derivative: $f'''(x) = 24x$
  • Fourth derivative: $f^{(4)}(x) = 24$

The second derivative has crucial applications:

  • If $f''(x) > 0$, the function is concave up (curves upward)
  • If $f''(x) < 0$, the function is concave down (curves downward)
  • Points where $f''(x) = 0$ might be inflection points where concavity changes

In physics, if position is $s(t)$, then velocity is $s'(t)$ and acceleration is $s''(t)$. A car's speedometer shows $s'(t)$, while you feel $s''(t)$ when you're pushed back in your seat during acceleration! šŸš—

Applications to Rates of Change

Differentiation shines when solving real-world rate problems. These "related rates" problems involve quantities that change over time and are connected by some relationship.

Consider a balloon being inflated. The volume $V = \frac{4}{3}\pi r^3$ and radius $r$ both change with time $t$. If air is pumped in at 100 cubic inches per minute, how fast is the radius increasing when $r = 5$ inches?

We know $\frac{dV}{dt} = 100$ and want $\frac{dr}{dt}$ when $r = 5$.

Differentiating the volume formula with respect to time:

$$\frac{dV}{dt} = \frac{d}{dt}\left(\frac{4}{3}\pi r^3\right) = \frac{4}{3}\pi \cdot 3r^2 \cdot \frac{dr}{dt} = 4\pi r^2 \frac{dr}{dt}$$

Substituting known values:

$$100 = 4\pi (5)^2 \frac{dr}{dt} = 100\pi \frac{dr}{dt}$$

Therefore: $\frac{dr}{dt} = \frac{1}{\pi} \approx 0.318$ inches per minute.

Optimization: Finding the Best Solutions

Optimization uses derivatives to find maximum and minimum values - crucial for everything from maximizing profits to minimizing material usage in construction! šŸ“Š

The process involves:

  1. Find critical points where $f'(x) = 0$ or $f'(x)$ is undefined
  2. Use the second derivative test: if $f''(x) > 0$, it's a minimum; if $f''(x) < 0$, it's a maximum
  3. Check endpoints if dealing with a closed interval

Real-world example: A company's profit function is $P(x) = -2x^2 + 400x - 10000$ where $x$ is the number of units produced. Find the production level that maximizes profit.

Taking the derivative: $P'(x) = -4x + 400$

Setting equal to zero: $-4x + 400 = 0$, so $x = 100$

The second derivative: $P''(x) = -4 < 0$, confirming this is a maximum.

The company should produce 100 units for maximum profit of $P(100) = -2(100)^2 + 400(100) - 10000 = 10000$ dollars.

Another classic problem: What dimensions minimize the surface area of a cylindrical can holding 1000 cubic centimeters?

Given: $V = \pi r^2 h = 1000$, so $h = \frac{1000}{\pi r^2}$

Surface area: $S = 2\pi r^2 + 2\pi rh = 2\pi r^2 + 2\pi r \cdot \frac{1000}{\pi r^2} = 2\pi r^2 + \frac{2000}{r}$

Taking the derivative: $S'(r) = 4\pi r - \frac{2000}{r^2}$

Setting equal to zero: $4\pi r = \frac{2000}{r^2}$, which gives $r^3 = \frac{500}{\pi}$, so $r = \sqrt[3]{\frac{500}{\pi}} \approx 5.42$ cm.

Conclusion

Differentiation is your mathematical toolkit for understanding change and finding optimal solutions! You've mastered the fundamental rules (power, product, quotient, and chain), conquered implicit differentiation for tricky equations, explored higher derivatives for deeper insights, and applied these skills to solve real-world rate and optimization problems. Whether you're analyzing the motion of objects, maximizing business profits, or understanding the behavior of complex functions, differentiation gives you the power to unlock the mathematics hidden in our changing world. Keep practicing these techniques - they're the foundation for advanced calculus and countless applications in science, engineering, and economics! šŸŽ‰

Study Notes

• Power Rule: $\frac{d}{dx}(x^n) = nx^{n-1}$

• Product Rule: $\frac{d}{dx}[u(x)v(x)] = u'(x)v(x) + u(x)v'(x)$

• Quotient Rule: $\frac{d}{dx}\left[\frac{u(x)}{v(x)}\right] = \frac{u'(x)v(x) - u(x)v'(x)}{[v(x)]^2}$

• Chain Rule: $\frac{d}{dx}[g(h(x))] = g'(h(x)) \cdot h'(x)$

• Implicit Differentiation: Differentiate both sides of equation, multiply $y$ terms by $\frac{dy}{dx}$, then solve for $\frac{dy}{dx}$

• Second Derivative Test: If $f''(x) > 0$ at critical point, it's a local minimum; if $f''(x) < 0$, it's a local maximum

• Related Rates: Differentiate the relationship equation with respect to time, substitute known rates

• Optimization Steps: Find critical points ($f'(x) = 0$), test with second derivative, check endpoints

• Concavity: $f''(x) > 0$ means concave up (curves upward), $f''(x) < 0$ means concave down (curves downward)

• Critical Points: Points where $f'(x) = 0$ or $f'(x)$ is undefined - potential maxima, minima, or inflection points

Practice Quiz

5 questions to test your understanding

Differentiation — A-Level Mathematics | A-Warded