MSM 112: Mathematical Methods II – Limits, Continuity, and Differentiation

Fundamental Concepts and Informal Definitions of Limits

Within the study of calculus, the limit of a function serves as the foundational stone of differential calculus, representing the central idea that distinguishes the discipline from algebra and trigonometry. According to Definition 1, for a function f(x)f(x) defined on an open interval surrounding a point x0x_0 (though not necessarily at x0x_0 itself), if f(x)f(x) becomes arbitrarily close to a value LL for all xx sufficiently close to x0x_0, we state that ff approaches the limit LL as xx approaches x0x_0. This is expressed mathematically as lim⁡x→x0f(x)=L\lim_{x \to x_0} f(x) = L.

Example 2 illustrates the behavior of the function f(x)=x2−1x−1f(x) = \frac{x^2 - 1}{x - 1} near x=1x = 1. While the function is undefined at x=1x = 1 due to division by zero, the formula can be simplified for all x≠1x \neq 1 by factoring the numerator: f(x)=(x+1)(x−1)x−1=x+1f(x) = \frac{(x + 1)(x - 1)}{x - 1} = x + 1. Consequently, the graph of ff is a line y=x+1y = x + 1 with a hole at the point (1,2)(1, 2). Numerical data supports this limit; as xx approaches 11 from below (0.90.9, 0.990.99, 0.9990.999) and from above (1.11.1, 1.011.01, 1.0011.001), the values of f(x)f(x) approach 1.91.9, 1.991.99, 1.9991.999 and 2.12.1, 2.012.01, 2.0012.001 respectively. Choosing xx closer to 11, such as 0.9999990.999999 or 1.0000011.000001, yields f(x)f(x) values of 1.9999991.999999 and 2.0000012.000001. Thus, lim⁡x→1x2−1x−1=2\lim_{x \to 1} \frac{x^2 - 1}{x - 1} = 2. This demonstrates that the limit value does not depend on how the function is defined precisely at x0x_0.

Limit Evaluation Techniques and Identity Functions

Evaluating a limit lim⁡x→x0f(x)\lim_{x \to x_0} f(x) can often be achieved through direct substitution by calculating f(x0)f(x_0). This is particularly applicable when f(x)f(x) is an algebraic combination of polynomials and trigonometric functions for which f(x0)f(x_0) is defined. For example, lim⁡x→2(5x−3)=10−3=7\lim_{x \to 2} (5x - 3) = 10 - 3 = 7, and lim⁡x→−23x+4x+5=−6+4−2+5=−23\lim_{x \to -2} \frac{3x + 4}{x + 5} = \frac{-6 + 4}{-2 + 5} = -\frac{2}{3}. In more complex cases, such as lim⁡x→32x2+2x−5x3−x2+x+1\lim_{x \to 3} \frac{2x^2 + 2x - 5}{x^3 - x^2 + x + 1}, the result is 2(3)2+2(3)−5(3)3−(3)2+3+1=18+6−527−9+3+1=1922\frac{2(3)^2 + 2(3) - 5}{(3)^3 - (3)^2 + 3 + 1} = \frac{18 + 6 - 5}{27 - 9 + 3 + 1} = \frac{19}{22}.

Specific functions such as Identity and Constant functions have reliable limits at every point. Definition 5 establishes that for an identity function f(x)=xf(x) = x, then for any x0x_0, lim⁡x→x0x=x0\lim_{x \to x_0} x = x_0. Similarly, for a constant function f(x)=kf(x) = k, lim⁡x→x0k=k\lim_{x \to x_0} k = k regardless of the value of x0x_0. Examples include lim⁡x→3x=3\lim_{x \to 3} x = 3, and for constant values, lim⁡x→−74=4\lim_{x \to -7} 4 = 4, lim⁡x→24=4\lim_{x \to 2} 4 = 4, and lim⁡x→−1373=73\lim_{x \to -13} \frac{7}{3} = \frac{7}{3}.

The Limit Laws and Algebraic Manipulation

