Chapter II · §§20–33

Functions of real variables

The modern notion of a function as any rule assigning a value to each x, illustrated by graphs: polynomials, rational and algebraical functions, transcendental functions, and some deliberately strange examples, followed by curves and loci in the plane and in space.

What you will be able to do

  • decide whether a given rule defines a function of x, and which of Hardy's three characteristics it has
  • pass between an equation and its locus, in cartesian and in polar coordinates
  • sketch polynomials, rational functions and simple algebraical functions, including their asymptotes and holes
  • prove that a periodic function cannot be rational or algebraical
  • use graphs to count and locate the roots of equations
  • read surfaces through contour maps, and describe cylinders, cones and surfaces of revolution by equations

Start with “The idea of a function” →

What this chapter is for

Chapter I built the real numbers. Chapter II is about the objects that the rest of the book studies: functions, and the curves and surfaces that picture them. It contains few theorems. Its job is to give you a large, varied stock of examples, so that when Chapters IV and V define limits and continuity you already know the functions those definitions must cope with, including some deliberately awkward ones.

Two habits are worth forming here. First, keep Hardy’s definition of a function in mind: a rule attaching values of yy to some values of xx, with no promise that every xx gets a value, that the value is unique, or that there is a formula. Second, sketch every function you meet before reaching for a plotting program, and ask what a sketch can and cannot prove. Hardy’s remark that plotting points never proves a graph is unbroken is the seed of Chapter V.

The chapter in four stages

  1. Functions and their pictures (§§20–22). The idea of a function and its three inessential features; coordinates, graphs and the equation of a locus; polar coordinates, with Hardy’s convention that rr is never negative.
  2. A catalogue of functions (§§23–29). Polynomials and the dominance of the highest power; rational functions, their holes and asymptotes; algebraical functions as roots of polynomial equations, naturally many-valued; transcendental functions, with the proof that nothing periodic can be algebraical; and Hardy’s oddities built from [x][x] and from the rational/irrational distinction.
  3. Graphs as a tool (§30). Solving and, above all, counting the roots of equations by splitting them as f(x)=ϕ(x)f(x) = \phi(x) and looking at where two graphs cross.
  4. More than one dimension (§§31–33). Functions of two variables and their surfaces; contour maps; plane curves given by f(x,y)=0f(x, y) = 0 or by a parameter; and loci in space, where one equation gives a surface and two a curve.

How to work through it

  • Stage 1 is short but sets the vocabulary. The modern definition of a function differs from Hardy’s in being one-valued with a stated domain; the notes on Hardy’s language explain the difference wherever it matters.
  • In stage 2 the examples are the content. Do several of Hardy’s “trace the curve” exercises by hand: they train the skill of reading a formula for its zeros, poles, symmetries and behaviour far out.
  • The proofs in this chapter are short and algebraic (a chord lies above y=x2y = x^2; a periodic rational function is constant; a parametrisation misses one point). They are good first practice in writing proofs.
  • The Miscellaneous Examples mix graph sketching, root counting and classical constructions such as Euclidean constructions and the duplication of the cube. A selection, with hints and solutions, is on the problems page.

Lessons

12 pages · about 420 minutes of reading, plus time with the book.

  1. §20 The idea of a function ✓ done What it means for yy to be a function of xx, and which familiar features of functions are not part of the idea at all.
  2. §21 Graphs and the equation of a locus ✓ done Coordinates, the graph of a function, and why the general equation of the first degree is a straight line and x2+y2+2Gx+2Fy+C=0x^2 + y^2 + 2Gx + 2Fy + C = 0 a circle (or nothing).
  3. §22 Polar coordinates ✓ done Locating a point by its distance and direction from the origin, polar equations of lines, circles and conics, and why Hardy insists that rr is never negative.
  4. §23 Polynomials and their graphs ✓ done The shapes of xmx^m for even and odd mm, why a chord of y=x2y = x^2 lies above the curve, and why the highest power of a polynomial wins for large xx.
  5. §§24–25 Rational functions ✓ done Quotients of polynomials, why cancelling a common factor changes the function, why rational functions of rational functions are rational, and how asymptotes come from long division.
  6. §§26–27 Algebraical functions ✓ done Functions built with root extractions, why they are naturally many-valued and undefined on whole intervals, and the wider class of functions defined as roots of polynomial equations in y.
  7. §§28–29 Transcendental functions and strange examples ✓ done Functions that are not algebraical, why no periodic function except a constant can be rational or algebraical, and Hardy’s gallery of instructive oddities built from [x] and from the rational/irrational distinction.
  8. §30 Solving equations with graphs ✓ done Splitting an equation as f(x) = φ(x) so that its roots are where two easy graphs cross, and using the shapes of the graphs to count the roots.
  9. §31 Functions of two variables ✓ done When z depends on two variables x and y, its graph is a surface in space; planes and spheres as loci of equations in three coordinates; and how horizontal slices turn a surface into a contour map.
  10. §32 Curves in a plane ✓ done Describing curves by an equation f(x, y) = 0 or by parametric equations x = f(t), y = F(t); families of curves through given points; and what elimination of the parameter gains and loses.
  11. §33 Loci in space ✓ done 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.
  12. Problems Chapter II problems: Miscellaneous Examples ✓ done Eleven of Hardy’s Miscellaneous Examples on Chapter II, from functional equations and sawtooth graphs to counting roots and constructing the cube root of 2, with graded hints and full solutions.