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
If 50% is 10 what is 25%​
kaheart [24]

Step-by-step explanation:. The first says “I know that 10 is one-tenth of 100. I will therefore divide 50 by 10. The answer is 5”.

This is fine when the numbers are relatively simple. But suppose the numbers are more complicated.

What is 22% of 46?

Now it’s much less straightforward. You can’t just work out what 22% is, expressed as a fraction, and anyway, it’s not a simple fraction.

Instead, you have to divide 46 into 100 equal parts, and work out what 22 of them would be when added together.

So: 46 ÷ 100 = 0.46 [remember, when you divide by 100, you move the decimal point two places to the left].

0.46 × 22 = 10.12

Answer: 22% of 46 is 10.12.

Hope this helped :)

8 0
3 years ago
Find the area of the shaded region. Round your answer to the nearest tenth.
spayn [35]

You need to include the Image

3 0
3 years ago
3 years ago, the residents of Planet X found a black hole leading to another galaxy. Since then, they have been leaving Planet X
Llana [10]

Answer:

A total of 360 residents left Planet X in the past 3 years.

Step-by-step explanation:

120 are the residents per year and the 3 represents the years so when you multiply them it would make how many residents that left Planet X in 3 years.

8 0
2 years ago
Read 2 more answers
Given the parent function f(x) = 2^x, which graph shows f(x) + 1?
mixer [17]

Answer: First Option

a) exponential function going through point (0, 2) and ending up on the right

Step-by-step explanation:

Look at the attached image, the red line represents a function of the form:

f(x) = 2^x

Note that this function cuts to the axis and at the point (0, 1)

Also when x tends to ∞ f(x) tends to ∞ and when f(x) tends to -∞ then f(x) tends to zero.

If we perform the transformation y = f(x) +1 then the graph of y is equal to the graph of f(x) displaced 1 unit up. Then the new cutting point with the axis y will be: (0, 2) as shown in the attached image (blue line)

The transform function is y =2^x +1

Finally the answer is the first option

4 0
3 years ago
A bank exchanges United States currency for British courrency at the rate of 1.60 dollars to the £ .
kompoz [17]

Answer:

Remember that £ has a greater value compared to $ and vice versa.

5 0
3 years ago
Other questions:
  • Which graph is generated by this table of values? x –4 0 3 y 1 2 3
    5·1 answer
  • Regroup through thousands
    15·2 answers
  • Find (f+g)(9) if f(x)=2x2-2x+25 and g(x)=6x2+7x-13
    6·1 answer
  • HELP ME!!!!!!!Pablo bought a bicycle for $368.90. The price Pablo paid included sales tax of 8.5. Which equation can be used to
    6·1 answer
  • If the difference between the exterior angle of a n sided regular polygon and an (n 1) sided regular polygon is 12. find the val
    7·1 answer
  • A researcher is interested in estimating the average salary of police officers in a large city. She wants to be 95% sure that he
    6·1 answer
  • What are the Y’s coordinates?
    8·1 answer
  • To determine how many pages would be needed to make 3 books, you can use the equation 138 = (46)3. How many pages would be in 8
    6·1 answer
  • Which equation best represents the relationship between x and y in the graph
    5·1 answer
  • Use log 3 = .477 and log 6 =.778 to approximate the expression. log 2​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!