doPhysics.in
Profile

Mathematical Tools & Measurement

  1. 01Basic Essential Mathematics
  2. 02Vectors
  3. 03Differentiation
  4. 04Applications of Differentiation
  5. 05Integration
  6. 06Applications of Integration
  7. 07Physical Quantities and Units
  8. 08Dimensional Formula
  9. 09Dimensional Analysis and Its Applications
  10. 10Experimental Skills

Kinematics

  1. 01Motion in One Dimension
  2. 02Motion in Multiple Dimensions
  3. 03Relative Velocity
  4. 04Circular Motion Kinematics
  5. 05Circular Motion Dynamics

Dynamics

  1. 01Forces and Laws of Motion
  2. 02Laws of Motion
  3. 03Friction
  4. 04Force and Potential Energy
  5. 05Fundamentals of Force
  6. 06Newton's Laws and Free Body Diagrams
  7. 07Applications: Objects in Equilibrium
  8. 08Applications: Objects in Motion
  9. 09Constraint Relations
  10. 10Inertial and Non-Inertial Frames
  11. 11Basics of Friction
  12. 12Applications of Friction

Work, Energy, and Power

  1. 01Conservation of Mechanical Energy
  2. 02Work and the Work-Energy Theorem
  3. 03Work and Kinetic Energy Theorem
  4. 04Energy and its Conservation
Theory/Mathematical Tools & Measurement

Mathematical Tools & Measurement · Chapter 04

Applications of Differentiation

Applications of Differentiation detailed theory study guide for Physics.

108 min read · 7 topics

01

Key Concepts

5.4 Approximating Function Values Without a Calculator

Suppose you already know the exact value of a function f(x)f(x)f(x) at some point x0x_0x0​, and you need the value of f(x)f(x)f(x) at a nearby point x0+Δxx_0+\Delta xx0​+Δx, where Δx\Delta xΔx is small. Rather than recomputing fff from scratch at the new point, the derivative lets us estimate it directly — this is the idea of linear approximation (also called differential approximation).

Recall that the derivative f′(x0)f'(x_0)f′(x0​) is the slope of the tangent line to y=f(x)y=f(x)y=f(x) at x0x_0x0​. Near x0x_0x0​, the curve and its tangent line are almost indistinguishable, so instead of following the curve itself to x0+Δxx_0+\Delta xx0​+Δx, we can follow the tangent line, which is much easier to evaluate. Moving a small distance Δx\Delta xΔx along that tangent line changes the height by approximately Δx⋅f′(x0)\Delta x \cdot f'(x_0)Δx⋅f′(x0​). Adding this change to the starting value f(x0)f(x_0)f(x0​) gives the approximation:

f(x0+Δx)≈f(x0)+Δx d(f(x))dx∣x=x0f(x_0+\Delta x) \approx f(x_0) + \Delta x\,\frac{d(f(x))}{dx}\bigg|_{x=x_0}f(x0​+Δx)≈f(x0​)+Δxdxd(f(x))​​x=x0​​

The right-hand side is simply the sum of the known value of the function at x0x_0x0​ and the estimated change in the function due to the small step Δx\Delta xΔx, where that change is found by multiplying the rate of change of f(x)f(x)f(x) at x0x_0x0​ by Δx\Delta xΔx itself.

Accuracy of the Approximation

The value obtained for f(x0+Δx)f(x_0+\Delta x)f(x0​+Δx) from this formula is only approximate, not exact. Its accuracy depends on two things: (i) how linear the function f(x)f(x)f(x) actually is near x0x_0x0​ — the less it curves, the better the straight-line estimate; and (ii) how small Δx\Delta xΔx is — the smaller the step, the closer the tangent line stays to the true curve. Two fully worked examples applying this formula — estimating (2.01)3(2.01)^3(2.01)3 and (8.01)2/3(8.01)^{2/3}(8.01)2/3 without directly computing either cube or cube root — are given as Examples 29 and 30 in the Examples section.

Using linear approximation with f(x)=x2f(x) = x^2f(x)=x2, f(5)=25f(5) = 25f(5)=25 and f′(x)=2xf'(x) = 2xf′(x)=2x, estimate (5.02)2(5.02)^2(5.02)2.

In the linear approximation f(x0+Δx)≈f(x0)+Δx f′(x0)f(x_0+\Delta x) \approx f(x_0) + \Delta x\, f'(x_0)f(x0​+Δx)≈f(x0​)+Δxf′(x0​), at which point is the derivative evaluated?

02

Examples

Worked Examples: Applications of the Derivative

The examples below work through every application introduced in this chapter, in the same order: slope of the tangent (including implicit differentiation), the increasing/decreasing test, maxima and minima, and linear approximation.

