Skip to content
The site is in test mode. All features are free for now.
MathAgora

University Mathematics · Calculus

Limits and derivatives

The tangent and velocity problems, limits and limit laws, the precise definition, continuity, limits at infinity and the definition of the derivative.

90 min 10 questions

§2.1The tangent and velocity problems

To find the slope of the tangent at a point PP we take a secant line PQPQ and let QQ approach PP: the secant slopes mPQm_{PQ} approach the slope of the tangent.

The same idea gives velocity: the average velocity over [t,t+h][t, t+h] is s(t+h)−s(t)h\frac{s(t+h) - s(t)}{h}, and the instantaneous velocity is its limit as h→0h \to 0. Both problems lead to the same concept: the limit.

§2.2The limit of a function

lim⁡x→af(x)=L\lim_{x\to a} f(x) = L means that f(x)f(x) can be made arbitrarily close to LL by taking xx sufficiently close to aa (but x≠ax \ne a). The value f(a)f(a) itself does not matter.

One-sided limits: lim⁡x→a−\lim_{x\to a^-} (from the left) and lim⁡x→a+\lim_{x\to a^+} (from the right). The limit exists exactly when both one-sided limits exist and are equal.

An infinite limit lim⁡x→af(x)=∞\lim_{x\to a} f(x) = \infty means f(x)f(x) grows without bound; then x=ax = a is a vertical asymptote.

§2.3Calculating limits using the limit laws

The limit of a sum, difference, product or quotient is the sum, difference, product or quotient of the limits (provided the denominator's limit is ≠0\ne 0). Consequently, for polynomials and rational functions (at points of the domain) direct substitution works: lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a).

If substitution gives 00\frac00, transform first: factor and cancel, multiply by the conjugate (for roots), or combine fractions. For absolute values, compute the one-sided limits separately.

Squeeze Theorem: if g(x)≤f(x)≤h(x)g(x) \le f(x) \le h(x) near aa and lim⁡g=lim⁡h=L\lim g = \lim h = L, then lim⁡f=L\lim f = L.

§2.4The precise definition of a limit

lim⁡x→af(x)=L\lim_{x\to a} f(x) = L if for every ε>0\varepsilon > 0 there is a δ>0\delta > 0 such that 0<∣x−a∣<δ;⇒;∣f(x)−L∣<ε0 < |x - a| < \delta ;\Rightarrow; |f(x) - L| < \varepsilon In a proof we first guess δ\delta (by expressing ∣f(x)−L∣|f(x) - L| through ∣x−a∣|x - a|) and then show it works. For lim⁡x→2(3x−1)=5\lim_{x\to 2}(3x - 1) = 5: ∣(3x−1)−5∣=3∣x−2∣|(3x-1) - 5| = 3|x - 2|, so δ=ε3\delta = \frac{\varepsilon}{3} is enough.

§2.5Continuity

ff is continuous at aa if lim⁡x→af(x)=f(a)\lim_{x\to a} f(x) = f(a) (three conditions: f(a)f(a) is defined, the limit exists, and they are equal). Polynomials, rational, root, trigonometric, exponential and logarithmic functions are continuous on their domains, and compositions of continuous functions are continuous.

Intermediate Value Theorem: if ff is continuous on [a,b][a, b] and NN lies between f(a)f(a) and f(b)f(b), then f(c)=Nf(c) = N for some c∈(a,b)c \in (a, b). It is often used to show an equation has a root: if f(a)f(a) and f(b)f(b) have opposite signs, ff has a zero in (a,b)(a,b).

§2.6Limits at infinity; horizontal asymptotes

If lim⁡x→∞f(x)=L\lim_{x\to\infty} f(x) = L or lim⁡x→−∞f(x)=L\lim_{x\to-\infty} f(x) = L, then y=Ly = L is a horizontal asymptote. For a rational function, divide numerator and denominator by the highest power of xx in the denominator and use lim⁡x→∞1xr=0\lim_{x\to\infty}\frac{1}{x^r} = 0 (r>0r > 0).

Careful with roots: x2=∣x∣\sqrt{x^2} = |x|, so as x→−∞x \to -\infty, x2=−x\sqrt{x^2} = -x. Also lim⁡x→∞e−x=0\lim_{x\to\infty} e^{-x} = 0 and lim⁡x→∞tan⁡−1x=π2\lim_{x\to\infty}\tan^{-1}x = \frac\pi2.

§2.7Derivatives and rates of change

The derivative of ff at aa is f′(a)=lim⁡h→0f(a+h)−f(a)h=lim⁡x→af(x)−f(a)x−af'(a) = \lim_{h\to 0}\frac{f(a+h) - f(a)}{h} = \lim_{x\to a}\frac{f(x) - f(a)}{x - a} It is the slope of the tangent to y=f(x)y = f(x) at (a,f(a))(a, f(a)), so the tangent line is y−f(a)=f′(a)(x−a)y - f(a) = f'(a)(x - a).

In general f′(a)f'(a) is the instantaneous rate of change of yy with respect to xx at x=ax = a (e.g., the derivative of position is velocity).

§2.8The derivative as a function

Letting aa vary gives a new function f′(x)=lim⁡h→0f(x+h)−f(x)hf'(x) = \lim_{h\to0}\frac{f(x+h) - f(x)}{h}. Notations: f′(x)=dydx=ddxf(x)=Df(x)f'(x) = \frac{dy}{dx} = \frac{d}{dx}f(x) = Df(x).

ff is differentiable at aa if f′(a)f'(a) exists. Theorem: if ff is differentiable at aa, it is continuous there (the converse fails: ∣x∣|x| is continuous but not differentiable at 0). A function fails to be differentiable at discontinuities, corners, and points with a vertical tangent.

The second derivative f′′=(f′)′f'' = (f')' describes acceleration.

Key formulas

  • Limit vs one-sided limits

    lim⁡x→af(x)=L  ⟺  lim⁡x→a−f(x)=L=lim⁡x→a+f(x)\lim_{x\to a}f(x)=L\iff \lim_{x\to a^-}f(x)=L=\lim_{x\to a^+}f(x)
  • Squeeze Theorem (§2.3)

    g≤f≤h, lim⁡g=lim⁡h=L ⇒ lim⁡f=Lg\le f\le h,\ \lim g=\lim h=L\ \Rightarrow\ \lim f=L
  • Precise definition (§2.4)

    ∀ε>0 ∃δ>0: 0<∣x−a∣<δ⇒∣f(x)−L∣<ε\forall\varepsilon>0\ \exists\delta>0:\ 0<|x-a|<\delta\Rightarrow|f(x)-L|<\varepsilon
  • Continuity at aa (§2.5)

    lim⁡x→af(x)=f(a)\lim_{x\to a}f(x)=f(a)
  • Definition of the derivative (§2.7)

    f′(a)=lim⁡h→0f(a+h)−f(a)hf'(a)=\lim_{h\to0}\dfrac{f(a+h)-f(a)}{h}
  • Tangent line

    y−f(a)=f′(a)(x−a)y-f(a)=f'(a)(x-a)

Worked examples

Example 1

Evaluate lim⁡h→0(2+h)3−8h\displaystyle\lim_{h\to0}\frac{(2+h)^3 - 8}{h}.

Example 2

Find lim⁡x→∞3x2−x5x2+4\displaystyle\lim_{x\to\infty}\frac{3x^2 - x}{5x^2 + 4}.

Example 3

Use the definition to find the derivative of f(x)=1xf(x) = \frac1x.