Simultaneous linear equations

advertisement

PROGRAMME F5

LINEAR

EQUATIONS and

SIMULTANEOUS

LINEAR

EQUATIONS

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Linear equations

Simultaneous linear equations with two unknowns

Simultaneous linear equations with three unknowns

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Linear equations

Solution of simple equations

A linear equation in a single variable (unknown) x is an equation of the form below (on the left), where the a, b, c, d are expressions not involving x

(J.A.B.) . A linear equation in one unknown is also referred to as a simple equation.

The solution of a simple equation consists essentially of moving the x occurrences to one side:

giving

  

and hence x

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Linear equations

Simultaneous linear equations with two unknowns

Simultaneous linear equations with three unknowns

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Simultaneous linear equations with two unknowns

Solution by substitution

Solution by equating coefficients

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Simultaneous linear equations with two unknowns

Solution by substitution

A single linear equation in two variables has an infinite number of solutions. For two such equations there may be just one pair of x - and y -values that satisfy both simultaneously.

The substitution solution method = (1) solve one of the equations for one of the variables, and then (2) replace that variable in the other equation by the result of (1).

( ) 5 x

2 y

14

( ) 3 x

4 y

 a x

2 y

  y

  x y 7

5 x

2 in ( ) 3 x

5

2 x

  

4

 y

   

3

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Simultaneous linear equations with two unknowns

Solution by equating coefficients

Example:

( ) 3 x

2 y

16

( ) 4 x 3 y 10

Multiply ( a ) by 3 (the coefficient of y in ( b )) and multiply ( b ) by 2 (the coefficient of y in ( a ))

 x

6 y

48

 x

6 y

20 add together to give 17 x

68 x 4

 y

  

2

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Linear equations

Simultaneous linear equations with two unknowns

Simultaneous linear equations with three unknowns

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Simultaneous linear equations with three unknowns

With three unknowns and three equations the method of solution is just an extension of the work with two unknowns.

By equating the coefficients of one of the variables (OR by using the substitution method – J.A.B.) that variable can be eliminated from one pair of equations, giving you one equation in the remaining two variables. The same thing can be done with a different pair. You now have two equations in two unknowns. These can be solved in the usual manner, and the value of the first variable above evaluated by substitution.

STROUD Worked examples and exercises are in the text

Simultaneous linear equations with three unknowns (x,y,z), contd

(added by John Barnden)

METHOD in more detail:

There will now be THREE EQUATIONS, not two, each involving ALL THREE

VARIABLES.

Take any two of the equations. Eliminate one of the variables, say z , using either the substitution method or the equating-coefficients method. So you now have created a new equation, involving only x and y .

Do the same with a different pair of the original equations. So you now have another new equation, involving only x and y .

Solve your two new equations for x and y , using the method for two variables.

Now use any one of the original equations to find the value of z.

STROUD Worked examples and exercises are in the text

Simultaneous linear equations with three unknowns (x,y,z), contd

(added by John Barnden)

EXAMPLE (from textbook p.193, to be worked through in class):

3x + 2y – z = 19

4x – y + 2z = 4

2x + 4y – 5z = 32

STROUD Worked examples and exercises are in the text

Simultaneous linear equations with three unknowns (x,y,z), contd

(added by John Barnden)

EXERCISE:

How would you proceed if

(a) only two of the equations used all three of x, y, z , the other equation using only one of them

(b) only one of the equations used all three of x, y, z , the other two equations using only x and y

(c) one of the equations used all three of x, y, z , another uses just x and y , and the third uses just y and z .

STROUD Worked examples and exercises are in the text

Programme F5: Linear equations and simultaneous linear equations

Simultaneous linear equations

Pre-simplification

Sometimes, the given equations need to be simplified before the method of solution can be carried out. For example, to solve:

2( x

2 ) 3(3 x y ) 38

4(3 x

  x

5 )

 

8

Simplification yields:

11

9 x x y

7 y

38

 

8

STROUD Worked examples and exercises are in the text

Back to Simultaneous linear equations in TWO unknowns

STRAIGHT LINE VIEW (ADDED by John Barnden)

A linear equation in two variables can be viewed as defining a straight line.

Suppose we have

Dx + Ey = F

Solve for y, to get: y = – (D/E)x + F/E

But when you graph this you get a straight line …..

STROUD Worked examples and exercises are in the text

Programme 8: Differentiation applications 1

(NB: from a different part of the book)

Equation of a straight line (REMINDER)

The basic equation of a straight line is:

y

 mx

 c where: m

 gradient

 dy dx c

When m is negative, the line slopes downwards. (ADDED by JAB) m is also called the slope.

STROUD Worked examples and exercises are in the text

Back to Simultaneous linear equations in TWO unknowns

STRAIGHT LINE VIEW, contd

So if we have two linear equations in x and y:

Dx + Ey = F

Gx + Hy = J

(where neither E nor is H is zero) we get two straight lines: y = – (D/E)x + F/E y = – (G/H)x + J/H

And their intersection is at the x and y values that solve the original equations (Why?).

STROUD Worked examples and exercises are in the text

Back to Simultaneous linear equations in TWO unknowns

STRAIGHT LINE VIEW, contd

If we have two (non-vertical) straight lines: y = mx + c y = nx + d

We can find the x value at the intersection by solving those simultaneous equations, most easily by eliminating y : mx + c = nx + d

So: x = (d-c) / (m-n) [provided m and n are unequal]

Now we can also find the y value, from either of the equations.

STROUD Worked examples and exercises are in the text

Back to Simultaneous linear equations in TWO unknowns

STRAIGHT LINE VIEW, contd

We had the following earlier:

Dx + Ey = F

Gx + Hy = J

From which we got: y = – (D/E)x + F/E y = – (G/H)x + J/H

So

“m” is

–D/E and

“n” is

–G/H

.

So we can solve if and only if

D/E

G/H, i.e.

DH – EG

0

DH – EG is called the determinant of the original pair of equations. So you can test whether or not the equations can be solved by seeing whether or not the determinant is non-zero . (See textbook Prog 4 for optional extra material on determinants.)

STROUD Worked examples and exercises are in the text

Simultaneous equations need not be linear!

(added by John Barnden)

Could for instance have a linear equation and an equation involving squares:

Dx + Ey = F

Ax 2 + Bxy + C y = J

Here we could use the substitution method. Solve the first equation for y and then use the answer in the second equation. What sort of equation do you now have? (EXERCISE)

STROUD Worked examples and exercises are in the text

Download