Example 24: Slope of the Tangent to y = x²

Find the slope of the tangent drawn at x=12x=\dfrac{1}{2}x=21​ on the curve y=x2y=x^2y=x2.

Solution: The derivative of y=x2y=x^2y=x2 is

dydx=2x\frac{dy}{dx} = 2xdxdy​=2x

The slope of the tangent at x=12x=\dfrac{1}{2}x=21​ is

tan⁡θ=dydx∣x=12=2(12)=1\tan\theta = \left.\frac{dy}{dx}\right|_{x=\frac{1}{2}} = 2\left(\frac{1}{2}\right) = 1tanθ=dxdy​​x=21​​=2(21​)=1

Since tan⁡θ=1\tan\theta = 1tanθ=1, the tangent drawn at x=12x=\dfrac{1}{2}x=21​ is inclined at 45∘45^\circ45∘ to the x-axis.

The parabola y = x^2 with its tangent at x = 1/2, inclined at 45 degrees to the x-axis.
The parabola y = x^2 with its tangent at x = 1/2, inclined at 45 degrees to the x-axis.

Example 25: Slope of a Circle via Implicit Differentiation

Find the slope of the circle x2+y2=25x^2+y^2=25x2+y2=25 at the point (3,−4)(3,-4)(3,−4).

Solution: The circle is not the graph of a single function of xxx — it is the combined graphs of two differentiable functions, y1=25−x2y_1=\sqrt{25-x^2}y1​=25−x2​ (the upper semicircle) and y2=−25−x2y_2=-\sqrt{25-x^2}y2​=−25−x2​ (the lower semicircle). The point (3,−4)(3,-4)(3,−4) lies on the graph of y2y_2y2​, so one way to proceed is to differentiate y2y_2y2​ explicitly with the chain rule:

dy2dx∣x=3=−−2x225−x2∣x=3=−−6225−9=68=34\left.\frac{dy_2}{dx}\right|_{x=3} = \left.-\frac{-2x}{2\sqrt{25-x^2}}\right|_{x=3} = -\frac{-6}{2\sqrt{25-9}} = \frac{6}{8} = \frac{3}{4}dxdy2​​​x=3​=−225−x2​−2x​​x=3​=−225−9​−6​=86​=43​

But the same result is reached far more easily by differentiating the equation of the circle implicitly with respect to xxx, treating yyy as an (unspecified) function of xxx and applying the chain rule to the y2y^2y2 term:

ddx(x2)+ddx(y2)=ddx(25)\frac{d}{dx}(x^2) + \frac{d}{dx}(y^2) = \frac{d}{dx}(25)dxd​(x2)+dxd​(y2)=dxd​(25)

2x+2ydydx=02x + 2y\frac{dy}{dx} = 02x+2ydxdy​=0

dydx=−xy\frac{dy}{dx} = -\frac{x}{y}dxdy​=−yx​

The slope at (3,−4)(3,-4)(3,−4) is then

dydx∣(3,−4)=−3−4=34\left.\frac{dy}{dx}\right|_{(3,-4)} = -\frac{3}{-4} = \frac{3}{4}dxdy​​(3,−4)​=−−43​=43​

which matches the explicit calculation, without ever needing to solve for y1y_1y1​ or y2y_2y2​ separately.

The circle x^2 + y^2 = 25 with upper branch y1 and lower branch y2, and the tangent of slope 3/4 at (3, -4).
The circle x^2 + y^2 = 25 with upper branch y1 and lower branch y2, and the tangent of slope 3/4 at (3, -4).

Example 26: Testing Whether sin x Increases or Decreases

Check whether sin⁡x\sin xsinx increases or decreases at x=π3x=\dfrac{\pi}{3}x=3π​.

Solution: Let y=sin⁡xy=\sin xy=sinx. Then

dydx=cos⁡x\frac{dy}{dx} = \cos xdxdy​=cosx

The value of cos⁡x\cos xcosx at x=π3x=\dfrac{\pi}{3}x=3π​ is cos⁡π3=12\cos\dfrac{\pi}{3} = \dfrac{1}{2}cos3π​=21​, which is positive. Since dydx>0\dfrac{dy}{dx}>0dxdy​>0 at x=π3x=\dfrac{\pi}{3}x=3π​, the function sin⁡x\sin xsinx is increasing at that point.

Example 27: Classifying the Extrema of Two Simple Functions

For what value of xxx is f(x)f(x)f(x) minimum or maximum in each of the following cases? (i) f(x)=x2f(x)=x^2f(x)=x2 (ii) f(x)=−x2+2xf(x)=-x^2+2xf(x)=−x2+2x

