Skip to content
Skip to page content
soylai.com

Continuity and Differentiability — chapter notes

8 sections 7 min readBeta

1. Continuity at a point

A real function ff is continuous at a point cc of its domain if

lim⁡x→c−f(x)=lim⁡x→c+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c).

So three numbers must agree: the left-hand limit, the right-hand limit and the value. If the one-sided limits differ (a jump), or the limit exists but differs from f(c)f(c), then ff is discontinuous at cc. Example: f(x)=x+1f(x) = x + 1 for x<1x < 1 and 4−x4 - x for x≥1x \ge 1 has left-hand limit 22 and right-hand limit 33 at x=1x = 1: not continuous. A function is continuous if it is continuous at every point of its domain; it is continuous on [a,b][a, b] if it is continuous on (a,b)(a, b), from the right at aa and from the left at bb.

  • y=x+1, x<1y = x + 1,\ x < 1
  • y=4−x, x≥1y = 4 - x,\ x \ge 1
Left-hand limit $2$, right-hand limit $3$: a jump at $x = 1$.

Formulas

  • Continuity at c
    lim⁡x→c−f(x)=lim⁡x→c+f(x)=f(c)\lim_{x \to c^-} f(x) = \lim_{x \to c^+} f(x) = f(c)

Key terms

Continuous at cc

Limit as x→cx \to c exists and equals f(c)f(c).

Left-hand limit

The value f(x)f(x) approaches as x→cx \to c through values less than cc.

Discontinuity

A point of the domain where ff is not continuous.

2. Piecewise functions and unknown constants

For a function defined by different formulas on different intervals, each piece (usually a polynomial or a standard function) is continuous on its own interval, so only the break points need testing.

Routine: (1) list the break points; (2) at each, find the value from the piece whose inequality includes the point, and the two one-sided limits from the neighbouring pieces; (3) for unknown constants, equate them; (4) state the conclusion in words.

Example: kx+1kx + 1 (x≤2x \le 2) and 3x−13x - 1 (x>2x > 2): 2k+1=52k + 1 = 5, so k=2k = 2. Two constants usually need two break points, giving two equations. A missing point, such as x2−9x−3\dfrac{x^2 - 9}{x - 3} at 33, is filled by defining the value to be the limit (66).

  • y=2x+1, x≤2y = 2x + 1,\ x \le 2
  • y=3x−1, x>2y = 3x - 1,\ x > 2
With $k = 2$ the pieces meet at $(2, 5)$: continuous at $x = 2$.

Formulas

  • Example: equate one-sided limits
    2k+1=5⇒k=22k + 1 = 5 \Rightarrow k = 2

Key terms

Break point

A point where the formula of a piecewise function changes.

3. Algebra of continuous functions; the greatest integer function

Polynomials, sin⁡x\sin x, cos⁡x\cos x, exe^x and ∣x∣|x| are continuous on R\mathbb{R}; log⁡x\log x on (0,∞)(0, \infty); tan⁡x\tan x wherever it is defined; rational functions wherever the denominator is non-zero. If ff and gg are continuous at cc, so are f+gf + g, f−gf - g, fgfg and fg\dfrac{f}{g} (when g(c)≠0g(c) \ne 0); compositions of continuous functions are continuous.

The greatest integer function [x][x] (greatest integer ≤x\le x) is constant on each interval [n,n+1)[n, n + 1) and jumps by 11 at each integer nn: left-hand limit n−1n - 1, right-hand limit nn. So [x][x] is continuous at every non-integer and discontinuous at every integer.

  • [x]=0[x] = 0
  • [x]=1[x] = 1
  • [x]=2[x] = 2
A staircase: a jump of $1$ at every integer, flat in between.

Formulas

  • At an integer n
    lim⁡x→n−[x]=n−1,lim⁡x→n+[x]=n\lim_{x \to n^-} [x] = n - 1, \quad \lim_{x \to n^+} [x] = n

Key terms

Greatest integer function

[x][x] is the greatest integer less than or equal to xx.

Composition

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)); continuous if both are.

4. Differentiability

ff is differentiable at cc if f′(c)=lim⁡h→0f(c+h)−f(c)hf'(c) = \lim_{h \to 0}\dfrac{f(c + h) - f(c)}{h} exists, that is, the left-hand derivative (h→0−h \to 0^-) and right-hand derivative (h→0+h \to 0^+) exist and are equal.

Differentiable ⇒\Rightarrow continuous: f(c+h)−f(c)=f(c+h)−f(c)h⋅h→f′(c)⋅0=0f(c + h) - f(c) = \dfrac{f(c + h) - f(c)}{h} \cdot h \to f'(c) \cdot 0 = 0. The converse is false: ∣x∣|x| is continuous at 00, but its one-sided derivatives are −1-1 and 11, so it is not differentiable there (a corner).

