Differential Calculus: Introduction and Differentiation from First Principles

Core Concepts of Differential Calculus and Rates of Change

Differential calculus is primarily concerned with measuring the rate of change of one quantity with respect to another. It provides mathematical tools to transition from average rates of change over an interval to instantaneous rates of change at a specific point.

A fundamental example of a rate of change is the slope of a line, which describes how yy changes as xx changes. If a line has a slope of m=3m = 3, then for every 11 unit increase in xx, there is a 33 unit increase in yy.

Another common example is speed, which measures the rate of change of distance with respect to time. The formula for average speed is given by:

Average Speed=DistanceTime\text{Average Speed} = \frac{\text{Distance}}{\text{Time}}

Similarly, temperature change over time can be expressed as a rate, such as a temperature increasing at a rate of 1.5∘1.5^\circ per hour.

While the slope of a straight line remains constant, real-world quantities such as speed, temperature fluctuations, and the steepness of a curve are constantly changing. Standard arithmetic allows for calculating average rates, but differential calculus allows for calculating the instantaneous rate of change. This answers specific questions such as "what is the speed right now?" or "what is the slope of this curve at point AA?"

The Tangent Line and Geometric Slope of a Curve

The slope of a curve at any given point is defined explicitly as the slope of the tangent line to the curve at that specific point.

When observing a non-linear curve, the slope varies at different locations along the curve:

At point AA, the slope of the curve is equal to the slope of tangent line LL.

At point BB, the slope of the curve is equal to the slope of tangent line KK.

At point CC, which represents a turning point or local minimum of the curve, the tangent line is completely horizontal, meaning that the slope at point CC is equal to 00

Diagram showing tangent lines to a curve at points A, B, and C, illustrating varying slopes and a zero slope at point C

Deriving Functions and Differentiation from First Principles

To find the slope of a tangent line to a curve at a specific point A(x,f(x))A(x, f(x)), a second point on the tangent line is required. Because only one point on the tangent line is known initially, an additional point B(x+h,f(x+h))B(x+h, f(x+h)) is selected directly on the curve extremely close to point AA, where hh represents a very small change in xx such that h→0h \rightarrow 0

The slope of the secant line passing through points A(x,f(x))A(x, f(x)) and B(x+h,f(x+h))B(x+h, f(x+h)) is calculated using the change in yy over the change in xx as hh approaches zero:

Slope=lim⁡h→0f(x+h)−f(x)x+h−x\text{Slope} = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{x+h-x}

Simplifying the denominator yields the fundamental limit formula for differentiation:

Slope=lim⁡h→0f(x+h)−f(x)h\text{Slope} = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h}

This mathematical expression yields the "derived" function, commonly referred to as the derivative.

Standard mathematical notations used to represent the derivative of a function include:

f′(x)f'(x)

dydx\frac{dy}{dx}

d(y)dx\frac{d(y)}{dx}

The process of calculating a derivative using this fundamental limit method is defined as differentiating from first principles.

Worked Example: Differentiation from First Principles

To differentiate the linear function f(x)=4x−5f(x) = 4x - 5 from first principles, the limit definition of the derivative is applied systematically.

The general formula for differentiating from first principles is:

f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h}

First, define the original function:

f(x)=4x−5f(x) = 4x - 5

Next, determine the expression for f(x+h)f(x+h) by substituting (x+h)(x+h) into the function:

f(x+h)=4(x+h)−5f(x+h) = 4(x+h) - 5

f(x+h)=4x+4h−5f(x+h) = 4x + 4h - 5

Then, compute the difference f(x+h)−f(x)f(x+h) - f(x) by subtracting the original function from the expanded expression:

f(x+h)−f(x)=4x+4h−5−(4x−5)f(x+h) - f(x) = 4x + 4h - 5 - (4x - 5)

f(x+h)−f(x)=4x+4h−5−4x+5f(x+h) - f(x) = 4x + 4h - 5 - 4x + 5

f(x+h)−f(x)=4hf(x+h) - f(x) = 4h

Next, divide this resulting difference by hh:

f(x+h)−f(x)h=4hh\frac{f(x+h) - f(x)}{h} = \frac{4h}{h}

f(x+h)−f(x)h=4\frac{f(x+h) - f(x)}{h} = 4

Finally, evaluate the limit as h→0h \rightarrow 0

lim⁡h→0f(x+h)−f(x)h=4\lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h} = 4

