Beruflich Dokumente
Kultur Dokumente
0 ‒ Introduction
For every problems that involves money, time, distance, perimeter of a fence or skate
ramp, volume of something, comparing prices when you shop, rent something - cost
versus time, or etc. can be solved through algebra because algebra teaches human to
make logical reasoning and problem solving skills when it comes to most every
situation in life. We have to logically think our way through something to obtain the best
results. For example: I want to jump my bike off the ramp a distance of 2 metre. Then,
I need to measure the height of the ramp and length of the run up distance, along with
the wind that have same direction as I’m going or against me. These are variables and
rational numbers that are used in algebra. Hence, a decision will be made either that I
can or cannot make the jump.
For the second example, you play a sport that you have to mentally determine the
angle you throw the ball in order to make an accurate throw. You will approximate the
distance between yourself and the target, but you also have to consider on how much
3
force to apply to your throw. It also applies to football, when you are kicking the ball to
another player or into the goal. The same mental calculations occur as you consider
your options (variables and rational numbers) for making a goa or just past to the other
players.
In conclusion, these examples shown that algebra are applied in daily life. Hence,
it's very significant for people to understand the concept of linear algebra in real life
so that the daily problems that people often to face can be solved systematically.
Mr Ali is a farmer, he has an orchard in his backyard. There are 3 types of fruit
trees in the orchard which are mangoes, durians and pomegranates. The fruit that has
been harvested will be shared with neighbours and sold at night market for every
Friday night. In the first week, Mr Ali sold a pack of mango seed and a pack of durian
seed while two packs of pomegranate seed were given to his neighbour. Mr Ali has
earned RM2 from the sale for that week. In the second week, Mr Ali sold two packs of
mango seed, three packs of pomegranate seed and gave a pack of durian seeds to
his neighbour. Mr Ali has earned RM15 from the sale for that week. The following week,
Mr Ali sold three packs of mango seed, two packs of durian seeds and a pack of
pomegranate seed. Mr Ali has earned RM19 from the sale for that week. At the same
time, Mr Ali’s son, Abu is learning about matrices operation method during his school
session. Hence, help Abu in calculating the price for each seed pack for these three
types of fruit by using matrices’ operation method based on his father’s business sales.
Type of Seed
Profit
Mango Durian Pomegranate
(RM)
Week
First x y -2z 2
Second 2x -y 3z 15
Third 3x 2y x 19
4
3.1 ‒ Gaussian Jordan- Elimination.
Solution:
First-week’s sale:
Profit = RM 2
Equation: 𝑥 + 𝑦 − 2𝑧 = 2
Second-week’s sale:
Profit = RM 15
Equation: 2𝑥 − 𝑦 + 3𝑧 = 15
Third-week’s sale:
Profit = RM 19
Equation: 3𝑥 + 2𝑦 + 𝑧 = 19
5
Equations:
𝑥 + 𝑦 − 2𝑧 = 2…(1)
2𝑥 − 𝑦 + 3𝑧 = 15…(2)
3𝑥 + 2𝑦 + 𝑧 = 19…(3)
Based on equations above, form a matrix that consist all the elements in those
equations. The first equation becomes the first row, the second equation becomes
the second row and the third equation becomes the third row. The first column
represents the x variable, the second column represents the y variable and the third
column represents the z variable.
1 1 −2
(2 −1 3 )
3 2 1
2𝑅1
Inverse the sign of 1st row, plus the
2 2 −4 4
(2 −1 3 |15) value of 1st row to 2nd row and
3 2 1 19 restore it.
−2𝑅1 + 𝑅2 → 𝑅2
1 1 −2 2
Multiply the 1st row by 3.
(0 −3 7 |11)
3 2 1 19
3𝑅1
3 3 −6 6
(0 −3 7 |11) Inverse the sign of 1st row plus the
3 2 1 19 value of 1st row to 2nd row and
restore it.
−2𝑅1 + 𝑅2 → 𝑅2
6
1 1 −2 2 Find the pivot in the 2nd column
(0 −3 7 |11) (inversing the sign in the whole row)
0 −1 7 13 and swap the 3rd and the 2nd rows
𝑅3 ⇄ 𝑅2
−𝑅2 + 𝑅1 → 𝑅1
−3𝑅2
5𝑅3
Inverse the sign of 3rd row, plus the
1 0 5 15
(0 1 −7|−13) value of 3rd row to 1st row and restore
0 0 5 10 it.
−5𝑅3 + 𝑅1 → 𝑅1
7𝑅3
7
Plus the value of 3rd row to 2nd row and
1 0 0 5
(0 1 −7|−13) restore it.
0 0 7 14
7𝑅3 + 𝑅2 → 𝑅2
1 0 05
(0 1 0|1)
0 0 12
Hence, 𝑥 = 5, 𝑦 = 1, 𝑧 = 2
8
3.2 ‒ Cramer’s Rule Method
𝑥 + 𝑦 − 2𝑧 = 2…(1)
2𝑥 − 𝑦 + 3𝑧 = 15…(2)
3𝑥 + 2𝑦 + 𝑧 = 19…(3)
Solution:
Implement those equations above in form of 𝐴𝑋 = 𝐵.
|𝐴| = 1 |−1 3| − 1 |2 3
| + (−2) |
2 −1
|
2 1 3 1 3 2
−1 3 15 3 15 −1
= 2| | − 1| | + (−2) | |
2 1 19 1 19 2
9
Determinant of 2nd column.
𝑎11 𝑏1 𝑎13
1 2 −2
|𝐴2 | = |𝑎21 𝑏2 𝑎23 |
|𝐴2 | = |2 15 3 |
𝑎31 𝑏3 𝑎33
3 19 1
15 3 2 3 2 15
= 1| | − 2| | + (−2) | |
19 1 3 1 3 19
x value:
⌈𝐴1 ⌉
𝑥= 𝐴
−70
= −14
=5
y value:
⌈𝐴2 ⌉
𝑦=
𝐴
−14
= −14
=1
10
z value:
⌈𝐴3 ⌉
𝑧= 𝐴
−28
= −14
=2
Hence, 𝑥 = 5, 𝑦 = 1, 𝑧 = 2.
11
4.0 Solving problem 2.
Amin, Anis, and Afiq are best friends since kindergarten. Wherever they go to
somewhere to buy something, they will go together. Last Friday, they went to a bundle
clothes store near to their home to buy pants, shirts and jackets. Amin bought two
pants, three shirts and four jackets while Anis bought two pants, three shirts and five
jackets. Afiq bought the least clothes which were one pants, two shirts and one jacket.
Total price that Amin need to pay was RM 54 while Anis was RM 62 and Afiq was RM
21. Find the exact price for each clothes that they bought.
Type of
Total Price
clothes Pant Shirt Jacket
(RM)
Name
Amin 2x 3y 4z 54
Anis 2x 3y 5z 62
Afiq x 2y z 21
12
4.1 ‒ Gaussian Jordan- Elimination.
Solution:
𝑥 = Quantity of Pants
𝑦 = Quantity of Shirt
𝑧 = Quantity of Jacket
Total price = RM 54
Equation: 2𝑥 + 3𝑦 + 4𝑧 = 54
Total price = RM 62
Equation: 2𝑥 + 3𝑦 + 5𝑧 = 62
Total price = RM 21
Equation: 𝑥 + 2𝑦 + 𝑧 = 21
13
Equations:
2𝑥 + 3𝑦 + 4𝑧 = 54…(1)
2𝑥 + 3𝑦 + 5𝑧 = 62…(2)
𝑥 + 2𝑦 + 𝑧 = 21…(3)
Based on equations above, form a matrix that consist all the elements in those
equations. The first equation becomes the first row, the second equation becomes
the second row and the third equation becomes the third row. The first column
represents the x variable, the second column represents the y variable and the third
column represents the z variable.
2 3 4
(2 3 5)
1 2 1
𝑅3 ⇄ 𝑅1
Multiply the 1st row by 2.
1 2 1 21
(2 3 5|62) .
2 3 4 54
2𝑅1
2 4 2 42
Inverse the sign of 1st row, plus the
(2 3 5|62)
2 3 4 54 value of 1st row to 2nd row and
restore it.
−2𝑅1 + 𝑅2 → 𝑅2
2 4 2 42
(0 −1 3|20) Inverse the sign of 1st row, plus the
2 3 4 54 value of 1st row to 3rd row and restore
it.
−2𝑅1 + 𝑅3 → 𝑅3
14
1 2 1 2 Find the pivot in the 2nd column
(0 −1 3|20) (inversing the sign in the whole row)
0 −1 2 12 and multiply the 2nd row by 2
−2𝑅2 + 𝑅1 → 𝑅1
𝑅2 + 𝑅3 → 𝑅3
3𝑅3
Inverse the value of 3rd row into
1 0 0 5
(0 1 −3|−20) negative value, plus the value of 3rd
0 0 3 24 row to 1st row and restore it.
3𝑅3 + 𝑅2 → 𝑅2
1 0 05
(0 1 0|4)
0 0 18
Hence, 𝑥 = 5, 𝑦 = 4, 𝑧 = 8
15
4.2 ‒ Inverse Matrix Method
𝐴−1 𝐴𝑋 = 𝐴−1 𝐵
𝐼𝑋 = 𝐴−1 𝐵
𝑋 = 𝐴−1 𝐵
2𝑥 + 3𝑦 + 4𝑧 = 54…(1)
2𝑥 + 3𝑦 + 5𝑧 = 62…(2)
𝑥 + 2𝑦 + 𝑧 = 21…(3)
Solution:
16
Determinant whole matrix.
|𝐴| = 2 |3 5 2 5 2 3
|− 3| | +4| |
2 1 1 1 1 2
3 5 2 5 2 3
𝑐11 = + | | 𝑐12 = − | | 𝑐13 = + | |
2 1 1 1 1 2
= 3 − 10 = −(2 − 5) =4−3
= −7 =3 =1
3 4 2 4 2 3
𝑐21 = − | | 𝑐22 = + | | 𝑐23 = − | |
2 1 1 1 1 2
= −(3 − 8) = (2 − 4) = −(4 − 3)
=5 = −2 = −1
3 4 2 4 2 3
𝑐31 = + | | 𝑐32 = − | | 𝑐33 = + | |
3 5 2 5 2 3
=3 = −2 =0
17
Determine value of element x,y and z.
𝑋 = 𝐴−1 𝐵
7 −5 −3 54
= [−3 2 2 ] (62)
−1 1 0 21
378 − 310 − 63
= [−162 + 124 + 42] Multiply between 𝐴−1 𝑎𝑛𝑑 𝐵
−54 + 62 + 0
5
= [4]
8
5
= (4)
8
Hence, 𝑥 = 5, 𝑦 = 4, 𝑧 = 8
simultaneously. lengthy
calculation to a
greater extent
18
6.0 ‒ Conclusion.
19
Reference
20
21