3
Systems of Linear Equations Introduction Consider the two equations ax+by=c and dx+ey=f. Since these equations represent two lines in the xy-plane, the simultaneous solution of these two equations (i.e. those points (x,y) that satisfy both equations) is merely the intersection of the two lines. The graphs below illustrate the three possible cases: non-parallel lines, parallel (but not identical) lines, and identical lines. From left to right these cases yield one solution, no solutions, and infinite solutions. The same situation occurs in three dimensions; the solution of 3 equations with 3 unknowns is the intersection of the 3 planes. There is a simple tool for determining the number of solutions of a square system of equations: the determinant. Matrix Notation It is often convenient to represent a system of equations as a matrix equation or even as a single matrix. Consider the system of equations 2x+3y=-8 and -x+5y=1. Since we may write the entire system as a matrix equation: or as AX=B where The 2x2 matrix A is called the matrix of coefficients of the system of equations. Frequently this equation is written as a single augmented matrix: Systems of Linear Equations http://math.oregonstate.edu/home/programs/undergrad/CalculusQuestSt... 1 of 3 10/1/2014 6:29 PM

Systems of Linear Equations

Embed Size (px)

DESCRIPTION

About systems of Linear equations

Citation preview

Page 1: Systems of Linear Equations

Systems of Linear Equations

Introduction

Consider the two equations ax+by=c and dx+ey=f. Since these equations represent two lines in the xy-plane,the simultaneous solution of these two equations (i.e. those points (x,y) that satisfy both equations) is merelythe intersection of the two lines. The graphs below illustrate the three possible cases: non-parallel lines,parallel (but not identical) lines, and identical lines.

From left to right these cases yield one solution, no solutions, and infinite solutions. The same situationoccurs in three dimensions; the solution of 3 equations with 3 unknowns is the intersection of the 3 planes.

There is a simple tool for determining the number of solutions of a square system of equations: thedeterminant.

Matrix Notation

It is often convenient to represent a system of equations as a matrix equation or even as a single matrix.Consider the system of equations 2x+3y=-8 and -x+5y=1. Since

we may write the entire system as a matrix equation:

or as AX=B where

The 2x2 matrix A is called the matrix of coefficients of the system of equations. Frequently this equation iswritten as a single augmented matrix:

Systems of Linear Equations http://math.oregonstate.edu/home/programs/undergrad/CalculusQuestSt...

1 of 3 10/1/2014 6:29 PM

Page 2: Systems of Linear Equations

We may now use Gaussian elimination to solve this matrix equation for x and y (as opposed to directsubstitution of one equation into the other). This representation can also be done for any number of equationswith any number of unknowns.

In general, the equation AX=B representing a system of equations is called homogeneous if B is the nx1(column) vector of zeros. Otherwise, the equation is called nonhomogeneous.

Determining the Number of Solutions of a Nonhomogeneous System of Equations

For square systems of equations (i.e. those with an equal number of equations and unknowns), the mostpowerful tool for determining the number of solutions the system has is the determinant. Suppose we havetwo equations and two unknowns: ax+by=c and dx+ey=f with b and e non-zero (i.e. the system isnonhomogeneous). These are two lines with slope -a/b and -d/e, respectively. Let's define the determinant ofa 2x2 system of linear equations to be the determinant of the matrix of coefficients A of the system. For thissystem

Suppose this determinant is zero. Then, this last equation implies a/b=d/e; in other words, the slopes areequal. From our discussion above, this means the lines are either identical (there is an infinite number ofsolutions) or parallel (there are no solutions). If the determinant is non-zero, then the slopes must be differentand the lines must intersect in exactly one point. This leads us to the following result:

A nxn nonhomogeneous system of linear equations has a unique non-trivial solution if and only if itsdeterminant is non-zero. If this determinant is zero, then the system has either no nontrivial solutions or aninfinite number of solutions.

Example

The nonhomogeneous system of equations 2x+3y=-8 and -x+5y=1 has determinant

which implies the system has a unique solution (the point (-43/13,-28/75)). This corresponds to our intuition:the lines have different slopes and therefore must intersect in exactly one point.

Example

The nonhomogeneous system of equations x-4y+6z=3, -2x+8y-12z=-6, and 2x-y+3z=1 does not have aunique solution since its determinant is

Systems of Linear Equations http://math.oregonstate.edu/home/programs/undergrad/CalculusQuestSt...

2 of 3 10/1/2014 6:29 PM

Page 3: Systems of Linear Equations

In fact, this system has an infinite number of solutions. To see this, think geometrically. The three equationsrepresent 3 planes. Two of the equations (the first and the second) represent the same plane (why?); so, thereare only two distinct non-parallel planes. Since two non-parallel planes intersect in a line, there are an infinitenumber of points which lie on all three of these planes (i.e. the system has an infinite number of solutions).To actually find the solutions, we must use a method such as Gaussian elimination to solve the system ofequations.

Determining the Number of Solutions of a Homogeneous System of Equations

For a homogeneous system of equations ax+by=0 and cx+dy=0, the situation is slightly different. These linespass through the origin. Thus, there is always at least one solution, the point (0,0). If the slopes -a/b and -c/dare equal then there are an infinite number of solutions since the lines are identical. But as we have seen, theslopes of these lines are equal when the determinant of the coefficient matrix is zero. Thus, for homogeneoussystems we have the following result:

A nxn homogeneous system of linear equations has a unique solution (the trivial solution) if and only if itsdeterminant is non-zero. If this determinant is zero, then the system has an infinite number of solutions.

Example

The system of equations 2x+y=0 and x-y=0 has exactly one solution since the slopes of the lines are different,i.e. the determinant

is non-zero. The solution is of course (0,0).

[Vector Calculus Home] [Math 254 Home] [Math 255 Home] [Notation] [References]

Copyright © 1996 Department of Mathematics, Oregon State University

If you have questions or comments, don't hestitate to contact us.

Systems of Linear Equations http://math.oregonstate.edu/home/programs/undergrad/CalculusQuestSt...

3 of 3 10/1/2014 6:29 PM