17. Geometric viewpoint on simultaneous equations, 1

17. Geometric viewpoint on simultaneous equations, 1

In this video and the next, we'll develop a geometric point of view on simultaneous equations.

2 variables

We've repeatedly studied the system of equations x - y = - 1 , x + y = 3 . We saw this has the unique solution x = 1 , y = 2 . Geometrically, x - y = - 1 and x + y = 3 define lines in the x y -plane: the first (red) is y = x + 1 (slope 1 , y -intercept 1 ), the second (blue) is y = - x + 3 (slope - 1 , y -intercept 3 ):

Red line with slope 1 and y-intercept 1 intersects blue line with slope -1 and y-intercept 3 at (1,2)

They intersect at exactly one point, namely ( 1 , 2 ) . This is precisely the solution of the equations ( x = 1 , y = 2 ). That makes sense: the first line is the set of points whose x and y coordinates satisfy x - y = - 1 , the second line is the set of points whose coordinates satisfy x + y = 3 ; the intersection is the set of points whose coordinates satisfy both equations.

So solving simultaneous linear equations in two variables is the same thing as intersecting lines.

Let's add another equation: x - y = - 1 , x + y = 3 , 2 x - y = 0 . This adds another line (orange) into our diagram.

Three lines which meet at one triple point

Since these lines have a common triple intersection point ( 1 , 2 ) , this is still a solution to this system of equations.

If we had picked a slightly third different equation, defining a line which didn't pass through ( 1 , 2 ) , there would be no solutions. For example: x - y = - 1 , x + y = 3 , 2 x - y = 1 , defines three lines which have no triple intersection point, so there is no common solution.

Three lines which fail to meet at one triple point

Lines in the plane

Each equation a 1 x + a 2 y = b defines a line in the plane. A solution of the system of equations is a common intersection point between these lines.

The line L = { ( x , y ) 𝐑 2 : a 1 x + a 2 y = b } is equivalent to y = - a 1 a 2 x + b a 2 (if a 2 0 , otherwise it's vertical), so the slope is - a 1 / a 2 (infinity if a 2 = 0 ).

Lemma:

The vector ( a 1 a 2 ) is orthogonal to L . (It's also called the "normal vector to L ").

If I pick two points ( x y ) and ( x y ) on L then their difference ( x - x y - y ) points along L , so it's sufficient to check that ( a 1 a 2 ) ( x - x y - y ) = 0 . We have ( a 1 a 2 ) ( x - x y - y ) = a 1 x + a 2 y - a 1 x - a 2 y = b - b = 0 , since a 1 x + a 2 y = a 1 x + a 2 y = b (both points lie on L ).