Exhaustive Notes on Differential Calculus: Limits, Tangents, and the Power Rule

Introduction to Differential Calculus and the Gradient of a Tangent

  • Perspective of the Course: The study of calculus is considered the culmination of the semester. Differential calculus is built upon the foundational knowledge of functions acquired throughout the previous months.

  • Primary Objective: The central goal of differential calculus is to determine the gradient (or slope) of a tangent line to a curve.

  • Defining the Tangent Line:

    • For most functions, a tangent is a unique straight line that touches the graph of the curve y=f(x)y = f(x) at exactly one point.

    • Example Coordinate: If the curve passes through point PP, the coordinates are given by (a,f(a))(a, f(a)) for a specific value x=ax = a.

  • The Tangency Problem:

    • In high school geometry/algebra, gradients of straight lines are typically calculated using two known coordinates.

    • With a tangent line, only one coordinate (the point of tangency) is explicitly known.

    • Because common gradient formulas require two points, a conventional calculation is impossible. Instead, a different approach—the concept of a limit—must be applied.

The Secant Line and the Concept of a Limit

  • Transitioning from One Point to Two: To overcome the single-coordinate problem, a second theoretical point is introduced to create a secant line.

  • The Fixed Point (P): The point at which the tangent is desired, defined as (a,f(a))(a, f(a)).

  • The Moving Point (Q): A point taken to the right of PP, defined as (a+h,f(a+h))(a + h, f(a + h)).

    • The variable hh represents the horizontal distance between the x-values of PP and QQ.

    • In this context, hh is assumed to be a small, positive quantity.

  • The Secant Line Defined: A secant is a line that passes through both coordinates P(a,f(a))P(a, f(a)) and Q(a+h,f(a+h))Q(a + h, f(a + h)).

  • Calculation of Secant Gradient:

    • Run: The difference in x-values, calculated as (a+h)−a=h(a + h) - a = h.

    • Rise: The difference in y-values (function values), calculated as f(a+h)−f(a)f(a + h) - f(a).

    • Gradient Formula: msecant=RiseRun=f(a+h)−f(a)hm_{secant} = \frac{\text{Rise}}{\text{Run}} = \frac{f(a + h) - f(a)}{h}.

  • The Limiting Process: As hh approaches zero (h→0h \to 0), point QQ moves closer to point PP. This causes the secant line to rotate and eventually overlap with the tangent line. The gradient of the secant line thus provides a better and better approximation of the tangent line's gradient as hh decreases.

The Difference Quotient and Tangent Approximation

  • Definition of the Difference Quotient: The expression f(a+h)−f(a)h\frac{f(a + h) - f(a)}{h} is formally known as the difference quotient.

  • Constraint on h: While hh tends toward zero, it can never actually equal zero (h≠0h \neq 0). If h=0h = 0, the expression becomes 00\frac{0}{0}, which is an indeterminate form.

  • The Role of Sequences: By letting h→0h \to 0 without reaching it, mathematicians generate a sequence of secant gradients (Q1,Q2,…Q_1, Q_2, \dots) with smaller and smaller hh values, where each subsequent secant is a closer approximation to the green tangent line on a graph.

Deriving the Derivative for the Parabola y=x2y = x^2

  • Objective: Determine the gradient of the tangent line to f(x)=x2f(x) = x^2 at any point x=ax = a.

  • Step-by-step Derivation:

    • Setup: The coordinates for point PP are (a,a2)(a, a^2). The coordinates for point QQ are (a+h,(a+h)2)(a + h, (a + h)^2).

    • Form the Difference Quotient: (a+h)2−a2h\frac{(a + h)^2 - a^2}{h}.

    • Algebraic Expansion: Expand (a+h)2(a + h)^2 to get a2+2ah+h2a^2 + 2ah + h^2.

    • Simplification of Numerator: (a2+2ah+h2)−a2=2ah+h2(a^2 + 2ah + h^2) - a^2 = 2ah + h^2.

    • Division by h: 2ah+h2h=2a+h\frac{2ah + h^2}{h} = 2a + h.

  • Applying the Limit: Calculate the limiting value as h→0h \to 0. As hh vanishes, the expression 2a+h2a + h approaches 2a2a.

  • Result: The gradient of the tangent line to y=x2y = x^2 at the location x=ax = a is exactly 2a2a.

    • If a=3a = 3, the gradient is 66.

    • If a=4a = 4, the gradient is 88.

    • If a=−1a = -1, the gradient is −2-2.

Defining the Derivative and Notation

  • Generalization: Since the calculation for aa works for any real number, the result applies to the variable xx.

  • The Term 'Derivative': The process of determining the gradient of a tangent line is called finding the derivative. For the function y=x2y = x^2, the derivative with respect to the variable xx is 2x2x.

  • Standard Notations:

    • f′(x)f'(x) (often read as "f dash of x").

    • dydx\frac{dy}{dx}.

