Chapter II · Functions of real variables

Loci in space

§33 30 min

Why one equation in x, y, z gives a surface and two give a curve; cylinders, cones and surfaces of revolution; and Hardy’s curved surface built entirely from straight rods.

Why this matters

In the plane one equation gives a curve. In space it does not: one equation f(x,y,z)=0f(x, y, z) = 0 gives a surface, and it takes two equations to pin down a curve. §33 explains this by counting degrees of freedom, and then works through the standard families of surfaces: cylinders, cones, surfaces of revolution and ruled surfaces. The counting idea (each independent equation removes one degree of freedom) is the germ of the notion of dimension, and these surfaces are the stock examples of the calculus of several variables.

The idea

A point moving on a line has one degree of freedom: one number fixes its position. On a plane it has two, and in space three. An equation is a condition, and a condition generally removes one degree of freedom. So in space:

  • one equation f(x,y,z)=0f(x, y, z) = 0 leaves two degrees of freedom: a surface;
  • two equations leave one: a curve, for instance a circle as the intersection of a sphere and a plane;
  • three equations leave none: generally a finite set of points.

The word “generally” matters: equations can be dependent or contradictory, and the locus can be smaller (or empty) than the count suggests.

Explore One equation or two

Try this. Start with the sphere and the plane z=hz = h and move hh through ±1\pm1; turn and tilt the picture. Then choose the cylinder and switch between the three curves.

x2+y2+z2=1,z=0.45x^2 + y^2 + z^2 = 1,\quad z = 0.45Hardy: §33
xyz
  • sphere
  • plane z = h
  • their intersection
The two equations together are satisfied on a circle of radius 1−h2=0.893\sqrt{1 - h^2} = 0.893: one equation gave a surface, two give a curve.
What to notice

Each equation alone is a surface; together they are satisfied only on the purple circle, which shrinks to a point at h=±1h = \pm1 and disappears beyond. The cylinder shows the other side of the coin: the plane-curve equation x2+y2=0.6x^2 + y^2 = 0.6, read in space, says nothing about zz, so it is satisfied on every vertical line through the circle. To get the circle itself you need the second equation z=0z = 0.

Precise statements

Definition Surfaces and curves in space Hardy: §33

The locus of a single equation f(x,y,z)=0f(x, y, z) = 0 (in particular z=f(x,y)z = f(x, y)) is called a surface. The locus of two equations, f(x,y,z)=0f(x, y, z) = 0 and ϕ(x,y,z)=0\phi(x, y, z) = 0, is called a curve. Thus a straight line is given by two equations of the first degree, and a circle by (x−α)2+(y−β)2+(z−γ)2=ρ2(x - \alpha)^2 + (y - \beta)^2 + (z - \gamma)^2 = \rho^2, Ax+By+Cz+D=0Ax + By + Cz + D = 0.

As Hardy says, a “surface” in this sense “may or may not satisfy our common-sense notion of what a surface should be”: x2+y2+z2=0x^2 + y^2 + z^2 = 0 is a single point.

Definition Cylinder, cone, surface of revolution, ruled surface Hardy: Examples XIX, 4, 7–10

A cylinder is the surface formed by the lines parallel to OZOZ through the points of a plane curve f(x,y)=0f(x, y) = 0, z=0z = 0. A cone with vertex OO is a surface formed by straight lines through OO. A surface of revolution is formed by rotating a curve about an axis. A ruled surface is one formed by a moving straight line.

Theorem Equations of these surfaces Hardy: Examples XIX, 4, 7, 8, 9

(i) Regarded as a locus in space, the single equation f(x,y)=0f(x, y) = 0 is the cylinder through the plane curve f(x,y)=0f(x, y) = 0, z=0z = 0.

(ii) The right circular cone with vertex OO, axis OZOZ and semi-vertical angle α\alpha is x2+y2=z2tan⁡2αx^2 + y^2 = z^2\tan^2\alpha.

(iii) Rotating the curve y=0y = 0, x=f(z)x = f(z) (with f(z)≥0f(z) \ge 0) about OZOZ gives the surface x2+y2=f(z)\sqrt{x^2 + y^2} = f(z).

(iv) An equation that is unchanged when (x,y,z)(x, y, z) is replaced by (λx,λy,λz)(\lambda x, \lambda y, \lambda z) for every λ≠0\lambda \neq 0 represents a cone with vertex OO (together with OO itself, if OO satisfies it).

Proofs

Proof Cylinders and surfaces of revolution
Strategy