Theorem 6 details the formal Limit Laws provided that LL, MM, cc, and kk are real numbers and lim⁡x→cf(x)=L\lim_{x \to c} f(x) = L and lim⁡x→cg(x)=M\lim_{x \to c} g(x) = M. The Sum Rule states lim⁡x→c(f(x)+g(x))=L+M\lim_{x \to c} (f(x) + g(x)) = L + M. The Difference Rule states lim⁡x→c(f(x)−g(x))=L−M\lim_{x \to c} (f(x) - g(x)) = L - M. The Product Rule states lim⁡x→c(f(x)⋅g(x))=L⋅M\lim_{x \to c} (f(x) \cdot g(x)) = L \cdot M. The Constant Multiple Rule states lim⁡x→c(k⋅f(x))=k⋅L\lim_{x \to c} (k \cdot f(x)) = k \cdot L. The Quotient Rule states lim⁡x→cf(x)g(x)=LM\lim_{x \to c} \frac{f(x)}{g(x)} = \frac{L}{M} provided M≠0M \neq 0. Finally, the Power Rule states that if rr and ss are integers with no common factor and s≠0s \neq 0, then lim⁡x→x0(f(x))rs=Lrs\lim_{x \to x_0} (f(x))^{\frac{r}{s}} = L^{\frac{r}{s}}, assuming LrsL^{\frac{r}{s}} is a real number (and if ss is even, then L>0L > 0).

When standard substitution results in a zero denominator, algebraic manipulation such as factoring or rationalization must be employed. Example 8 demonstrates this for lim⁡x→1x2+x−2x2−x\lim_{x \to 1} \frac{x^2 + x - 2}{x^2 - x}. Substitution makes the denominator zero, but since the numerator is also zero at x=1x = 1, there is a common factor of (x−1)(x - 1). Simplifying gives (x+2)(x−1)x(x−1)=x+2x\frac{(x + 2)(x - 1)}{x(x - 1)} = \frac{x + 2}{x}. Substituting x=1x = 1 into the result yields 1+21=3\frac{1 + 2}{1} = 3. Example 9 illustrates rationalization for lim⁡x→0x2+100−10x2\lim_{x \to 0} \frac{\sqrt{x^2 + 100} - 10}{x^2}. By multiplying the numerator and denominator by the conjugate x2+100+10\sqrt{x^2 + 100} + 10, we obtain lim⁡x→0x2+100−100x2(x2+100+10)=lim⁡x→01x2+100+10=10+100+10=120\lim_{x \to 0} \frac{x^2 + 100 - 100}{x^2(\sqrt{x^2 + 100} + 10)} = \lim_{x \to 0} \frac{1}{\sqrt{x^2 + 100} + 10} = \frac{1}{\sqrt{0 + 100} + 10} = \frac{1}{20}.

Precise Definition and Limits at Infinity

While informal insight is useful, calculus relies on a precise definition of a limit (Definition 10). We say lim⁡x→x0f(x)=L\lim_{x \to x_0} f(x) = L if for every number ϵ>0\epsilon > 0, there exists a corresponding number δ>0\delta > 0 such that for all xx, 0<∣x−x0∣<δ  ⟹  ∣f(x)−L∣<ϵ0 < |x - x_0| < \delta \implies |f(x) - L| < \epsilon. This rigorous definition is generally reserved for higher-level courses.

Limits at infinity describe the behavior of a function when values in the domain or range outgrow all finite values. The symbol for infinity (∞\infty) is not a real number. For the function f(x)=1xf(x) = \frac{1}{x}, as xx becomes increasingly large and positive, f(x)f(x) becomes decreasingly small, approaching 00. Thus, lim⁡x→∞1x=0\lim_{x \to \infty} \frac{1}{x} = 0 and lim⁡x→−∞1x=0\lim_{x \to -\infty} \frac{1}{x} = 0. Definition 11 specifies that lim⁡x→∞f(x)=L\lim_{x \to \infty} f(x) = L if for every ϵ>0\epsilon > 0 there exists a number MM such that x>M  ⟹  ∣f(x)−L∣<ϵx > M \implies |f(x) - L| < \epsilon. Similarly, lim⁡x→−∞f(x)=L\lim_{x \to -\infty} f(x) = L if for every ϵ>0\epsilon > 0 there exists a number NN such that x<N  ⟹  ∣f(x)−L∣<ϵx < N \implies |f(x) - L| < \epsilon. Theorem 12 confirms that the algebraic Limit Laws for finite limits also apply to limits as x→±∞x \to \pm \infty.