Solution: A maximum or minimum can only occur where d(f(x))dx=0\dfrac{d(f(x))}{dx}=0dxd(f(x))​=0. The sign of the second derivative there then decides which one it is:

Maximum if ddx ⁣(d(f(x))dx)<0,Minimum if ddx ⁣(d(f(x))dx)>0\text{Maximum if } \frac{d}{dx}\!\left(\frac{d(f(x))}{dx}\right) < 0, \qquad \text{Minimum if } \frac{d}{dx}\!\left(\frac{d(f(x))}{dx}\right) > 0Maximum if dxd​(dxd(f(x))​)<0,Minimum if dxd​(dxd(f(x))​)>0

(i) d(f(x))dx=2x\dfrac{d(f(x))}{dx}=2xdxd(f(x))​=2x, which is zero at x=0x=0x=0. Its derivative is d(2x)dx=2\dfrac{d(2x)}{dx}=2dxd(2x)​=2, which is positive. Hence f(x)=x2f(x)=x^2f(x)=x2 has a minimum at x=0x=0x=0.

(ii) d(f(x))dx=−2x+2\dfrac{d(f(x))}{dx}=-2x+2dxd(f(x))​=−2x+2, which is zero at x=1x=1x=1. Its derivative is d(−2x+2)dx=−2\dfrac{d(-2x+2)}{dx}=-2dxd(−2x+2)​=−2, which is negative. Hence f(x)=−x2+2xf(x)=-x^2+2xf(x)=−x2+2x has a maximum at x=1x=1x=1.

Example 28: Maximum Height of a Projectile

The height of a particle (hhh, in metres) above the ground, in terms of time (ttt, in seconds), is given by

h=(20 m/s) t+12(−10 m/s2) t2h = (20\,\text{m/s})\,t + \frac{1}{2}(-10\,\text{m/s}^2)\,t^2h=(20m/s)t+21​(−10m/s2)t2

Find the instant at which the particle attains its maximum height, and find that maximum height.

Solution: If hhh is maximum at t=t0t=t_0t=t0​, the rate of change of hhh at that instant must be zero:

dhdt=(20 m/s)−(10 m/s2) t=0\frac{dh}{dt} = (20\,\text{m/s}) - (10\,\text{m/s}^2)\,t = 0dtdh​=(20m/s)−(10m/s2)t=0

which gives t=2 st = 2\,\text{s}t=2s. To confirm this is a maximum rather than a minimum, check the second derivative:

ddt ⁣(dhdt)=ddt(20−10t)=−10 m/s2\frac{d}{dt}\!\left(\frac{dh}{dt}\right) = \frac{d}{dt}(20-10t) = -10\,\text{m/s}^2dtd​(dtdh​)=dtd​(20−10t)=−10m/s2

Since this is negative, t=2 st=2\,\text{s}t=2s is indeed the instant of maximum height. Substituting back, the maximum height is

hmax=(20 m/s)(2 s)+12(−10 m/s2)(2 s)2=40 m−20 m=20 mh_{max} = (20\,\text{m/s})(2\,\text{s}) + \frac{1}{2}(-10\,\text{m/s}^2)(2\,\text{s})^2 = 40\,\text{m} - 20\,\text{m} = 20\,\text{m}hmax​=(20m/s)(2s)+21​(−10m/s2)(2s)2=40m−20m=20m

Example 29: Linear Approximation of (2.01)³

Find the value of (2.01)3(2.01)^3(2.01)3 using linear approximation.

Solution: Let f(x)=x3f(x)=x^3f(x)=x3, and take x0=2x_0=2x0​=2 since it is close to 2.012.012.01 and easy to evaluate exactly. Then f(2)=8f(2)=8f(2)=8, and

d(f(x))dx=3x2\frac{d(f(x))}{dx} = 3x^2dxd(f(x))​=3x2

Using the linear approximation formula with Δx=0.01\Delta x = 0.01Δx=0.01:

f(2.01)≈f(2)+(0.01)×3x2∣x=2=(2)3+(0.01)×3(2)2f(2.01) \approx f(2) + (0.01)\times \left.3x^2\right|_{x=2} = (2)^3 + (0.01)\times 3(2)^2f(2.01)≈f(2)+(0.01)×3x2​x=2​=(2)3+(0.01)×3(2)2

f(2.01)≈8+(0.01)(12)=8+0.12=8.12f(2.01) \approx 8 + (0.01)(12) = 8 + 0.12 = 8.12f(2.01)≈8+(0.01)(12)=8+0.12=8.12

So (2.01)3≈8.12(2.01)^3 \approx 8.12(2.01)3≈8.12 (the exact value is 8.1206018.1206018.120601, confirming the approximation is excellent for such a small Δx\Delta xΔx).

