Unit 1: Differential Calculus

Table of Contents

1. Limits, Continuity, and Differentiability

Limits

A limit describes the value that a function "approaches" as the input approaches some value. We write lim (x→a) f(x) = L.

Existence of a Limit: A limit L exists at x=a if and only if the Left-Hand Limit is equal to the Right-Hand Limit.
LHL = RHL = L

Continuity

A function is continuous at a point x=a if its graph is "unbroken" at that point. You can draw it without lifting your pen.

Conditions for Continuity at x=a:
  1. The function is defined at x=a (i.e., f(a) exists).
  2. The limit of the function as x approaches 'a' exists (i.e., LHL = RHL).
  3. The limit equals the function's value (i.e., lim (x→a) f(x) = f(a)).

Differentiability

A function is differentiable at a point x=a if it has a well-defined, non-vertical tangent line at that point. It measures the instantaneous rate of change.

A function is differentiable if the limit of the difference quotient exists:

f'(a) = lim (h→0) [ f(a+h) - f(a) ] / h
Key Relationship: Differentiability implies Continuity.
If a function is differentiable at a point, it *must* be continuous at that point.
However, continuity does not imply differentiability. A function can be continuous but not differentiable (e.g., at a sharp corner or "cusp" like f(x) = |x| at x=0).

2. Partial Derivatives

For a function of multiple variables, like f(x, y), a partial derivative is the derivative with respect to one variable, while treating all other variables as constants.

Example: Let f(x, y) = x³y² + 2x + 5y


3. Indeterminate Forms

These are expressions where the limit cannot be determined by simply substituting the value. They require special techniques (like L'Hospital's Rule) to evaluate.

The 7 Indeterminate Forms:

  1. 0 / 0 (e.g., sin(x) / x at x=0)
  2. ∞ / ∞ (e.g., x² / ex at x=∞)
  3. 0 · ∞
  4. ∞ - ∞
  5. 00
  6. 1
  7. 0

4. L'Hospital's Rule

This rule is a powerful method for evaluating limits of indeterminate forms 0/0 or ∞/∞.

L'Hospital's Rule:
If lim (x→a) [f(x) / g(x)] results in 0/0 or ∞/∞,
AND if the limit of their derivatives exists,
THEN:
lim (x→a) [f(x) / g(x)] = lim (x→a) [f'(x) / g'(x)]
Common Mistake: Do NOT use the quotient rule! You differentiate the numerator and denominator *separately*.

How to use for other forms:


5. Successive Differentiation

This is the process of differentiating a function multiple times. The 'n'-th derivative is the result of differentiating 'n' times.

Standard n-th derivatives to memorize:

Function, y = f(x) n-th Derivative, y(n)
xm m(m-1)...(m-n+1)x(m-n)
eax an · eax
sin(ax + b) an · sin(ax + b + nπ/2)
cos(ax + b) an · cos(ax + b + nπ/2)
ln(ax + b) (-1)(n-1) (n-1)! an / (ax+b)n

6. Leibnitz's Rule

This rule provides a formula for the n-th derivative of a product of two functions (u · v). It is similar to the binomial expansion.

Leibnitz's Rule:
If y = u · v, where u and v are functions of x, then the n-th derivative is:
y(n) = (u · v)(n) =
nC0 · u(n) · v(0) + nC1 · u(n-1) · v(1) + nC2 · u(n-2) · v(2) + ... + nCn · u(0) · v(n)
Where nCr = n! / (r! (n-r)!) is the binomial coefficient.
Tip: When using this rule, always choose 'v' to be the function that becomes zero after a few derivatives (like a polynomial, e.g., x², x³). This makes the series terminate early.

7. Rolle's Theorem and Mean Value Theorem

Rolle's Theorem

A specific case of the Mean Value Theorem.

Conditions: If a function f(x) is:
  1. Continuous on the closed interval [a, b],
  2. Differentiable on the open interval (a, b), and
  3. f(a) = f(b) (the endpoints are at the same height),
Conclusion: ...then there exists at least one point 'c' in the open interval (a, b) such that f'(c) = 0.

Geometrically: If a smooth curve starts and ends at the same height, it must have at least one point with a horizontal tangent (a "peak" or "valley") somewhere in between.

Mean Value Theorem (Lagrange's MVT)

A generalization of Rolle's Theorem.

Conditions: If a function f(x) is:
  1. Continuous on the closed interval [a, b], and
  2. Differentiable on the open interval (a, b),
Conclusion: ...then there exists at least one point 'c' in the open interval (a, b) such that:
f'(c) = [ f(b) - f(a) ] / [ b - a ]

Geometrically: The term on the right is the slope of the secant line connecting the endpoints (a, f(a)) and (b, f(b)). The term on the left is the slope of the tangent line at 'c'. The theorem guarantees that there is at least one point 'c' where the tangent line is parallel to the secant line through the endpoints.


8. Euler's Theorem on Homogeneous Functions

Homogeneous Function

A function f(x, y) is a homogeneous function of degree 'n' if, for any constant t:

f(tx, ty) = tn · f(x, y)

Example: f(x, y) = x³ + 2x²y + y³.
f(tx, ty) = (tx)³ + 2(tx)²(ty) + (ty)³ = t³x³ + 2t³x²y + t³y³ = t³(x³ + 2x²y + y³) = t³ · f(x, y).
This is a homogeneous function of degree 3.

Euler's Theorem:
If f(x, y) is a homogeneous function of degree 'n', then:
x · (∂f/∂x) + y · (∂f/∂y) = n · f

Corollary (for second-order derivatives)

x²(∂²f/∂x²) + 2xy(∂²f/∂x∂y) + y²(∂²f/∂y²) = n(n-1) · f
Exam Tip: This is a great "check" for problems involving partial derivatives of homogeneous functions. You can also be asked to "Verify Euler's Theorem" for a given function.