Technopedia

The technologist’s encyclopedia

Multivariable analysis

Multivariable analysis extends the four pillars of one-variable real analysis — limits, derivatives, integrals, and series — to functions on Rn\mathbb{R}^n. It introduces partial derivatives, the gradient, the Jacobian, the multivariable mean value theorem, and multiple integrals with change of variables. It is the language of vector calculus, the foundation of PDE theory, and the setting in which optimization, mechanics, and electromagnetism are formulated.

Authoritative sources

Limits and continuity in Rn\mathbb{R}^n

Definition. Let f:U→Rf: U \to \mathbb{R} where U⊆RnU \subseteq \mathbb{R}^n is open. We write lim⁡x→af(x)=L\lim_{\mathbf{x} \to \mathbf{a}} f(\mathbf{x}) = L if for every ε>0\varepsilon > 0 there exists δ>0\delta > 0 such that 0<∥x−a∥<δ  ⟹  ∣f(x)−L∣<ε0 < \|\mathbf{x} - \mathbf{a}\| < \delta \implies |f(\mathbf{x}) - L| < \varepsilon.

Definition (continuity). ff is continuous at a\mathbf{a} if lim⁡x→af(x)=f(a)\lim_{\mathbf{x} \to \mathbf{a}} f(\mathbf{x}) = f(\mathbf{a}).

Details

From one dimension to many

The ε–δ definition is identical in form to the one-dimensional case (see Limits and continuity); the only change is that ∣x−a∣|x - a| becomes the Euclidean norm ∥x−a∥=(x1−a1)2+⋯+(xn−an)2\|\mathbf{x} - \mathbf{a}\| = \sqrt{(x_1 - a_1)^2 + \cdots + (x_n - a_n)^2}. The key new feature is that there are infinitely many paths to approach a\mathbf{a}: along axes, along lines, along curves. A limit exists only if ff approaches LL along every path.

Worked example: a limit that does not exist

Consider f(x,y)=xyx2+y2f(x, y) = \frac{xy}{x^2 + y^2} for (x,y)≠(0,0)(x,y) \neq (0,0).

Since the two paths give different limits, lim⁡(x,y)→(0,0)f(x,y)\lim_{(x,y) \to (0,0)} f(x,y) does not exist.

Continuity of vector-valued functions

A map f:U⊆Rn→Rm\mathbf{f}: U \subseteq \mathbb{R}^n \to \mathbb{R}^m is continuous at a\mathbf{a} if and only if each component fif_i is continuous at a\mathbf{a}. This reduces the multivariable question to mm one-dimensional questions.

Example problem

Problem. Show that g(x,y)=x2yx2+y2g(x, y) = \frac{x^2 y}{x^2 + y^2} (with g(0,0)=0g(0,0) = 0) is continuous at (0,0)(0, 0).

Solution

We need ∣g(x,y)−0∣→0|g(x,y) - 0| \to 0 as (x,y)→(0,0)(x,y) \to (0,0). Note that

∣g(x,y)∣=x2∣y∣x2+y2≤x2∣y∣y2=x2∣y∣|g(x,y)| = \frac{x^2 |y|}{x^2 + y^2} \leq \frac{x^2 |y|}{y^2} = \frac{x^2}{|y|}

when y≠0y \neq 0, which is not helpful. Instead, use x2≤x2+y2x^2 \leq x^2 + y^2:

∣g(x,y)∣≤x2∣y∣x2+y2≤∣y∣≤∥(x,y)∥.|g(x,y)| \leq \frac{x^2 |y|}{x^2 + y^2} \leq |y| \leq \|(x,y)\|.

Given ε>0\varepsilon > 0, choose δ=ε\delta = \varepsilon. If ∥(x,y)∥<δ\|(x,y)\| < \delta, then ∣g(x,y)∣≤∥(x,y)∥<ε|g(x,y)| \leq \|(x,y)\| < \varepsilon. Hence g→0=g(0,0)g \to 0 = g(0,0). ∎

Partial derivatives and the gradient

Definition (partial derivative). If f:U⊆Rn→Rf: U \subseteq \mathbb{R}^n \to \mathbb{R} is defined near a\mathbf{a}, the ii-th partial derivative is