For (i): an equation that does not mention zz cannot distinguish two points that differ only in zz. For (iii): a point is on the surface of revolution exactly when rotating it about OZOZ into the half-plane y=0y = 0, x≥0x \ge 0 lands it on the curve; rotation keeps the height zz and the distance x2+y2\sqrt{x^2 + y^2} from the axis.

(i) Vertical lines

If (x0,y0,0)(x_0, y_0, 0) satisfies f(x,y)=0f(x, y) = 0 then so does (x0,y0,z)(x_0, y_0, z) for every zz, since zz does not occur. And a point (x,y,z)(x, y, z) satisfies the equation only if (x,y,0)(x, y, 0) does. So the locus consists of exactly the vertical lines through the points of the plane curve.

(iii) What rotation preserves

Rotating a point about OZOZ moves it on a horizontal circle centred on the axis: its height zz and its distance r=x2+y2r = \sqrt{x^2 + y^2} from OZOZ do not change. Every point (x,y,z)(x, y, z) can be rotated to the point (r,0,z)(r, 0, z) of the half-plane y=0y = 0, x≥0x \ge 0.

(iii) The condition

The point is on the surface exactly when (r,0,z)(r, 0, z) is on the generating curve x=f(z)x = f(z), that is, when x2+y2=f(z)\sqrt{x^2 + y^2} = f(z). This is the rule: in the curve’s equation, replace xx by x2+y2\sqrt{x^2 + y^2}.

(ii) The cone as a special case

The cone is generated by the line y=0y = 0, x=ztan⁡αx = z\tan\alpha (and its mirror image x=−ztan⁡αx = -z\tan\alpha, which gives the same surface). Rotating gives x2+y2=∣z∣tan⁡α\sqrt{x^2 + y^2} = |z|\tan\alpha, i.e. x2+y2=z2tan⁡2αx^2 + y^2 = z^2\tan^2\alpha, a cone “extending both ways from its vertex”.

Hardy’s most striking example is a curved surface made entirely of straight lines. Imagine a cylinder of radius aa built from straight rods of length ll joining two circular rings. Unfasten the top end of each rod and turn it round the ring through an angle α\alpha, so that the rings move closer together to keep the rods straight. The rods now form a waisted surface like a napkin ring.

Explore Twist a cylinder of rods

Try this. Start at α=0\alpha = 0 and twist slowly towards 180∘180^\circ; turn the picture to look along the axis and from the side.

rods of length l=1.6 on rings of radius a=0.75, twisted through α=80∘\text{rods of length } l = 1.6 \text{ on rings of radius } a = 0.75\text{, twisted through } \alpha = 80^\circHardy: Examples XIX, 10
xyz
  • straight rods
  • one rod PQ′
  • the circular end rings
  • the waist
Twisting brings the rings together to height h=l2−(2asin⁡12α)2=1.28h = \sqrt{l^2 - (2a\sin\frac12\alpha)^2} = 1.28 and pinches the middle to radius acos⁡12α=0.574a\cos\tfrac12\alpha = 0.574. Every rod is straight, yet the surface is curved: with zz measured from the waist it is x2+y2=a2cos⁡212α+4a2sin⁡212αh2 z2x^2 + y^2 = a^2\cos^2\tfrac12\alpha + \frac{4a^2\sin^2\frac12\alpha}{h^2}\,z^2, a hyperboloid of one sheet.
What to notice

Every rod stays straight, yet the surface curves: it narrows to a waist of radius acos⁡12αa\cos\tfrac12\alpha halfway up, while the rings come closer together. At α=0\alpha = 0 it is a cylinder; near 180∘180^\circ the waist shrinks to almost nothing and the surface approaches a double cone.

Proof The twisted rods form a hyperboloid
Strategy

Parametrise one rod, compute the distance from the axis of its point at height zz, and observe that it depends only on zz: the surface is a surface of revolution, whose equation we can then write down.

The rod and its points

Put the lower ring at height 00, so a rod runs from P=(acos⁡θ,asin⁡θ,0)P = (a\cos\theta, a\sin\theta, 0) to Q′=(acos⁡(θ+α),asin⁡(θ+α),h)Q' = (a\cos(\theta + \alpha), a\sin(\theta + \alpha), h). The chord between the feet of PP and Q′Q' has length 2asin⁡12α2a\sin\tfrac12\alpha, so l2=h2+4a2sin⁡212αl^2 = h^2 + 4a^2\sin^2\tfrac12\alpha, Hardy’s relation. The point a fraction ss of the way along is (1−s)P+sQ′(1 - s)P + sQ', at height z=shz = sh.

Its distance from the axis