Example 30: Linear Approximation of (8.01)^(2/3)

Find the value of (8.01)2/3(8.01)^{2/3}(8.01)2/3 using linear approximation.

Solution: Let f(x)=x2/3f(x)=x^{2/3}f(x)=x2/3, and take x0=8x_0=8x0​=8 since 82/3=48^{2/3}=482/3=4 is easy to evaluate exactly. Then f(8)=4f(8)=4f(8)=4, and

d(f(x))dx=23x−1/3\frac{d(f(x))}{dx} = \frac{2}{3}x^{-1/3}dxd(f(x))​=32​x−1/3

Using the linear approximation formula with Δx=0.01\Delta x = 0.01Δx=0.01:

f(8.01)≈f(8)+(0.01)×23x−1/3∣x=8=(8)2/3+(0.01)×23(8)−1/3f(8.01) \approx f(8) + (0.01)\times \left.\frac{2}{3}x^{-1/3}\right|_{x=8} = (8)^{2/3} + (0.01)\times\frac{2}{3}(8)^{-1/3}f(8.01)≈f(8)+(0.01)×32​x−1/3​x=8​=(8)2/3+(0.01)×32​(8)−1/3

f(8.01)≈4+(0.01)(23×12)=4+(0.01)(0.333)≈4+0.0033=4.0033f(8.01) \approx 4 + (0.01)\left(\frac{2}{3}\times\frac{1}{2}\right) = 4 + (0.01)(0.333) \approx 4 + 0.0033 = 4.0033f(8.01)≈4+(0.01)(32​×21​)=4+(0.01)(0.333)≈4+0.0033=4.0033

So (8.01)2/3≈4.0033(8.01)^{2/3} \approx 4.0033(8.01)2/3≈4.0033.

A particle's height is h=(30 m/s) t+12(−10 m/s2) t2h = (30\ \text{m/s})\,t + \tfrac{1}{2}(-10\ \text{m/s}^2)\,t^2h=(30 m/s)t+21​(−10 m/s2)t2. What is its maximum height?

For the circle x² + y² = 25, implicit differentiation gives dy/dx = -x/y. What is the slope of the tangent at the point (0, 5)?

03

Instantaneous Velocity and Acceleration

Kinematics and the Derivative

The most direct and powerful application of differentiation in physics is in the study of motion, or kinematics. As we've learned, the derivative measures the instantaneous rate of change. This is precisely what we need to define the velocity and acceleration of an object at a single moment in time.

Instantaneous Velocity

We know that average velocity is the change in position divided by the change in time (ΔxΔt\frac{\Delta x}{\Delta t}ΔtΔx​). To find the velocity at a single instant, we need to make that time interval, Δt\Delta tΔt, infinitesimally small. This is the exact definition of the derivative.

The instantaneous velocity, v(t)v(t)v(t), is the derivative of the position function, x(t)x(t)x(t), with respect to time.

v(t)=dxdt=lim⁡Δt→0x(t+Δt)−x(t)Δtv(t) = \frac{dx}{dt} = \lim_{\Delta t \to 0} \frac{x(t + \Delta t) - x(t)}{\Delta t}v(t)=dtdx​=Δt→0lim​Δtx(t+Δt)−x(t)​

Geometrically, this means the velocity at any time ttt is the slope of the tangent line on a position-time graph at that specific time.

A tangent drawn to the position-time curve at the instant t0. Its slope is the instantaneous velocity v(t0).
A tangent drawn to the position-time curve at the instant t0. Its slope is the instantaneous velocity v(t0).

Instantaneous Acceleration

Similarly, acceleration is the rate at which velocity changes. The instantaneous acceleration, a(t)a(t)a(t), is the derivative of the velocity function, v(t)v(t)v(t), with respect to time.

a(t)=dvdta(t) = \frac{dv}{dt}a(t)=dtdv​

Since velocity is already the derivative of position, acceleration is the second derivative of the position function.

a(t)=ddt(dxdt)=d2xdt2a(t) = \frac{d}{dt}\left(\frac{dx}{dt}\right) = \frac{d^2x}{dt^2}a(t)=dtd​(dtdx​)=dt2d2x​

Geometrically, the acceleration at any time ttt is the slope of the tangent line on a velocity-time graph at that time.

Example: Analyzing Motion

The position of a particle is given by x(t)=2t3−9t2+12tx(t) = 2t^3 - 9t^2 + 12tx(t)=2t3−9t2+12t. Find its velocity and acceleration at t=2t=2t=2 s.

1. Find the velocity function, v(t):
Differentiate x(t)x(t)x(t) with respect to ttt.
v(t)=dxdt=6t2−18t+12v(t) = \frac{dx}{dt} = 6t^2 - 18t + 12v(t)=dtdx​=6t2−18t+12

