1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
liberstina [14]
2 years ago
5

[ MATLAB] Check some linear algebra rules: Enter the following matrices:

Mathematics
1 answer:
lana66690 [7]2 years ago
3 0

Answer:

Step by step explanation along with Matlab code and output is provided below.

Step-by-step explanation:

We are given three matrices A, B, and C of size 2x2

A = [0 1; 0 0]

B =[1 2; -3 -6]

C =[4 -2; -2 1]

Output:

A =  0     1

     0     0

B =  1     2

    -3    -6

C =   4    -2

    -2     1

Let us first check if the given matrices A, B, and C are singular or not

% the Matlab function det( ) calculates the determinant of a matrix

det_A=det(A)

det_B=det(B)

det_C=det(C)

Output:

det_A =  0

det_B =  3.3307e-16  (its practically zero)

det_C =  0

So the given matrices are singular which means that the determinant of the matrix is zero so inverse of these matrices is not possible.

Rule I:

a1=B*C

Output:

a1 =  0     0

      0     0

In Matrix theory, if BC=0 then B=0 or C=0 doesn't hold true

For matrices B*C=0 does not imply that either B or C is zero matrix but rather it implies that at least one of them is singular. In this case we know that both B and C are singular matrices therefore, BC=0  

Rule II:

a2=A^2

Output:

a2=  0     0

      0     0

In Matrix theory, if A^2=0 then A=0 doesn't hold true

For matrices A^2=0 does not imply that A is zero matrix but rather it implies that A is singular. We already know that A is singular therefore, A^2=0

Rule III:

a3_L=(A+B)^2

a3_R=A^2+2*A*B+B^2

Output:

a3_L =    -8   -15

            15    27

a3_R =   -11   -22

             15    30

In Matrix theory, (A + B)^2 = A^2 + 2AB + B^2 doesn't hold true.

(A + B)^2 = A^2 + 2AB + B^2 might hold true if AB = BA,  but generally, AB≠BA in matrix algebra.

Rule IV:  

a4_L=(A-B)*(A+B)

a4_R=A^2-B^2

Output:

a4_L =     2     3

            -15   -27

a4_R =    5    10

            -15   -30

In Matrix theory, (A-B)(A+B)  = A^2-B^2  doesn't hold true.

Rule V:    

a5_L=A*(B+C)

a5_R=A*B+A*C

Output:

a5_L =    -5    -5

              0     0

a5_R =   -5    -5

              0     0

In Matrix theory, A(B+C) =  AB+AC  holds true.

Rule VI:    

a6_L=A*(B+C)

a6_R=B*A+C*A

Output:

a6_L =    -5    -5

              0     0

a6_R =    0     5

              0    -5

In Matrix theory, A(B+C) =  BA+CA  doesn't hold true.

on a side note;  (B+C)A =  BA+CA holds true

Rule VII:  

a7_L=(A*B)^2

a7_R=A^2*B^2

Output:

a7_L =     9    18

              0     0

a7_R =     0     0

              0     0

In Matrix theory, (AB)^2  =A^2*B^2   doesn't hold true.

(AB)^2  =A^2*B^2   might hold true if and only if  BA=AB  which is not true in general.  

You might be interested in
What is the ratio of the corresponding side lengths?<br> 4:9<br> 4:2<br> 26:26<br> 4.5:2
Evgen [1.6K]

Answer:

4:2

Step-by-step explanation:

8 0
3 years ago
Read 2 more answers
A nature center offers 2 guided walks. The morning walk is two-third mile. The evening walk is three-sixths mile. Which walk is
MArishka [77]

Answer:

Evening walk is shorter.  

Step-by-step explanation:

We have been given that a nature center offers 2 guided walks. The morning walk is two-third mile. The evening walk is three-sixths mile. We are asked to find the shorter walk.

Let us compare both fractions by making the same denominator.

\text{Two-thirds}=\frac{2}{3}

\text{Two-thirds}=\frac{2\times2}{3\times2}

\text{Two-thirds}=\frac{4}{6}

\text{Three-sixth}=\frac{3}{6}

Upon making common denominator, we can see that two-thirds are equal to four sixths.

Since three-sixths is less than four-sixths, therefore, evening walk is shorter.

We will draw two rectangles, one with 6 sub-parts and other with three sub-parts.

We will shade 2 parts out of 3 sub-parts to represent 2/3 and shade 3 parts out of 6 sub-parts to represent 3/6.

Then we will further divide three sub-parts into 6 sub-parts as shown in the diagram that will represent 4/6.

5 0
3 years ago
According to the property √a/√b= √a/√b, which choice is equivalent to the quotient below?
garik1379 [7]

Answer:

B

Step-by-step explanation:

\frac{\sqrt{125} }{\sqrt{5}} =\frac{\sqrt{25.5} }{\sqrt{5} } =\frac{5\sqrt{5} }{\sqrt{5} } =5

If you don't understand, you can ask.

4 0
3 years ago
CAN SOMEONE HELP ME WITH THIS, PLEASE AND THANK YOU.
Orlov [11]

Answer:9 6/20

Step-by-step explanation:

add numerator and find lcf on denominator add whole number

7 0
3 years ago
Read 2 more answers
The volume of a triangular prism is 264 cubic feet. The area of a base of the prism is 48 square feet. Find the height of the pr
Molodets [167]
Height=5.5ft  , because the cubic feet of the prisim divded by the square feet of 48 is 5.5 feet
7 0
3 years ago
Other questions:
  • What is the perimeter of a 81cm^2 area?
    5·1 answer
  • How can i determine the unit rate from a graph?
    9·1 answer
  • Matt finds a recipe to create play dough that requires 3 cups of flour and 14 cup of salt.
    8·1 answer
  • PLEASSSEEEE HELLLPPP!!!!!!!!!!!!!!!!!!!! I'M DESPRITE!!!!!!!!!
    8·2 answers
  • 4. Celia is making biscuits. Her recipe calls for 1/3 cup of flour, but
    15·2 answers
  • Hideki buys 2 sweaters for $18 each. He can use one of the following coupons:
    5·2 answers
  • An F5 tornado is classified as having mean wind speeds greater than 261 mph. In an effort to classify a recent tornado, 20 wind
    6·1 answer
  • provisions for 630 men to last for 25 days. How many men must be transferred to another camp so that the food lasts for 30 days?
    12·1 answer
  • Can someone please help me with this one? Tysm!!
    5·2 answers
  • What is the value of this expression?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!