Classification Matrices execute measurements, for example, Log-Loss, Accuracy, AUC(Area under Curve), and so on. Another case of metric for assessment of AI calculations is exactness, review, which can be utilized for arranging calculations principally utilized via web indexes.
Please go through the slides. It is very interesting way to learn this chapter for 2020-21.If you like this PPT please put a thanks message in my number 9826371828.
This presentation describes Matrices and Determinants in detail including all the relevant definitions with examples, various concepts and the practice problems.
Please go through the slides. It is very interesting way to learn this chapter for 2020-21.If you like this PPT please put a thanks message in my number 9826371828.
This presentation describes Matrices and Determinants in detail including all the relevant definitions with examples, various concepts and the practice problems.
It contains the basics of matrix which includes matrix definition,types of matrices,operations on matrices,transpose of matrix,symmetric and skew symmetric matrix,invertible matrix,
application of matrix.
Matrices
CMSC 56 | Discrete Mathematical Structure for Computer Science
November 30, 2018
Instructor: Allyn Joy D. Calcaben
College of Arts & Sciences
University of the Philippines Visayas
MATRICES maths project.pptxsgdhdghdgf gr to f HR fpremkumar24914
Dfgvvvgggggggdcdfggsggshhdbdybfhfbfhbfbfhfbfhbfbfhfhfjfhfhhfhfhgththththhththththththhhfjfbrhhrbtht me for the information ℹ️ℹ️ and contact information ℹ️ℹ️ and grant you are you 💕💕💕 I don't have main roll no data for the same and the information about it and grant you are not coming to the parent or no data and contact information about the information of the elite year 2 years blood group of the elite year 2 years of the elite of nobody will give me when the parent is not 🚫 to come in detail and t be a consideration and grant you the parent or not feeling well as well as the elite of the parent iam in the parent iam in the parent iam not 🚭🚭 I will kick u in the shadow and the information about the information of the elite and the information of nobody in a sec and grant me a call 🤙🤙 and grant you are you still he is a consideration of my life 🧬🧬 I don't have main places to visit in the shadow of the elite year 2 years of life and the information about it but na vit d I don't have any other questions for you are not coming school year blood test 😔 😔 for jee mains ka I will be taking leave for the information of nobody will give you a sec i will be able and grant me a day or no data for the information about it but I don't have main places to be taking leave for jee to be able to be a sec i will confirm with you are not coming school year 2 days I will be able and grant you to talk to you and contact number of the parent is a consideration and the information about you to be taking the information of nobody will give me when I am in a sec to you and grant you to talk about the parent is not coming to talk about it and I am in a consideration of the day of life and grant me leave taken to talk to you sir and grant me a call 🤙 I am in a sec to you and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test and grant you are not coming school today my future is not coming to school today my future life and grant me leave taken to the parent or no data for the information of nobody will give me a sec to you sir and the parent iam waiting on the parent iam in detail and grant you are not coming school year 2 years blood test postion and contact information about the information of nobody is okay va va va va va for the information of your work and grant you the same and grant you the same and grant me a call me you will be able to attend a sec to you sir for your work is not coming school year blood test postion and grant you the same to talk to you sir for the same yyrty and grant you are not coming school year blood test postion for the same yyrty and grant you are not available for jee class
It contains the basics of matrix which includes matrix definition,types of matrices,operations on matrices,transpose of matrix,symmetric and skew symmetric matrix,invertible matrix,
application of matrix.
Matrices
CMSC 56 | Discrete Mathematical Structure for Computer Science
November 30, 2018
Instructor: Allyn Joy D. Calcaben
College of Arts & Sciences
University of the Philippines Visayas
MATRICES maths project.pptxsgdhdghdgf gr to f HR fpremkumar24914
Dfgvvvgggggggdcdfggsggshhdbdybfhfbfhbfbfhfbfhbfbfhfhfjfhfhhfhfhgththththhththththththhhfjfbrhhrbtht me for the information ℹ️ℹ️ and contact information ℹ️ℹ️ and grant you are you 💕💕💕 I don't have main roll no data for the same and the information about it and grant you are not coming to the parent or no data and contact information about the information of the elite year 2 years blood group of the elite year 2 years of the elite of nobody will give me when the parent is not 🚫 to come in detail and t be a consideration and grant you the parent or not feeling well as well as the elite of the parent iam in the parent iam in the parent iam not 🚭🚭 I will kick u in the shadow and the information about the information of the elite and the information of nobody in a sec and grant me a call 🤙🤙 and grant you are you still he is a consideration of my life 🧬🧬 I don't have main places to visit in the shadow of the elite year 2 years of life and the information about it but na vit d I don't have any other questions for you are not coming school year blood test 😔 😔 for jee mains ka I will be taking leave for the information of nobody will give you a sec i will be able and grant me a day or no data for the information about it but I don't have main places to be taking leave for jee to be able to be a sec i will confirm with you are not coming school year 2 days I will be able and grant you to talk to you and contact number of the parent is a consideration and the information about you to be taking the information of nobody will give me when I am in a sec to you and grant you to talk about the parent is not coming to talk about it and I am in a consideration of the day of life and grant me leave taken to talk to you sir and grant me a call 🤙 I am in a sec to you and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test postion and grant you are not coming school year blood test and grant you are not coming school today my future is not coming to school today my future life and grant me leave taken to the parent or no data for the information of nobody will give me a sec to you sir and the parent iam waiting on the parent iam in detail and grant you are not coming school year 2 years blood test postion and contact information about the information of nobody is okay va va va va va for the information of your work and grant you the same and grant you the same and grant me a call me you will be able to attend a sec to you sir for your work is not coming school year blood test postion and grant you the same to talk to you sir for the same yyrty and grant you are not coming school year blood test postion for the same yyrty and grant you are not available for jee class
For the following matrices, determine a cot of basis vectors for the.pdfeyebolloptics
For the following matrices, determine a cot of basis vectors for the null spaces the column
spaces. A = [3 2 -1 5] A = [2 1 -3 4 0 2 0 -2 8] Let P_n denote the set of all polynomial
functions of degree at most n Let a_o be a feed constant. Explain why H = [p(t) = a_0 + b_x| b
R} is not necessarily a vector subspace of P_x, Are there any values of a_o for which H will be a
subspace? If instead H = {p(t) = a + bt| a, b R}, (i.e., the constant term is allowed to vary over
all real numbers), show that H is a vector subspace of P_n.
Solution
Ans-
A matrix, in general sense, represents a
collection of information stored or arranged
in an orderly fashion. The mathematical
concept of a matrix refers to a set of numbers,
variables or functions ordered in rows and
columns. Such a set then can be defined as a
distinct entity, the matrix, and it can be
manipulated as a whole according to some
basic mathematical rules.
A matrix with 9 elements is shown below.
[
[[
[ ]
]]
]
=
==
=
aaa
=
==
=
253
A
131211
aaa
aaa
232221
333231
819
647
Matrix [A] has 3 rows and 3 columns. Each
element of matrix [A] can be referred to by its
row and column number. For example,
=
==
=a
23
6
A computer monitor with 800 horizontal
pixels and 600 vertical pixels can be viewed as
a matrix of 600 rows and 800 columns.
In order to create an image, each pixel is
filled with an appropriate colour.
ORDER OF A MATRIX
The order of a matrix is defined in terms of
its number of rows and columns.
Order of a matrix = No. of rows
×
××
×
No. of
columns
Matrix [A], therefore, is a matrix of order 3
×
××
×
3.
COLUMN MATRIX
A matrix with only one column is called a
column matrix or column vector.
ROW MATRIX
3
6
4
A matrix with only one row is called a row
matrix or row vector.
[
[[
[ ]
]]
]
653
SQUARE MATRIX
A matrix having the same number of rows
and columns is called a square matrix.
742
942
435
RECTANGULAR MATRIX
A matrix having unequal number of rows and
columns is called a rectangular matrix.
1735
13145
8292
REAL MATRIX
A matrix with all real elements is called a real
matrix
PRINCIPAL DIAGONAL and TRACE
OF A MATRIX
In a square matrix, the diagonal containing
the elements a
11
, a
22
, a
33
, a
44
, ……, a
is called
the principal or main diagonal.
The sum of all elements in the principal
diagonal is called the trace of the matrix.
The principal diagonal of the matrix
742
942
435
nn
is indicated by the dashed box. The trace of
the matrix is 2 + 3 + 9 = 14.
UNIT MATRIX
A square matrix in which all elements of the
principal diagonal are equal to 1 while all
other elements are zero is called the unit
matrix.
001
100
010
ZERO or NULL MATRIX
A matrix whose elements are all equal to zero
is called the null or zero matrix.
000
000
000
DIAGONAL MATRIX
If all elements except the elements of the
principal diagonal of a square matrix are
zero, the matrix is called a diagonal matrix.
002
900
030
RANK OF A MATRIX
The maximum number of linearly
independent rows of a matrix [A] is called
the rank of [A] and i.
In MATLAB, a vector is created by assigning the elements of the vector to a variable. This can be done in several ways depending on the source of the information.
—Enter an explicit list of elements
—Load matrices from external data files
—Using built-in functions
—Using own functions in M-files
This presentation educates you about top data science project ideas for Beginner, Intermediate and Advanced. the ideas such as Fake News Detection Using Python, Data Science Project on, Detecting Forest Fire, Detection of Road Lane Lines, Project on Sentimental Analysis, Speech Recognition, Developing Chatbots, Detection of Credit Card Fraud and Customer Segmentations etc:
For more topics stay tuned with Learnbay.
This presentation educate you about how to create table using Python MySQL with example syntax and Creating a table in MySQL using python.
For more topics stay tuned with Learnbay.
This presentation educates you about Python MySQL - Create Database and Creating a database in MySQL using python with sample program.
For more topics stay tuned with Learnbay.
This presentation educates you about Python MySQL - Database Connection, Python MySQL - Database Connection, Establishing connection with MySQL using python with sample program.
For more topics stay tuned with Learnbay.
This presentation educates you about Python MySQL, Python Database, What is mysql-connector-python?, How do I Install mysql-connector-python? and Installing mysql-connector-python with sample program.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Issues and the types of issue, AI - Terminology with its list of frequently used terms in the domain of AI.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Fuzzy Logic Systems and its Implementation, Why Fuzzy Logic?, Why Fuzzy Logic?, Membership Function, Example of a Fuzzy Logic System and its Algorithm.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Working of ANNs, Machine Learning in ANNs, Back Propagation Algorithm, Bayesian Networks (BN), Building a Bayesian Network and Gather Relevant Information of Problem.
For more topics stay tuned with Learnbay.
This presentation educates you about AI- Neural Networks, Basic Structure of ANNs with a sample of ANN and Types of Artificial Neural Networks are Feedforward and Feedback.
For more topics stay tuned with Learnbay.
This presentation educates you about Artificial Intelligence - Robotics, What is Robotics?, Difference in Robot System and Other AI Program, Robot Locomotion, Components of a Robot and Applications of Robotics.
For more topics stay tuned with Learnbay.
This presentation educates you about Applications of Expert System, Expert System Technology, Development of Expert Systems: General Steps and Benefits of Expert Systems.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Components and Acquisition of Expert Systems and those are Knowledge Base, Knowledge Base and User Interface, AI - Expert Systems Limitation.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Expert Systems, Characteristics of Expert Systems, Capabilities of Expert Systems and Components of Expert Systems.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Natural Language Processing, Components of NLP (NLU and NLG), Difficulties in NLU and NLP Terminology and steps of NLP.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Popular Search Algorithms, Single Agent Pathfinding Problems, Search Terminology, Brute-Force Search Strategies, Breadth-First Search and Depth-First Search with example chart.
For more topics stay tuned with Learnbay.
This presentation educates you about AI - Agents & Environments, Agent Terminology, Rationality, What is Ideal Rational Agent?, The Structure of Intelligent Agents and Properties of Environment.
For more topics stay tuned with Learnbay.
This presentation educates you about Artificial Intelligence - Research Areas, Speech and Voice Recognition., Working of Speech and Voice Recognition Systems and Real Life Applications of Research Areas.
For more topics stay tuned with Learnbay.
This presentation educates you about Artificial intelligence composed and those are Reasoning, Learning, Problem Solving, Perception and Linguistic Intelligence.
For more topics stay tuned with Learnbay.
This presentation educates you about Artificial Intelligence - Intelligent Systems, Types of Intelligence, Linguistic intelligence, Musical intelligence, Logical-mathematical intelligence, Spatial intelligence, Bodily-Kinesthetic intelligence, Intra-personal intelligence and Interpersonal intelligence.
For more topics stay tuned with Learnbay.
This presentation educates you about Applications of Artificial Intelligence such as Intelligent Robots, Handwriting Recognition, Speech Recognition, Vision Systems and so more.
For more topics stay tuned with Learnbay.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
The Indian economy is classified into different sectors to simplify the analysis and understanding of economic activities. For Class 10, it's essential to grasp the sectors of the Indian economy, understand their characteristics, and recognize their importance. This guide will provide detailed notes on the Sectors of the Indian Economy Class 10, using specific long-tail keywords to enhance comprehension.
For more information, visit-www.vavaclasses.com
How to Create Map Views in the Odoo 17 ERPCeline George
The map views are useful for providing a geographical representation of data. They allow users to visualize and analyze the data in a more intuitive manner.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
What is the purpose of the Sabbath Law in the Torah. It is interesting to compare how the context of the law shifts from Exodus to Deuteronomy. Who gets to rest, and why?
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
2. Matrices - Introduction
Matrix algebra has at least two advantages:
•Reduces complicated systems of equations to simple
expressions
•Adaptable to systematic method of mathematical treatment
and well suited to computers
Definition:
A matrix is a set or group of numbers arranged in a squareor
rectangular array enclosed by two brackets
[1 -1]
ë
ê-3 û ë û0ú êc dú
é 4 2ù éa bù
Visit: Learnbay.co
3. Matrices - Introduction
Properties:
•A specified number of rows and a specified numberof
columns
•Two numbers (rows x columns) describe the dimensions
or size of the matrix.
Examples:
3x3 matrix
2x4 matrix
1x2 matrix
ú
úû
ê
êë
5úê4
é1 2 4ù
-1
3 3 3 ûë 2 úê0
é1 1 3 -3ù
0 3
[1 -1]
Visit: Learnbay.co
4. Matrices - Introduction
A matrix is denoted by a bold capital letter and theelements
within the matrix are denoted by lower case letters
e.g. matrix [A] with elements aij
ú
úê
êë mn úûa aa
êa m2m1
éa11
êa21
! ú
aij ain ù
aij a2n ú
!
ij
a12...
a22...
!ê !
i goes from 1 to m
j goes from 1 to n
mxnA =
mAn
Visit: Learnbay.co
5. Matrices - Introduction
TYPES OF MATRICES
1. Column matrix or vector:
The number of rows may be any integer but the number of
columns is always 1
ê ú
êë2úû
ê4ú
ë û
ê-3ú
é 1 ù
êë
ê ú
am1úû
êa21
é1ù éa11
ù
ú
ê ú
!
Visit: Learnbay.co
6. Matrices - Introduction
TYPES OF MATRICES
2. Row matrix or vector
Any number of columns but only one row
[0 3 5 2]
a1n ]
[1 1 6]
a12[a11
a13 !
Visit: Learnbay.co
7. Matrices - Introduction
TYPES OF MATRICES
3. Rectangular matrix
Contains more than one element and number of rows is not
equal to the number of columns
ûë 6 úê7
ú
-7ú
ê
ê7
ê3 7 ú
é1 1 ù
ûë 0úê2
é1 1 1 0 0ù
0 3 3
m ¹ n Visit: Learnbay.co
8. Matrices - Introduction
TYPES OF MATRICES
4. Square matrix
The number of rows is equal to the number of columns
A has an order of m)
ë3 0û
(a square matrix
é1 1ù
ê ú ú
1úû
ê
êë6
0úê9
é1 1 1ù
9
6
m x m
The principal or main diagonal of a square matrix is composed of all
elements aij for which i=j
Visit: Learnbay.co
9. Matrices - Introduction
TYPES OF MATRICES
5. Diagonal matrix
A square matrix where all the elements are zero except thoseon
the main diagonal
ú
1úû
ê
êë0
0úê0
é1 0 0ù
2
0 ûë 9úê0
ú
0ú
ê
ê0
0úê0
é3 0 0 0ù
3 0
0 5
0 0
i.e. aij =0 for all i =j
aij = 0 for some or all i =j
Visit: Learnbay.co
10. Matrices - Introduction
TYPES OF MATRICES
6. Unit or Identity matrix - I
A diagonal matrix with ones on the maindiagonal
ë û1úê0
ú
0ú
ê
ê0
0úê0
é1 0 0 0ù
1 0
0 1
0 0
ë0 1û
é1 0ù
ê ú
i.e. aij =0 for all i =j
aij = 1 for some or all i =j
ê
ij
aij ûë 0
éa 0 ù
ú
Visit: Learnbay.co
11. Matrices - Introduction
TYPES OF MATRICES
7. Null (zero) matrix - 0
All elements in the matrix are zero
ê ú
êë0úû
ê0ú
é0ù
ú
0úû
ê
êë0
0úê0
é0 0 0ù
0
0
aij = 0 For all i,j
Visit: Learnbay.co
12. Matrices - Introduction
TYPES OF MATRICES
8. Triangular matrix
A square matrix whose elements above or below the main
diagonal are all zero
ú
3úû
ê
êë5
0úê2
é1 0 0ù
1
2
ê
êë5
ê2 ú
3úû
6ú0ú ê0
é1 0 0ù é1 8 9ù
1 ú ê 1
2 3úû êë0 0
Visit: Learnbay.co
13. Matrices - Introduction
TYPES OF MATRICES
8a. Upper triangular matrix
A square matrix whose elements below the main
diagonal are all zero
i.e. aij = 0 for all i >j
ù
ú
3úû
ê
êë0
8úê0
1 8 7
1
0
ûë 3úê0
ú
8ú
ê
ê0
4úê0
é1 7 4 4ù
1 7
0 7
0 0
ê
ë ij û
ij ij ij
ú
é
a ú
aéa a ù
aij aij ú
0ê 0
ê 0
Visit: Learnbay.co
14. Matrices - Introduction
TYPES OF MATRICES
8b. Lower triangular matrix
A square matrix whose elements above the main diagonal are all
zero
i.e. aij = 0 for all i <j
ú
3úû
ê
êë5
0úê2
é1 0 0ù
1
2
ê ijij ú
êëaij aij aij
úû
a
êa
éaij
0 ú
0 ù0
Visit: Learnbay.co
15. Matrices – Introduction
TYPES OF MATRICES
9. Scalar matrix
A diagonal matrix whose main diagonal elements are
equal to the same scalar
A scalar is defined as a single number or constant
ú
1úû
ê
êë0
0úê0
0 0ù
1
0
ûë 6úê0
0ú
0ú
ê0
ê0
é6 0 0 0ù
ê 6 0 ú
0 6
0 0i.e. a = 0 for all i = jij
aij = a for all i =j
ij ú
aij
úû
a
éaij
0
ê
êë0
0 úê 0
0 ù0 é1
Visit: Learnbay.co
17. Matrices - Operations
EQUALITY OFMATRICES
Two matrices are said to be equal only when all
corresponding elements are equal
Therefore their size or dimensions are equal as well
ú
3úû
ê
êë5
ê2 ú
3úû
ê
êë5
0ú0ú ê2
é1 0 0ù é1 0 0ù
1 1
2 2
A = B = A = B
Visit: Learnbay.co
18. Matrices - Operations
Some properties of equality:
•If A = B, then B = A for all A and B
•If A = B, and B = C, then A = C for all A, B andC
ú
3úû
ê
êë5
0úê2
é1 0 0ù
1
2
A = B =
ê 21 23ú
b33úûêëb31
b úb b
éb11 b12 b13 ù
ê
22
b32
If A = B then aij = bij Visit: Learnbay.co
19. Matrices - Operations
ADDITION AND SUBTRACTION OF MATRICES
The sum or difference of two matrices, A and B of the same
size yields a matrix C of the same size
+ bijcij = aij
Matrices of different sizes cannot be added or subtracted
Visit: Learnbay.co
20. Matrices - Operations
Commutative Law:
A + B = B + A
Associative Law:
A + (B + C) = (A + B) + C = A + B +C
ûû ëû ëë 9úê- 23ú
5 6ù é 8 8 5ù
ê- 4 - 2
=
-76 úê2
é7 3 -1ù
+
é 1
-5
A
2x3
B
2x3
C
2x3 Visit: Learnbay.co
21. Matrices - Operations
A + 0 = 0 + A = A
A + (-A) = 0 (where –A is the matrix composed of –aij as elements)
ûû ëû ëë -1ú8ú ê27ú ê1ê3
é6 4 2ù
-
é1 2 0ù
=
é5 2 2 ù
2 0 2
Visit: Learnbay.co
22. Matrices - Operations
SCALAR MULTIPLICATION OF MATRICES
Matrices can be multiplied by a scalar (constant or single
element)
Let k be a scalar quantity; then
kA =Ak
Ex. If k=4 and
ë û1 úê4
ú
-3úê2
é3 -1ù
ê2 1 ú
A=ê
Visit: Learnbay.co
23. Matrices - Operations
úê
ú=ê
ë û ë û
é12 -4ù
ú´4=ê ú
-3ú ê8 -12ú
ë16 4 û
ê2
1 ú ê8 4 ú
é3 -1ù
ê4 1 ú ê4 1 ú
-3úê2
é3 -1ù
ê2 1 ú ê2
4´ê
Properties:
• k (A + B) = kA + kB
• (k + g)A = kA + gA
• k(AB) = (kA)B = A(k)B
• k(gA) = (kg)A
Visit: Learnbay.co
24. Matrices - Operations
MULTIPLICATION OF MATRICES
The product of two matrices is another matrix
Two matrices A and B must be conformable for multiplication to
be possible
i.e. the number of columns of A must equal the number of rows
of B
Example.
A x B = C
(1x3) (3x1) (1x1)
Visit: Learnbay.co
25. Matrices - Operations
B x A = Not possible!
(2x1) (4x2)
= Not possible!A x B
(6x2) (6x3)
Example
A x B
(2x3) (3x2)
= C
(2x2)
Visit: Learnbay.co
26. Matrices - Operations
ú
ùú =úê
ë 21 22 û
1211
ë 32 û31
21
ë 21 22 23 û
131211
cêc
éc c
ê b úb
bêb
ù
éb11 b12 ù
22 úa aêa
éa a a
(a11 ´ b11) + (a12 ´ b21) + (a13 ´ b31) = c11
(a11 ´ b12) + (a12 ´ b22) + (a13 ´ b32) = c12
(a21 ´ b11) + (a22 ´ b21) + (a23 ´ b31) = c21
(a21 ´b12) + (a22 ´b22) + (a23 ´b32) = c22
Successive multiplication of row i of A with column j of
B – row by column multiplication
Visit: Learnbay.co
28. Matrices - Operations
Assuming that matrices A, B and C are conformable for
the operations indicated, the following are true:
1. AI = IA = A
2. A(BC) = (AB)C = ABC - (associative law)
3. A(B+C) = AB + AC - (first distributive law)
4. (A+B)C = AC + BC - (second distributive law)
Caution!
1. AB not generally equal to BA, BA may not be conformable
2. If AB = 0, neither A nor B necessarily = 0
3. If AB = AC, B not necessarily = C
Visit: Learnbay.co
29. Matrices - Operations
AB not generally equal to BA, BA may not be conformable
ûë ûë û ë 0úê10
û
2ù
=
é23 6ù
ê0 2úê5 0ú
ë ûë û ë
4ùé1
ê15 20úê5 0úê0 2ú
ë û
2ùé3 4ù
=
é 3 8 ù
ê0 2ú
ë û
4ù
ê5 0ú
2ù
ST =
é3
TS =
é1
S =
é3
T =
é1
Visit: Learnbay.co
30. Matrices - Operations
û ë ûë ûë0úê- 2 -3úê0 ê0 0ú
If AB = 0, neither A nor B necessarily = 0
é1 1ùé 2 3 ù
=
é0 0ù
Visit: Learnbay.co
31. Matrices - Operations
TRANSPOSE OF AMATRIX
If :
ë û
é
1úê5
2 4 7ù
3
3
2
A= A =
2x3
ê ú
êë7 1úû
3ú3
2
TT
A = ê4A =
Then transpose of A, denoted ATis:
é2 5ù
jiija = aT
For all i and j
Visit: Learnbay.co
32. Matrices - Operations
To transpose:
Interchange rows and columns
The dimensions of AT are the reverse of the dimensions ofA
ûë
é
1úê5
2 4 7ù
3
3
2A= A =
ê ú
êë7 1úû
2
3
é2 5ù
T ê 3úT
A = 4A =
2 x 3
3 x 2
Visit: Learnbay.co
33. Matrices - Operations
Properties of transposed matrices:
1. (A+B)T = AT + BT
2. (AB)T = BT AT
3. (kA)T = kAT
4. (AT)T = A
Visit: Learnbay.co
36. Matrices - Operations
SYMMETRIC MATRICES
A Square matrix is symmetric if it is equal to its
transpose:
A = AT
ë û
êb dú
ë û
=
éa bù
êb dú
bù
A =
éa
AT
Visit: Learnbay.co
37. Matrices - Operations
When the original matrix is square, transposition does not
affect the elements of the main diagonal
ë û
êb dú
ë û
=
éa cù
êc dú
bù
A =
éa
AT
The identity matrix, I, a diagonal matrix D, and a scalar matrix, K,
are equal to their transpose since the diagonal is unaffected.
Visit: Learnbay.co
38. Matrices - Operations
INVERSE OF AMATRIX
Consider a scalar k. The inverse is the reciprocal or division of 1
by the scalar.
Example:
k=7 the inverse of k or k-1 = 1/k =1/7
Division of matrices is not defined since there may be AB = AC
while B = C
Instead matrix inversion is used.
The inverse of a square matrix, A, if it exists, is the unique matrix
A-1 where:
AA-1 = A-1 A =I
Visit: Learnbay.co
39. Matrices - Operations
Example:
û
é
3 úê- 2
ë û
-1ù
ê2 1ú
3 1ù2
2
A-1
=
é 1
A= A =
û ë ûë ûë 3 ú ê0 1ú
-1ù
=
é1
1úê- 2ê2
ë ûë û ë û
é3 1ùé 1 0ù
1ú = ê0 1ú3 úê2ê- 2
ë
é 1 -1ùé3 1ù é1 0ù
Because:
Visit: Learnbay.co
40. Matrices - Operations
Properties of the inverse:
( AB)-1
= B-1
A-1
( A-1
)-1
= A
( AT
)-1
= (A-1
)T
(kA)-1
=
1
A-1
k
A square matrix that has an inverse is called a nonsingularmatrix
A matrix that does not have an inverse is called a singular matrix
Square matrices have inverses except when the determinant is zero
When the determinant of a matrix is zero the matrix is singular Visit: Learnbay.co
41. Matrices - Operations
DETERMINANT OF AMATRIX
To compute the inverse of a matrix, the determinant is required
Each square matrix A has a unit scalar value called the
determinant of A, denoted by det A or |A|
2
6 5
2ù
ê6 5ú
ë û
A =
1
A =
é1
If
then
Visit: Learnbay.co
42. Matrices - Operations
If A = [A] is a single element (1x1), then the determinant is
defined as the value of the element
Then |A| =det A = a11
If A is (n x n), its determinant may be defined in terms of order
(n-1) or less.
Visit: Learnbay.co
43. Matrices - Operations
MINORS
If A is an n x n matrix and one row and one column are deleted,
the resulting matrix is an (n-1) x (n-1) submatrix of A.
The determinant of such a submatrix is called a minor of A and
is designated by mij , where i and j correspond to thedeleted
row and column, respectively.
mij is the minor of the element aij inA.
Visit: Learnbay.co
44. Matrices - Operations
ú
ê 21 22 23 ú
éa11 a12 a13 ù
A = êa a a
êëa31 a32 a33 úû
Each element in A has a minor
Delete first row and column from A .
The determinant of the remaining 2 x 2 submatrix is the minor
of a11
eg.
32
11
a a
m =
a22 a23
33 Visit: Learnbay.co
45. Matrices - Operations
Therefore the minor of a12 is:
And the minor for a13 is:
31
12
a a
m =
a21 a23
33
31
13
a a
m =
a21 a22
32
Visit: Learnbay.co
46. Matrices - Operations
COFACTORS
The cofactor Cij of an element aij is definedas:
C = (-1)i+ j
m
ij ij
When the sum of a row number i and column j is even, cij = mij and
when i+j is odd, cij =-mij
c (i = 1, j =1) = (-1)1+1
m = +m
11 11 11
c (i = 1, j = 2) = (-1)1+2
m = -m
12 12 12
c (i = 1, j = 3) =(-1)1+3
m = +m
13 13 13
Visit: Learnbay.co
47. Matrices - Operations
DETERMINANTS CONTINUED
The determinant of an n x n matrix A can now be defined as
A = det A = a11c11 + a12c12 +"+ a1nc1n
The determinant of A is therefore the sum of the products of the
elements of the first row of A and their corresponding cofactors.
(It is possible to define |A| in terms of any other row or column
but for simplicity, the first row only is used)
Visit: Learnbay.co
48. Matrices - Operations
Therefore the 2 x 2 matrix :
ú
ë 21 22 ûaêa
a12 ù
A =
éa11
= a22
Has cofactors :
c11 = m11 = a22
And:
2121c12 = -m12 =- a = -a
And the determinant of A is:
-a12 a21A = a11c11 + a12c12 = a11a22
Visit: Learnbay.co
50. Matrices - Operations
For a 3 x 3 matrix:
ú
ê 21 22 23 ú
éa11 a12 a13 ù
A = êa a a
êëa31 a32 a33 úû
The cofactors of the first row are:
22 3121 32
31
13
31
12
23 3222 33
32
11
a a
c
a a
c
a a
c
= a a - a a=
a21 a22
32
= -(a21a33 - a23a31)= -
a21 a23
33
= a a - a a=
a22 a23
33
Visit: Learnbay.co
51. Matrices - Operations
The determinant of a matrix Ais:
A = a11c11 + a12c12 = a11a22 - a12a21
Which by substituting for the cofactors in this case is:
-a22a31)- a23a32 ) - a12 (a21a33 - a23a31) + a13(a21a32A =a11 (a22 a33
Visit: Learnbay.co
52. Matrices - Operations
Example 2:
ú
1úû
3ú
é 1 0 1ù
A = ê 0 2
ê
êë-1 0
A = (1)(2- 0) - (0)(0+ 3)+ (1)(0+ 2) = 4
-a22a31)- a23a31) + a13(a21a32- a23a32 ) - a12 (a21a33A =a11 (a22 a33
Visit: Learnbay.co