Thus, the derivative of f(x)=4x−5f(x) = 4x - 5 is:

f′(x)=4f'(x) = 4

Handwritten step-by-step differentiation of f(x) = 4x - 5 from first principles along with a geometric graph illustrating points A and B on a curve

Core Concepts of Differential Calculus and Rates of Change

Differential calculus is all about measuring how fast one thing changes compared to another. It helps us find exact speeds or slopes at one single moment instead of just taking an average over time.

A simple example of a rate of change is the slope of a line, which shows how much yy changes when xx changes. If a line has a slope of m=3m = 3, then whenever xx goes up by 11, yy goes up by 33.

Another common example is speed. Speed measures how distance changes over time. The formula for average speed is:
Average Speed=DistanceTime\text{Average Speed} = \frac{\text{Distance}}{\text{Time}}

We can also measure temperature changes over time, like temperature rising at a rate of 1.5∘1.5^\circ per hour.

While a straight line always has the same slope, real-world quantities like speed, temperature, and curved paths change all the time. Standard math only gives us average rates over an interval. Differential calculus lets us find the exact rate of change right now, answering questions like "what is the speed right now?" or "what is the slope of this curve at point AA?"

The Tangent Line and Geometric Slope of a Curve

The slope of a curve at any exact point is defined as the slope of the tangent line touching the curve at that point. On a curved line, the slope changes depending on where you look:

  • At point AA, the curve's slope equals the slope of line LL.
  • At point BB, the curve's slope equals the slope of line KK.
  • At point CC (a turning point or lowest point), the tangent line is completely horizontal, meaning the slope at point CC is equal to 00.

Diagram showing tangent lines to a curve at points A, B, and C, illustrating varying slopes and a zero slope at point C

Deriving Functions and Differentiation from First Principles

To find the slope of a tangent line to a curve at point A(x,f(x))A(x, f(x)), we need a second point. Since only point AA is known at first, we pick a second point B(x+h,f(x+h))B(x+h, f(x+h)) on the curve extremely close to AA. Here, hh represents a tiny change in xx such that h→0h \rightarrow 0.

The slope of the secant line passing through points AA and BB is the change in yy divided by the change in xx as hh approaches zero:
Slope=lim⁡h→0f(x+h)−f(x)x+h−x\text{Slope} = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{x+h-x}

Simplifying the bottom gives the limit formula for finding a derivative:
Slope=lim⁡h→0f(x+h)−f(x)h\text{Slope} = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h}

This gives us the "derived" function, called the derivative. Common ways to write the derivative of a function are:
f′(x)f'(x)
dydx\frac{dy}{dx}
d(y)dx\frac{d(y)}{dx}

Calculating a derivative using this step-by-step limit method is called differentiating from first principles.

Worked Example: Differentiation from First Principles

To find the derivative of f(x)=4x−5f(x) = 4x - 5 from first principles, apply the limit definition step-by-step using the general formula:
f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \rightarrow 0} \frac{f(x+h) - f(x)}{h}

  1. Start with the original function:
    f(x)=4x−5f(x) = 4x - 5

  2. Find f(x+h)f(x+h) by replacing xx with (x+h)(x+h):
    f(x+h)=4(x+h)−5f(x+h) = 4(x+h) - 5
    f(x+h)=4x+4h−5f(x+h) = 4x + 4h - 5

  3. Subtract f(x)f(x) from f(x+h)f(x+h):
    f(x+h)−f(x)=4x+4h−5−(4x−5)f(x+h) - f(x) = 4x + 4h - 5 - (4x - 5)
    f(x+h)−f(x)=4x+4h−5−4x+5f(x+h) - f(x) = 4x + 4h - 5 - 4x + 5
    f(x+h)−f(x)=4hf(x+h) - f(x) = 4h

  4. Divide the result by hh:
    f(x+h)−f(x)h=4hh=4\frac{f(x+h) - f(x)}{h} = \frac{4h}{h} = 4

  5. Evaluate the limit as h→0h \rightarrow 0:
    lim⁡h→04=4\lim_{h \rightarrow 0} 4 = 4

Thus, the derivative of f(x)=4x−5f(x) = 4x - 5 is:
f′(x)=4f'(x) = 4

Handwritten step-by-step differentiation of f(x) = 4x - 5 from first principles along with a geometric graph illustrating points A and B on a curve