For a piecewise function, first check continuity at the break point; if continuous, compare the slopes of the two pieces there. Example: x2x^2 (x≤1x \le 1), 2x−12x - 1 (x>1x > 1): both slopes are 22 at 11, so differentiable.

  • y=∣x∣y = |x|
Continuous at $0$ but slopes $-1$ and $1$ disagree: not differentiable at $0$.

Formulas

  • Derivative at c
    f′(c)=lim⁡h→0f(c+h)−f(c)hf'(c) = \lim_{h \to 0}\dfrac{f(c + h) - f(c)}{h}

Key terms

Differentiable at cc

Left-hand and right-hand derivatives at cc exist and are equal.

Corner

A point of continuity where the one-sided derivatives differ.

5. Chain rule and inverse trigonometric functions

Chain rule: if y=f(u)y = f(u) and u=g(x)u = g(x), then dydx=dydu⋅dudx\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}. Work from the outside in, multiplying one factor per layer: ddxsin⁡3(2x)=3sin⁡2(2x)⋅cos⁡(2x)⋅2\dfrac{d}{dx}\sin^3(2x) = 3\sin^2(2x) \cdot \cos(2x) \cdot 2.

Inverse trigonometric functions (on their principal branches):

  • ddxsin⁡−1x=11−x2\dfrac{d}{dx}\sin^{-1} x = \dfrac{1}{\sqrt{1 - x^2}}, −1<x<1-1 < x < 1
  • ddxcos⁡−1x=−11−x2\dfrac{d}{dx}\cos^{-1} x = -\dfrac{1}{\sqrt{1 - x^2}}, −1<x<1-1 < x < 1
  • ddxtan⁡−1x=11+x2\dfrac{d}{dx}\tan^{-1} x = \dfrac{1}{1 + x^2}, all real xx

With the chain rule: ddxtan⁡−1(2x)=21+4x2\dfrac{d}{dx}\tan^{-1}(2x) = \dfrac{2}{1 + 4x^2}.

Inverse cosine carries the minus sign.
FunctionDerivativeValid for
sin⁡−1x\sin^{-1} x11−x2\dfrac{1}{\sqrt{1 - x^2}}−1<x<1-1 < x < 1
cos⁡−1x\cos^{-1} x−11−x2-\dfrac{1}{\sqrt{1 - x^2}}−1<x<1-1 < x < 1
tan⁡−1x\tan^{-1} x11+x2\dfrac{1}{1 + x^2}all real xx

Formulas

  • Chain rule
    dydx=dydu⋅dudx\dfrac{dy}{dx} = \dfrac{dy}{du} \cdot \dfrac{du}{dx}
  • Inverse tangent
    ddxtan⁡−1x=11+x2\dfrac{d}{dx}\tan^{-1} x = \dfrac{1}{1 + x^2}

Key terms

Composite function

A function of a function, such as sin⁡(x3)\sin(x^3).

6. Implicit differentiation

When xx and yy are related by an equation not solved for yy, differentiate both sides with respect to xx, treating yy as a function of xx: ddx(y2)=2ydydx\dfrac{d}{dx}(y^2) = 2y\dfrac{dy}{dx}, ddx(xy)=y+xdydx\dfrac{d}{dx}(xy) = y + x\dfrac{dy}{dx}, ddx(sin⁡y)=cos⁡ydydx\dfrac{d}{dx}(\sin y) = \cos y\dfrac{dy}{dx}. Then collect the dydx\dfrac{dy}{dx} terms and solve.

Example: x2+y2=25x^2 + y^2 = 25 gives dydx=−xy\dfrac{dy}{dx} = -\dfrac{x}{y}, which is −34-\dfrac34 at (3,4)(3, 4). To find a slope at a point, first check the point lies on the curve.

  • upper half
  • lower half
At $(3, 4)$: $\dfrac{dy}{dx} = -\dfrac{x}{y} = -\dfrac{3}{4}$.

Formulas

  • Product rule inside implicit work
    ddx(xy)=y+xdydx\dfrac{d}{dx}(xy) = y + x\dfrac{dy}{dx}

Key terms

Implicit function

A function defined by an equation in xx and yy rather than by y=f(x)y = f(x).

7. Exponential, logarithmic and logarithmic differentiation