To determine the limit of a rational function as x→±∞x \to \pm \infty, one should divide the numerator and denominator by the highest power of xx found in the denominator. In Example 14, where the degrees are equal (lim⁡x→∞5x2+8x−33x2+2\lim_{x \to \infty} \frac{5x^2 + 8x - 3}{3x^2 + 2}), dividing by x2x^2 results in 5+0−03+0=53\frac{5 + 0 - 0}{3 + 0} = \frac{5}{3}. In Example 15, where the degree of the denominator is higher (lim⁡x→−∞11x+22x3−1\lim_{x \to -\infty} \frac{11x + 2}{2x^3 - 1}), dividing by x3x^3 produces 0+02−0=0\frac{0 + 0}{2 - 0} = 0.

Infinite Limits and Asymptotes

Infinite limits describe the behavior of functions whose values become arbitrarily large. For f(x)=1xf(x) = \frac{1}{x}, as x→0+x \to 0^+, the values grow without bound, written as lim⁡x→0+1x=∞\lim_{x \to 0^+} \frac{1}{x} = \infty. This does not mean the limit exists in a traditional sense, but that the function becomes arbitrarily large and positive. Conversely, as x→0−x \to 0^-, lim⁡x→0−1x=−∞\lim_{x \to 0^-} \frac{1}{x} = -\infty. Example 16 analyzes y=1x−1y = \frac{1}{x - 1}, which is a horizontal shift of y=1xy = \frac{1}{x} one unit to the right; here lim⁡x→1+1x−1=∞\lim_{x \to 1^+} \frac{1}{x - 1} = \infty and lim⁡x→1−1x−1=−∞\lim_{x \to 1^-} \frac{1}{x - 1} = -\infty.

Rational functions exhibit various behaviors near the zeros of their denominators. Sometimes zeros cancel, as in Example 19(i): lim⁡x→2(x−2)2x2−4=lim⁡x→2x−2x+2=0\lim_{x \to 2} \frac{(x - 2)^2}{x^2 - 4} = \lim_{x \to 2} \frac{x - 2}{x + 2} = 0. However, if cancellation is incomplete, infinite limits may occur. For y=x−3x2−4y = \frac{x - 3}{x^2 - 4}, as x→2+x \to 2^+, the limit is −∞-\infty, while as x→2−x \to 2^-, the limit is ∞\infty. Since the behavior is inconsistent, lim⁡x→2x−3x2−4\lim_{x \to 2} \frac{x - 3}{x^2 - 4} does not exist. Asymptotes are lines the graph approaches. Example 20 shows that for y=x+3x+2y = \frac{x + 3}{x + 2}, which can be recast as y=1+1x+2y = 1 + \frac{1}{x + 2}, the horizontal asymptote is y=1y = 1 and the vertical asymptote is x=−2x = -2. Example 22 explores oblique asymptotes; for f(x)=x2−32x−4f(x) = \frac{x^2 - 3}{2x - 4}, long division yields x2+1+12x−4\frac{x}{2} + 1 + \frac{1}{2x - 4}. As x→±∞x \to \pm \infty, the remainder vanishes, leaving the oblique asymptote y=x2+1y = \frac{x}{2} + 1.

Limits of Trigonometric, Exponential, and Logarithmic Functions

Definition 23 outlines basic trigonometric limits: lim⁡x→csin⁡(x)=sin⁡(c)\lim_{x \to c} \sin(x) = \sin(c) and lim⁡x→ccos⁡(x)=cos⁡(c)\lim_{x \to c} \cos(x) = \cos(c) for all real numbers cc. Limitations exist for other functions (e.g., tan⁡(x)\tan(x) is defined for all c≠π2+kπc \neq \frac{\pi}{2} + k\pi). Theorem 24 introduces special limits: lim⁡x→0sin⁡(x)x=1\lim_{x \to 0} \frac{\sin(x)}{x} = 1 and lim⁡x→01−cos⁡(x)x=0\lim_{x \to 0} \frac{1 - \cos(x)}{x} = 0. These can be extended via Theorem 28: lim⁡x→0sin⁡(nx)nx=1\lim_{x \to 0} \frac{\sin(nx)}{nx} = 1. Evaluation often requires creating matching structures, such as in Example 29: lim⁡x→0sin⁡(2x)2x2+x=lim⁡x→0sin⁡(2x)x(2x+1)=lim⁡x→0(2sin⁡(2x)2x⋅12x+1)=2(1)(1)=2\lim_{x \to 0} \frac{\sin(2x)}{2x^2 + x} = \lim_{x \to 0} \frac{\sin(2x)}{x(2x + 1)} = \lim_{x \to 0} \left( \frac{2 \sin(2x)}{2x} \cdot \frac{1}{2x + 1} \right) = 2(1)(1) = 2.

