You are on page 1of 7

JUNE 8, 2021

REPORT-ASSIGNMENT-1
MATH-314-CS

USAMA-RAHEEM-002 🍁
19-A-19011519-002
University of Gujrat- Hafiz Hayat Campus- Gujrat
Report Assignment
Linear Algebra
BS Computer Science, University of Gujrat.
Due Date: 8 June 2021

Name: Usama Raheem


Roll No: 19011519-002
Topic Title: Matrices and matrix Multiplication

Introduction
This report holds the Multiple-choice questions that is assigned by Dr.M Usman
Ali dated May 25th 2021. The multiple-choice questions are as follows

1. A Matrix is defined as a rectangular array of numbers. The


numbers in the array in the matrix is called?
A. Entries
B. Row
C. Column
D. Rectangular matrix
ANSWER: A

2. If A, B and C are matrices and K is an Integer then which one is


right distributive matrix multiplication?
A. A(BC) = (AB)C
B. A(B+C) = AB + AC
C.(A+B) C = AC + BC
D. None of these
ANSWER: C

3. Consider a matrix [1,3; 2,6]. This matrix is invertible or not?


A. Invertible
B. Not Invertible
C. wrong matrix
D. None of these
ANSWER: B

4. In terms of Square Matrix, which option do you think is correct?


A. Left 𝐴−1 and Right 𝐴−1 are same
B. Left 𝐴−1 and Right 𝐴−1 are not same
C. Only Right 𝐴−1 is same
D. None of the above
ANSWER: A

1
5. Suppose we have three vectors in ℝ𝟑 . What is the Linear
Combination of the given vectors?
U =[1, -1, 0], v =[0, 1, -1], w =[0, 0, 1]

A. c[1,-1,0]+ d[0,1,-1]+ e[0,0,1] = [c, d-c, e+d]


B. c[1,-1,0]- d[0,1,-1]+ e[0,0,1] = [c, d+c, e-d]
C. c[1,-1,0]+ d[0,1,-1]- e[0,0,1] = [c, d+c, e+d]
D. c[1,-1,0]+ d[0,1,-1]+ e[0,0,1] = [c, d-c, e-d]
Answer: D

6. Identify the correct Block Multiplication method from given


options.
A. AB = Sum of (Column of A) – (Row of B)
B. AB = Sum of (Column of A) + (Row of B)
C. AB = Sum of (Column of A) * (Row of B)
D. None of the above
Answer: C

7. What is the Co-factor of given vector at 𝑨𝟏𝟐 , Vector is A= [2,3,1;


1,1,2; 0,5,6]?
A. 7
B. 6
C. -6
D. none of these
Answer: C

8. Which rule from ordinary multiplication that is usually not true


for matrix multiplication?
A. AB not equal to BA
B. AB equal to BA
C. BA not Equal to AB
D. BA equal to AB
Answer: A

9. Let [-5,2; 0,1], What is the Value of 10A?


A. [50, 20; 0, 10]
B. [-50, 20; 0, 10]
C. [-20, -50; 0, 10]
D. [-20, 20; 0, 10]
Answer: B

2
10. Matrices of different sizes cannot be?
A. Added
B. Subtracted
C. Added or Subtracted
D. None of these
Answer: C

11. Choose the correct answer. when we can take powers of


matrices?
A. Only if they’re square.
B. Only if they’re rectangular
C. Only if they’re diagonal
D. we can’t take power of matrices
Answer: A

Usama-Raheem_Matrices and Matrix Multiplication_19011519-002.txt


1. A Matrix is defined as a rectangular array of numbers. The numbers in the
array in the matrix is called? {

=Entries
~Row
~Column
~Rectangular matrix

#Generally, matrix is a way to organize data in row and columns. A matrix is


written in brackets, and each item in matrix called its entry
}

2. If A, B and C are matrices and K is an Integer then which one is right


distributive matrix multiplication? {

~A(BC) = (AB)C
~A(B+C) = AB + AC
=(A+B) C = AC + BC
~None of these

#Associative: A(BC) = (AB)C


Left Distributive: A(B+C) = AB + BC
Right Distributive:(A+B)C = AC + BC
Associative with Scalar Multiplication: K(AB) = (KA)B = A(kB)
}

