Professional Documents
Culture Documents
8 1 2 PDF
8 1 2 PDF
Solving Simultaneous
Introduction
The need to solve systems of linear equations arises frequently in engineering. The analysis of
electric circuits and the control of systems are two examples.
Cramers rule for solving such systems involves the calculation of determinants and their ratio.
For systems containing only a few equations it is a useful method of solution.
Key Point
Cramers Rule
The unique solution to the equations:
ax + by = e
cx + dy = f
is given by:
x y
x= , y=
in which
a b e b a e
=
x = , y =
c d f d c f
If = 0 this method of obtaining the solution cannot be used.
2x + y = 7
3x 4y = 5
Answer
2x 3y = 6 2x 3y = 6
(a) (b)
4x 6y = 12 4x 6y = 10
Answer
Key Point
The unique solution to the system of equations:
is
x1 x2 x3
x1 = , x2 = , x3 =
in which
a11 a12 a13
= a21 a22 a23
a31 a32 a33
and
b1 a12 a13 a11 b1 a13 a11 a12 b1
x1 = b2 a22 a23
x 2 = a21 b2 a23
x3 = a21 a22 b2
b3 a32 a33 a31 b3 a33 a31 a32 b3
If = 0 this method of obtaining the solution cannot be used.
x1 2x2 + x3 = 3
2x1 + x2 x3 = 5
3x1 x2 + 2x3 = 12.
Part (b) Now we nd the value of x1 . First write down the expression for x1 in terms of
determinants.
Answer
2x 3y = 1 2x 5y = 2 6x y = 0
(a) (b) (c)
4x + 4y = 2 4x + 10y = 1 2x 4y = 1
2. Using Cramers rule obtain the solutions to the following sets of equations:
2x1 + x2 x3 = 0 x1 x2 + x3 = 1
(a) x1 + x3 = 4 (b) x1 + x3 = 1
x1 + x2 + x3 = 0 x1 + x2 x3 = 0
Answer
Derive can be used to evaluate determinants, and so, indirectly, can be used to solve systems of
linear equations using Cramers rule.
To evaluate a determinant it must rst be input in matrix form. For example to evaluate:
2 1
=
3 4
we would key Author:Matrix. Then choose 2 rows and 2 columns and click OK. Now input the
numbers as the screen directs and hit OK. DERIVE responds with
2 1
3 4
Now copy this expression (using ctrl+c keys) and transfer this into the Author Expression dialog
box. DERIVE responds with
[[2, 1], [3, 4]]
Now put the cursor at the beginning of this line and type det to give the expression
det[[2,1],[3,-4]]. Hit the OK button and DERIVE responds
2 1
DET
3 4
Now hit SimplifyBasic and DERIVE responds:
11
as we expect.
In the system (a) the second equation is twice the rst so there are innitely many solutions.
(Here we can give y any value we wish, t say; but then the x value is always (6 + 3t)/2. So for
each value of t there are values for x and y which simultaneously satisfy both equations. There
are an innite number of possible solutions).
In (b) the equations are inconsistent (since the rst is 2x 3y = 6 and the second is
2x 3y = 5 which is not possible.) Hence there are no solutions.
Hence x1 = 1
10
30 = 3
2. (a) x1 = 83 , x2 = 4, x3 = 4
3
(b) x1 = 12 , x2 = 12 , x3 = 1