Chapter II · Functions of real variables

Algebraical functions

§§26–27 35 min

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.

Why this matters

Rational functions are built from xx by adding, multiplying and dividing. Allow one more operation, taking roots, and you get the explicit algebraical functions of §26, such as x\sqrt{x} and x+x+x\sqrt{x} + \sqrt{x + \sqrt{x}}. They behave differently from rational functions in two ways: they can be undefined on whole intervals, and they are naturally many-valued. §27 then makes a bold move: instead of formulas, it takes equations as the definition. A function is algebraical if it is a root of a polynomial equation in yy whose coefficients are rational functions of xx. This captures every explicit algebraical function, and more besides.

The idea

Take y2=xy^2 = x. For each x>0x > 0 there are two values, ±x\pm\sqrt x; for x=0x = 0 one; for x<0x < 0 none. Hardy chooses to read x\sqrt x as standing for both square roots, so that x\sqrt x is a two-valued function, undefined for all negative xx. Contrast x3\sqrt[3]{x}: every real number has exactly one real cube root, so x3\sqrt[3]{x} is one-valued and defined everywhere.

The general pattern is best seen by asking, at each xx, how many real numbers yy solve the equation. An equation of degree mm in yy can have at most mm roots, but it may have fewer, and the number can change as xx moves.

Explore Count the values of an algebraical function

Try this. Start with y2=xy^2 = x and y3=xy^3 = x, moving the probe across x=0x = 0. Then try y4−2y2+x2=0y^4 - 2y^2 + x^2 = 0 and Hardy’s y4−(4y2+4y+1)x=0y^4 - (4y^2 + 4y + 1)x = 0, and finally y5−y−x=0y^5 - y - x = 0. Watch the strip below the graph.

y2−x=0y^2 - x = 0Hardy: §26
xy
number of values
  • all real solutions (x, y)
  • values at the probe x
  • how many values at each x
At x=1.5x = 1.5 the equation (of degree 2 in yy) has 2 real roots: y=−1.225, 1.225y = -1.225,\ 1.225. Explicitly, y=±xy = \pm\sqrt{x}.
What to notice

The number of values is constant on intervals and changes only at special points, where two roots meet and vanish (or appear). y2=xy^2 = x has none for x<0x < 0 and two for x>0x > 0. y4−2y2+x2=0y^4 - 2y^2 + x^2 = 0 has four values for 0<∣x∣<10 < |x| < 1, three at x=0x = 0, and none beyond ∣x∣=1|x| = 1. Hardy’s quartic has two values for 0<x<10 < x < 1 and four for x>1x > 1. The quintic y5−y−x=0y^5 - y - x = 0 has three values for ∣x∣|x| below about 0.5350.535 and one outside: never more than the degree.

Precise statements

Definition Explicit algebraical function Hardy: §26

An explicit algebraical function of xx is one generated from xx by finitely many additions, subtractions, multiplications, divisions and extractions of roots. Following Hardy, xn\sqrt[n]{\phantom{x}} stands for all real nnth roots: for even nn it is two-valued (and undefined for negative arguments), for odd nn one-valued. In particular xm/n=xmnx^{m/n} = \sqrt[n]{x^m} is explicit algebraical for all integers mm, nn.

Unlike a rational function, which is defined except at finitely many points, x\sqrt x is undefined on a whole interval; and where it is defined it generally has two values of opposite signs.

Definition Algebraical function Hardy: §27

yy is an algebraical function of xx of degree mm if it is a root of an equation

ym+R1(x) ym−1+R2(x) ym−2+⋯+Rm(x)=0,y^m + R_1(x)\,y^{m-1} + R_2(x)\,y^{m-2} + \dots + R_m(x) = 0,

whose coefficients R1,…,RmR_1, \dots, R_m are rational functions of xx. (Multiplying through by a common denominator, we may equally use polynomial coefficients, with a leading coefficient that is not identically zero.)

Two facts connect the definitions.

