Chapter 18. Regions

In 18.02, you’ll be asked to find global minimums or maximums over a constraint region ℛ︀, which is only a subregion of ℝ𝑛. For example, if you have a three-variable function 𝑓(𝑥,𝑦,𝑧) given to you, you may be asked questions like

It turns out that thinking about constraint regions is actually half the problem. In 18.01 you usually didn’t have to think much about it, because the regions you got were always intervals, and that made things easy. But in 18.02, you will need to pay much more attention.

Warning: if you are proof-capable, read the grown-up version
This entire chapter is going to be a lot of wishy-washy terms that I don’t actually give definitions for. If you are a high-school student preparing for a math olympiad, or you are someone who can read proofs, read the version at https://web.evanchen.cc/handouts/LM/LM.pdf instead. We use open/closed sets and compactness there to do things correctly.

§18.1 [TEXT] Constraint regions

Digression: An English lesson on circle vs disk, sphere vs ball

To be careful about some words that are confused in English, I will use the following conventions:

  • The word circle refers to a one-dimensional object with no inside, like 𝑥2+𝑦2=1. It has no area.
  • The word open disk refers to points strictly inside a circle, like 𝑥2+𝑦2<1
  • The word closed disk refers to a circle and all the points inside it, like 𝑥2+𝑦2=1 or 𝑥2+𝑦2<1.
  • The word disk refers to either an open disk or a closed disk.

Similarly, a sphere refers only to the surface, not the volume, like 𝑥2+𝑦2+𝑧2=1. Then we have open ball, closed ball, and ball defined in the analogous way.

In 18.02, all the constraint regions we encounter will be made out of some number (possibly zero) of equalities and inequalities. We provide several examples.

Examples of regions in ℝ

In ℝ:

  • All of ℝ, with no further conditions.
  • An open interval like −1<𝑥<1 in ℝ.
  • A closed interval like −1≤𝑥≤1 in ℝ.
Examples of two-dimensional regions in ℝ2

In ℝ2, some two-dimensional regions:

  • All of ℝ2, with no further conditions.
  • The first quadrant 𝑥,𝑦>0, not including the axes
  • The first quadrant 𝑥,𝑦≥0, including the positive 𝑥 and 𝑦 axes.
  • The square −1<𝑥<1 and −1<𝑦<1, not including the four sides of the square.
  • The square −1≤𝑥≤1 and −1≤𝑦≤1, including the four sides.
  • The open disk 𝑥2+𝑦2<1, filled-in unit disk without its circumference.
  • The closed disk 𝑥2+𝑦2≤1, filled-in unit disk including its circumference.
Examples of one-dimensional regions in ℝ2

In ℝ2, some one-dimensional regions:

  • The unit circle 𝑥2+𝑦2=1, which is a circle of radius 1, not filled.
  • Both 𝑥2+𝑦2=1 and 𝑥,𝑦>0, a quarter-arc, not including (1,0) and (0,1).
  • Both 𝑥2+𝑦2=1 and 𝑥,𝑦≥0, a quarter-arc, including (1,0) and (0,1).
  • The equation 𝑥+𝑦=1 is a line.
  • Both 𝑥+𝑦=1 and 𝑥,𝑦>0: a line segment not containing the endpoints (1,0) and (0,1).
  • Both 𝑥+𝑦=1 and 𝑥,𝑦≥0: a line segment containing the endpoints (1,0) and (0,1).

I could have generated plenty more examples for ℝ2, and I haven’t even gotten to ℝ3 yet. That’s why the situation of constraint regions requires more thought in 18.02 than 18.01, (whereas in 18.01 there were pretty much only a few examples that happened).

In order to talk about the regions further, I have to introduce some new words. The three that you should care about for this class are the following: “boundary”, “limit cases”, and “dimension”.

Warning: This is all going to be waving hands furiously
As far as I know, in 18.02 it’s not possible to give precise definitions for these words. So you have to play it by ear. All the items below are rules of thumb that work okay for 18.02, but won’t hold up in 18.100/18.900.

The table below summarizes how each constraint affects each of the three words above.

ConstraintBoundaryLimit caseDimension
≤ or ≥Change to = to get boundaryNo effectNo effect
< or >No effectApproach for limit caseNo effect
=No effectNo effectReduces dim by one
Table 8: Effects of the rules of thumb.

Let’s use some examples.

Example: the circle, open disk, and closed disk

See Figure 39.

  • The circle 𝑥2+𝑦2=1 is a one-dimensional shape. Again, we consider this region to be one-dimensional even though the points live in ℝ2. The rule of thumb is that with 2 variables and 1 equality, the dimension should be 2−1=1.

    Because there are no inequality constraints at all, and because 𝑥 and 𝑦 can’t be larger than 1 in absolute value, there is no boundary and there are no limit cases.

  • The open disk 𝑥2+𝑦2<1 is two-dimensional now, since it’s something that makes sense to assign an area. (Or the rule of thumb that with 2 variables and 0 equalities, the dimension should be 2−0=2.)

    There is one family of limit cases: when 𝑥2+𝑦2 approaches 1−. But there is no boundary.

  • The closed disk 𝑥2+𝑦2≤1 is also two-dimensional. Because 𝑥 and 𝑦 can’t be larger than 1 in absolute value, and there were no < or > constraints, there are no limit cases to consider. But there is a boundary of 𝑥2+𝑦2=1.