∂f∂xi(a)=lim⁡h→0f(a+h ei)−f(a)h,\frac{\partial f}{\partial x_i}(\mathbf{a}) = \lim_{h \to 0} \frac{f(\mathbf{a} + h\,\mathbf{e}_i) - f(\mathbf{a})}{h},

where ei\mathbf{e}_i is the ii-th standard basis vector.

Definition (gradient). The gradient of ff at a\mathbf{a} is the vector

∇f(a)=(∂f∂x1(a),…,∂f∂xn(a)).\nabla f(\mathbf{a}) = \left(\frac{\partial f}{\partial x_1}(\mathbf{a}), \ldots, \frac{\partial f}{\partial x_n}(\mathbf{a})\right).

Theorem (directional derivative). If ff is differentiable at a\mathbf{a} and v\mathbf{v} is a unit vector, then the directional derivative in direction v\mathbf{v} is

Dvf(a)=∇f(a)⋅v.D_{\mathbf{v}} f(\mathbf{a}) = \nabla f(\mathbf{a}) \cdot \mathbf{v}.

Details

From one derivative to many

In one variable, the derivative f′(a)f'(a) captures the rate of change in the only available direction. In Rn\mathbb{R}^n, there are infinitely many directions. The partial derivatives ∂f/∂xi\partial f / \partial x_i measure the rate of change along the coordinate axes. The gradient collects all partial derivatives into a single vector that encodes the rate of change in every direction via the dot product.

Worked example

Let f(x,y)=x2y+sin⁡(xy)f(x, y) = x^2 y + \sin(xy). Then

∂f∂x=2xy+ycos⁡(xy),∂f∂y=x2+xcos⁡(xy).\frac{\partial f}{\partial x} = 2xy + y\cos(xy), \qquad \frac{\partial f}{\partial y} = x^2 + x\cos(xy).

At (1,0)(1, 0): ∇f(1,0)=(0,1)\nabla f(1, 0) = (0, 1). The steepest ascent direction is (0,1)(0, 1) (the positive yy-direction), and the steepest descent direction is (0,−1)(0, -1).

Differentiability versus partial derivatives

Having all partial derivatives exist at a point is not sufficient for differentiability. The function f(x,y)=xyx2+y2f(x,y) = \frac{xy}{\sqrt{x^2+y^2}} (with f(0,0)=0f(0,0)=0) has ∂f/∂x=∂f/∂y=0\partial f/\partial x = \partial f/\partial y = 0 at (0,0)(0,0), but is not differentiable there (the limit f(h,0)−f(0,0)∥(h,0)∥\frac{f(h,0) - f(0,0)}{\|(h,0)\|} does not give a linear map). Differentiability requires that the linear approximation (given by the gradient) approximates ff to first order in all directions simultaneously.

Example problem

Problem. Let f(x,y)=x3−3xy2f(x, y) = x^3 - 3xy^2 (the real part of z3z^3). Find ∇f\nabla f and the directional derivative in the direction v=(1,1)/2\mathbf{v} = (1, 1)/\sqrt{2} at (1,1)(1, 1).

Solution

∂f∂x=3x2−3y2\frac{\partial f}{\partial x} = 3x^2 - 3y^2, ∂f∂y=−6xy\frac{\partial f}{\partial y} = -6xy.

At (1,1)(1, 1): ∇f(1,1)=(0,−6)\nabla f(1,1) = (0, -6).

Dvf(1,1)=(0,−6)⋅(1,1)2=−62=−32D_{\mathbf{v}} f(1,1) = (0, -6) \cdot \frac{(1,1)}{\sqrt{2}} = \frac{-6}{\sqrt{2}} = -3\sqrt{2}. ∎

The Jacobian and the chain rule

Definition (Jacobian). If f:U⊆Rn→Rm\mathbf{f}: U \subseteq \mathbb{R}^n \to \mathbb{R}^m is differentiable at a\mathbf{a}, its Jacobian matrix Df(a)D\mathbf{f}(\mathbf{a}) is the m×nm \times n matrix with entries

(Df(a))ij=∂fi∂xj(a).(D\mathbf{f}(\mathbf{a}))_{ij} = \frac{\partial f_i}{\partial x_j}(\mathbf{a}).