Theorem Explicit algebraical functions are algebraical Hardy: §27

Every explicit algebraical function satisfies an equation of the form above.

The converse is false. For m≤4m \le 4 the equation can always be solved by roots (the formulas for quadratics, cubics and quartics), but in general not for m≥5m \ge 5: Hardy’s example y5−y−x=0y^5 - y - x = 0 defines an algebraical function that has no explicit expression, though the proof is hard. Hardy does not prove the theorem in general either; he shows how the elimination goes in one example. We do the same, with full details.

Proofs

Proof y=x+x+xy = \sqrt{x} + \sqrt{x + \sqrt{x}} satisfies y4−(4y2+4y+1)x=0y^4 - (4y^2 + 4y + 1)x = 0
Strategy

Give each root its own name, write down the polynomial equations those names satisfy, and eliminate the names one at a time, squaring to get rid of each square root. Squaring is allowed to add solutions (that is why the final equation has more roots than the formula has values); it never loses one.

Name the inner root

Let uu be any value of x\sqrt{x}, so u2=xu^2 = x. Then y=u+vy = u + v where vv is a value of x+u\sqrt{x + u}, so v2=x+uv^2 = x + u.

Eliminate vv

From y−u=vy - u = v, squaring: y2−2uy+u2=x+uy^2 - 2uy + u^2 = x + u. Since u2=xu^2 = x, this simplifies to y2=2uy+u=u(2y+1)y^2 = 2uy + u = u(2y + 1).

Eliminate uu

Square again: y4=u2(2y+1)2=x(4y2+4y+1)y^4 = u^2(2y + 1)^2 = x(4y^2 + 4y + 1).

Conclude

So every value of yy satisfies y4−(4y2+4y+1)x=0y^4 - (4y^2 + 4y + 1)x = 0, an equation of degree 44 in yy with polynomial coefficients. The four roots are u±x+uu \pm \sqrt{x + u} for u=±xu = \pm\sqrt x, which are exactly all the values of the formula when every root sign is allowed. The general proof eliminates the auxiliary roots in the same way (systematically, with resultants), which is why Hardy calls it “not difficult”.

The widget shows the consequence of reading every root sign both ways: for 0<x<10 < x < 1 only u=+xu = +\sqrt{x} gives real values, because x−x<0x - \sqrt{x} < 0; for x>1x > 1 both do, and the function is four-valued.

Worked examples and exercises

Exercise ●○○ Hardy: Examples XIII, 1

Let a<ba < b. Show that (x−a)(b−x)\sqrt{(x - a)(b - x)} is defined only for a≤x≤ba \le x \le b, has two values when a<x<ba < x < b, and one value at x=ax = a and x=bx = b. What is its graph?

Hint
Find the sign of (x−a)(b−x)(x - a)(b - x) on each side of aa and bb.
Hint
Square: y2=(x−a)(b−x)y^2 = (x-a)(b-x) can be rearranged into the equation of a circle.

Solution

(x−a)(b−x)(x - a)(b - x) is negative when x<ax < a (first factor negative, second positive) and when x>bx > b (first positive, second negative), zero at aa and bb, and positive between. So there is no value outside [a,b][a, b], the single value 00 at the ends, and two values ±(x−a)(b−x)\pm\sqrt{(x-a)(b-x)} inside. Squaring, y2=−x2+(a+b)x−aby^2 = -x^2 + (a + b)x - ab, that is (x−a+b2)2+y2=(b−a2)2\bigl(x - \tfrac{a+b}{2}\bigr)^2 + y^2 = \bigl(\tfrac{b-a}{2}\bigr)^2: the graph is the circle on [a,b][a, b] as diameter.

Exercise ●●○ Hardy: Examples XIV, 2–3

