Matrix Project
Matrix Project
Matrix Project
1
ABSTRACT
2
INDEX
3
INTRODUCTION:-
Applications of matrices are found in most scientific fields. In every branch of physics, including
classical mechanics, optics, electromagnetism, quantum mechanics and quantum
electromagnetism, they are used to study physical phenomena. In computer graphics, they are
used to manipulate 3D models.
Meaning:-
Definition :-
A matrix is a rectangular array of numbers or other mathematical objects for which operations
such as addition and multiplication are defined. Most commonly, a matrix over a field is a
rectangular array of scalars each of which is a member of F. Most of this article focuses on real
and complex matrices, that is matrices whose elements are real numbers or complex numbers.
4
The numbers, symbols or expressions in the matrix are called its entries or its elements. The
horizontal and vertical lines of entries in a matrix are called rows and columns.
TYPES OF MATRICES:-
1. Row Matrix:-
A matrix which has exactly one row is called a row matrix. It can have any numbers of columns.
2. Column Matrix:-
A matrix which has exactly one column is called a column matrix. It can have any number of
rows.
[]
3
For Example – 2
4
3. Square Matrix:-
A matrix in which the number of rows is equal to the number of columns is called a square
matrix.
A square matrix whose all elements except the leading diagonal elements are zero is termed
as a diagonal matrix. In other words, all of its non-diagonal elements are zero.
[ ]
300
For Example – 0 310
0 0 13
5. Scalar Matrix:-
A diagonal matrix whose leading diagonal elements are equal is called a scalar matrix.
5
[ ]
700
For Example – 0 7 0
007
6. Unit Matrix:-
A scalar matrix whose diagonal leading elements are unity (1) is termed as a unit matrix and
is denote by ‘I’.
[ ]
10 0
For Example - 0 10
001
7. Rectangular Matrix:-
When the number of rows is not equal to the number of columns, it is termed as a rectangular
matrix (m is not equal to n).
If all the elements of a matrix are zero, it is called a null matrix or zero matrixes.
[ ]
000
For Example – 0 0 0
000
9. Transpose of Matrix:-
The transpose of a matrix is obtained by interchanging the rows and columns. In other words,
rows are changed into columns and columns are changed into rows. Transpose of matrix A is
denoted by A’ or AT.
[]
25
For Example –A= [ ] 23 4
567
'
, it implies= A = 3 6
47
6
10.Equal Matrix:-
Two matrices are said to be equal if both are of the same order and their corresponding
elements are equal.
[ ]
abe
For Example – b e g
e gc
12.Skew-Symmetric Matrix:-
A matrix is called a skew-symmetric matrix if its negative is equal to its transpose. In other
words, if A’= -A, the matrix A is termed as skew-symmetric one.
A matrix obtained from a given matrix by deleting some rows or columns or both is called a
sub- matrix.
[ ],
325
If A= 1 4 6 its sub matrices will be
778
7
14.Singular Matrix:-
[ ]
000
For Example – 1 2 3
345
15.Non-singular Matrix:-
A square matrix whose determinant is not equal to zero is called a non-singular matrix.
A sqare matrix is which the product of the matrix with its transpose and vice-versa is a unit
matrix it is termed as an orthogonal matrix. In other words, matrix A is called an orthogonal
matrix if,
A’ x A =I and A x A’ = I
PROPERTIES OF MATRIX
8
3. If 0 denotes null matrix of the same order as that of A then, A+0 =0+A = A
4. Existence of inverse if A+B=0 , Then B= -A OR A =-B
Example A= [−11
1−1
], B=[ 1111]
then AB= [ 00 00]
DETERMINANT OF A MATRIX:-
The standard formula to find the determinant of 3X3 matrix is a breakdown of smaller 2X2
determinant problems which are very easy to handle. If you need a refresher how to find the
determinant of a 2X2.
[ ]
abc
A= def
ghi
9
The determinant of Matrix A is calculated as.
[ e f ] [ d f ] |d e|
|A|= a h i -b g i c g h
If A=[ 35 48 ], then the determinant of A or |A| written as |3584| whose value will be
(3X8) – (5X4) = 4
The co factors of the element of |A| can be found by applying the formula.
INVERSE OF A MATRIX
The inverse of a square matrix A exists if |A| ≠0 . in other words, inverse exists if the square
matrix is non-singular. The inverse of a matrix A is denoted by A−1.
Remarks:-
[ ]
2 06
If A = 3−1 show that A(Adj A) = I3 ; |A| find inverse of matrix.
1
4 5−2
10
STEP-1:-
A11 = |3−1
5−2|
= -1 A21 = |5−2
06
| = 30 A31 = |3−1
06
| = -18
A12 = |1−1
4−2|
= -2 A22 = |4−2
26
| =-28 A32 = |1−1
26
|=8
| |
−1−2−7
30−28−10
−18 8 6
[ ]
−130−18
Adj A = −2−28 8
−7−10 6
[ ] [ ]
2 06 −130−18
A x (Adj A) = 1 3−1 X −2−28 8
4 5−2 −7−10 6
11
[ ]
−2+0−42 60+0−60−36 +0+36
= −1−6+7 30−84+ 10−18+24−6
−4−10+14 120−140+20−72+40−12
[ ]
−44 0 0
= 0−44 0
0 0−44
[ ]
10 0
= -44 0 10
001
So,
A(Adj A) = I 3 |A|
STEP-3:-
[ ]
−130−18
A−1= −2−28 8 ÷ (-44)
−7−10 6
= ¿
12
STEP-2 : Write them in matrix form
STEP-3 : Then change the columns into rows and vice versa
Examle :
Remark :-
13
APPLICATION OF MATRIX IN DAILY LIFE
Matrices are used much more in daily life than people would have thought. In fact it is
front of us every day when going to work, at the university and even at home. Graphic software
such as adobe Photoshop on your personal computer uses matrices to process linear
transformations to render images. A square matrix can represent a linear transformation of
aerometric project. In a video game , this would render the upside-down mirror image of an
assassin reflected in a pond of blood. If the video game has curved reflecting surfaces, such as a
shiny metal shield , the matrix would be more complicated, to stretch or shrink the reflection. In
physics related applications, matrices are used in the study of electrical circuits, quantum
mechanics and optics. Engineers use matrix or model physical systems and perform accurate
calculations needed for complex mechanics to work. Whereas in programming which is taught at
the universality. Matrices are inverse matrices are used for coding and encrypting messages. A
message is made as a sequence of numbers in a binary format for communication and it follows
code theory for solving. Many IT company also use matrices as data structure to track user
information, perform search queries and manage databases. In the world of information, security,
many systems are designed to work with matrices. Matrices are used in the compression of
electronic information, for example in the storage of biometric data in the new identity card in
maturities. In geology, matrices are used for making seismic surveys. They are used for plotting
graphs, statistics and also to do scientific fields. Matrices are also used in representing the real
world data’s like the population of people, infant mortality rate, etc. they are best representation
methods for plotting surveys. In economics very large matrices are used for optimization of
problems, for example in making the best use of assets, whether labor or capital, in the
manufacturing of a product and managing very large supply chains.
14
PROBLEM
A supplier supplies coffee beans to SHOP A, SHOP B and SHOP C in bags of 5 kgs,10 kg and
15 kg as shown in the table.
The cost price of 5 kg, 10 kg and 15 kg bags are Rs.10.60, Rs.17.20 and Rs.22.50 respectively.
(a) Write down two matrices P and Q , such that the elements of the matrix product PQ give
the total cost price of the beans delivered to each SHOP. Find the product of PQ.
(b) In June, SHOP A,B and C received 15,10 and 5 such delivers respectively. By using a
matrix multiplication ,find the total number of 5 kg , 10 kg and 15 kg bags delivered in
June. Hence; find the total number of bags delivered in June by further matrix
multiplication.
SOLUTION
[]
A
(A) [A B C] B
C
[ ]
50 ×10 . 60+100 ×17 . 20+30 ×22 .5
= 60 ×10 .60+ 150× 17 .20+ 40 ×22 . 5
80 ×10 . 60+200 ×17 . 20+70 ×22 .5
[ ][ ]
50 10030 10 .60
= 60 150 40 × 17 .20
80 200 70 22 .50
15
[ ]
2925
= 4116
5863
[ ]
2925
∴ PQ = 4116
5863
[ ]
15 × 50+60 ×10+80 ×5
(B) = 100× 15+150 ×10+200 ×10
30 × 15+ 40 ×15+70 × 15
[ ]
50 10030
=[ 15 105 ] 60 150 40
80 200 70
[]
1
=[ 1750 4000 1200] 1
1
16
CONCLUSION
Matrices are very easy to add the data together, like we do with matrices in mathematics. Like in
some problems of our homework, matrices could be useful to figuring out things like price and
quantitative, like with the foods and prices in our homework. As we can see, there are many and
very useful ways matrices could be applied in our everyday lives and even in the future.
REFERENCE:-
17