Exponential function limits rely on basic facts: lim⁡x→∞ex=∞\lim_{x \to \infty} e^x = \infty and lim⁡x→−∞ex=0\lim_{x \to -\infty} e^x = 0. Specifically, Theorem 36 notes lim⁡x→∞(1+1x)x=e\lim_{x \to \infty} (1 + \frac{1}{x})^x = e and lim⁡x→0ex−1x=1\lim_{x \to 0} \frac{e^x - 1}{x} = 1. For logarithmic functions, finite limits agree with function values if c>0c > 0. However, lim⁡x→∞log⁡a(x)=∞\lim_{x \to \infty} \log_a(x) = \infty and lim⁡x→0+log⁡a(x)=−∞\lim_{x \to 0^+} \log_a(x) = -\infty for a>1a > 1. Theorem 41 adds special cases like lim⁡x→1ln⁡(x)x−1=1\lim_{x \to 1} \frac{\ln(x)}{x - 1} = 1 and lim⁡x→∞ln⁡(x)x=0\lim_{x \to \infty} \frac{\ln(x)}{x} = 0. Example 79 demonstrates differentiation applications of these, noting ddx[ln⁡(ax+b)]=aax+b\frac{d}{dx} [\ln(ax + b)] = \frac{a}{ax + b}.

Continuity and the Continuity Test

A function f(x)f(x) is continuous if its graph can be sketched without lifting the pencil. Definition 43 specifies continuity at an interior point cc if lim⁡x→cf(x)=f(c)\lim_{x \to c} f(x) = f(c). For endpoints, one-sided limits must match function values. Definition 44 clarifies that a function is right-continuous at cc if lim⁡x→c+f(x)=f(c)\lim_{x \to c^+} f(x) = f(c) and left-continuous if lim⁡x→c−f(x)=f(c)\lim_{x \to c^-} f(x) = f(c). Theorem 46 provides the Continuity Test: a function is continuous at cc in its domain if and only if f(c)f(c) exists, lim⁡x→cf(x)\lim_{x \to c} f(x) exists (requiring the left-hand limit to equal the right-hand limit), and the limit equals the function value.

Example 47 discusses the unit step function g(x)g(x) which is 11 for x≥0x \geq 0 and 00 for x<0x < 0. At x=0x = 0, g(0)=1g(0) = 1, but lim⁡x→0−g(x)=0\lim_{x \to 0^-} g(x) = 0 and lim⁡x→0+g(x)=1\lim_{x \to 0^+} g(x) = 1. Since the one-sided limits are unequal, lim⁡x→0g(x)\lim_{x \to 0} g(x) does not exist, and the function is discontinuous at x=0x = 0. Example 48 features h(x)=(x+2)(x−1)x−1h(x) = \frac{(x + 2)(x - 1)}{x - 1} for x≠1x \neq 1 and h(1)=2h(1) = 2. Here, lim⁡x→1h(x)=3\lim_{x \to 1} h(x) = 3. Although the limit and function value exist, they are not equal, making the function discontinuous at x=1x = 1.

Differentiation from First Principles and Basic Rules

Differentiation is the process of finding the differential coefficient of a function. The derivative f′(x)f'(x) is defined as lim⁡h→0f(x+h)−f(x)h\lim_{h \to 0} \frac{f(x + h) - f(x)}{h}, provided the limit exists. This formula is often called the First Principle. Differentiability requires a "smoothness" condition on the graph; if secant lines through points PP and QQ do not approach a limiting slope as Q→PQ \to P, the derivative fails to exist at that point. Common notations include f′(x)f'(x), y′y', dydx\frac{dy}{dx}, and Dxf(x)Dx f(x).