2. Find the acceleration function, a(t):
Differentiate v(t)v(t)v(t) with respect to ttt.
a(t)=dvdt=12t−18a(t) = \frac{dv}{dt} = 12t - 18a(t)=dtdv​=12t−18

3. Evaluate at t=2 s:
v(2)=6(2)2−18(2)+12=24−36+12=0v(2) = 6(2)^2 - 18(2) + 12 = 24 - 36 + 12 = 0v(2)=6(2)2−18(2)+12=24−36+12=0 m/s.
a(2)=12(2)−18=24−18=6a(2) = 12(2) - 18 = 24 - 18 = 6a(2)=12(2)−18=24−18=6 m/s².

Interpretation: At exactly 2 seconds, the particle is momentarily at rest (v=0v=0v=0), but its velocity is about to increase in the positive direction because its acceleration is positive.

If an object's velocity is negative and its acceleration is also negative, what is happening to the object's motion?

04

Introduction to Applications of Differentiation

From a Rate of Change to a Toolkit

So far, differentiation has been introduced as an abstract idea: the derivative dydx\frac{dy}{dx}dxdy​ is the instantaneous rate of change of yyy with respect to xxx, and geometrically it is the slope of the tangent line to the curve y=f(x)y=f(x)y=f(x). That single idea, it turns out, is powerful enough to answer four very different practical questions that show up constantly in physics — from projectile motion to circuit design. This chapter builds a toolkit around it.

Over the next few sections, we will use the derivative to:

  • Measure rate of change — decide whether a quantity is increasing, decreasing, or momentarily unchanging, just by checking the sign of its derivative.
  • Find the slope of a tangent — determine the exact direction of a curve at any point, including curves that are not simple functions y=f(x)y=f(x)y=f(x), using implicit differentiation.
  • Locate maxima and minima — find the largest or smallest value a quantity can take, such as the maximum height of a projectile, by finding where the derivative vanishes.
  • Approximate function values — estimate f(x0+Δx)f(x_0+\Delta x)f(x0​+Δx) for a small change Δx\Delta xΔx without recomputing the function from scratch, using a linear (first-order) approximation.

Each of these applications is explored in its own section below, with fully worked examples collected at the end of the chapter.

5.1 Measuring Rate of Change

If a variable yyy depends on xxx, then dydx\dfrac{dy}{dx}dxdy​ represents the rate of change of yyy as xxx increases. This single number tells us everything about the local behaviour of the function:

  • If yyy increases with increasing xxx, then dydx\dfrac{dy}{dx}dxdy​ is positive.
  • If yyy decreases with increasing xxx, then dydx\dfrac{dy}{dx}dxdy​ is negative.
  • If yyy is momentarily unchanged as xxx increases, then dydx\dfrac{dy}{dx}dxdy​ is zero.

This fact turns differentiation into a test: to find out whether a function is increasing or decreasing at a particular point, we don't need to plot the curve — we just evaluate the derivative there and read off its sign. This is the same sign rule you have already met in the geometric picture of the derivative (an upward-sloping tangent means the function is increasing), stated here as a standalone tool that we will use repeatedly for the rest of the chapter.

A fully worked check of this test — deciding whether sin⁡x\sin xsinx is increasing or decreasing at x=π3x=\frac{\pi}{3}x=3π​ — is given as Example 26 in the Examples section.

A quantity yyy depends on xxx and dydx<0\dfrac{dy}{dx} < 0dxdy​<0 at x=x0x = x_0x=x0​. What can you conclude about yyy near x0x_0x0​?

05

Finding Maxima and Minima

Optimization: Finding the Best Value

One of the most powerful applications of calculus is in optimization—finding the largest or smallest value that a function can take. This has endless applications, from maximizing the area of a field to minimizing the cost of a manufacturing process. The key to finding these 'extreme' values lies in the derivative.

Critical Points: Where Extrema Can Occur

Local maximums ('peaks') and minimums ('valleys') of a function have a special property: the tangent line at these points is horizontal, meaning its slope is zero. This gives us a crucial clue.

A critical point of a function is a point where the derivative is either zero or undefined. These are the only candidates for where a local maximum or minimum can occur.

f′(x)=0orf′(x) is undefinedf'(x) = 0 \quad \text{or} \quad f'(x) \text{ is undefined}f′(x)=0orf′(x) is undefined

At the local maximum and the local minimum the tangent is horizontal, so f'(x) = 0 at both points.
At the local maximum and the local minimum the tangent is horizontal, so f'(x) = 0 at both points.