Practical Limit Calculations

  • Core Principle: Before taking a limit where h→0h \to 0, the algebraic expression must be simplified to eliminate the potential for a 00\frac{0}{0} result.

  • Example 1 (Linear Expression):     lim⁡h→0(x2+2x+h)=x2\lim_{h \to 0} (x^2 + 2x + h) = x^2     (Note: Terms dependent on hh vanish, while terms independent of hh remain unchanged).

  • Example 2 (Quotient Expression):     lim⁡h→03x2h+2h2h=lim⁡h→0(3x2+2h)=3x2\lim_{h \to 0} \frac{3x^2h + 2h^2}{h} = \lim_{h \to 0} (3x^2 + 2h) = 3x^2

  • Example 3 (Constant):     lim⁡h→07=7\lim_{h \to 0} 7 = 7     (Note: A constant does not depend on hh, so its limiting value is the constant itself).

Formal Mathematical Definitions

  • Formal Definition of the Derivative: For a function y=f(x)y = f(x), the derivative is defined as:     f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

  • Linearity Property of Derivatives: If functions f(x)f(x) and g(x)g(x) both have derivatives f′(x)f'(x) and g′(x)g'(x), and aa and bb are constants, the derivative of their linear combination is:     ddx(af(x)+bg(x))=a⋅f′(x)+b⋅g′(x)\frac{d}{dx}(af(x) + bg(x)) = a \cdot f'(x) + b \cdot g'(x)

    • In plain English, the derivative of a sum is equal to the sum of the derivatives of the individual functions.

Differentiation from First Principles: Power Functions

  • Case: f(x)=x3f(x) = x^3 (The Cubic Function):

    • Difference Quotient: (x+h)3−x3h\frac{(x + h)^3 - x^3}{h}.

    • Expansion: Using algebra, (x+h)3=x3+3x2h+3xh2+h3(x + h)^3 = x^3 + 3x^2h + 3xh^2 + h^3.

    • Numerator Simplification: (x3+3x2h+3xh2+h3)−x3=3x2h+3xh2+h3(x^3 + 3x^2h + 3xh^2 + h^3) - x^3 = 3x^2h + 3xh^2 + h^3.

    • Simplification: 3x2h+3xh2+h3h=3x2+3xh+h2\frac{3x^2h + 3xh^2 + h^3}{h} = 3x^2 + 3xh + h^2.

    • Limit Selection: As h→0h \to 0, the terms 3xh3xh and h2h^2 go to zero.

    • Derivative: ddx(x3)=3x2\frac{d}{dx}(x^3) = 3x^2.

  • Case: f(x)=x4f(x) = x^4 (The Quartic Function):

    • Difference Quotient: (x+h)4−x4h\frac{(x + h)^4 - x^4}{h}.

    • Expansion: (x+h)4=x4+4x3h+6x2h2+4xh3+h4(x + h)^4 = x^4 + 4x^3h + 6x^2h^2 + 4xh^3 + h^4.

    • Simplification: 4x3h+6x2h2+4xh3+h4h=4x3+6x2h+4xh2+h3\frac{4x^3h + 6x^2h^2 + 4xh^3 + h^4}{h} = 4x^3 + 6x^2h + 4xh^2 + h^3.

    • Limit Selection: As h→0h \to 0, all terms except the first vanish.

    • Derivative: ddx(x4)=4x3\frac{d}{dx}(x^4) = 4x^3.

The General Power Rule and Binomial Theorem

  • General Theory: For any function f(x)=xnf(x) = x^n where nn is a positive integer, the result of the first principles calculation follows a consistent pattern.

  • Application of the Binomial Theorem:

    • To expand (x+h)n(x + h)^n, we use the binomial formula:         (x+h)n=xn+(n1)xn−1h+(n2)xn−2h2+⋯+(nn−1)xhn−1+(nn)hn(x + h)^n = x^n + \binom{n}{1}x^{n-1}h + \binom{n}{2}x^{n-2}h^2 + \dots + \binom{n}{n-1}xh^{n-1} + \binom{n}{n}h^n

  • Derivation Process:

    • When (x+h)n−xn(x + h)^n - x^n is calculated, the xnx^n terms cancel.

    • Dividing every remaining term by hh reduces the power of hh in each term by 11.

    • The first term, (n1)xn−1h\binom{n}{1}x^{n-1}h, becomes (n1)xn−1\binom{n}{1}x^{n-1}. Since there is no longer an hh factor, it survives the limit.

    • All subsequent terms still contain at least one factor of hh (e.g., h1,h2,…h^1, h^2, \dots) and thus go to zero as h→0h \to 0.

  • The General Derivative Result:

    • The binomial coefficient (n1)\binom{n}{1} is equal to nn.

    • Therefore, for any positive integer nn:         ddx(xn)=nxn−1\frac{d}{dx}(x^n) = nx^{n-1}