Basic differentiation rules include the Power Rule (ddx[xn]=nxn−1\frac{d}{dx} [x^n] = nx^{n-1}), Constant Multiple Rule (ddx[cf(x)]=cf′(x)\frac{d}{dx} [cf(x)] = cf'(x)), Constant Rule (ddx[c]=0\frac{d}{dx} [c] = 0), and the Sum and Difference Rules (ddx[f(x)±g(x)]=f′(x)±g′(x)\frac{d}{dx} [f(x) \pm g(x)] = f'(x) \pm g'(x)). The Product Rule is ddx[f(x)g(x)]=f(x)g′(x)+g(x)f′(x)\frac{d}{dx} [f(x)g(x)] = f(x)g'(x) + g(x)f'(x). The Quotient Rule is ddx[f(x)g(x)]=g(x)f′(x)−f(x)g′(x)[g(x)]2\frac{d}{dx} [\frac{f(x)}{g(x)}] = \frac{g(x)f'(x) - f(x)g'(x)}{[g(x)]^2}. Theorem 60 provides trigonometric derivatives: ddxsin⁡(x)=cos⁡(x)\frac{d}{dx} \sin(x) = \cos(x) and ddxcos⁡(x)=−sin⁡(x)\frac{d}{dx} \cos(x) = -\sin(x). Related functions follow: ddxtan⁡(x)=sec⁡2(x)\frac{d}{dx} \tan(x) = \sec^2(x), ddxcot⁡(x)=−csc⁡2(x)\frac{d}{dx} \cot(x) = -\csc^2(x), ddxsec⁡(x)=sec⁡(x)tan⁡(x)\frac{d}{dx} \sec(x) = \sec(x)\tan(x), and ddxcsc⁡(x)=−csc⁡(x)cot⁡(x)\frac{d}{dx} \csc(x) = -\csc(x)\cot(x).

Chain Rule, Implicit Differentiation, and Higher-Order Derivatives

The Chain Rule allows for the differentiation of composite functions (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)). According to Definition 64, (f∘g)′(x)=f′(g(x))⋅g′(x)(f \circ g)'(x) = f'(g(x)) \cdot g'(x), or in Leibniz notation, dydx=dydu⋅dudx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx}. Example 66 shows that to differentiate y=sin⁡(x2+x)y = \sin(x^2 + x), you set u=x2+xu = x^2 + x, find dydu=cos⁡(u)\frac{dy}{du} = \cos(u) and dudx=2x+1\frac{du}{dx} = 2x + 1, resulting in dydx=(2x+1)cos⁡(x2+x)\frac{dy}{dx} = (2x + 1)\cos(x^2 + x).

Implicit functions, where yy cannot be easily isolated as f(x)f(x), require implicit differentiation. This involves differentiating both sides of an equation with respect to xx, assuming yy is a differentiable function of xx, and then solving for dydx\frac{dy}{dx}. The rule is stated as ddx[f(y)]=ddy[f(y)]⋅dydx\frac{d}{dx} [f(y)] = \frac{d}{dy} [f(y)] \cdot \frac{dy}{dx}. Example 74 demonstrates this with 2y2−5x4−2−7y3=02y^2 - 5x^4 - 2 - 7y^3 = 0, yielding 4ydydx−20x3−21y2dydx=04y \frac{dy}{dx} - 20x^3 - 21y^2 \frac{dy}{dx} = 0, then solved as dydx=20x34y−21y2\frac{dy}{dx} = \frac{20x^3}{4y - 21y^2}. Logarithmic differentiation is a specific technique where natural logarithms are taken on both sides to simplify products, quotients, or variable exponents (like y=xxy = x^x) before differentiating implicitly.

Successive Differentiation involves taking derivatives of derivatives. If y=f(x)y = f(x), the second derivative is f′′(x)f''(x) or d2ydx2\frac{d^2y}{dx^2}. Higher orders like the third (d3ydx3\frac{d^3y}{dx^3}) or nn-th (dnydxn\frac{d^ny}{dx^n}) can be calculated. Standard formulas for inverse trigonometric derivatives also exist. When y=sin⁡−1(x)y = \sin^{-1}(x), dydx=11−x2\frac{dy}{dx} = \frac{1}{\sqrt{1 - x^2}}. For the general case y=sin⁡−1f(x)y = \sin^{-1} f(x), dydx=f′(x)1−[f(x)]2\frac{dy}{dx} = \frac{f'(x)}{\sqrt{1 - [f(x)]^2}}. Similar general formulas are defined for cos⁡−1\cos^{-1}, tan⁡−1\tan^{-1}, and others, often involving a constant aa representing scale, such as ddx[tan⁡−1(xa)]=aa2+x2\frac{d}{dx} [\tan^{-1}(\frac{x}{a})] = \frac{a}{a^2 + x^2}.