For y2+R1y+R2=0y^2 + R_1y + R_2 = 0, the solution is y=12{−R1±R12−4R2}y = \tfrac12\{-R_1 \pm \sqrt{R_1^2 - 4R_2}\}. Use this to solve y2−2y−x2=0y^2 - 2y - x^2 = 0, y2−2y+x2=0y^2 - 2y + x^2 = 0 and y4−2y2+x2=0y^4 - 2y^2 + x^2 = 0 explicitly, and say for which xx each is defined and how many values it has.

Hint
For the quartic, put z=y2z = y^2 first, and remember that zz must be ≥0\ge 0 to give real yy.

Solution

y2−2y−x2=0y^2 - 2y - x^2 = 0: y=1±1+x2y = 1 \pm \sqrt{1 + x^2}. Since 1+x2>01 + x^2 > 0, it is defined for all xx with two values, one ≥2\ge 2 and one ≤0\le 0. Its graph is a hyperbola: (y−1)2−x2=1(y - 1)^2 - x^2 = 1.

y2−2y+x2=0y^2 - 2y + x^2 = 0: y=1±1−x2y = 1 \pm \sqrt{1 - x^2}. Defined for ∣x∣≤1|x| \le 1, two values for ∣x∣<1|x| < 1, one (y=1y = 1) at x=±1x = \pm1. Its graph is the circle x2+(y−1)2=1x^2 + (y-1)^2 = 1.

y4−2y2+x2=0y^4 - 2y^2 + x^2 = 0: with z=y2z = y^2, z=1±1−x2z = 1 \pm \sqrt{1 - x^2}, so y=±1±1−x2y = \pm\sqrt{1 \pm \sqrt{1 - x^2}}. Real values need ∣x∣≤1|x| \le 1; both values of zz are then ≥0\ge 0, because 1−x2≤1\sqrt{1 - x^2} \le 1. So: four values for 0<∣x∣<10 < |x| < 1; three at x=0x = 0 (namely 00 and ±2\pm\sqrt2); two at x=±1x = \pm1 (namely ±1\pm1); none for ∣x∣>1|x| > 1.

Exercise ●●○ Hardy: Examples XIV, 4

Find equations, with coefficients rational in xx, satisfied by x+1/x\sqrt{x} + \sqrt{1/x} and by x3+1/x3\sqrt[3]{x} + \sqrt[3]{1/x}.

Hint
Square the first. For the second, put v=x3v = \sqrt[3]{x} and cube y=v+1/vy = v + 1/v.

Solution

First: y2=x+2+1/xy^2 = x + 2 + 1/x, so y2−(x+1)2/x=0y^2 - (x + 1)^2/x = 0, or xy2−(x+1)2=0xy^2 - (x + 1)^2 = 0. (Taking x\sqrt x with both signs, the two roots ±(x+1/x)\pm(\sqrt x + 1/\sqrt x) are exactly the values of the formula.)

Second: with v3=xv^3 = x, y3=v3+3v+3/v+1/v3=x+1/x+3yy^3 = v^3 + 3v + 3/v + 1/v^3 = x + 1/x + 3y. So y3−3y−(x+1/x)=0y^3 - 3y - (x + 1/x) = 0. Here the formula has one value (real cube roots are unique) but the cubic may have three real roots: at x=1x = 1 it is y3−3y−2=(y−2)(y+1)2y^3 - 3y - 2 = (y - 2)(y + 1)^2, whose roots are 22 (the formula’s value) and −1-1. Elimination produces an equation satisfied by the function, not one whose roots are all values of it.

Exercise Hardy’s first elimination ●●○ Hardy: §27

Show that y=1+x−1−x31+x+1−x3y = \dfrac{\sqrt{1+x} - \sqrt[3]{1-x}}{\sqrt{1+x} + \sqrt[3]{1-x}} satisfies (1+y1−y)6=(1+x)3(1−x)2\left(\dfrac{1+y}{1-y}\right)^6 = \dfrac{(1+x)^3}{(1-x)^2}, and hence an equation of the form ym+R1ym−1+⋯+Rm=0y^m + R_1y^{m-1} + \dots + R_m = 0.