Theorem (multivariable chain rule). If g:Rm→Rp\mathbf{g}: \mathbb{R}^m \to \mathbb{R}^p and f:Rn→Rm\mathbf{f}: \mathbb{R}^n \to \mathbb{R}^m are differentiable, then g∘f\mathbf{g} \circ \mathbf{f} is differentiable and

D(g∘f)(a)=Dg(f(a))⋅Df(a).D(\mathbf{g} \circ \mathbf{f})(\mathbf{a}) = D\mathbf{g}(\mathbf{f}(\mathbf{a})) \cdot D\mathbf{f}(\mathbf{a}).

Theorem (inverse function theorem, multivariable). If f:Rn→Rn\mathbf{f}: \mathbb{R}^n \to \mathbb{R}^n is C1C^1 and det⁡Df(a)≠0\det D\mathbf{f}(\mathbf{a}) \neq 0, then f\mathbf{f} is locally invertible near a\mathbf{a}, and

D(f−1)(f(a))=[Df(a)]−1.D(\mathbf{f}^{-1})(\mathbf{f}(\mathbf{a})) = [D\mathbf{f}(\mathbf{a})]^{-1}.

Details

The Jacobian as a linear map

The Jacobian matrix represents the best linear approximation to f\mathbf{f} near a\mathbf{a}: f(a+h)≈f(a)+Df(a) h\mathbf{f}(\mathbf{a} + \mathbf{h}) \approx \mathbf{f}(\mathbf{a}) + D\mathbf{f}(\mathbf{a})\,\mathbf{h}. In the special case m=n=1m = n = 1, the Jacobian is the 1×11 \times 1 matrix (f′(a))(f'(a)), recovering the one-variable derivative.

The chain rule in matrix form

The chain rule says that the derivative of a composition is the product of the derivatives. In one variable: (g∘f)′(a)=g′(f(a))⋅f′(a)(g \circ f)'(a) = g'(f(a)) \cdot f'(a). In several variables, the scalars become matrices and the product is matrix multiplication. The dimensions work out: DgD\mathbf{g} is p×mp \times m and DfD\mathbf{f} is m×nm \times n, so the product is p×np \times n.

Worked example: chain rule

Let f(x,y)=x2+y2f(x, y) = x^2 + y^2 and g(t)=(cos⁡t,sin⁡t)\mathbf{g}(t) = (\cos t, \sin t). Then (f∘g)(t)=cos⁡2t+sin⁡2t=1(f \circ \mathbf{g})(t) = \cos^2 t + \sin^2 t = 1.

By the chain rule: D(f∘g)(t)=Df(g(t))⋅Dg(t)D(f \circ \mathbf{g})(t) = Df(\mathbf{g}(t)) \cdot D\mathbf{g}(t).

Df(x,y)=(2x,2y)Df(x,y) = (2x, 2y) (a 1×21 \times 2 row), Dg(t)=(−sin⁡tcos⁡t)D\mathbf{g}(t) = \begin{pmatrix} -\sin t \\ \cos t \end{pmatrix} (a 2×12 \times 1 column).

D(f∘g)(t)=(2cos⁡t,2sin⁡t)⋅(−sin⁡tcos⁡t)=−2cos⁡tsin⁡t+2sin⁡tcos⁡t=0D(f \circ \mathbf{g})(t) = (2\cos t, 2\sin t) \cdot \begin{pmatrix} -\sin t \\ \cos t \end{pmatrix} = -2\cos t \sin t + 2\sin t \cos t = 0. ✓

The inverse function theorem

The condition det⁡Df(a)≠0\det D\mathbf{f}(\mathbf{a}) \neq 0 means the linear approximation is invertible (no direction is collapsed). This is the multivariable generalization of the one-variable condition f′(a)≠0f'(a) \neq 0 (see Differentiation). It guarantees that f\mathbf{f} is a local diffeomorphism: it maps small neighborhoods to small neighborhoods with a smooth inverse.

Example problem

Problem. Let f(x,y)=(x2−y2,2xy)\mathbf{f}(x, y) = (x^2 - y^2, 2xy) (the map z↦z2z \mapsto z^2 in complex notation). Compute Df(1,1)D\mathbf{f}(1, 1) and determine whether the inverse function theorem applies at (1,1)(1, 1).

Solution

Df(x,y)=(2x−2y2y2x)D\mathbf{f}(x,y) = \begin{pmatrix} 2x & -2y \\ 2y & 2x \end{pmatrix}.

At (1,1)(1, 1): Df(1,1)=(2−222)D\mathbf{f}(1,1) = \begin{pmatrix} 2 & -2 \\ 2 & 2 \end{pmatrix}.

det⁡Df(1,1)=4+4=8≠0\det D\mathbf{f}(1,1) = 4 + 4 = 8 \neq 0, so the inverse function theorem applies. The local inverse has derivative

[Df(1,1)]−1=18(22−22)=(1/41/4−1/41/4)[D\mathbf{f}(1,1)]^{-1} = \frac{1}{8}\begin{pmatrix} 2 & 2 \\ -2 & 2 \end{pmatrix} = \begin{pmatrix} 1/4 & 1/4 \\ -1/4 & 1/4 \end{pmatrix}.

(Indeed, the inverse of z2z^2 is z\sqrt{z}, and at z=2iz = 2i the derivative is 1/(22i)1/(2\sqrt{2i}), which matches.) ∎

The multivariable mean value theorem

Theorem (MVT, multivariable). If f:[a,b]→Rn\mathbf{f}: [a, b] \to \mathbb{R}^n is continuous on [a,b][a, b] and differentiable on (a,b)(a, b), then there exists c∈(a,b)c \in (a, b) such that

f(b)−f(a)=Df(c)⋅(b−a).\mathbf{f}(b) - \mathbf{f}(a) = D\mathbf{f}(c) \cdot (b - a).

Theorem (MVT, scalar-valued, multivariable). If f:U⊆Rn→Rf: U \subseteq \mathbb{R}^n \to \mathbb{R} is differentiable on the line segment from a\mathbf{a} to b\mathbf{b}, then there exists c\mathbf{c} on the segment such that

f(b)−f(a)=∇f(c)⋅(b−a).f(\mathbf{b}) - f(\mathbf{a}) = \nabla f(\mathbf{c}) \cdot (\mathbf{b} - \mathbf{a}).

Details

Why the multivariable MVT is different

In one variable, the MVT gives a point cc where the derivative equals the average slope. In several variables, the gradient at a single point generally cannot capture the total change (the gradient is a vector, and the change is a vector in a different direction). The multivariable MVT for scalar-valued functions says the change equals the gradient at some intermediate point dotted with the displacement — a single scalar equation, not a vector equation.

For vector-valued functions, the MVT takes the form f(b)−f(a)=Df(c)(b−a)\mathbf{f}(b) - \mathbf{f}(a) = D\mathbf{f}(c)(b-a), which is a vector equation: the change equals the Jacobian at some point applied to the displacement.

Application: Lipschitz continuity

If ∥∇f(x)∥≤M\|\nabla f(\mathbf{x})\| \leq M on a convex set UU, then by the MVT,

∣f(b)−f(a)∣≤M∥b−a∥.|f(\mathbf{b}) - f(\mathbf{a})| \leq M \|\mathbf{b} - \mathbf{a}\|.

This is the standard proof that a function with bounded gradient is Lipschitz — the workhorse estimate in optimization and PDE theory.

Example problem

Problem. Let f(x,y)=ex+yf(x, y) = e^{x+y}. Use the multivariable MVT to bound ∣f(1,1)−f(0,0)∣|f(1, 1) - f(0, 0)|.

Solution

∇f(x,y)=(ex+y,ex+y)\nabla f(x, y) = (e^{x+y}, e^{x+y}), so ∥∇f(x,y)∥=2 ex+y\|\nabla f(x,y)\| = \sqrt{2}\, e^{x+y}.

On the segment from (0,0)(0,0) to (1,1)(1,1), the maximum of ex+ye^{x+y} is e2e^2 (at (1,1)(1,1)). So ∥∇f∥≤2 e2\|\nabla f\| \leq \sqrt{2}\, e^2.

By the MVT: ∣f(1,1)−f(0,0)∣≤2 e2⋅∥(1,1)∥=2 e2⋅2=2e2|f(1,1) - f(0,0)| \leq \sqrt{2}\, e^2 \cdot \|(1,1)\| = \sqrt{2}\, e^2 \cdot \sqrt{2} = 2e^2.

The actual value is e2−1≈6.39e^2 - 1 \approx 6.39, and the bound is 2e2≈14.782e^2 \approx 14.78. The bound is valid but not tight (the MVT guarantees some point, not the worst case). ∎

Multiple integrals and change of variables

Definition (double integral). If f:R→Rf: R \to \mathbb{R} is bounded and Riemann integrable on a rectangle R=[a,b]×[c,d]R = [a,b] \times [c,d], then

∬Rf(x,y) dx dy=∫cd(∫abf(x,y) dx)dy.\iint_R f(x,y)\, dx\, dy = \int_c^d \left(\int_a^b f(x,y)\, dx\right) dy.

(Fubini’s theorem justifies the iterated form under mild conditions.)

Theorem (change of variables). If T:U⊆Rn→Rn\mathbf{T}: U \subseteq \mathbb{R}^n \to \mathbb{R}^n is a C1C^1 diffeomorphism and ff is integrable on T(U)\mathbf{T}(U), then

∫T(U)f(y) dy=∫Uf(T(x)) ∣det⁡DT(x)∣ dx.\int_{\mathbf{T}(U)} f(\mathbf{y})\, d\mathbf{y} = \int_U f(\mathbf{T}(\mathbf{x})) \, |\det D\mathbf{T}(\mathbf{x})|\, d\mathbf{x}.

Details

From Riemann sums in two dimensions

The double integral is defined by partitioning the rectangle into small sub-rectangles, summing f(xi∗,yj∗)ΔxΔyf(x_i^*, y_j^*) \Delta x \Delta y, and taking the limit as the mesh goes to zero. Fubini’s theorem (a consequence of the Riemann/Lebesgue integration theory; see Integration) says that for “nice” functions, the double integral equals either iterated integral.

The change of variables formula

The Jacobian determinant ∣det⁡DT∣|\det D\mathbf{T}| measures how T\mathbf{T} distorts area (in 2D) or volume (in 3D). A small square of area ΔA\Delta A in the x\mathbf{x}-plane is mapped to a parallelogram of area approximately ∣det⁡DT∣ ΔA|\det D\mathbf{T}| \, \Delta A in the y\mathbf{y}-plane. The change of variables formula accounts for this distortion.

Worked example: polar coordinates

The map T(r,θ)=(rcos⁡θ,rsin⁡θ)\mathbf{T}(r, \theta) = (r\cos\theta, r\sin\theta) has Jacobian

DT=(cos⁡θ−rsin⁡θsin⁡θrcos⁡θ),det⁡DT=r.D\mathbf{T} = \begin{pmatrix} \cos\theta & -r\sin\theta \\ \sin\theta & r\cos\theta \end{pmatrix}, \qquad \det D\mathbf{T} = r.

So dx dy=r dr dθdx\, dy = r\, dr\, d\theta. This is why the area element in polar coordinates is r dr dθr\, dr\, d\theta rather than dr dθdr\, d\theta.

Example: Compute ∬x2+y2≤1ex2+y2 dx dy\iint_{x^2+y^2 \leq 1} e^{x^2+y^2}\, dx\, dy.

In polar coordinates: ∫02π∫01er2 r dr dθ=2π⋅[−12e−r2]01=2π⋅12(1−e−1)=π(1−e−1)\int_0^{2\pi} \int_0^1 e^{r^2} \, r\, dr\, d\theta = 2\pi \cdot \left[-\frac{1}{2}e^{-r^2}\right]_0^1 = 2\pi \cdot \frac{1}{2}(1 - e^{-1}) = \pi(1 - e^{-1}).

Worked example: the volume of a sphere

In spherical coordinates (r,θ,ϕ)(r, \theta, \phi), the Jacobian is r2sin⁡ϕr^2 \sin\phi. The volume of the unit ball is

∫02π∫0π∫01r2sin⁡ϕ dr dϕ dθ=2π⋅2⋅13=4π3.\int_0^{2\pi} \int_0^{\pi} \int_0^1 r^2 \sin\phi \, dr\, d\phi\, d\theta = 2\pi \cdot 2 \cdot \frac{1}{3} = \frac{4\pi}{3}.

Example problem

Problem. Use the change of variables u=x+yu = x + y, v=x−yv = x - y to compute ∬R(x+y) dx dy\iint_R (x+y)\, dx\, dy where RR is the unit square [0,1]×[0,1][0,1] \times [0,1].

Solution

The map (x,y)↦(u,v)=(x+y,x−y)(x,y) \mapsto (u,v) = (x+y, x-y) has Jacobian det⁡(111−1)=−2\det \begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix} = -2, so dx dy=12 du dvdx\, dy = \frac{1}{2}\, du\, dv.