The horizontal part is (1−s)p+sq(1 - s)\mathbf{p} + s\mathbf{q} with p\mathbf{p}, q\mathbf{q} of length aa at angle α\alpha, so its squared length is a2{(1−s)2+s2+2s(1−s)cos⁡α}a^2\{(1 - s)^2 + s^2 + 2s(1 - s)\cos\alpha\}. Writing s=12+us = \tfrac12 + u and using 1+cos⁡α=2cos⁡212α1 + \cos\alpha = 2\cos^2\tfrac12\alpha, 1−cos⁡α=2sin⁡212α1 - \cos\alpha = 2\sin^2\tfrac12\alpha, this simplifies to a2cos⁡212α+4a2u2sin⁡212αa^2\cos^2\tfrac12\alpha + 4a^2u^2\sin^2\tfrac12\alpha.

It depends only on the height

Since u=(z−12h)/hu = (z - \tfrac12h)/h, the distance from the axis depends on zz alone, the same for every rod (every θ\theta). So the surface is a surface of revolution, and by (iii) its equation is x2+y2=a2cos⁡212α+4a2sin⁡212αh2(z−12h)2x^2 + y^2 = a^2\cos^2\tfrac12\alpha + \dfrac{4a^2\sin^2\frac12\alpha}{h^2}\bigl(z - \tfrac12h\bigr)^2.

Name it

For 0<α<π0 < \alpha < \pi this is x2+y2−k2Z2=c2x^2 + y^2 - k^2Z^2 = c^2 with Z=z−12hZ = z - \tfrac12h and positive constants kk, cc: a hyperboloid of one sheet, with its narrowest circle (radius acos⁡12αa\cos\tfrac12\alpha) halfway up. A surface curved in every direction, made of straight lines.

Worked examples and exercises

Exercise ●●○ Hardy: Examples XIX, 1–2

What is generally represented by three equations f(x,y,z)=0f(x, y, z) = 0? Three linear equations generally represent a single point: what are the exceptional cases?

Hint
Each linear equation is a plane. Think about how three planes can sit relative to one another.

Solution

Each equation removes one degree of freedom, so three equations generally leave a finite number of isolated points (for example a sphere, a plane and another plane meet in at most two points).

Three planes meet in a single point unless they are in special position: (a) two of them are parallel and distinct, or all three are, so there is no common point; (b) the three lines in which they meet in pairs are parallel (a “triangular prism”): no common point; (c) all three pass through one line: a whole line of common points; (d) two or three of them coincide, giving a line, a plane, or nothing. Algebraically, the exceptions are exactly the cases where the determinant of the coefficients of xx, yy, zz is zero.

Exercise ●○○ Hardy: Examples XIX, 3–4

What are the equations, in space, of the plane curve f(x,y)=0f(x, y) = 0 drawn in the plane XOYXOY? And what does the single equation x2+y2=1x^2 + y^2 = 1 represent in space?

Hint
A curve in space needs two equations.

Solution

The curve is f(x,y)=0f(x, y) = 0, z=0z = 0: the second equation confines it to the plane XOYXOY. The single equation x2+y2=1x^2 + y^2 = 1 represents the right circular cylinder of radius 11 about OZOZ: all vertical lines through the unit circle. Hardy’s remark is that the plane-geometry habit of reading one equation as a curve must be dropped in space.

Exercise ●○○ Hardy: Examples XIX, 7

Verify that the right circular cone with vertex OO, axis OZOZ and semi-vertical angle α\alpha is x2+y2−z2tan⁡2α=0x^2 + y^2 - z^2\tan^2\alpha = 0.

Hint
A point is on the cone when the line from OO to it makes the angle α\alpha with the axis (or with its downward extension).

Solution

Let P=(x,y,z)≠OP = (x, y, z) \neq O. The distance from PP to the axis is x2+y2\sqrt{x^2 + y^2} and its height is zz, so the line OPOP makes an angle β\beta with the line OZOZ (taken in both directions) where tan⁡β=x2+y2/∣z∣\tan\beta = \sqrt{x^2 + y^2}/|z|. PP is on the cone exactly when β=α\beta = \alpha, i.e. x2+y2=z2tan⁡2αx^2 + y^2 = z^2\tan^2\alpha. The vertex OO also satisfies the equation. Both nappes (above and below OO) are included, as Hardy requires.

Exercise Cones in general ●●○ Hardy: Examples XIX, 9

Show that if an equation is unchanged when (x,y,z)(x, y, z) is replaced by (λx,λy,λz)(\lambda x, \lambda y, \lambda z) for every λ≠0\lambda \neq 0, its locus is made of whole lines through OO; and that an equation of the form f(z/x,z/y)=0f(z/x, z/y) = 0 has this property.

Hint
Take a point P≠OP \neq O of the locus and look at the points λP\lambda P.

Solution