Hint
Write s=1+xs = \sqrt{1+x}, c=1−x3c = \sqrt[3]{1-x} and compute (1+y)/(1−y)(1 + y)/(1 - y).

Solution

With ss and cc as in the hint, 1+y=2s/(s+c)1 + y = 2s/(s + c) and 1−y=2c/(s+c)1 - y = 2c/(s + c), so (1+y)/(1−y)=s/c(1 + y)/(1 - y) = s/c. Raising to the sixth power, s6=(1+x)3s^6 = (1 + x)^3 and c6=(1−x)2c^6 = (1 - x)^2, which gives the stated equation. Clearing denominators, (1−x)2(1+y)6−(1+x)3(1−y)6=0(1 - x)^2(1 + y)^6 - (1 + x)^3(1 - y)^6 = 0, a polynomial equation of degree 66 in yy whose leading coefficient (1−x)2−(1+x)3(1 - x)^2 - (1 + x)^3 is not identically zero; dividing by it puts the equation in Hardy’s form.

Exercise ●○○ Hardy: Examples XIV, 5

Discuss y4=x2y^4 = x^2.

Hint
y4−x2=(y2−x)(y2+x)y^4 - x^2 = (y^2 - x)(y^2 + x).

Solution

The equation says y2=xy^2 = x or y2=−xy^2 = -x. If x>0x > 0 only the first is possible (y2≥0y^2 \ge 0), giving y=±xy = \pm\sqrt x; if x<0x < 0 only the second, giving y=±−xy = \pm\sqrt{-x}. So y=±∣x∣y = \pm\sqrt{|x|}: two values for every x≠0x \neq 0, and one (y=0y = 0) at x=0x = 0. The graph is two parabolas, y2=xy^2 = x and y2=−xy^2 = -x, back to back.

Check yourself

Check yourself Enter a number

How many real values does the algebraical function defined by y4−2y2+x2=0y^4 - 2y^2 + x^2 = 0 have at x=12x = \tfrac12?

Why

y2=1±3/2≈1.866y^2 = 1 \pm \sqrt{3}/2 \approx 1.866 or 0.1340.134, both positive, so y≈±1.366y \approx \pm1.366 and ±0.366\pm0.366: four values, the most a quartic allows.

Check yourself True or false?

x3\sqrt[3]{x} is a one-valued function defined for every real xx.

Why

True. Every real number has exactly one real cube root (−83=−2\sqrt[3]{-8} = -2). It is the even roots that are two-valued and undefined for negative arguments.

Check yourself True or false?

Every algebraical function can be written explicitly using the rational operations and root extractions.

Why

False. For degree at most 44 it can (the classical formulas), but in general not for degree 55 or more. Hardy’s example is y5−y−x=0y^5 - y - x = 0. Every explicit algebraical function is algebraical, but not conversely.

Check yourself Choose one

For which xx is (x−1)(3−x)\sqrt{(x - 1)(3 - x)} defined (in real numbers)?

Why

(x−1)(3−x)≥0(x - 1)(3 - x) \ge 0 exactly when 1≤x≤31 \le x \le 3. Outside, the product is negative and has no real square root. The first option confuses the behaviour of roots with that of rational functions, which fail only at isolated points.

Hardy’s language

Summary

Summary
  • Explicit algebraical functions are built from xx by rational operations and root extractions; with Hardy’s convention even roots are two-valued.
  • Unlike rational functions, they may be undefined on whole intervals and many-valued where defined; odd roots such as x3\sqrt[3]{x} are one-valued everywhere.
  • yy is algebraical of degree mm if it satisfies ym+R1ym−1+⋯+Rm=0y^m + R_1y^{m-1} + \dots + R_m = 0 with rational RkR_k; it then has at most mm values at each xx.
  • Eliminating auxiliary roots (by squaring, cubing, …) shows that every explicit algebraical function is algebraical. The converse fails from degree 55 on.