Mathematics · Book 2 · Grades 10–12

High School Mathematics

High School Mathematics · Grades 10–12

2Algebra: Equations and Inequalities

Algebra is the art of computing with letters. This chapter reviews and sharpens the two basic moves — expanding and factoring — and uses them to solve equations and inequalities systematically, with the sign table as the central tool.

2.1 Expanding and factoring

Definition 2.1 (Expanding, factoring)

Expanding an expression means transforming products into sums; factoring means the reverse, transforming a sum into a product. The basic rule is distributivity:

k(a+b)=ka+kb,(a+b)(c+d)=ac+ad+bc+bd.k(a + b) = ka + kb, \qquad (a + b)(c + d) = ac + ad + bc + bd .

Example 2.2

Expand (2x+3)(x5)(2x + 3)(x - 5) step by step:

(2x+3)(x5)=2x×x+2x×(5)+3×x+3×(5)=2x210x+3x15=2x27x15.\begin{align*} (2x + 3)(x - 5) &= 2x \times x + 2x \times (-5) + 3 \times x + 3 \times (-5) \\ &= 2x^2 - 10x + 3x - 15 \\ &= 2x^2 - 7x - 15 . \end{align*}

Theorem 2.3 (Remarkable identities)

For all real numbers aa and bb:

(a+b)2=a2+2ab+b2,(ab)2=a22ab+b2,(a+b)(ab)=a2b2.(a+b)^2 = a^2 + 2ab + b^2, \qquad (a-b)^2 = a^2 - 2ab + b^2, \qquad (a+b)(a-b) = a^2 - b^2 .

Proof. Each one is a direct expansion. For the first:

(a+b)2=(a+b)(a+b)=a2+ab+ba+b2=a2+2ab+b2.(a+b)^2 = (a+b)(a+b) = a^2 + ab + ba + b^2 = a^2 + 2ab + b^2 .

The second follows by replacing bb with b-b: (ab)2=a2+2a(b)+(b)2=a22ab+b2(a-b)^2 = a^2 + 2a(-b) + (-b)^2 = a^2 - 2ab + b^2. For the third: (a+b)(ab)=a2ab+bab2=a2b2(a+b)(a-b) = a^2 - ab + ba - b^2 = a^2 - b^2.