If P=(x,y,z)≠OP = (x, y, z) \neq O is on the locus, so is λP\lambda P for every λ≠0\lambda \neq 0; together these are the whole line OPOP (apart possibly from OO). So the locus is a union of lines through OO: a cone with vertex OO. For f(z/x,z/y)=0f(z/x, z/y) = 0, replacing (x,y,z)(x, y, z) by (λx,λy,λz)(\lambda x, \lambda y, \lambda z) leaves z/xz/x and z/yz/y unchanged, so the equation is unchanged. (Points with x=0x = 0 or y=0y = 0 need care, since the ratios are then undefined; an equation homogeneous in xx, yy, zz, such as x2+y2−z2tan⁡2α=0x^2 + y^2 - z^2\tan^2\alpha = 0, avoids the problem.)

Exercise ●●○ Hardy: Examples XIX, 10

For Hardy’s twisted rods with a=1a = 1, l=2l = 2 and α=120∘\alpha = 120^\circ, find the height hh between the rings and the radius of the waist.

Hint
Use l2−h2=(2asin⁡12α)2l^2 - h^2 = (2a\sin\tfrac12\alpha)^2 and the waist radius acos⁡12αa\cos\tfrac12\alpha.

Solution

2asin⁡60∘=32a\sin 60^\circ = \sqrt3, so h2=4−3=1h^2 = 4 - 3 = 1 and h=1h = 1. The waist radius is cos⁡60∘=12\cos 60^\circ = \tfrac12. With zz measured from the waist, the surface is x2+y2=14+3z2x^2 + y^2 = \tfrac14 + 3z^2.

Contour maps (Examples XIX, 5) belong to this section too; they were introduced with functions of two variables. Here is the explorer again with Hardy’s surfaces of this section.

Explore Contours of a cone and a saddle

Try this. Compare the contour maps of the cone and of the saddle 2z=3xy2z = 3xy while moving the level.

z=x2+y2z = \sqrt{x^2 + y^2}Hardy: Examples XIX, 7
xyz
xy
  • the surface z = f(x, y)
  • the plane z=1z = 1, its section, and the matching contour
  • other contours, equally spaced in height
The plane z=1z = 1 cuts the surface in the curve f(x,y)=1f(x, y) = 1; seen from above, that curve is the contour marked (1)(1) on the map.
What to notice

The cone’s contours are equally spaced circles (it rises at a constant slope); the saddle’s are hyperbolas, crossing at the pass. A contour map identifies a surface of revolution at a glance: its contours are concentric circles.

Check yourself

Check yourself Choose one

In space, the single equation x2+y2=1x^2 + y^2 = 1 represents

Why

The equation does not mention zz, so every point above or below the unit circle satisfies it. The circle needs a second equation, z=0z = 0. Mixing up the plane and space readings of an equation is the commonest error in this section.

Check yourself Enter a number

Rods on rings of radius a=1a = 1 are twisted through α=120∘\alpha = 120^\circ. What is the radius of the waist?

Why

acos⁡12α=cos⁡60∘=12a\cos\tfrac12\alpha = \cos 60^\circ = \tfrac12. The waist is halfway up, where each rod passes closest to the axis.

Check yourself True or false?

A surface made entirely of straight lines must be a plane, a cylinder or a cone.

Why

False. Hardy’s twisted rods form a hyperboloid of one sheet, curved in every direction yet composed of straight lines. (It is even doubly ruled: twisting the other way gives a second family of lines on the same surface.)

Check yourself Choose one

Three equations f=0f = 0, g=0g = 0, h=0h = 0 in xx, yy, zz generally represent

Why

Each independent condition removes one of the three degrees of freedom. “Generally” excludes dependent or inconsistent equations, such as three planes through one line.

Hardy’s language

A particle which moves along a straight line has only one degree of freedom.

— G. H. Hardy, §33

Summary

Summary
  • In space one equation gives a surface, two a curve, three (generally) points: each independent condition removes one degree of freedom.
  • A plane-curve equation f(x,y)=0f(x, y) = 0, read in space, is a cylinder; adding z=0z = 0 gives the curve.
  • Rotating x=f(z)x = f(z) about OZOZ gives x2+y2=f(z)\sqrt{x^2 + y^2} = f(z); the cone x2+y2=z2tan⁡2αx^2 + y^2 = z^2\tan^2\alpha is a special case, and equations unchanged by (x,y,z)↦(λx,λy,λz)(x, y, z) \mapsto (\lambda x, \lambda y, \lambda z) are cones with vertex OO.
  • Straight rods joining two circles, twisted through α\alpha, form a hyperboloid of one sheet: a curved surface made of straight lines.