The unit square maps to the diamond with vertices (0,0)(0,0), $(1,1)$, $(2,0)$, $(1,-1)$ in the $(u,v)$-plane. The region is 0≤u≤20 \leq u \leq 2, ∣v∣≤1−∣u−1∣|v| \leq 1 - |u - 1|.

Since x+y=ux + y = u, the integral becomes

∬R(x+y) dx dy=12∬diamondu du dv.\iint_R (x+y)\, dx\, dy = \frac{1}{2} \iint_{\text{diamond}} u \, du\, dv.

The diamond is symmetric about u=1u = 1 and has area 22. By symmetry, ∬u du dv=1⋅2=2\iint u \, du\, dv = 1 \cdot 2 = 2 (the centroid is at u=1u = 1). Hence the integral is 12⋅2=1\frac{1}{2} \cdot 2 = 1.

Verification: ∫01∫01(x+y) dy dx=∫01[xy+y22]01dx=∫01(x+12)dx=12+12=1\int_0^1 \int_0^1 (x+y)\, dy\, dx = \int_0^1 \left[x y + \frac{y^2}{2}\right]_0^1 dx = \int_0^1 \left(x + \frac{1}{2}\right) dx = \frac{1}{2} + \frac{1}{2} = 1. ✓ ∎

Quiz

