Mathematics · Book 2 · Grades 10–12

High School Mathematics

High School Mathematics · Grades 10–12

7Equations of Lines and Linear Systems

A straight line in the coordinate plane is described by an equation, and two lines together form a system of equations whose solutions are their intersection points. This chapter connects three languages — geometric (lines), algebraic (equations) and functional (affine functions from Chapter 4) — and teaches the two standard ways of solving a linear system.

7.1 The equation of a line

Theorem 7.1 (Reduced equation)

In a coordinate system:

  1. every non-vertical line has an equation of the form

    y=mx+p,y = mx + p ,

    with mm (the slope) and pp (the yy-intercept) uniquely determined — this is the reduced equation of the line;

  2. every vertical line has an equation x=cx = c;
  3. a point lies on the line exactly when its coordinates satisfy the equation.

Proof. Admitted at this level.

Proposition 7.2 (Slope through two points)

The slope of the (non-vertical) line through A(xA,yA)A(x_A, y_A) and B(xB,yB)B(x_B, y_B), with xAxBx_A \neq x_B, is

m=yByAxBxA(“change in y over change in x”).m = \frac{y_B - y_A}{x_B - x_A} \qquad \text{(``change in $y$ over change in $x$'').}

Proof. Both points satisfy y=mx+py = mx + p, so yByA=(mxB+p)(mxA+p)=m(xBxA)y_B - y_A = (mx_B + p) - (mx_A + p) = m(x_B - x_A); divide by xBxA0x_B - x_A \neq 0.

Three kinds of lines: slanted (m ≠ 0), horizontal (m = 0), and vertical (no reduced equation — the equation is x = c).
Three kinds of lines: slanted (m0m \neq 0), horizontal (m=0m = 0), and vertical (no reduced equation — the equation is x=cx = c).

Method 7.3 (Finding the equation of a line through two points)

Given AA and BB with xAxBx_A \neq x_B:

  1. compute the slope m=yByAxBxAm = \dfrac{y_B - y_A}{x_B - x_A};
  2. write y=mx+py = mx + p and substitute the coordinates of AA (or BB) to find pp;
  3. check the final equation with the other point.

If xA=xBx_A = x_B, the line is vertical: its equation is x=xAx = x_A.

Example 7.4

Line through A(1,5)A(1, 5) and B(3,1)B(3, 1). Slope: m=1531=42=2m = \frac{1 - 5}{3 - 1} = \frac{-4}{2} = -2. Then y=2x+py = -2x + p; the point AA gives 5=2×1+p5 = -2 \times 1 + p, so p=7p = 7. Equation: y=2x+7y = -2x + 7. Check with BB: 2×3+7=1-2 \times 3 + 7 = 1.

Proposition 7.5 (Parallel lines)

Two non-vertical lines are parallel if and only if they have the same slope. Two distinct parallel lines have no common point; two lines with different slopes have exactly one.

