Chapter II · Functions of real variables
Chapter II problems: Miscellaneous Examples
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.
Hardy’s Miscellaneous Examples on Chapter II are a mixture of graph sketching, counting roots, and classical geometry. The eleven below are chosen for variety and roughly ordered by difficulty within each group. Try each one before opening the hints; the hints are graded, so open them one at a time. Where a picture helps, there is an interactive figure, but in every case the solution is an argument, not a picture.
Functions and their graphs
Show that if , then .
Hint
Hint
Solution
is equivalent (where ) to . This equation is symmetric: swapping and leaves it unchanged. Solving it for instead of gives , i.e. , wherever .
The exception: if , then and are proportional and is the constant (with ), so the statement fails (indeed is meaningless). Otherwise is its own inverse, , and its graph is symmetric about the line : it is a rectangular hyperbola with asymptotes and , both crossing at the same point.
is even if and odd if , for all . Show that every function defined for all is the sum of an even function and an odd one, and that the decomposition is unique.
Hint
Hint
Solution
Let and . Then , , and .
If also with even and odd, then is both even and odd, so and . So the decomposition is unique.
Example: for , the even part is , which is at the integers and everywhere else, and the odd part is .
Draw the graphs of and .
Hint
Hint
Solution
(). For , and . For (), falls from (at , included) towards (not reached): a sawtooth just below , with teeth approaching as . For , and , rising without bound as . For (), rises from (at ) towards : a sawtooth just above , again approaching .
. Replace by in the description above. For : . For : , a segment rising from (but not including) to . For : . For : , falling from near to . So near the graph consists of infinitely many shorter and shorter segments, all with values between and : the function is not defined at , but its values crowd towards .
Try this. Look at near , dragging the trace point towards from both sides; then compare with for large .
- the curve
- trace point (drag)
What to notice
Near , is made of infinitely many little segments whose values close in on , from below on the right and from above on the left. Far out, does the same. The two pictures are each other read through .
Verify this construction of the graph of from the graphs of , and the line : take along ; draw parallel to to meet in ; parallel to to meet in ; parallel to to meet in ; and parallel to to meet in . Then is on the graph of .
Hint
Solution
. is above on : . has the same ordinate and lies on : . The line has turned the value into an abscissa. is on the vertical through and on : . Finally has the ordinate of and lies on the vertical : , a point of the graph of . As varies, traces that graph.
Try this. Move slowly across the whole range and watch the path A → B → C → D → P; the blue points left behind are the graph of .
- y = φ(x)
- y = f(x)
- y = x
- points P found so far (the graph of f{φ(x)})
What to notice
The line is the trick: it converts the height into a horizontal position, so that the graph of can be read there. The same device, iterated, gives the “cobweb” pictures used to study repeated application of one function.
(a) Give a formula for the polynomial of degree at most that takes the values at the distinct points , generalising Hardy’s formula for .
(b) Find the polynomial of degree at most with , , , and show that . (Assume .)
Hint
Hint
Hint
Solution
(a) Let . Each has degree , and for . So takes the value at . For this is Hardy’s formula. It is the only such polynomial: the difference of two of them has degree at most and roots, so it is identically zero. (This is Lagrange’s interpolation formula.)
(b) Let , of degree at most . Then , and similarly . So for some constant . At : , so , giving . At : , so .
Counting roots
Show that the roots of are the abscissae of the points of intersection, other than the origin, of the parabola and the circle .
Hint
Solution
A point of the parabola is . It lies on the circle exactly when , i.e. . So the common points are the origin () and the points with ; conversely each real root gives such a point. (If the cubic itself has the root , which then corresponds to the origin.) The circle passes through the origin and has centre , so a cubic can be solved with a fixed parabola and a compass, as with the quadratics of §30.
Show that the equation has four roots between and .
Hint
Hint
Solution
is even, and at , so it suffices to show there are exactly two roots in .
On , both factors are positive and increasing, so increases strictly from to : exactly one root there (about ).
On , the function starts at and falls to at , so the graph crosses the level at least once (about ). It crosses only once: the graph rises slightly to a single maximum (about near ) and then falls steadily, which is clear from the picture and is proved with the derivative in Chapter VI. So there are two roots in , two more in by symmetry: and approximately.
Solve , and show that has two roots between and if and four if .
Hint
Hint
Solution
With we have , and the equation becomes , i.e. (the values , where and the equation is meaningless, never satisfy this, since they would give ).
Since , each with comes from exactly two values of in , from one, and from none.
. gives or . : . : , so or , giving or . The solutions are (plus multiples of ).
General . For the only root is , giving two . For the two roots , have product , so one of them, say , has and gives two . The other has , and exactly when . This forces , and then squaring is reversible: , i.e. (which indeed makes positive). So exactly when , and when . So there are four roots when , two when , and three when (one of them double), as found above.
Show that the equation , where is a positive integer, has roots and no more, and indicate roughly where they lie.
Hint
Hint
Hint
Solution
Since , the equation is with . The right side lies in , so roots satisfy : they lie in the humps of the curve, where hump is with its top at .
The first hump. is a root. Just to the right of the curve () is below the line; at the curve () is above it (as ); at the curve () is below. So there is a root in (close to ) and one in .
Humps . At the curve is , below the line; at it is , above; at it is again, below. One root on the rising side, one on the falling side.
The last hump, . At the curve and the line both equal : this is a root. At the curve is below the line; just to the left of it is above (writing , the difference curve line is for small ). So there is one more root in . To the right of the line exceeds and there are no roots.
Total: . (For example, with the roots are about , , , , .) One root is always exactly , because there.
No more. On each falling side the curve decreases while the line increases, so they meet at most once. On each rising side, the difference “curve minus line” first decreases, then increases, then decreases again (its slope changes sign twice; derivatives come in Chapter VI); combined with the signs found above, this allows only one crossing (apart from in the first hump). So the count is exact.
Try this. For , move through . For , step and count. For , set .
- intersections and their abscissae (the roots)
What to notice
The secant–cosecant count jumps from two to four as passes , where the horizontal line touches the curve. The cosine equation always has roots, two of them at and . The equation has exactly four roots in .
Constructions
is the vertex and the focus of the parabola , and is its intersection (other than ) with the parabola . Show that meets the latus rectum of the first parabola in a point with .
Hint
Hint
Solution
From , ; then gives , so . Apart from , and . The line is . It meets the latus rectum at , while . So . Two parabolas do what ruler and compasses cannot: Hardy notes (Misc. Examples II, 22) that Euclidean constructions only produce lengths built from square roots, and is not one of them.
Take a circle of unit diameter, a diameter and the tangent at . A chord meets the circle again at and the tangent at ; on it take . With as origin and as axis of , show that the locus of is , and sketch it. Then take along the axis of ; let cut the curve at and cut the tangent at in . Show that .
Hint
Hint
Solution
The circle on () as diameter is , i.e. , and the tangent at is , i.e. . On the ray at angle (), and , so . Thus satisfies , i.e. , i.e. .
Sketch. The curve is symmetric about the axis of (only occurs), lies in (since ), has a cusp at (near , ), and approaches the tangent as an asymptote as .
The cube root. Points of the curve other than with of slope : putting gives , so , . The line through and is . Substituting: , i.e. . So has slope and meets at , giving . Diocles used this curve for exactly this purpose: to duplicate the cube.