Figure 39: Pictures of 𝑥2+𝑦2=1, 𝑥2+𝑦2<1, and 𝑥2+𝑦2≤1.

In compensation for the fact that I’m not giving you true definitions, I will instead give you a pile of examples, their dimensions, boundaries, and limit cases. See Table 9, Table 10, Table 11.

RegionDim.BoundaryLimit cases
All of ℝ1DNo boundary𝑥→±∞
−1<𝑥<11DNo boundary𝑥→±1
−1≤𝑥≤11D𝑥=±1No limit cases
Table 9: Examples of regions inside ℝ and their properties.
RegionDim.BoundaryLimit cases
All of ℝ22DNo boundary𝑥→±∞ or 𝑦→±∞
𝑥,𝑦>02DNo boundary𝑥→0+ or 𝑦→0+
or 𝑥→+∞ or 𝑦→+∞
𝑥,𝑦≥02D𝑥=0 or 𝑦=0𝑥→+∞ or 𝑦→+∞
−1<𝑥<1−1<𝑦<12DNo boundary𝑥,𝑦→±1
−1≤𝑥≤1−1≤𝑦≤12D𝑥=±1 or 𝑦=±1No limit cases
𝑥2+𝑦2<12DNo boundary𝑥2+𝑦2→1−
𝑥2+𝑦2≤12D𝑥2+𝑦2=1No limit cases
𝑥2+𝑦2=11DNo boundaryNo limit cases
𝑥2+𝑦2=1𝑥,𝑦>01DNo boundary𝑥→0+ or 𝑦→0+
𝑥2+𝑦2=1𝑥,𝑦≥01D(1,0) and (0,1)No limit cases
𝑥+𝑦=11DNo boundary𝑥→±∞ or 𝑦→±∞
𝑥+𝑦=1𝑥,𝑦>01DNo boundary𝑥→0+ or 𝑦→0+
𝑥+𝑦=1𝑥,𝑦≥01D(1,0) and (0,1)No limit cases
Table 10: Examples of regions inside ℝ2 and their properties
RegionDim.BoundaryLimit cases
All of ℝ33DNo boundaryAny var to ±∞
𝑥,𝑦,𝑧>03DNo boundaryAny var to 0 or ∞
𝑥,𝑦,𝑧≥03D𝑥=0 or 𝑦=0 or 𝑧=0Any var to ∞
𝑥2+𝑦2+𝑧2<13DNo boundary𝑥2+𝑦2+𝑧2→1−
𝑥2+𝑦2+𝑧2≤13D𝑥2+𝑦2+𝑧2=1No limit cases
𝑥2+𝑦2+𝑧2=12DNo boundaryNo limit cases
𝑥2+𝑦2+𝑧2=1𝑥,𝑦,𝑧>02DNo boundary𝑥→0+ or 𝑦→0+ or 𝑧→0+
𝑥2+𝑦2+𝑧2=1𝑥,𝑦,𝑧≥02DThree quarter-circle arcs16No limit cases
𝑥+𝑦+𝑧=12DNo boundaryAny var to ±∞
𝑥+𝑦+𝑧=1𝑥,𝑦,𝑧>02DNo boundaryAny var to 0+
𝑥+𝑦+𝑧=1𝑥,𝑦,𝑧≥02D𝑥=0 or 𝑦=0 or 𝑧=0No limit cases
Table 11: Examples of regions inside ℝ3 and their properties
Digression on intentionally misleading constraints that break the rule of thumb

I hesitate to show these, but here are some examples where the rules of thumb fail:

  • An unusually cruel exam-writer might rewrite the unit circle as

    𝑥2+𝑦2≤1 and 𝑥2+𝑦2≥1

    instead of the more natural 𝑥2+𝑦2=1. Then if you were blindly following the rules of thumb, you’d get the wrong answer.

  • In ℝ3 the region cut out by the single equation

    𝑥2+𝑦2+𝑧2=0

    is actually 0-dimensional, because there’s only one point in it: (0,0,0).

That said, intentionally misleading constraints like this are likely off-syllabus for 18.02.

§18.2 [RECIPE] Working with regions

This is going to be an unsatisfying recipe, because it’s just the rules of thumb. But again, for 18.02, the rules of thumb should work on all the exam questions.

Recipe: The rule of thumb for regions defined by equations and inequalities

Given a region ℛ︀ contained in ℝ𝑛, to guess its dimension, limit cases, and boundary:

  • The dimension is probably 𝑛 minus the number of = constraints.
  • The limit cases are obtained by turning < and > into limits, and considering when any of the variables can go to ±∞.
  • The boundary is obtained when any ≤ and ≥ becomes =.

See Table 8 for a summary of these rules of thumbs, and again consult Table 9, Table 10, Table 11 for a lot of examples.

  1. 15 Like “quadrant” with 𝑥𝑦-graphs. If you’ve never seen this word before, ignore it.
  2. 16 To be explicit, the first quarter circle is 𝑥2+𝑦2=1, 𝑥,𝑦≥0 and 𝑧=0. The other two quarter-circle arcs are similar.