Why (a+b)2 = a2 + 2ab + b2: a square of side a + b splits into a square of side a, a square of side b, and two a × b rectangles.
Why (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2: a square of side a+ba + b splits into a square of side aa, a square of side bb, and two a×ba \times b rectangles.

Example 2.4

Used forward (expanding) and backward (factoring):

(3x+2)2=9x2+12x+4,x225=(x+5)(x5),(x4)2=x28x+16,4x2+4x+1=(2x+1)2.\begin{align*} (3x + 2)^2 &= 9x^2 + 12x + 4, & x^2 - 25 &= (x+5)(x-5), \\ (x - 4)^2 &= x^2 - 8x + 16, & 4x^2 + 4x + 1 &= (2x + 1)^2 . \end{align*}

Mental arithmetic benefits too: 101×99=(100+1)(1001)=100001=9999101 \times 99 = (100+1)(100-1) = 10000 - 1 = 9999.

Method 2.5 (Factoring an expression)

Try, in this order:

  1. Common factor: spot a factor present in every term and pull it out, e.g. 6x2+4x=2x(3x+2)6x^2 + 4x = 2x(3x + 2). The common factor can be a whole bracket: (x+1)(2x3)+(x+1)(x+7)=(x+1)(3x+4)(x+1)(2x-3) + (x+1)(x+7) = (x+1)(3x+4).
  2. Remarkable identity: recognize a2b2a^2 - b^2, or a2±2ab+b2a^2 \pm 2ab + b^2, e.g. 9x216=(3x)242=(3x+4)(3x4)9x^2 - 16 = (3x)^2 - 4^2 = (3x+4)(3x-4).
  3. Combine both, and check the result by expanding it back.

Example 2.6

Factor E=(2x+1)2(x3)2E = (2x + 1)^2 - (x - 3)^2. This is a difference of two squares a2b2a^2 - b^2 with a=2x+1a = 2x+1 and b=x3b = x-3:

E=[(2x+1)+(x3)]×[(2x+1)(x3)]=(3x2)(2x+1x+3)=(3x2)(x+4).\begin{align*} E &= \bigl[(2x+1) + (x-3)\bigr] \times \bigl[(2x+1) - (x-3)\bigr] \\ &= (3x - 2)(2x + 1 - x + 3) \\ &= (3x - 2)(x + 4). \end{align*}

Mind the second bracket: subtracting x3x - 3 means subtracting xx and adding 33.

2.2 Equations

Definition 2.7 (Equation, solution)

An equation is an equality containing an unknown number xx; a solution is a value of xx that makes the equality true. Solving the equation means finding all its solutions.

Two equations are equivalent when they have exactly the same solutions. Adding the same number to both sides, or multiplying both sides by the same nonzero number, produces an equivalent equation.

Example 2.8 (First-degree equation)

Solve 5x7=2x+85x - 7 = 2x + 8, one move at a time:

5x7=2x+85x2x=8+7(add 72x to both sides)3x=15x=5(divide both sides by 3).\begin{align*} 5x - 7 &= 2x + 8 \\ 5x - 2x &= 8 + 7 && \text{(add $7 - 2x$ to both sides)} \\ 3x &= 15 \\ x &= 5 && \text{(divide both sides by $3$).} \end{align*}

The unique solution is 55. Check: 5×57=185 \times 5 - 7 = 18 and 2×5+8=182 \times 5 + 8 = 18.

Theorem 2.9 (Zero-product rule)

A product of real numbers is zero if and only if at least one of its factors is zero:

A×B=0A=0  or  B=0.A \times B = 0 \quad\Longleftrightarrow\quad A = 0 \ \text{ or } \ B = 0 .

Proof. If A=0A = 0 or B=0B = 0, the product is clearly 00. Conversely, suppose AB=0AB = 0 and A0A \neq 0. Dividing both sides by AA gives B=0B = 0.

Method 2.10 (Solving by factoring)

To solve an equation whose right-hand side is 00 and whose left-hand side can be factored:

  1. bring everything to the left so the equation reads E=0E = 0;
  2. factor EE into a product of first-degree factors;
  3. apply the zero-product rule and solve each small equation;
  4. collect all the solutions found.

Example 2.11

Solve (x2)(3x+6)=0(x - 2)(3x + 6) = 0: either x2=0x - 2 = 0, giving x=2x = 2, or 3x+6=03x + 6 = 0, giving x=2x = -2. Solutions: 2-2 and 22.

Solve x2=9xx^2 = 9x. Do not divide by xx (it could be zero!); bring everything to one side and factor:

x29x=0x(x9)=0x=0  or  x=9.x^2 - 9x = 0 \quad\Longleftrightarrow\quad x(x - 9) = 0 \quad\Longleftrightarrow\quad x = 0 \ \text{ or } \ x = 9 .

Example 2.12 (Quotient equation)

Solve x1x+2=0\dfrac{x - 1}{x + 2} = 0. A quotient is zero exactly when its numerator is zero and its denominator is not. Here x1=0x - 1 = 0 gives x=1x = 1, and 1+2=301 + 2 = 3 \neq 0: the only solution is 11. The value x=2x = -2 is forbidden (division by zero) and must always be excluded first.

2.3 Inequalities and sign tables

Proposition 2.13 (Rules for inequalities)

Let aba \leq b.

  1. For any cc: a+cb+ca + c \leq b + c (adding preserves the order).
  2. If c>0c > 0: acbcac \leq bc (multiplying by a positive number preserves the order).
  3. If c<0c < 0: acbcac \geq bc (multiplying by a negative number reverses the order).

Proof. 1. (b+c)(a+c)=ba0(b + c) - (a + c) = b - a \geq 0. 2. bcac=(ba)cbc - ac = (b-a)c is the product of two nonnegative numbers, so bcacbc \geq ac. 3. Now (ba)c0(b-a)c \leq 0 as the product of a nonnegative and a negative number, so bcacbc \leq ac.

Example 2.14

Solve 2x+3>9-2x + 3 > 9:

2x+3>92x>6(subtract 3)x<3(divide by 2<0: reverse the inequality).\begin{align*} -2x + 3 &> 9 \\ -2x &> 6 && \text{(subtract 3)} \\ x &< -3 && \text{(divide by $-2 < 0$: reverse the inequality).} \end{align*}

The solution set is (,3)\intoo{-\infty}{-3}.

Definition 2.15 (Sign table)

A sign table records, on one row per factor, the sign (++ or -) of each factor of an expression as xx runs over R\R, with a 00 at each value where the factor vanishes; a final row gives the sign of the product, using the rule of signs column by column.

Example 2.16

Sign of P(x)=(x2)(3x)P(x) = (x - 2)(3 - x). The factor x2x - 2 vanishes at 22 and is positive after; the factor 3x3 - x vanishes at 33 and is positive before:

xx-\infty 2233 ++\infty
x2x - 2-00++++
3x3 - x++++00-
P(x)P(x)-00++00-

So P(x)>0P(x) > 0 exactly on (2,3)\intoo{2}{3}, and P(x)0P(x) \leq 0 on (,2][3,+)\intoc{-\infty}{2} \cup \intco{3}{+\infty}.

The graph of P(x) = (x-2)(3-x) confirms the sign table: positive between the roots 2 and 3, negative outside.
The graph of P(x)=(x2)(3x)P(x) = (x-2)(3-x) confirms the sign table: positive between the roots 22 and 33, negative outside.

Method 2.17 (Solving an inequality with a sign table)

To solve an inequality like E(x)0E(x) \geq 0 or E(x)<0E(x) < 0:

  1. bring everything to the left-hand side, so the right-hand side is 00 (never multiply both sides by an expression whose sign is unknown);
  2. factor the left-hand side, or put it over a common denominator if it is a quotient;
  3. build the sign table with one row per factor (for a quotient, mark forbidden values with a double bar in the last row);
  4. read off the intervals where the requested sign holds, checking whether each bound is included.

Example 2.18

Solve x+1x30\dfrac{x + 1}{x - 3} \leq 0. The numerator vanishes at 1-1, the denominator at 33 (forbidden value). The quotient is negative when the two have opposite signs, which happens for xx between 1-1 and 33. Including the bound where the numerator vanishes but excluding the forbidden value: the solution set is [1,3)\intco{-1}{3}.

2.4 Exercises

Exercise 2.1

Expand and simplify:

3(2x5)2(x7),(x+4)(2x1),(3x2)2,(5x)(5+x).3(2x - 5) - 2(x - 7), \qquad (x + 4)(2x - 1), \qquad (3x - 2)^2, \qquad (5 - x)(5 + x).
Solution

Solution of Exercise 2.1.

3(2x5)2(x7)=6x152x+14=4x13(2x-5) - 2(x-7) = 6x - 15 - 2x + 14 = 4x - 1.

(x+4)(2x1)=2x2x+8x4=2x2+7x4(x+4)(2x-1) = 2x^2 - x + 8x - 4 = 2x^2 + 7x - 4.

(3x2)2=9x212x+4(3x-2)^2 = 9x^2 - 12x + 4.

(5x)(5+x)=25x2(5-x)(5+x) = 25 - x^2.

Exercise 2.2

Factor:

x249,x2+10x+25,7x214x,16x28x+1.x^2 - 49, \qquad x^2 + 10x + 25, \qquad 7x^2 - 14x, \qquad 16x^2 - 8x + 1 .
Solution

Solution of Exercise 2.2.

x249=(x+7)(x7)x^2 - 49 = (x+7)(x-7) (difference of squares).

x2+10x+25=(x+5)2x^2 + 10x + 25 = (x+5)^2.

7x214x=7x(x2)7x^2 - 14x = 7x(x - 2) (common factor).

16x28x+1=(4x1)216x^2 - 8x + 1 = (4x - 1)^2.

Exercise 2.3

Solve:

4x+9=x3,2x13=5,2(x3)=2x+1.4x + 9 = x - 3, \qquad \frac{2x - 1}{3} = 5, \qquad 2(x - 3) = 2x + 1 .

(One of them has no solution — explain why.)

Solution

Solution of Exercise 2.3.

4x+9=x34x + 9 = x - 3: 3x=123x = -12, so x=4x = -4.

2x13=5\frac{2x-1}{3} = 5: 2x1=152x - 1 = 15, so x=8x = 8.

2(x3)=2x+12(x-3) = 2x + 1 expands to 2x6=2x+12x - 6 = 2x + 1, i.e. 6=1-6 = 1: false for every xx. No solution — the two sides define parallel lines that never meet.

Exercise 2.4

Solve using the zero-product rule:

(x+5)(2x8)=0,x216=0,x2+6x+9=0.(x + 5)(2x - 8) = 0, \qquad x^2 - 16 = 0, \qquad x^2 + 6x + 9 = 0 .
Solution

Solution of Exercise 2.4.

(x+5)(2x8)=0(x+5)(2x-8) = 0: x=5x = -5 or x=4x = 4.

x216=(x4)(x+4)=0x^2 - 16 = (x-4)(x+4) = 0: x=4x = 4 or x=4x = -4.

x2+6x+9=(x+3)2=0x^2 + 6x + 9 = (x+3)^2 = 0: the single solution x=3x = -3.

Exercise 2.5

Solve the inequalities and write the solution sets as intervals:

3x57,4x+1>9,2(x1)5x+4.3x - 5 \leq 7, \qquad -4x + 1 > 9, \qquad 2(x - 1) \geq 5x + 4 .
Solution

Solution of Exercise 2.5.

3x573x - 5 \leq 7: 3x123x \leq 12, so x4x \leq 4: solution set (,4]\intoc{-\infty}{4}.

4x+1>9-4x + 1 > 9: 4x>8-4x > 8, dividing by 4-4 reverses the inequality: x<2x < -2: solution set (,2)\intoo{-\infty}{-2}.

2(x1)5x+42(x-1) \geq 5x + 4: 2x25x+42x - 2 \geq 5x + 4, so 3x6-3x \geq 6, so x2x \leq -2: solution set (,2]\intoc{-\infty}{-2}.

Exercise 2.6 ★★

Factor E=(x1)(x+3)(x1)(2x5)E = (x - 1)(x + 3) - (x - 1)(2x - 5), then solve E=0E = 0.

Solution

Solution of Exercise 2.6.

The common factor is (x1)(x-1):

E=(x1)[(x+3)(2x5)]=(x1)(x+32x+5)=(x1)(8x).E = (x-1)\bigl[(x+3) - (2x - 5)\bigr] = (x-1)(x + 3 - 2x + 5) = (x-1)(8 - x).

Then E=0E = 0 when x=1x = 1 or x=8x = 8 (zero-product rule).

Exercise 2.7 ★★

Solve x2=5xx^2 = 5x, then (2x+1)2=(x4)2(2x + 1)^2 = (x - 4)^2. (For the second one, bring everything to the left and factor the difference of squares.)

Solution

Solution of Exercise 2.7.

x2=5xx^2 = 5x: x25x=x(x5)=0x^2 - 5x = x(x - 5) = 0, so x=0x = 0 or x=5x = 5 (never divide by xx: the solution 00 would be lost).

(2x+1)2=(x4)2(2x+1)^2 = (x-4)^2: bring to the left and factor the difference of squares:

(2x+1)2(x4)2=[(2x+1)+(x4)][(2x+1)(x4)]=(3x3)(x+5).(2x+1)^2 - (x-4)^2 = \bigl[(2x+1) + (x-4)\bigr]\bigl[(2x+1) - (x-4)\bigr] = (3x - 3)(x + 5).

Zero-product rule: x=1x = 1 or x=5x = -5.

Exercise 2.8 ★★

Using a sign table, solve

(x+2)(4x)>0,2x6x+10.(x + 2)(4 - x) > 0, \qquad \frac{2x - 6}{x + 1} \geq 0 .
Solution

Solution of Exercise 2.8.

(x+2)(4x)>0(x+2)(4-x) > 0: the factor x+2x + 2 vanishes at 2-2 (positive after), 4x4 - x vanishes at 44 (positive before). The product is positive exactly when both factors are positive, i.e. on (2,4)\intoo{-2}{4}.

2x6x+10\frac{2x-6}{x+1} \geq 0: numerator zero at 33, denominator zero at 1-1 (forbidden). Sign table: the quotient is positive when both parts have the same sign, i.e. for x<1x < -1 or x>3x > 3; it vanishes at x=3x = 3. Solution set: (,1)[3,+)\intoo{-\infty}{-1} \cup \intco{3}{+\infty}.

Exercise 2.9 ★★

A streaming service costs 99 per month, plus a one-time signup fee of 1515; a rival costs 1212 per month with no fee. After how many months does the first service become the cheaper choice overall? Set up and solve an inequality.

Solution

Solution of Exercise 2.9.

After xx months the first service costs 9x+159x + 15 and the second 12x12x. The first is cheaper when

9x+15<12x  15<3x  x>5.9x + 15 < 12x \ \Longleftrightarrow\ 15 < 3x \ \Longleftrightarrow\ x > 5 .

From the 66th month on, the first service is the cheaper choice overall.

Exercise 2.10 ★★

Solve x+3x1=2\dfrac{x+3}{x-1} = 2. (Multiply both sides by x1x - 1 after excluding the forbidden value, or bring everything to the left over a common denominator.)

Solution

Solution of Exercise 2.10.

Forbidden value: x=1x = 1. For x1x \neq 1, multiply both sides by x1x - 1:

x+3=2(x1)=2x2  x=5.x + 3 = 2(x - 1) = 2x - 2 \ \Longleftrightarrow\ x = 5 .

Since 515 \neq 1, the solution is x=5x = 5. Check: 5+351=84=2\frac{5+3}{5-1} = \frac84 = 2.

Exercise 2.11 ★★★

Let nn be an integer. Show that (n+1)2n2(n + 1)^2 - n^2 is always odd, and that the difference between the squares of two consecutive odd numbers is always a multiple of 88.

Solution

Solution of Exercise 2.11.

(n+1)2n2=n2+2n+1n2=2n+1(n+1)^2 - n^2 = n^2 + 2n + 1 - n^2 = 2n + 1, which is odd for every integer nn.

Two consecutive odd numbers can be written 2n12n - 1 and 2n+12n + 1. Then

(2n+1)2(2n1)2=[(2n+1)+(2n1)][(2n+1)(2n1)]=4n×2=8n,(2n+1)^2 - (2n-1)^2 = \bigl[(2n+1)+(2n-1)\bigr]\bigl[(2n+1)-(2n-1)\bigr] = 4n \times 2 = 8n,

a multiple of 88.

2.5 Problem: From Babylon to the golden ratio

Problem 2.1

Weekend problem — sum-and-product problems, completing the square the way al-Khwarizmi drew it, and the equation x2=x+1x^2 = x + 1

Four thousand years ago, Babylonian scribes solved this on clay: find two numbers knowing their sum and their product. Their trick — look for the numbers symmetrically around the half-sum — still cracks every quadratic equation today, under its modern name, completing the square. This problem learns the trick, watches al-Khwarizmi literally complete a square, and puts the method to work on the most celebrated proportion of them all.

Part I — The Babylonian problem.

  1. Warm-up (Theorem 2.3): factor x210x+25x^2 - 10x + 25, then 9x2499x^2 - 49, then — combining an identity with a difference of squares — x2+6x+94x^2 + 6x + 9 - 4.
  2. Solve (x+1)(x+5)=0(x + 1)(x + 5) = 0 and (3x7)(3x+7)=0(3x - 7)(3x + 7) = 0 (Theorem 2.9).
  3. The scribe’s problem: two numbers have sum 1010 and product 2121. Following Babylon, write them as 5t5 - t and 5+t5 + t (symmetric around the half-sum) and find tt, then the two numbers.
  4. Same method: sum 1414, product 3333.
  5. The general recipe: for sum ss and product pp, show that the two numbers are

    s2tands2+t,wheret2=(s2)2p,\frac s2 - t \quad\text{and}\quad \frac s2 + t, \qquad\text{where}\quad t^2 = \left(\frac s2\right)^2 - p ,

    and state the condition on ss and pp for the problem to have a solution.

Part II — Completing the square.

  1. Expand (xa)(xb)(x - a)(x - b) and conclude: the solutions of x2sx+p=0x^2 - sx + p = 0 are exactly the pairs of numbers with sum ss and product pp. (The scribes were solving quadratic equations without knowing it.)
  2. Verify that x210x+21=(x5)24x^2 - 10x + 21 = (x - 5)^2 - 4, and solve x210x+21=0x^2 - 10x + 21 = 0 by factoring the right side as a difference of squares. Compare with question 3.
  3. Solve x2+6x7=0x^2 + 6x - 7 = 0 by completing the square.
  4. Complete the square in x2+4x+5x^2 + 4x + 5, and explain why the equation x2+4x+5=0x^2 + 4x + 5 = 0 has no real solution. State the general criterion: once written as (x+h)2+k(x + h)^2 + k, when does a quadratic expression vanish?
  5. The name is literal. In ninth-century Baghdad, al-Khwarizmi drew x2+6x=7x^2 + 6x = 7 as a square of side xx with two 3×x3 \times x rectangles glued to two of its sides, and completed the square with the missing 3×33 \times 3 corner. Draw the figure and explain how it turns the equation into (x+3)2=16(x + 3)^2 = 16 — then solve.

Part III — Signs, tables and two old promises.

  1. Build the sign table of (x3)(x+2)(x - 3)(x + 2) (Definition 2.15) and solve (x3)(x+2)<0(x - 3)(x + 2) < 0.
  2. Solve x210x21x^2 \leq 10x - 21 (bring everything to one side and reuse question 7).
  3. Solve x1x+20\dfrac{x - 1}{x + 2} \geq 0 with a sign table, minding the forbidden value.
  4. An old promise kept: for the farmer of queen Dido’s fence problem, in the Middle School volume, with 2020 m of fence, the area of an x×(10x)x \times (10 - x) pen satisfies

    A(x)=x(10x)=25(x5)2.A(x) = x(10 - x) = 25 - (x - 5)^2 .

    Verify the identity, and read off it a proof of what grade 6 could only conjecture: the maximum area, and the unique xx achieving it.

  5. Another: prove that x+1x2x + \dfrac1x \geq 2 for every x>0x > 0, with equality only at x=1x = 1. (Multiply by xx, gather, recognize a square — the arithmetic–geometric inequality of the Euclid’s-relations weekend problem of the Middle School volume in a new costume.)

Part IV — The golden section. Cut a segment of length 11 into a large part xx and a small part 1x1 - x so that whole is to large as large is to small: 1x=x1x\frac{1}{x} = \frac{x}{1 - x}.

  1. Show that the condition reads x2+x1=0x^2 + x - 1 = 0.
  2. Solve by completing the square, and keep the root that is a length: x=5120.618x = \frac{\sqrt5 - 1}{2} \approx 0.618.
  3. The golden ratio is φ=1x=251\varphi = \frac1x = \frac{2}{\sqrt5 - 1}. Rationalize the denominator (multiply top and bottom by 5+1\sqrt5 + 1, an identity at work) and show φ=5+121.618\varphi = \frac{\sqrt5 + 1}{2} \approx 1.618.
  4. Verify exactly the two magic identities of φ\varphi:

    φ2=φ+1,1φ=φ1.\varphi^2 = \varphi + 1, \qquad \frac{1}{\varphi} = \varphi - 1 .
  5. Finale: explain why φ\varphi is irrational (the irrationality weekend problem of the Middle School volume supplies the key fact about 5\sqrt5), then compute the ratios 53\frac53, 85\frac85, 138\frac{13}{8}, 2113\frac{21}{13} of consecutive Hemachandra–Fibonacci numbers (the rhythm-counting weekend problem of the Middle School volume) to three decimals. What do they seem to chase? (The proof that they catch it belongs to the chapters on sequences.)
Solution

Solution of Problem 2.1.

1. x210x+25=(x5)2x^2 - 10x + 25 = (x - 5)^2; 9x249=(3x7)(3x+7)9x^2 - 49 = (3x - 7)(3x + 7); x2+6x+94=(x+3)222=(x+1)(x+5)x^2 + 6x + 9 - 4 = (x + 3)^2 - 2^2 = (x + 1)(x + 5).

2. x=1x = -1 or x=5x = -5; x=73x = \frac73 or x=73x = -\frac73.

3. (5t)(5+t)=25t2=21(5 - t)(5 + t) = 25 - t^2 = 21 gives t2=4t^2 = 4, t=2t = 2: the numbers are 33 and 77 (sum 1010, product 2121: check).

4. (7t)(7+t)=49t2=33(7 - t)(7 + t) = 49 - t^2 = 33: t=4t = 4, numbers 33 and 1111.

5. (s2t)(s2+t)=(s2)2t2=p\left(\frac s2 - t\right)\left(\frac s2 + t\right) = \left(\frac s2\right)^2 - t^2 = p forces t2=(s2)2pt^2 = \left(\frac s2\right)^2 - p. A solution exists exactly when this is 0\geq 0, i.e. when p(s2)2p \leq \left(\frac s2\right)^2 — the product of two numbers of given sum can never beat the square of the half-sum (queen Dido’s fence problem, in the Middle School volume knew).

6. (xa)(xb)=x2(a+b)x+ab(x - a)(x - b) = x^2 - (a + b)x + ab: the equation x2sx+p=0x^2 - sx + p = 0 says precisely “xx is one of two numbers with sum ss and product pp”.

7. (x5)24=x210x+254=x210x+21(x-5)^2 - 4 = x^2 - 10x + 25 - 4 = x^2 - 10x + 21. Difference of squares: (x52)(x5+2)=(x7)(x3)=0(x - 5 - 2)(x - 5 + 2) = (x - 7)(x - 3) = 0: solutions 33 and 77 — the scribe’s numbers of question 3.

8. x2+6x7=(x+3)216=0x^2 + 6x - 7 = (x + 3)^2 - 16 = 0 gives (x+3)2=16(x + 3)^2 = 16, x+3=±4x + 3 = \pm 4: x=1x = 1 or x=7x = -7.

9. x2+4x+5=(x+2)2+11>0x^2 + 4x + 5 = (x + 2)^2 + 1 \geq 1 > 0 for every xx: no real solution. In the form (x+h)2+k(x + h)^2 + k: solutions exist exactly when k0k \leq 0 (then (x+h)2=k(x+h)^2 = -k has the two roots h±k-h \pm \sqrt{-k}); when k>0k > 0 the expression stays positive.

10. The square of side xx (area x2x^2) with two 3×x3 \times x rectangles (6x6x in all) forms an L of area x2+6x=7x^2 + 6x = 7; the missing 3×33 \times 3 corner (area 99) completes a big square of side x+3x + 3. Adding 99 to both sides: (x+3)2=16(x + 3)^2 = 16, so x+3=4x + 3 = 4 (lengths are positive) and x=1x = 1. The algebra and the picture are the same act.

11. (x3)(x+2)(x-3)(x+2): negative between the roots. Solution of <0< 0: x(2,3)x \in \intoo{-2}{3}.

12. x210x+210x^2 - 10x + 21 \leq 0, i.e. (x3)(x7)0(x - 3)(x - 7) \leq 0: between the roots, ends included: x[3,7]x \in \intcc{3}{7}.

13. Zero at x=1x = 1, forbidden at x=2x = -2; the quotient is positive outside the roots: x(,2)[1,+)x \in \intoo{-\infty}{-2} \cup \intco{1}{+\infty}.

14. 25(x5)2=25x2+10x25=x(10x)25 - (x - 5)^2 = 25 - x^2 + 10x - 25 = x(10 - x): identity verified. Since (x5)20(x-5)^2 \geq 0 always, A(x)25A(x) \leq 25, with equality exactly when x=5x = 5: the 5×55 \times 5 square pen, maximum 2525 m2^2 — the grade-6 table, now a two-line proof.

15. For x>0x > 0, multiply the claim by xx: x2+12xx^2 + 1 \geq 2x, i.e. x22x+1=(x1)20x^2 - 2x + 1 = (x - 1)^2 \geq 0 — true, with equality only at x=1x = 1. Dividing back by x>0x > 0 preserves everything (Proposition 2.13).

16. Cross-multiplying 1x=x1x\frac1x = \frac{x}{1 - x} (all lengths positive): x2=1xx^2 = 1 - x, i.e. x2+x1=0x^2 + x - 1 = 0.

17. x2+x1=(x+12)254=0x^2 + x - 1 = \left(x + \frac12\right)^2 - \frac54 = 0 gives x+12=±52x + \frac12 = \pm\frac{\sqrt5}{2}. The positive root: x=5120.618x = \frac{\sqrt5 - 1}{2} \approx 0.618.

18. φ=251=2(5+1)(51)(5+1)=2(5+1)51=5+121.618\varphi = \frac{2}{\sqrt5 - 1} = \frac{2(\sqrt5 + 1)}{(\sqrt5 - 1)(\sqrt5 + 1)} = \frac{2(\sqrt5 + 1)}{5 - 1} = \frac{\sqrt5 + 1}{2} \approx 1.618.

19. φ2=(5+1)24=6+254=3+52\varphi^2 = \frac{(\sqrt5 + 1)^2}{4} = \frac{6 + 2\sqrt5}{4} = \frac{3 + \sqrt5}{2}, and φ+1=5+32\varphi + 1 = \frac{\sqrt5 + 3}{2}: equal. And φ1=512=x=1φ\varphi - 1 = \frac{\sqrt5 - 1}{2} = x = \frac1\varphi (that is how φ\varphi was defined). The golden ratio is the number whose square adds one and whose reciprocal subtracts one.

20. 5\sqrt5 is irrational (the irrationality weekend problem of the Middle School volume: 55 is no perfect square), and adding 11 then halving preserves irrationality (rational operations, Problem 1.1). Ratios: 531.667\frac53 \approx 1.667, 85=1.600\frac85 = 1.600, 138=1.625\frac{13}{8} = 1.625, 21131.615\frac{21}{13} \approx 1.615: alternately above and below, closing in on φ=1.618\varphi = 1.618\ldots — the rhythm-counting numbers of the rhythm-counting weekend problem of the Middle School volume secretly chase the golden section; the chapters on sequences will catch them in the act.