How to Find Critical Points:

  1. Find the derivative of the function, f′(x)f'(x)f′(x).
  2. Set the derivative equal to zero and solve for xxx.
  3. Determine if there are any points where the derivative is undefined.

The Second Derivative Test: A Quick Check

Once you have a critical point ccc (where f′(c)=0f'(c)=0f′(c)=0), the Second Derivative Test is often the quickest way to classify it. It uses the concavity of the function at that point.

  • If f′′(c)>0f''(c) > 0f′′(c)>0 (concave up), the point is a local minimum.
  • If f′′(c)<0f''(c) < 0f′′(c)<0 (concave down), the point is a local maximum.
  • If f′′(c)=0f''(c) = 0f′′(c)=0, the test is inconclusive. You must use the First Derivative Test.

Example: Finding the Minimum of a Function

Find the local extrema of f(x)=x3−3x2+1f(x) = x^3 - 3x^2 + 1f(x)=x3−3x2+1.

1. Find Critical Points:
First, find the derivative: f′(x)=3x2−6xf'(x) = 3x^2 - 6xf′(x)=3x2−6x.
Set it to zero: 3x2−6x=0  ⟹  3x(x−2)=03x^2 - 6x = 0 \implies 3x(x - 2) = 03x2−6x=0⟹3x(x−2)=0.
The critical points are x=0x=0x=0 and x=2x=2x=2.

2. Use the Second Derivative Test:
Find the second derivative: f′′(x)=6x−6f''(x) = 6x - 6f′′(x)=6x−6.
Check each critical point:
At x=0x=0x=0: f′′(0)=6(0)−6=−6f''(0) = 6(0) - 6 = -6f′′(0)=6(0)−6=−6. Since f′′(0)<0f''(0) < 0f′′(0)<0, this is a local maximum.
At x=2x=2x=2: f′′(2)=6(2)−6=6f''(2) = 6(2) - 6 = 6f′′(2)=6(2)−6=6. Since f′′(2)>0f''(2) > 0f′′(2)>0, this is a local minimum.

You have found a critical point of a function where the first derivative is zero. The second derivative at this point is also zero. What can you conclude?

Where the Second Derivative Test Comes From

The Second Derivative Test is not an arbitrary rule — it falls directly out of the increasing/decreasing behaviour of a smooth function near a peak or a valley. Consider a continuous, smooth function f(x)f(x)f(x) that is maximum at x=x0x=x_0x=x0​. Just before x0x_0x0​, the function must still be climbing towards that peak, and just after x0x_0x0​ it must be falling away from it, with the value momentarily unchanged exactly at x0x_0x0​:

  • f(x)f(x)f(x) increases just before x=x0x=x_0x=x0​,
  • f(x)f(x)f(x) decreases just after x=x0x=x_0x=x0​, and
  • f(x)f(x)f(x) is momentarily constant at x=x0x=x_0x=x0​.

In terms of the derivative, this means dydx\dfrac{dy}{dx}dxdy​ goes from a positive value, to zero, to a negative value as xxx increases through x0x_0x0​. In other words, dydx\dfrac{dy}{dx}dxdy​ is itself continuously decreasing at x0x_0x0​ — which is exactly what a negative second derivative means. This is precisely the pair of conditions used above:

dydx∣x=x0=0andddx ⁣(dydx)∣x=x0<0\left.\frac{dy}{dx}\right|_{x=x_0} = 0 \qquad \text{and} \qquad \left.\frac{d}{dx}\!\left(\frac{dy}{dx}\right)\right|_{x=x_0} < 0dxdy​​x=x0​​=0anddxd​(dxdy​)​x=x0​​<0

A curve with a maximum at x = x0: the tangent slope dy/dx is positive before x0, zero at x0, and negative after x0.
A curve with a maximum at x = x0: the tangent slope dy/dx is positive before x0, zero at x0, and negative after x0.

The argument runs in exactly the opposite direction for a minimum at x=x0x=x_0x=x0​. Just before x0x_0x0​ the function must still be falling towards the valley, and just after x0x_0x0​ it must be climbing back out, with the value momentarily unchanged at x0x_0x0​ itself:

  • f(x)f(x)f(x) decreases just before x=x0x=x_0x=x0​,
  • f(x)f(x)f(x) increases just after x=x0x=x_0x=x0​, and
  • f(x)f(x)f(x) is momentarily constant at x=x0x=x_0x=x0​.

Now dydx\dfrac{dy}{dx}dxdy​ goes from a negative value, to zero, to a positive value — it is itself continuously increasing at x0x_0x0​, which is exactly what a positive second derivative means:

dydx∣x=x0=0andddx ⁣(dydx)∣x=x0>0\left.\frac{dy}{dx}\right|_{x=x_0} = 0 \qquad \text{and} \qquad \left.\frac{d}{dx}\!\left(\frac{dy}{dx}\right)\right|_{x=x_0} > 0dxdy​​x=x0​​=0anddxd​(dxdy​)​x=x0​​>0

A curve with a minimum at x = x0: the tangent slope dy/dx is negative before x0, zero at x0, and positive after x0.
A curve with a minimum at x = x0: the tangent slope dy/dx is negative before x0, zero at x0, and positive after x0.

This is the same statement as the Second Derivative Test above, just derived from first principles rather than quoted as a rule. Two fully worked applications of this idea — classifying the extrema of simple polynomials, and finding the maximum height of a projectile — are given as Examples 27 and 28 in the Examples section.

06

Solving Related Rates Problems

When Everything Changes Together

In many real-world situations, several quantities are changing over time, but they are all related to each other. For example, as a spherical balloon is inflated, its radius, volume, and surface area are all increasing, and their rates of change are related. Related rates problems involve finding the rate of change of one quantity by using the known rate of change of another.

The key tool for solving these problems is to find an equation that connects the variables, and then use implicit differentiation with respect to time, often involving the chain rule.

A Step-by-Step Procedure

  1. Identify Variables and Rates: Read the problem carefully. Identify all the quantities that are changing and the rates of change. Assign variables to them. Determine which rate you know and which rate you need to find.
  2. Draw a Diagram: A sketch of the situation is almost always helpful. Label it with your variables.
  3. Find a Relating Equation: Find an equation that connects the variables. This often comes from geometry (Pythagorean theorem, area/volume formulas, similar triangles).
  4. Differentiate Implicitly: Differentiate both sides of your equation with respect to time (ddt\frac{d}{dt}dtd​). Remember to use the chain rule for every variable, as they are all functions of time. For example, the derivative of r2r^2r2 with respect to ttt is 2rdrdt2r \frac{dr}{dt}2rdtdr​.
  5. Substitute and Solve: Substitute all the known values for the variables and their rates into the differentiated equation. Solve for the unknown rate.

Example: The Sliding Ladder

Problem: A 10-foot ladder is leaning against a vertical wall. The bottom of the ladder is sliding away from the wall at a rate of 2 ft/s. How fast is the top of the ladder sliding down the wall when the bottom is 6 feet from the wall?

The sliding ladder of fixed length L: the foot moves away from the wall at dx/dt while the top drops at dy/dt.
The sliding ladder of fixed length L: the foot moves away from the wall at dx/dt while the top drops at dy/dt.

1. Variables & Rates:
Let xxx be the distance from the wall to the bottom of the ladder.
Let yyy be the height of the top of the ladder.
Known rate: dxdt=2\frac{dx}{dt} = 2dtdx​=2 ft/s.
Find: dydt\frac{dy}{dt}dtdy​ when x=6x=6x=6 ft.

2. Equation:
By the Pythagorean theorem: x2+y2=102x^2 + y^2 = 10^2x2+y2=102.

3. Differentiate:
Differentiate with respect to time ttt:
ddt(x2)+ddt(y2)=ddt(100)\frac{d}{dt}(x^2) + \frac{d}{dt}(y^2) = \frac{d}{dt}(100)dtd​(x2)+dtd​(y2)=dtd​(100)
2xdxdt+2ydydt=02x \frac{dx}{dt} + 2y \frac{dy}{dt} = 02xdtdx​+2ydtdy​=0

4. Substitute and Solve:
We need to find yyy when x=6x=6x=6. From the original equation: 62+y2=100  ⟹  y2=64  ⟹  y=86^2 + y^2 = 100 \implies y^2 = 64 \implies y=862+y2=100⟹y2=64⟹y=8.
Now substitute everything into the differentiated equation:
2(6)(2)+2(8)dydt=02(6)(2) + 2(8)\frac{dy}{dt} = 02(6)(2)+2(8)dtdy​=0
24+16dydt=024 + 16\frac{dy}{dt} = 024+16dtdy​=0
dydt=−2416=−1.5\frac{dy}{dt} = -\frac{24}{16} = -1.5dtdy​=−1624​=−1.5 ft/s.
(The negative sign indicates that the height is decreasing, i.e., the ladder is sliding down the wall.)

The volume of a cube is increasing at a rate of 12 cm³/s. What is the primary equation you would use to find the rate at which the side length (s) is changing?

07

Equations of Tangent and Normal Lines

Geometric Applications of the Derivative

We've established that the derivative of a function at a point gives the slope of the tangent line at that point. This is the fundamental link between calculus and geometry. Using this, we can find the exact equations for two very important lines: the tangent line and the normal line.

5.2 Determination of the Slope of a Tangent

Consider a function y=f(x)y=f(x)y=f(x) whose graph is some curve. For the curve y=f(x)y=f(x)y=f(x), a tangent drawn at x=x0x=x_0x=x0​ has a slope equal to the value of dydx\dfrac{dy}{dx}dxdy​ evaluated at x=x0x=x_0x=x0​:

tan⁡θ=dydx∣x=x0\tan\theta = \left.\frac{dy}{dx}\right|_{x=x_0}tanθ=dxdy​​x=x0​​

where θ\thetaθ is the angle the tangent line makes with the positive x-axis. This is exactly the geometric meaning of the derivative applied at one specific point — plug in the x-coordinate of interest, and the derivative hands back the tangent's slope directly.

A tangent drawn to the curve y = f(x) at the point x = x0, making angle theta with the positive x-axis.
A tangent drawn to the curve y = f(x) at the point x = x0, making angle theta with the positive x-axis.

Two fully worked examples of this idea — including a curve that is not a simple function y = f(x), handled using implicit differentiation — are given as Examples 24 and 25 in the Examples section.

The Tangent and Normal Lines

  • The Tangent Line is a straight line that 'just touches' the curve at a single point and has the same direction as the curve at that point.
  • The Normal Line is a straight line that is perpendicular to the tangent line at that same point.

The tangent touches the curve at P; the normal crosses it there at right angles.
The tangent touches the curve at P; the normal crosses it there at right angles.

Finding Their Slopes

Let the slope of the tangent line be mtm_tmt​ and the slope of the normal line be mnm_nmn​.

  1. Slope of the Tangent: This is simply the value of the derivative at the point of tangency, x0x_0x0​.
    mt=f′(x0)m_t = f'(x_0)mt​=f′(x0​)
  2. Slope of the Normal: Since the normal is perpendicular to the tangent, its slope is the negative reciprocal of the tangent's slope.
    mn=−1mt=−1f′(x0)m_n = -\frac{1}{m_t} = -\frac{1}{f'(x_0)}mn​=−mt​1​=−f′(x0​)1​

Finding the Equations

Once we know the slope of a line and a point it passes through, (x0,y0)(x_0, y_0)(x0​,y0​), we can find its equation using the point-slope form: y−y0=m(x−x0)y - y_0 = m(x - x_0)y−y0​=m(x−x0​).

Step-by-Step Procedure:

  1. Find the Point: You'll be given an x-value, x0x_0x0​. Find the corresponding y-value by calculating y0=f(x0)y_0 = f(x_0)y0​=f(x0​).
  2. Find the Derivative: Calculate the derivative function, f′(x)f'(x)f′(x).
  3. Find the Slopes: Evaluate the derivative at x0x_0x0​ to get the tangent slope, mt=f′(x0)m_t = f'(x_0)mt​=f′(x0​). Then find the normal slope, mn=−1/mtm_n = -1/m_tmn​=−1/mt​.
  4. Write the Equations: Plug the point (x0,y0)(x_0, y_0)(x0​,y0​) and the slopes into the point-slope formula.
    Tangent Line: y−y0=mt(x−x0)y - y_0 = m_t(x - x_0)y−y0​=mt​(x−x0​)
    Normal Line: y−y0=mn(x−x0)y - y_0 = m_n(x - x_0)y−y0​=mn​(x−x0​)

Example

Find the equations of the tangent and normal lines to the curve y=x2y = x^2y=x2 at the point x=2x=2x=2.

1. Point: At x0=2x_0=2x0​=2, y0=(2)2=4y_0 = (2)^2 = 4y0​=(2)2=4. The point is (2, 4).

2. Derivative: f′(x)=2xf'(x) = 2xf′(x)=2x.

3. Slopes:
Slope of tangent: mt=f′(2)=2(2)=4m_t = f'(2) = 2(2) = 4mt​=f′(2)=2(2)=4.
Slope of normal: mn=−1/4m_n = -1/4mn​=−1/4.

4. Equations:
Tangent: y−4=4(x−2)  ⟹  y=4x−4y - 4 = 4(x - 2) \implies y = 4x - 4y−4=4(x−2)⟹y=4x−4.
Normal: y−4=−14(x−2)  ⟹  y=−14x+92y - 4 = -\frac{1}{4}(x - 2) \implies y = -\frac{1}{4}x + \frac{9}{2}y−4=−41​(x−2)⟹y=−41​x+29​.

What is the slope of the normal line to the curve f(x)=x3f(x) = x^3f(x)=x3 at the point x=1x=1x=1?

PreviousDifferentiationNextIntegration
doPhysics
TheoryPricingAboutPrivacy PolicyTerms and Conditions

© 2026 doPhysics. All rights reserved.

Engineered by Ankit Shukla