Example problem

Problem. Let f(x,y,z)=x2y+y2z+z2xf(x, y, z) = x^2 y + y^2 z + z^2 x.

(a) Compute ∇f(1,1,1)\nabla f(1, 1, 1).

(b) Find the directional derivative of ff at (1,1,1)(1,1,1) in the direction v=(1,1,1)/3\mathbf{v} = (1, 1, 1)/\sqrt{3}.

(c) Use the multivariable MVT to bound ∣f(2,2,2)−f(1,1,1)∣|f(2, 2, 2) - f(1, 1, 1)|.

Solution

(a) ∂f∂x=2xy+z2\frac{\partial f}{\partial x} = 2xy + z^2, ∂f∂y=x2+2yz\frac{\partial f}{\partial y} = x^2 + 2yz, ∂f∂z=y2+2zx\frac{\partial f}{\partial z} = y^2 + 2zx.

At (1,1,1)(1,1,1): ∇f=(3,3,3)\nabla f = (3, 3, 3).

(b) Dvf=(3,3,3)⋅(1,1,1)3=93=33D_{\mathbf{v}} f = (3, 3, 3) \cdot \frac{(1,1,1)}{\sqrt{3}} = \frac{9}{\sqrt{3}} = 3\sqrt{3}.

(c) On the segment from (1,1,1)(1,1,1) to (2,2,2)(2,2,2), write x(t)=(1+t,1+t,1+t)\mathbf{x}(t) = (1+t, 1+t, 1+t), t∈[0,1]t \in [0,1]. Then

∇f(1+t,1+t,1+t)=(3(1+t)2,3(1+t)2,3(1+t)2)\nabla f(1+t, 1+t, 1+t) = (3(1+t)^2, 3(1+t)^2, 3(1+t)^2).

∥∇f∥=33 (1+t)2≤33⋅4=123\|\nabla f\| = 3\sqrt{3}\,(1+t)^2 \leq 3\sqrt{3} \cdot 4 = 12\sqrt{3} for t∈[0,1]t \in [0,1].

∥b−a∥=∥(1,1,1)∥=3\|\mathbf{b} - \mathbf{a}\| = \|(1,1,1)\| = \sqrt{3}.

By the MVT: ∣f(2,2,2)−f(1,1,1)∣≤123⋅3=36|f(2,2,2) - f(1,1,1)| \leq 12\sqrt{3} \cdot \sqrt{3} = 36.

The actual value: f(2,2,2)=4⋅2+4⋅2+4⋅2=24f(2,2,2) = 4\cdot 2 + 4\cdot 2 + 4\cdot 2 = 24, f(1,1,1)=3f(1,1,1) = 3. So ∣24−3∣=21≤36|24 - 3| = 21 \leq 36. ✓ ∎