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]
3 years ago
5

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

Mathematics
1 answer:
lana66690 [7]3 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
The president of the science club brought 134 juice boxes to take on a field trip. Each person on the trip received 3 juice boxe
Ilya [14]
If I not mistaken its 45
8 0
3 years ago
Read 2 more answers
Solve for all possible values of x.<br> Vx+7-11=2<br> Ox= 6<br> O x = 20<br> Ox= 162<br> Ox = 169
bixtya [17]
X=6. 6+7=13 13-11=2
8 0
3 years ago
Sherrie invested some money at 6% interest. Sherrie also invested $249 more than 4 times that amount at 12%. How much is investe
Anon25 [30]

Answer:

  • 6%: $1776
  • 12%: $7353

Step-by-step explanation:

Let x represent the amount invested at 6%. Then the amount invested at 12% is 4x+249. Sherrie's interest is ...

  0.06x +0.12(4x +249) = 988.92

  0.54x + 29.88 = 988.92

  0.54x = 959.04

  x = 959.04/0.54 = 1776

  4x+249 = 7353

__

Sherrie invested $1776 at 6% and $7353 at 12%.

4 0
3 years ago
There is 1/4 ounce of yeast in every 2 1/4 teaspoon of yeast. A recipe calls for 2 teaspoons of yeast. How many ounces of yeast
MrRissso [65]
1/4 ounce of yeast ... 2 1/4 teaspoons of yeast
x ounce of yeast = ? ... 2 teaspoons of yeast

If you would like to know how many ounces of yeast need to be in the recipe, you can calculate this using the following steps:

1/4 * 2 = x * 2 1/4
1/2 = x * 9/4     /*4/9
x = 1/2 * 4/9
x = 2/9

Result: 2/9 ounce of yeast needs to be in this recipe.
7 0
3 years ago
A different map has a scale of 1:50000
Deffense [45]

Answer:

8 Km

Step-by-step explanation:

16 x 50000 = 800,000 cm

800,000 cm = 8,000 m

8,000 m = 8 km

I hope this helps, if not sorry

6 0
3 years ago
Other questions:
  • Write an algebraic expression with the constant 7 and the variable y
    5·1 answer
  • Find the volume of the rectangular prism. {Unit 2 - Lesson 7}
    11·1 answer
  • HELP ME PLEASEEEE! !!
    5·1 answer
  • The figure shows two parallel lines cut by a transversal.
    7·2 answers
  • Please help me on this.
    10·1 answer
  • Kelly earns $23.00 for 4 hours of work. At that rate, how long would she have to work to earn $57.50?
    13·2 answers
  • Find the surface area of each pyramid round to the nearest tenth if necessary
    14·2 answers
  • Solv e pls brainliest
    13·1 answer
  • Solve the simultaneous equations x2 + y2 = 10 and x – 3y + 10 = 0.
    14·1 answer
  • Find the volume of this triangular prism.<br> 6 cm<br> 7 cm<br> 10 cm
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!