ddxex=ex\dfrac{d}{dx}e^x = e^x, ddxlog⁡x=1x\dfrac{d}{dx}\log x = \dfrac1x (x>0x > 0; log⁡\log is the natural logarithm), ddxax=axlog⁡a\dfrac{d}{dx}a^x = a^x\log a. With the chain rule: ddxeg(x)=g′(x)eg(x)\dfrac{d}{dx}e^{g(x)} = g'(x)e^{g(x)}, ddxlog⁡g(x)=g′(x)g(x)\dfrac{d}{dx}\log g(x) = \dfrac{g'(x)}{g(x)}.

Logarithmic differentiation for y=uvy = u^{v} (both depending on xx) or long products and quotients: take log⁡\log of both sides, expand, differentiate (left side 1ydydx\dfrac{1}{y}\dfrac{dy}{dx}), then multiply by yy. Example: y=xxy = x^x gives dydx=xx(1+log⁡x)\dfrac{dy}{dx} = x^x(1 + \log x), which is zero at x=1ex = \dfrac1e. If yy is a sum u+vu + v, differentiate uu and vv separately.

  • y=xxy = x^x
Slope $x^x(1 + \log x)$ is $0$ at $x = \dfrac{1}{e}$, the lowest point M.

Formulas

  • Variable power
    ddx(xx)=xx(1+log⁡x)\dfrac{d}{dx}\left(x^x\right) = x^x(1 + \log x)
  • First step
    y=uv⇒log⁡y=vlog⁡uy = u^v \Rightarrow \log y = v\log u

Key terms

Natural logarithm

log⁡x\log x with base ee; the inverse of exe^x.

Logarithmic differentiation

Taking logs before differentiating, for variable powers or long products.

8. Parametric and second-order derivatives

Parametric form: if x=f(t)x = f(t) and y=g(t)y = g(t), then dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt} (where dxdt≠0\dfrac{dx}{dt} \ne 0). Example: x=t2x = t^2, y=2ty = 2t gives dydx=1t\dfrac{dy}{dx} = \dfrac1t.

Second-order derivative: d2ydx2=ddx(dydx)\dfrac{d^2y}{dx^2} = \dfrac{d}{dx}\left(\dfrac{dy}{dx}\right). For a parametric curve, differentiate dydx\dfrac{dy}{dx} with respect to tt and divide by dxdt\dfrac{dx}{dt} again.

Relations: to show, say, y′′−2y′−3y=0y'' - 2y' - 3y = 0 for y=e3x+e−xy = e^{3x} + e^{-x}, find y′y' and y′′y'', substitute and collect like terms. With inverse trigonometric functions, first clear the square root (e.g. 1−x2 y′=2y\sqrt{1 - x^2}\,y' = 2y), then differentiate again.

  • t>0t > 0
  • t<0t < 0
Slope $\dfrac{1}{t}$: $1$ at A ($t = 1$), $\dfrac12$ at B ($t = 2$).

Formulas

  • Parametric derivative
    dydx=dy/dtdx/dt\dfrac{dy}{dx} = \dfrac{dy/dt}{dx/dt}
  • Parametric second derivative
    d2ydx2=ddt(dydx)÷dxdt\dfrac{d^2y}{dx^2} = \dfrac{d}{dt}\left(\dfrac{dy}{dx}\right) \div \dfrac{dx}{dt}

Key terms

Parameter

An auxiliary variable tt in terms of which both xx and yy are given.

Second derivative

y′′y'', the derivative of y′y'.

Exam tips

How marks are awarded

  • Continuity / find kk (2–3 marks): value and both one-sided limits (1 each or combined), equation and constant, conclusion in words.
  • Differentiability (3–5 marks): continuity checked first, left- and right-hand derivatives, conclusion.
  • Derivatives (2–3 marks): correct method (chain, implicit, log, parametric) and a simplified final answer.
  • Show-that with second derivatives (3–5 marks): y′y', y′′y'', substitution, simplification to the required form.

Common mistakes

  1. Taking the value f(c)f(c) from the wrong piece of a piecewise function.
  2. Concluding "differentiable" without first checking continuity.
  3. Dropping the derivative of the inside in the chain rule.
  4. Forgetting the minus sign in ddxcos⁡−1x\dfrac{d}{dx}\cos^{-1} x.
  5. Missing the product rule on xyxy in implicit differentiation.
  6. Using the power rule on xxx^x, or taking the log of a sum.
  7. For parametric second derivatives, not dividing by dxdt\dfrac{dx}{dt} the second time.
  8. Writing ddx(log⁡5)=15\dfrac{d}{dx}(\log 5) = \dfrac15: the log of a constant is a constant.

Not in the 2026–27 syllabus: the mean value theorems of Rolle and Lagrange.