Proof. Let y=mx+py = mx + p and y=mx+py = m'x + p' be the two lines. A common point solves mx+p=mx+pmx + p = m'x + p', i.e. (mm)x=pp(m - m')x = p' - p. If mmm \neq m', this has exactly one solution x=ppmmx = \frac{p' - p}{m - m'}: one intersection point. If m=mm = m', the equation reads 0=pp0 = p' - p: no solution when ppp \neq p' (distinct parallels), every xx when p=pp = p' (same line). Parallelism (having no intersection, or being equal) is thus equivalent to m=mm = m'.

Remark 7.6 (Direction vector)

The line y=mx+py = mx + p goes up mm units for each unit to the right, so the vector u(1,m)\vec u\,(1, m) is a direction vector of the line: the line is parallel to u\vec u. Two lines are parallel exactly when their direction vectors are collinear (Theorem 6.13).

7.2 Linear systems

Definition 7.7 (Linear system)

A system of two linear equations in the unknowns xx and yy is a pair of equations

{ax+by=cax+by=c\begin{cases} a x + b y = c \\ a' x + b' y = c' \end{cases}

to be satisfied simultaneously. A solution is a pair (x,y)(x, y) satisfying both. Each equation describes a line, so solving the system means finding the intersection of two lines.

Method 7.8 (Substitution)

  1. Solve one equation for one unknown — pick the easiest, e.g. express yy in terms of xx;
  2. substitute this expression into the other equation, which now contains only xx;
  3. solve for xx, then compute yy from step 1;
  4. check the pair in both original equations.

Example 7.9

Solve {x+2y=83xy=3\begin{cases} x + 2y = 8 \\ 3x - y = 3 \end{cases} by substitution. The second equation gives y=3x3y = 3x - 3. Substitute into the first:

x+2(3x3)=8  x+6x6=8  7x=14  x=2,x + 2(3x - 3) = 8 \ \Longleftrightarrow\ x + 6x - 6 = 8 \ \Longleftrightarrow\ 7x = 14 \ \Longleftrightarrow\ x = 2 ,

then y=3×23=3y = 3 \times 2 - 3 = 3. The solution is the pair (2,3)(2, 3). Check: 2+2×3=82 + 2 \times 3 = 8 and 3×23=33 \times 2 - 3 = 3.

Method 7.10 (Elimination)

  1. Multiply each equation by a well-chosen number so that one unknown gets opposite coefficients in the two equations;
  2. add the equations: that unknown disappears;
  3. solve the remaining one-unknown equation, then substitute back to find the other unknown;
  4. check the pair in both original equations.

Example 7.11

Solve {2x+3y=75x2y=8\begin{cases} 2x + 3y = 7 \\ 5x - 2y = 8 \end{cases} by elimination. To eliminate yy, multiply the first equation by 22 and the second by 33:

{4x+6y=1415x6y=24\begin{cases} 4x + 6y = 14 \\ 15x - 6y = 24 \end{cases}

Adding them: 19x=3819x = 38, so x=2x = 2. Substituting into 2x+3y=72x + 3y = 7: 4+3y=74 + 3y = 7, so y=1y = 1. Solution: (2,1)(2, 1). Check in the second equation: 5×22×1=85 \times 2 - 2 \times 1 = 8.

A linear system seen geometrically: each equation is a line, and the solution (2,1) of  is their intersection point.
A linear system seen geometrically: each equation is a line, and the solution (2,1)(2,1) of Example 7.11 is their intersection point.

Remark 7.12 (How many solutions?)

Like two lines, a linear system has exactly one solution in general (non-parallel lines), and exceptionally none (distinct parallel lines) or infinitely many (twice the same line). The criterion of Theorem 6.13 decides: the system has a unique solution exactly when abab0ab' - a'b \neq 0.

Example 7.13 (Modeling with a system)

Three notebooks and two pens cost 88; one notebook and four pens cost 66. Let xx be the price of a notebook and yy that of a pen:

{3x+2y=8x+4y=6.\begin{cases} 3x + 2y = 8 \\ x + 4y = 6 . \end{cases}

From the second equation, x=64yx = 6 - 4y; substituting, 3(64y)+2y=83(6 - 4y) + 2y = 8, so 1810y=818 - 10y = 8, giving y=1y = 1 and then x=2x = 2. A notebook costs 22 and a pen costs 11.

7.3 Exercises

Exercise 7.1

For each line, read off the slope and the yy-intercept, and sketch it:

y=2x3,y=13x+1,y=4,x=2.y = 2x - 3, \qquad y = -\tfrac13 x + 1, \qquad y = 4, \qquad x = -2 .
Solution

Solution of Exercise 7.1.

y=2x3y = 2x - 3: slope 22, intercept 3-3. y=13x+1y = -\frac13 x + 1: slope 13-\frac13, intercept 11. y=4y = 4: slope 00, intercept 44 (horizontal line). x=2x = -2: vertical line, no slope and no reduced equation.

Exercise 7.2

Does the point A(2,7)A(2, 7) belong to the line y=3x+1y = 3x + 1? And B(1,1)B(-1, -1)? And the point C(4,13)C(4, 13)?

Solution

Solution of Exercise 7.2.

3×2+1=73 \times 2 + 1 = 7: yes, AA is on the line. 3×(1)+1=213 \times (-1) + 1 = -2 \neq -1: BB is not. 3×4+1=133 \times 4 + 1 = 13: yes, CC is on the line.

Exercise 7.3

Find the reduced equation of the line through:

(a) A(0,2) and B(3,8);(b) A(1,5) and B(2,4);(c) A(4,1) and B(4,6).\text{(a) } A(0, 2) \text{ and } B(3, 8); \qquad \text{(b) } A(-1, 5) \text{ and } B(2, -4); \qquad \text{(c) } A(4, 1) \text{ and } B(4, 6).
Solution

Solution of Exercise 7.3.

(a) m=8230=2m = \frac{8 - 2}{3 - 0} = 2 and p=yA=2p = y_A = 2 (the point AA is on the yy-axis): y=2x+2y = 2x + 2.

(b) m=452(1)=93=3m = \frac{-4 - 5}{2 - (-1)} = \frac{-9}{3} = -3; then 5=3×(1)+p5 = -3 \times (-1) + p gives p=2p = 2: y=3x+2y = -3x + 2.

(c) xA=xB=4x_A = x_B = 4: vertical line x=4x = 4.

Exercise 7.4

Among the lines y=3x1y = 3x - 1, y=3x+2y = -3x + 2, y=3x+5y = 3x + 5, y=6x+22y = \frac{6x + 2}{2}, which are parallel to each other? Which are actually equal?

Solution

Solution of Exercise 7.4.

y=6x+22=3x+1y = \frac{6x+2}{2} = 3x + 1. The lines with slope 33 are y=3x1y = 3x - 1, y=3x+5y = 3x + 5 and y=3x+1y = 3x + 1: those three are parallel to each other; no two of them are equal (different intercepts), and none is parallel to y=3x+2y = -3x + 2.

Exercise 7.5

Solve by substitution:

{y=2x13x+y=9then{xy=42x+3y=3.\begin{cases} y = 2x - 1 \\ 3x + y = 9 \end{cases} \qquad\text{then}\qquad \begin{cases} x - y = 4 \\ 2x + 3y = 3 . \end{cases}
Solution

Solution of Exercise 7.5.

First system: substitute y=2x1y = 2x - 1 into 3x+y=93x + y = 9: 3x+2x1=93x + 2x - 1 = 9, so 5x=105x = 10, x=2x = 2, then y=3y = 3. Solution: (2,3)(2, 3).

Second system: from xy=4x - y = 4, x=y+4x = y + 4. Then 2(y+4)+3y=32(y + 4) + 3y = 3, so 5y=55y = -5, y=1y = -1, then x=3x = 3. Solution: (3,1)(3, -1).

Exercise 7.6

Solve by elimination:

{x+y=10xy=4then{3x+2y=122x+5y=8.\begin{cases} x + y = 10 \\ x - y = 4 \end{cases} \qquad\text{then}\qquad \begin{cases} 3x + 2y = 12 \\ 2x + 5y = 8 . \end{cases}
Solution

Solution of Exercise 7.6.

First system: adding the equations eliminates yy: 2x=142x = 14, x=7x = 7; then 7+y=107 + y = 10 gives y=3y = 3. Solution: (7,3)(7, 3).

Second system: multiply the first equation by 55 and the second by 2-2:

{15x+10y=604x10y=16\begin{cases} 15x + 10y = 60 \\ -4x - 10y = -16 \end{cases}

Adding: 11x=4411x = 44, so x=4x = 4; then 3×4+2y=123 \times 4 + 2y = 12 gives y=0y = 0. Solution: (4,0)(4, 0).

Exercise 7.7 ★★

Determine, without solving them, how many solutions each system has:

{2xy=34x+2y=6{2xy=34x+2y=1{2xy=3x+y=0.\begin{cases} 2x - y = 3 \\ -4x + 2y = -6 \end{cases} \qquad \begin{cases} 2x - y = 3 \\ -4x + 2y = 1 \end{cases} \qquad \begin{cases} 2x - y = 3 \\ x + y = 0 . \end{cases}
Solution

Solution of Exercise 7.7.

Compute ababab' - a'b in each case.

First: 2×2(4)×(1)=44=02 \times 2 - (-4) \times (-1) = 4 - 4 = 0, and the second equation is 2-2 times the first: twice the same line, infinitely many solutions.

Second: abab=0ab' - a'b = 0 again, but the right-hand sides are not in the ratio 2-2 (161 \neq -6): two distinct parallel lines, no solution.

Third: 2×11×(1)=302 \times 1 - 1 \times (-1) = 3 \neq 0: exactly one solution.

Exercise 7.8 ★★

Two hundred tickets were sold for a school play, some at 55 (children) and some at 99 (adults), for a total of 13521352. How many tickets of each kind were sold?

Solution

Solution of Exercise 7.8.

Let xx be the number of child tickets and yy the number of adult tickets:

{x+y=2005x+9y=1352.\begin{cases} x + y = 200 \\ 5x + 9y = 1352 . \end{cases}

From the first equation x=200yx = 200 - y; substituting, 5(200y)+9y=13525(200 - y) + 9y = 1352, so 1000+4y=13521000 + 4y = 1352, y=88y = 88, then x=112x = 112. So 112112 child tickets and 8888 adult tickets. Check: 5×112+9×88=560+792=13525 \times 112 + 9 \times 88 = 560 + 792 = 1352.

Exercise 7.9 ★★

Let dd be the line y=2x3y = 2x - 3 and A(1,4)A(1, 4).

  1. Give the equation of the line dd' parallel to dd passing through AA.
  2. Compute the intersection point of dd' with the xx-axis.
Solution

Solution of Exercise 7.9.

1. Parallel means same slope 22: y=2x+py = 2x + p with 4=2×1+p4 = 2 \times 1 + p, so p=2p = 2: d ⁣:y=2x+2d'\colon y = 2x + 2.

2. On the xx-axis, y=0y = 0: 2x+2=02x + 2 = 0 gives x=1x = -1. The intersection point is (1,0)(-1, 0).

Exercise 7.10 ★★★

Let A(0,0)A(0, 0), B(6,2)B(6, 2) and C(2,4)C(2, 4).

  1. Find the equations of the medians of the triangle ABCABC issued from AA and from BB (a median joins a vertex to the midpoint of the opposite side).
  2. Compute their intersection point GG, and check that GG is also on the third median. (You should find that the coordinates of GG are the averages of those of AA, BB, CC.)
Solution

Solution of Exercise 7.10.

1. Midpoint of [BC][BC]: A=(6+22,2+42)=(4,3)A' = \left(\frac{6+2}{2}, \frac{2+4}{2}\right) = (4, 3). The median from A(0,0)A(0,0) has slope 3040=34\frac{3 - 0}{4 - 0} = \frac34: equation y=34xy = \frac34 x.

Midpoint of [AC][AC]: B=(1,2)B' = (1, 2). The median from B(6,2)B(6, 2) has slope 2216=0\frac{2 - 2}{1 - 6} = 0: it is the horizontal line y=2y = 2.

2. Intersection: 34x=2\frac34 x = 2 gives x=83x = \frac83, so G(83,2)G\left(\frac83, 2\right). The third median joins C(2,4)C(2,4) to the midpoint of [AB][AB], C=(3,1)C' = (3, 1); its slope is 1432=3\frac{1 - 4}{3 - 2} = -3, equation y=3x+10y = -3x + 10. At x=83x = \frac83: y=8+10=2y = -8 + 10 = 2: GG is on it. And indeed G=(0+6+23,0+2+43)G = \left(\frac{0 + 6 + 2}{3}, \frac{0 + 2 + 4}{3}\right): the centroid averages the coordinates of the vertices.

7.4 Problem: One solution, none, or infinitely many

Problem 7.1

Weekend problem — two lines have three possible destinies, a determinant decides between them, and the world’s oldest textbook already knew

Two linear equations, two unknowns: the pair of lines they draw can cross once, never, or be one and the same line — and every linear system inherits one of these three destinies. This problem classifies them, meets the number that decides (an old acquaintance from the vectors chapter), solves the two-thousand-year-old pheasants-and-rabbits of the Chinese Nine Chapters, and ends with corners of regions — the first step of the optimization used by every airline and factory today.

Part I — The line, fluently.

  1. Find the reduced equation of the line through (1,2)(1, 2) and (3,8)(3, 8) (Method 7.3).
  2. Among y=3x1y = 3x - 1, y=3x+4y = 3x + 4 and y=x+7y = -x + 7: which two lines are parallel (Proposition 7.5), and where do the non-parallel pairs meet? (Compute one intersection.)
  3. The line through (2,1)(2, 1) and (2,5)(2, 5): why does it have no reduced equation y=mx+py = mx + p, and what is its equation?
  4. Is the point (4,11)(4, 11) on the line y=3x1y = 3x - 1? And (1,5)(-1, -5)?
  5. The line through (0,3)(0, 3) with slope 2-2: give its equation, its two axis intercepts, and the area of the triangle it cuts from the first quadrant.

Part II — Three destinies.

  1. Solve by substitution (Method 7.8): {y=2x33x+y=7\begin{cases} y = 2x - 3 \\ 3x + y = 7 \end{cases}
  2. Solve by elimination (Method 7.10): {2x+3y=85x3y=1\begin{cases} 2x + 3y = 8 \\ 5x - 3y = -1 \end{cases}
  3. Classify — and interpret with lines — the two systems

    {2xy=34x2y=6and{2xy=34x2y=1.\begin{cases} 2x - y = 3 \\ 4x - 2y = 6 \end{cases} \qquad\text{and}\qquad \begin{cases} 2x - y = 3 \\ 4x - 2y = 1 . \end{cases}

    State the complete trichotomy: crossing, parallel, identical — one solution, none, infinitely many.

  4. For the general system ax+by=eax + by = e, cx+dy=fcx + dy = f, the deciding number is adbcad - bc — the same determinant as the collinearity test of Problem 6.1. Explain the coincidence (which two vectors are collinear exactly when the lines are parallel or identical?), and evaluate adbcad - bc for the three systems of questions 7 and 8.
  5. For which value of mm does {x+my=32x+6y=7\begin{cases} x + my = 3 \\ 2x + 6y = 7 \end{cases} have no solution? Solve the system for all other values of mm … or at least explain how you would.

Part III — The Nine Chapters.

  1. From the Nine Chapters on the Mathematical Art (China, about 2000 years ago): a cage holds pheasants and rabbits — 3535 heads and 9494 legs in all. How many of each?
  2. A juice stand blends a 60%60\,\%-fruit syrup with a 20%20\,\%-fruit drink to obtain 3030 L at 35%35\,\% fruit. How many liters of each?
  3. A two-digit number has digit sum 1212; swapping its digits decreases it by 1818. Find it, using the digit algebra of the digit-algebra weekend problem of the Middle School volume to set up the system.
  4. At the bakery, 33 coffees and 22 croissants cost 9.109.10 euros; 22 coffees and 33 croissants cost 8.908.90 euros. Solve elegantly: what do adding the two equations and subtracting them each tell you directly?
  5. A market stall claims: 22 apples +1+ 1 pear for 55 euros, and 44 apples +2+ 2 pears for 99 euros. Solve — or rather, explain what the system’s destiny reveals about the stall’s arithmetic.

Part IV — Corners rule.

  1. The line y=3x1y = 3x - 1 splits the plane in two. Which side is the origin on? Describe the set y>3x1y > 3x - 1 and how one tests a point against it.
  2. Draw the region defined by the four constraints

    x0,y0,x+y4,y2x+1,x \geq 0, \qquad y \geq 0, \qquad x + y \leq 4, \qquad y \leq 2x + 1,

    and compute its four corner points.

  3. A workshop’s profit is P=3x+2yP = 3x + 2y on the region of question 17. Evaluate PP at the four corners. Admitting that the maximum of such a linear quantity on such a region is always reached at a corner (picture the lines 3x+2y=3x + 2y = constant sweeping across), give the optimal production plan.
  4. The two taxis of the two-thermometers weekend problem of the Middle School volume as a system: write and solve {y=1.5x+3y=2x\begin{cases} y = 1.5x + 3 \\ y = 2x \end{cases} and interpret the solution.
  5. Finale, the dictionary: one equation \leftrightarrow one line; one system \leftrightarrow two lines with three destinies, decided by adbcad - bc; many inequalities \leftrightarrow a region whose corners carry the optimum. State it in three sentences — you have just toured the entrance hall of linear algebra and linear programming, both built in full in the university volumes.
Solution

Solution of Problem 7.1.

1. Slope 8231=3\frac{8 - 2}{3 - 1} = 3; through (1,2)(1, 2): y=3x1y = 3x - 1.

2. y=3x1y = 3x - 1 and y=3x+4y = 3x + 4: same slope, parallel (and distinct). Crossing y=3x1y = 3x - 1 with y=x+7y = -x + 7: 3x1=x+73x - 1 = -x + 7 gives x=2x = 2, y=5y = 5: point (2,5)(2, 5).

3. Both points share x=2x = 2: the line is vertical, equation x=2x = 2. A reduced form y=mx+py = mx + p answers “one yy per xx”, which a vertical line refuses: its slope would be infinite.

4. 3×41=113 \times 4 - 1 = 11: yes, (4,11)(4, 11) is on the line. 3×(1)1=453 \times (-1) - 1 = -4 \neq -5: no.

5. y=2x+3y = -2x + 3; crosses the axes at (0,3)(0, 3) and (32,0)\left(\frac32, 0\right). Triangle area: 12×32×3=94=2.25\frac12 \times \frac32 \times 3 = \frac94 = 2.25.

6. Substituting: 3x+2x3=73x + 2x - 3 = 7, x=2x = 2, y=1y = 1: solution (2,1)(2, 1).

7. Adding: 7x=77x = 7, x=1x = 1; then 3y=63y = 6, y=2y = 2: solution (1,2)(1, 2).

8. First system: the second equation is twice the first: one line counted twice — infinitely many solutions (all points of 2xy=32x - y = 3). Second system: same left sides proportional, right sides not (2×3=612 \times 3 = 6 \neq 1): two parallel lines — no solution. Trichotomy: distinct slopes \to one crossing; equal slopes, different intercepts \to parallel, none; equal everything \to same line, infinitely many.

9. The lines’ direction vectors are (b,a)(-b, a) and (d,c)(-d, c) (or: slopes ab-\frac ab and cd-\frac cd), collinear exactly when adbc=0ad - bc = 0 — the determinant of Problem 6.1 in a new job. Values: question 7: 2×(3)3×5=2102 \times (-3) - 3 \times 5 = -21 \neq 0: unique solution. Question 8: 2×(2)(1)×4=02 \times (-2) - (-1) \times 4 = 0 for both: parallel-or-identical, and the constants separate the two cases.

10. adbc=62mad - bc = 6 - 2m: zero for m=3m = 3. There x+3y=3x + 3y = 3 against 2x+6y=72x + 6y = 7: doubling the first gives 2x+6y=672x + 6y = 6 \neq 7: parallel, no solution. For m3m \neq 3, elimination gives the unique solution y=162my = \frac{1}{6 - 2m}, then x=3m62mx = 3 - \frac{m}{6 - 2m}.

11. p+r=35p + r = 35, 2p+4r=942p + 4r = 94: halving, p+2r=47p + 2r = 47, so r=12r = 12 and p=23p = 23: twenty-three pheasants, twelve rabbits — the Nine Chapters’ own answer.

12. x+y=30x + y = 30 and 0.6x+0.2y=0.35×30=10.50.6x + 0.2y = 0.35 \times 30 = 10.5: subtracting 0.2×0.2 \times the first, 0.4x=4.50.4x = 4.5: x=11.25x = 11.25 L of syrup, y=18.75y = 18.75 L of drink.

13. Digits aa, bb: a+b=12a + b = 12 and (10a+b)(10b+a)=9(ab)=18(10a + b) - (10b + a) = 9(a - b) = 18, so ab=2a - b = 2: a=7a = 7, b=5b = 5: the number is 7575.

14. Adding: 5c+5r=185c + 5r = 18, so c+r=3.60c + r = 3.60 — one coffee plus one croissant. Subtracting: cr=0.20c - r = 0.20. Hence c=1.90c = 1.90 and r=1.70r = 1.70 euros: the symmetric shortcut solved it without any substitution.

15. Doubling the first claim gives 44 apples +2+ 2 pears =10= 10 euros, but the stall charges 99: the system is inconsistent — parallel lines, empty solution set. Verdict: the two price claims cannot both be right; either a discount is hiding, or the arithmetic is.

16. At the origin: 0>3×01=10 > 3 \times 0 - 1 = -1: true, so (0,0)(0,0) lies in the region y>3x1y > 3x - 1 (above the line). Test any point by plugging it in: above/below according to the inequality’s truth.

17. Corners: (0,0)(0, 0); (4,0)(4, 0) (axes and x+y=4x + y = 4); (0,1)(0, 1) (axis and y=2x+1y = 2x + 1); and x+y=4x + y = 4 with y=2x+1y = 2x + 1: x=1x = 1, y=3y = 3: (1,3)(1, 3).

18. P(0,0)=0P(0,0) = 0; P(4,0)=12P(4, 0) = 12; P(0,1)=2P(0, 1) = 2; P(1,3)=9P(1, 3) = 9. Maximum at the corner (4,0)(4, 0): the plan x=4x = 4, y=0y = 0 earns 1212 — corners rule, as the sweeping parallel lines 3x+2y=c3x + 2y = c make visible.

19. 1.5x+3=2x1.5x + 3 = 2x gives x=6x = 6, y=12y = 12: at six kilometers both taxis charge twelve euros — the break-even crossing of the two-thermometers weekend problem of the Middle School volume, now a system’s unique solution.

20. A linear equation’s solutions draw a line; a system superposes two lines, and adbcad - bc tells at a glance whether they cross once (nonzero) or fall into the parallel-or-identical cases (zero). Pile up inequalities instead and the solutions form a polygonal region whose corners carry any linear optimum. Linear algebra generalizes the determinant to any number of unknowns; linear programming industrializes the corners.