3. Consider a matrix [1,3; 2,6]. This matrix is invertible or not?{


~Invertible
=Not Invertible
~wrong matrix
~None of these

3
# The given matrix A does not have an inverse because we know that:
The determinant is zero
And both the columns of A lie on the same line, it is not possible to get
a combination of [1;0] columns which is required for identity matrix
i.e., A*P != I where P is inverse
}

4. In terms of Square Matrix, which option do you think is correct?{

=Left 𝐴−1 and Right 𝐴−1 are same


~Left 𝐴−1 and Right 𝐴−1 are not same
~Only Right 𝐴−1 is same
~None of the above

#𝐴−1 𝐴 = 𝐼 = 𝐴𝐴−1 . If 𝐴−1 is exits, it is invertible, nonsingular.


}

5. Suppose we have three vectors in ℝ3 . What is the Linear Combination of


the given vectors? {

U = [1, -1, 0], v = [0, 1, -1], w = [0, 0, 1]

~c[1,-1,0]+ d[0,1,-1]+ e[0,0,1] = [c, d-c, e+d]


~c[1,-1,0]- d[0,1,-1]+ e[0,0,1] = [c, d+c, e-d]
~c[1,-1,0]+ d[0,1,-1]- e[0,0,1] = [c, d+c, e+d]
=c[1,-1,0]+ d[0,1,-1]+ e[0,0,1] = [c, d-c, e-d]

#). Last option is the right answer and is the linear combination, let’s
have an example to understand it?

C=1, d=4, e=9?

1[1, -1, 0] +4[0, 1, -1] +9[0, 0, 1] = [1, 3, 5]

6. Identify the correct Block Multiplication method from given option.{

~AB = Sum of (Column of A) – (Row of B)


~AB = Sum of (Column of A) + (Row of B)
=AB = Sum of (Column of A) * (Row of B)
~None of the above

# As we already taught by Dr. M Usman Ali about different Matrix


multiplication methods. This is the 4rth way of multiplying the matrices
that we’ve studies, below I gave an example of this method of multiplication.

4rth way = AB = Sum of (Column of A) * (Row of B)

[2,7; 3,8; 4,9][1,0; 0,0] = [2; 3; 4][1,6]+[7; 8; 9][0,0]}

4
7. What is the Co-factor of given vector at 𝐴12 , Vector is A= [2,3,1; 1,1,2;
0,5,6]? {

~7
~6
=-6
~none of these

#𝐴12 , means 1st Row [ 2,3,1] and 2nd column [3; 1; 5] from the given vector is
not considered and we calculate [1, 2; 0, 6] by cross multiplication and
found our desire answer.
}

8. Which rule from ordinary multiplication that is usually not true for matrix
multiplication? {

=AB not equal to BA


~AB equal to BA
~BA not Equal to AB
~BA equal to AB

#: AS we discussed in Class, when we can switch the order of A and B in an


equation like the one above right answer, we can say that the operation is
commutative. And we already know that, in general, matrix multiplication does
not commute.

9. Let [-5,2; 0,1], What is the Value of 10A? {

~[50, 20; 0, 10]


=[-50, 20; 0, 10]
~[-20, -50; 0, 10]
~[-20, 20; 0, 10]

# In this question, we simply multiply 10 with the value of 10 and simply


got the answer.
}

10. Matrices of different sizes cannot be? {


~Added
~Subtracted
=Added or Subtracted
~None of these

5
#1. (𝐴 + 𝐵)𝑖𝑗 = (𝐴)ⅈ𝑗 + ( 𝐵)ⅈ𝑗 = (𝑎)𝑖𝑗̇ + (𝑏)𝑖𝑗̇
2. (𝐴 − 𝐵)𝑖𝑗 = (𝐴)ⅈ𝑗 − ( 𝐵)ⅈ𝑗 = (𝑎)𝑖𝑗̇ − (𝑏)𝑖𝑗̇
}

11. Choose the correct answer. when we can take powers of matrices? {

=Only if they’re square.


~Only if they’re rectangular
~Only if they’re diagonal
~we can’t take power of matrices

# As we have discussed in class that, If A is a square matrix, then A• A is


well-defined. If A is not square then A.A doesn’t work for matrix
multiplication. The general rules for exponents, namely 𝐴𝑝 𝐴𝑞 = 𝐴𝑝+𝑞 and
𝑝 𝑞 𝑝𝑞
(𝐴 ) = 𝐴 still apply. Hence the right answer is option a.
}

You might also like