1. 1
2.0 ALGEBRA
2.1 Solution of Simultaneous Equations with Three Unknowns
2.1.1 Introduction to Simultaneous Equations
Only one equation is necessary when finding the value of a single unknown quantity as with
simple equations. However, when an equation contains two unknown quantities it has an
infinite number of solutions. When two equations are available connecting the same two
unknown values then a unique solution is possible. Similarly, for three unknown quantities it is
necessary to have three equations in order to solve for a particular value of each of the unknown
quantities, and so on.
Equations that have to be solved together to find the unique values of the unknown quantities,
which are true for each of the equations, are called simultaneous equations.
Two methods of solving simultaneous equations analytically are:
(a) by substitution, and (b) by elimination.
Note:
Own your own read on the above two methods and matrices.
I. SOLUTION OF SIMULTANEOUS EQUATIONS USING MATRICES
The procedure for solving linear simultaneous equations in three unknowns using matrices is:
(i) write the equations in the form
a1x +b1 y +c1 z = d1
a2x +b2 y +c2 z = d2
a3x +b3 y +c3 z = d3
(ii) write the matrix equation corresponding to
these equations, i.e.
(
π1 π1 π1
π2 π2 π2
π3 π3 π3
)Γ(
π₯
π¦
π§
)=(
π1
π2
π3
)
(iii) determine the inverse matrix of
(
π1 π1 π1
π2 π2 π2
π3 π3 π3
)
(iv) multiply each side of (ii) by the inverse
matrix, and
(v) solve for x, y and z by equating the corresponding
2. 2
elements.
Problem 1.
Use matrices to solve the simultaneous equations:
x + y +z β4 =0 (1)
2x β3y +4z β33 =0 (2)
3x β2y β2z β2 =0 (3)
(i) Writing the equations in the a1x +b1 y +c1 z = d1
form gives:
x + y +z = 4
2x β3y +4z = 33
3x β2y β2z = 2
(ii) The matrix equation is
(
1 1 1
2 β3 4
3 β2 β2
)Γ(
π₯
π¦
π§
)=(
4
33
2
)
(iii) The inverse matrix of
A =(
1 1 1
2 β3 4
3 β2 β2
)
is given by Aβ1
=
πππ π΄
|π΄|
The adjoint of A is the transpose of the matrix of the cofactors of the elements.
The matrix of cofactors is
(
14 16 5
0 β5 5
7 β2 β5
)
and the transpose of this matrix gives
adj A =(
14 0 7
16 β5 β2
5 5 β5
)
The determinant of A, i.e. the sum of the products of elements and their cofactors, using a first
row expansion is
1|
β3 4
β2 β2
|β1|
2 4
3 β2
|+1|
2 β3
3 β2
|= (1Γ14)β(1Γ(β16))+(1Γ5) = 35
Hence the inverse of A,
Aβ1
=
1
35
(
14 0 7
16 β5 β2
5 5 β2
)
3. 3
(iv) Multiplying each side of (ii) by (iii), and remembering that AΓ Aβ1
= I , the unit matrix,
gives
(
1 0 0
0 1 0
0 0 1
)Γ(
π₯
π¦
π§
)=
1
35
(
14 0 7
16 β5 β2
5 5 β5
)Γ(
4
33
2
)
(
π₯
π¦
π§
) =
1
35
(
(14 Γ 4) + (0 Γ 33) + (7 Γ 2)
(16 Γ 4) + ((β5) Γ 33) + ((β2) Γ 2
(5 Γ 4) + (5 Γ 33) + ((β5) Γ 2)
)=
1
35
(
70
β105
175
) =(
2
β3
5
)
(v) By comparing corresponding elements, x = 2, y=β3, z = 5, which can be checked in the
original equations.
ASSIGNMENT 1
In Problems 1 to 3 use matrices to solve the simultaneous equations given.
1. x +2y +3z = 5
2x β3y βz = 3
β3x +4y +5z = 3
2. 3a +4bβ3c = 2
β2a +2b +2c = 15
7a β5b+4c = 26
3. p +2q +3r +7.8 = 0
2 p +5q βr β1.4 = 0
5 p βq +7r β3.5 = 0
4. The relationship between the displacement, s, velocity, v, and acceleration, a, of a piston
is given by the equations:
s +2v +2a = 4
3s βv +4a = 25
3s +2v βa =β4
Use matrices to determine the values of s, v and a.
5. In a mechanical system, acceleration π₯Μ, velocity π₯Μ and distance x are related by the
simultaneous equations:
3.4π₯Μ +7.0π₯Μ β13.2x =β11.39
β6.0π₯Μ +4.0π₯Μ +3.5x = 4.98
2.7π₯Μ +6.0π₯Μ +7.1x = 15.91
Use matrices to find the values of Β¨ x, Λ x and x
II. SOLUTION OF SIMULTANEOUS EQUATIONS USING DETERMINANTS
When solving simultaneous equations in three unknowns using determinants:
4. 4
(i) Write the equations in the form
a1x +b1 y +c1z +d1 = 0
a2x +b2 y +c2 z +d2 = 0
a3x +b3 y +c3z +d3 = 0
and then
(ii) the solution is given by
π₯
π·π₯
=
βπ¦
π·π¦
=
π§
π·π§
=
β1
π·
where D = x|
π1 π1 π1
π2 π2 π2
π3 π3 π3
|
i.e. the determinant of the coefficients obtained by covering up the x column.
Dy =|
π1 π1 π1
π2 π2 π2
π3 π3 π3
|
i.e., the determinant of the coefficients obtained by covering up the y column.
Dz =|
π1 π1 π1
π2 π2 π2
π3 π3 π3
|
i.e. the determinant of the coefficients obtained by covering up the z column.
and
D =|
π1 π1 π1
π2 π2 π2
π3 π3 π3
|
i.e. the determinant of the coefficients obtained by covering up the constants column.
Problem 1.
A d.c. circuit comprises three closed loops. Applying Kirchhoffβs laws to the closed loops gives
the following equations for current flow in milliamperes:
2I1 +3I2 β4I3 = 26
I1 β5I2 β3I3 =β87
β7I1 +2I2 +6I3 = 12
Use determinants to solve for I1, I2 and I3
(i) Writing the equations in the a1x +b1 y +c1 z +d1 = 0 form gives:
2I1 +3I2 β4I3 β26 = 0
I1 β5I2 β3I3 +87 = 0
β7I1 +2I2 +6I3 β12 = 0
(ii) The solution is given by
6. 6
ASSIGNMENT 2
In Problems 1 to 2 use determinants to solve the simultaneous equations given.
1. 3x +4y +z = 10
2x β3y +5z +9 = 0
x +2y βz = 6
2. 1.2 p β2.3q β3.1r +10.1 = 0
4.7 p +3.8q β5.3r β21.5 = 0
3.7 p β8.3q +7.4r +28.1 = 0
8. Kirchhoffβs laws are used to determine the current equations in an electrical network and
show that
i1 +8i2 +3i3 =β31
3i1 β2i2 +i3 =β5
2i1 β3i2 +2i3 = 6
Use determinants to solve for i1, i2 and i3.
III. SOLUTION OF SIMULTANEOUS EQUATIONS USING CRAMERS RULE
Cramers rule states that if
a11x +a12 y +a13z = b1
a21x +a22 y +a23z = b2
a31x +a32 y +a33z = b3
then x =
π«π
π«
, y =
π«π
π«
and z =
π«π
π«
where D =|
π11 π12 π13
π21 π22 π23
π31 π32 π33
|
Dx =|
π1 π12 π13
π2 π22 π23
π3 π32 π33
|
i.e. the x-column has been replaced by the R.H.S. b column
Dy =|
π11 π1 π13
π21 π2 π23
π31 π3 π33
|
i.e. the y-column has been replaced by the R.H.S. b column
Dz =|
π11 π12 π1
π21 π22 π2
π31 π32 π3
|
i.e. the z-column has been replaced by the R.H.S. b column.
7. 7
Problem 1.
Solve the following simultaneous equations using Cramers rule
x + y +z = 4
2x β3y +4z = 33
3x β2y β2z = 2
D =|
1 1 1
2 β3 4
3 β2 β2
|
= 1(6β(β8))β1((β4)β12)+1((β4)β(β9)) = 14+16+5 = 35
Dx =|
4 1 1
3 β3 4
2 β2 β2
|
= 4(6β(β8))β1((β66)β8)+1((β66)β(β6)) = 56+74β60 = 70
Dy =|
1 4 1
2 33 4
3 2 β2
|
= 1((β66)β8)β4((β4)β12)+1(4 β99)=β74+64β95 = β105
Dz =|
1 1 4
2 β3 33
3 β2 2
|
= 1((β6)β(β66))β1(4 β99)+4((β4)β(β9)) = 60+95+20 = 175
Hence
x =
π·π₯
π·
=
70
35
= 2, y =
π·π¦
π·
=
β105
35
= β3 and z =
π·π§
π·
=
175
35
= 5
ASSIGNMENT 3
In Problems 1 to 2 use Cramers rule to solve the simultaneous equations given.
1. x +2y +3z = 5
2x β3y βz = 3
β3x +4y +5z = 3
2. 3a +4bβ3c = 2
β2a +2b +2c = 15
7a β5b+4c = 26
8. 8
2.2 Solution of Quadratic Equations
2.2.1 Introduction to Quadratic Equations
An equation is a statement that two quantities are equal and to βsolve an equationβ means βto
find the value of the unknownβ. The value of the unknown is called the root of the equation.
A quadratic equation is one in which the highest power of the unknown quantity is 2. For
example, x2
β3x +1=0 is a quadratic equation.
2.3 Solution of quadratic equations.
There are four methods of solving quadratic equations.
These are: (i) by factorisation (where possible)
(ii) by βcompleting the squareβ
(iii) by using the βquadratic formulaβ
or (iv) graphically
I. Solution of quadratic equations by factorization
Multiplying out (2x+1)(x β3) gives 2x2
β6x +x β3, i.e. 2x2
β5x β3. The reverse process of moving
from 2x2
β5x β3 to (2x+1)(xβ3) is called factorising.
If the quadratic expression can be factorised this provides the simplest method of solving a
quadratic equation.
For example, if 2x2
β5x β3 = 0, then, by factorising: (2x +1)(x β3) = 0
Hence either (2x +1) =0 i.e. x = β
1
2
or (x β3) =0 i.e. x = 3
The technique of factorising is often one of βtrial and errorβ.
Problem 1.
Solve the equations:
(a) x2
+2x β8=0 (b) 3x2
β11x β4=0 by factorization
(a) x2
+2x β8=0.
The factors of x2
are x and x. These are placed in brackets thus: (x )(x )
The factors ofβ8 are+8 andβ1, orβ8 and+1, or +4 and β2, or β4 and +2. The only combination
to given a middle term of +2x is +4 and β2, i.e. x2
+2x β8 = (x +4)(x β2)
(Note that the product of the two inner terms added
to the product of the two outer terms must equal
to the middle term, +2x in this case.)
The quadratic equation x2
+2x β8=0 thus becomes (x +4)(xβ2)=0.
Since the only way that this can be true is for either the first or the second, or both factors to be
zero, then
either (x +4) =0 i.e. x =β4
9. 9
or (x β2) =0 i.e. x = 2
Hence the roots of x2 + 2x β 8=0 are x=β4 and 2
(b) 3x2
β11xβ4=0
The factors of 3x2
are 3x and x. These are placed in brackets thus: (3x )(x )
The factors of β4 are β4 and +1, or +4 and β1, or β2 and 2.
Remembering that the product of the two inner terms added to the product of the two outer terms
must equal β11x, the only combination to give this is +1 and β4, i.e.
3x2
β11x β4 = (3x +1)(x β4)
The quadratic equation 3x2
β11xβ4=0 thus becomes (3x +1)(xβ4)=0.
Hence, either (3x +1) =0 i.e. x=β
π
π
or (x β4) =0 i.e. x = 4
and both solutions may be checked in the original equation.
Problem 2.
Determine the roots of:
(a) x2
β6x +9=0, and (b) 4x2
β25=0, by factorization
(a) x2
β6x+9=0.
Hence (x β3) (x β3)=0, i.e. (xβ3)2=0 (the left-hand side is known as a perfect square). Hence
x=3 is the only root of the equation x2
β6x +9=0.
(b) 4x2
β25=0
(the left-hand side is the difference of two squares, (2x)2
and (5)2
). Thus
(2x+5)(2xβ5)=0. Hence either (2x +5) =0 i.e. x=β
π
π
or (2x β5) =0 i.e. x =
π
π
Problem 3.
The roots of quadratic equation are
1
3
and β2. Determine the equation.
If the roots of a quadratic equation are Ξ± and Ξ² then (x βΞ±)(x βΞ²)=0.
Hence if Ξ±=
1
3
and Ξ²=β2, then
(π₯ β
1
3
) β (π₯ β (β2)) = 0
(π₯ β
1
3
) (π₯ + 2) = 0
π₯2
β
1
3
π₯ + 2π₯ β
2
3
= 0
π₯2
+
5
3
π₯ β
2
3
= 0
10. 10
Hence 3x2+5xβ2 = 0
ASSIGNMENT
In Problems 1 to 4, solve the given equations by factorisation.
1. x2
+4x β32=0
2. x2
β16=0
3. (x +2)2
=16
4. 2x2
βx β3=0
In Problems 5 to 6, determine the quadratic equations in x whose roots are:
5. 3 and 1
6. 2 and β5
II. Solution of quadratic equations by βcompleting the squareβ
An expression such as x2
or (x+2)2
or (x β3)2
is called a perfect square.
If x2
=3 then x=Β±β3
If (x+2)2
=5 then x+2=Β±β5 and x=β2Β±β5
If (xβ3)2
=8 then xβ3=Β±β8 and x =3Β±β8
Hence if a quadratic equation can be rearranged so that one side of the equation is a perfect
square and the other side of the equation is a number, then the solution of the equation is readily
obtained by taking the square roots of each side as in the above examples. The process of
rearranging one side of a quadratic equation into a perfect square before solving is called
βcompleting the squareβ.
(x +a)2
= x2
+2ax +a2
Thus in order to make the quadratic expression x2
+2ax into a perfect square it is necessary to add
(half the coefficient of x)2
i.e. (
2π
2
)
2
or a2
For example, x2
+3x becomes a perfect square by adding
(
3
2
)
2
, i.e. x2
+3x +(
3
2
)
2
=(π₯ +
3
2
)
2
The method is demonstrated in the following worked problems.
Problem 1.
Solve 2x2
+5x =3 by βcompleting the squareβ
The procedure is as follows:
1. Rearrange the equations so that all terms are on the same side of the equals sign (and the
coefficient of the x2
term is positive).
Hence 2x2
+5x β3=0
2. Make the coefficient of the x2
term unity. In this case this is achieved by dividing throughout
by 2. Hence
11. 11
2π₯2
2
+
5π₯
2
β
3
2
= 0
i.e. x2
+
5π₯
2
β
3
2
= 0
3. Rearrange the equations so that the x2
and x terms are on one side of the equals sign and the
constant is on the other side, Hence
π₯2
+
5π₯
2
=
3
2
4. Add to both sides of the equation (half the coefficient of x)2
. In this case the coefficient of x is
5
2
.
Half the coefficient squared is therefore (
5
4
)
2
.
Thus, x2
+
5π₯
2
+(
5
4
)
2
=
3
2
+(
5
4
)
2
The LHS is now a perfect square, i.e.
(π₯ +
5
4
)
2
=
3
2
+(
5
4
)
2
5. Evaluate the RHS. Thus
(π₯ +
5
4
)
2
=
3
2
+
25
16
=
24+25
16
=
49
16
6. Taking the square root of both sides of the equation (remembering that the square root of a
number gives a Β± answer). Thus
β(π₯ +
5
4
)
2
=β
49
16
i.e. π₯ +
5
4
=Β±
7
4
7. Solve the simple equation. Thus
x =β
5
4
Β±
7
4
i.e. x =β
5
4
+
7
4
=
2
4
=
1
2
and x =β
5
4
β
7
4
= β
12
4
= β3
Hence x=
π
π
or β3 are the roots of the equation 2x2
+5x =3
Problem 7.
Solve 2x2
+9x +8=0, correct to 3 significant figures, by βcompleting the squareβ
12. 12
Making the coefficient of x2
unity gives:
x2
+
9
2
π₯ + 4 = 0
and rearranging gives: x2
+
9
2
π₯ = β4
Adding to both sides (half the coefficient of x)2 gives:
x2
+
9
2
π₯+(
9
4
)
2
= (
9
4
)
2
β 4
The LHS is now a perfect square, thus:
(π₯ +
9
4
)
2
=
81
16
β 4 =
17
16
Taking the square root of both sides gives:
π₯ +
9
4
= β
17
16
=Β±1.031
Hence x =β
9
4
Β±1.031
i.e. x=β1.22 or β3.28, correct to 3 significant figures.
ASSIGNMENT
Solve the following equations by completing the square, each correct to 3 decimal places.
1. x2
+4x +1=0
2. 2x2
+5x β4=0
3. 3x2
βx β5=0
III. Solution of quadratic equations by βquadratic formulaβ
Let the general form of a quadratic equation be given by:
ax2
+bx +c = 0
where a, b and c are constants.
Dividing ax2
+bx+c=0 by a gives:
x2
+
π
π
π₯ +
π
π
= 0
Rearranging gives:
x2
+
π
π
π₯ = β
π
π
Adding to each side of the equation the square of half the coefficient of the terms in x to make
the LHS a perfect square gives:
x2
+
π
π
π₯ + (
π
2π
)
2
= (
π
2π
)
2
β
π
π
Rearranging gives:
(x +
π
π
)
2
=
π2
4π2 β
π
π
=
π2β4ππ
4π2
13. 13
Taking the square root of both sides gives:
x +
π
2π
=β
π2β4ππ
4π2 =
Β±βπ2β4ππ
2π
Hence x =β
π
2π
Β±βπ2β4ππ
2π
i.e. the quadratic formula is: x =
βπΒ±βπ2β4ππ
2π
(This method of solution is βcompleting the squareβ.
Summarising:
if ax2
+bx +c = 0
then x =
βπΒ±βπ2β4ππ
2π
This is known as the quadratic formula.
Problem 9.
Solve (a) x2
+2x β8=0 and (b) 3x2
β11xβ4=0 by using the quadratic formula
(a) Comparing x2
+2x β8=0 with ax2
+bx+c=0 gives a=1, b=2 and c=β8.
Substituting these values into the quadratic formula
x =
βπΒ±βπ2β4ππ
2π
gives
x =
β2Β±β22β4(1)β(8)
2(1)
=
β2Β±β4+32
2
=
β2Β±β36
2
=
β2Β±6
2
=
β2+6
2
or
β2β6
2
Hence x=
4
2
=2 or
β8
2
=β4
(b) Comparing 3x2
β11xβ4=0with ax2
+bx+c=0 gives a=3, b=β11 and c=β4. Hence,
x =
β(β11)Β±β(β11)2β4(3)(β4)
2(3)
=
β(β11)Β±β121+48
6
=
11Β±β169
6
=
11Β±13
6
=
11+13
6
or
11β13
6
Hence x=
24
6
=4 or
β2
6
= β
1
3
ASSIGNMENT
Solve the following equations by using the quadratic formula, correct to 3 decimal places.
1. 2x2+5x β4=0
2. 5.76x2+2.86x β1.35=0
14. 14
PRACTICAL PROBLEMS INVOLVING QUADRATIC EQUATIONS
There are many practical problems where a quadratic equation has first to be obtained, from
given information, before it is solved.
Problem 1.
Calculate the diameter of a solid cylinder which has a height of 82.0cm and a total surface area
of 2.0m2
Total surface area of a cylinder = curved surface area + 2 circular ends = 2Οrh +2Οr2
(where r =radius and h=height)
Since the total surface area = 2.0m2
and the height h=82cm or 0.82m, then
2.0 = 2Οr(0.82)+2Οr2
i.e. 2Οr2
+2Οr(0.82)β2.0=0
Dividing throughout by 2Ο gives:
r2 +0.82r β
1
π
= 0
Using the quadratic formula:
r =
β0.82Β±β(0.82)2β4(1)(
1
π
)
2(1)
=
β0.82Β±β1.9456
2
=
β0.82Β±1.3948
2
= 0.2874 or β1.1074
Thus the radius r of the cylinder is 0.2874m (the negative solution being neglected).
Hence the diameter of the cylinder = 2Γ0.2874= 0.5748m or 57.5 cm correct to 3 significant
figures.
Problem 12.
The height s metres of a mass projected vertically upward at time t seconds is s=ut β
1
2
gt2
.
Determine how long the mass will take after being projected to reach a height of 16m
(a) on the ascent and (b) on the descent, when u=30m/s and g=9.81m/s2
.
When height s=16m, 16=30t β
1
2
(9.81)t2
i.e. 4.905t2
β30t +16 = 0
Using the quadratic formula:
t =
β(β30)Β±β(β30)2β4(4.905)(16)
2(4.905)
=
30Β±β586.1
9.81
=
30Β±24.21
9.81
= 5.53 or 0.59
Hence the mass will reach a height of 16 m after 0.59 s
on the ascent and after 5.53 s on the descent.