answer.
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
Find the P​-value in a test of the claim that the mean IQ score of acupuncturists is equal to​ 100, given that the test statisti
klemol [59]

Answer:

P-value = 0.0455

Step-by-step explanation:

In this question, we are concerned with calculating the P- value in a test.

Mathematically we know that;

P-value = 2 * P(Z > |z|)

Please check attachment for complete solution and by step explanation

7 0
2 years ago
On a coordinate plane, 2 exponential fuctions are shown. Function f (x) decreases from quadrant 2 into quadrant 1 and approaches
Gala2k [10]

Answer:

g(x)=6(3)^x

Step-by-step explanation:

We are given  that

f(x)=6(\frac{1}{3})^x

Function f decreases from quadrant  2 to quadrant 1 and approaches  y=0

It cut the y- axis at (0,6) and passing through the point (1,2).

Function g(x) approaches y=0 in quadrant 2 and increases into quadrant 1.

It passing through the point (-1,2) and cut the y-axis at point (0,6).

Reflection across y- axis:

Rule of transformation is given by

(x,y)\rightarrow (-x,y)

Using the rule then we get

g(x)=6(\frac{1}{3})^{-x}=6(3)^x

By using

x^{-a}=\frac{1}{x^a}

Substitute x=-1

g(-1)=6\times (\frac{1}{3})=2

Substitute x=0

g(0)=6

Therefore,g(x)=6(3)^x is true.

8 0
2 years ago
Read 2 more answers
walnut grower estimates from past records that if 20 trees are planted per acre, then each tree will average 60 pounds of nuts p
laila [671]

Answer:

5 trees should be planted to maximize the yield per acre,

The maximum yield would be 1250

Step-by-step explanation:

Given,

The original number of trees per acre = 20,

Average pounds of nuts by a tree = 60,

Let x be the times of increment in number of trees,

So, the new number of trees planted per acre = 20 + x

∵ for each additional tree planted per acre, the average yield per tree drops 2 pounds,

So, the new number of pounds of nut = (60 - 2x)

Thus, the total yield per acre,

Y(x) = (20+x)(60-2x)

Differentiating with respect to t ( time ),

Y'(x) = (20+x)(-2) + 60 - 2x = -40 - 2x + 60 - 2x = 20 - 4x

Again differentiating with respect to t,

Y''(x) = -4

For maxima or minima,

Y'(x) = 0

⇒ 20 - 4x = 0

⇒ 20 = 4x

⇒ x = 5,

For x = 5, Y''(x) = negative,

Hence, Y(x) is maximum for x = 5,

And, maximum value of Y(x) = (20+5)(60 - 10) = 25(50) = 1250,

i.e. 5 trees should be planted to maximize the yield per acre,

and the maximum yield would be 1250 pounds

4 0
2 years ago
If x varies jointly as y and z, and x = 8 when y = 4 and z = 9, find z when x = 16 and y = 6. 3
Ghella [55]

Answer:

Joint variation says that:

if x \propto y and x \propto z

then the equation is in the form of:

x = kyz, where, k is the constant of variation.

As per the statement:

If x varies jointly as y and z

then by definition we have;

x=k(yz)           ......[1]

Solve for k;  

when x = 8 , y=4 and z=9

then

Substitute these in [1] we have;

8=k(4 \cdot 9)

⇒8 = 36k

Divide both sides by 36 we have;

\frac{8}{3}=k

Simplify:

k = \frac{2}{9}

⇒x = \frac{2}{9}yz

to find z when x = 16 and y = 6

Substitute these value we have;

16 = \frac{2}{9} \cdot 6 \cdot z

⇒16 = \frac{12}{9}z

Multiply both sides by 9 we have;

144 = 12z

Divide both sides by 12 we have;

12 = z

or

z = 12

Therefore, the value of z is, 12

7 0
2 years ago
Read 2 more answers
Using the quadratic formula to solve 11x2 – 4x = 1, what are the values of x? StartFraction 2 Over 11 EndFraction plus-or-minus
slamgirl [31]

Answer:

x=\frac{2}{11}\pm\frac{\sqrt{15}} {11}

Step-by-step explanation:

we know that

The formula to solve a quadratic equation of the form

ax^{2} +bx+c=0

is equal to

x=\frac{-b\pm\sqrt{b^{2}-4ac}} {2a}

in this problem we have

11x^{2} -4x=1  

equate to zero

11x^{2} -4x-1=0  

so

a=11\\b=-4\\c=-1

substitute in the formula

x=\frac{-(-4)\pm\sqrt{-4^{2}-4(11)(-1)}} {2(11)}

x=\frac{4\pm\sqrt{60}} {22}

x=\frac{4\pm2\sqrt{15}} {22}

x=\frac{2\pm\sqrt{15}} {11}

x=\frac{2}{11}\pm\frac{\sqrt{15}} {11}

therefore

StartFraction 2 Over 11 EndFraction plus-or-minus StartFraction StartRoot 15 EndRoot Over 11 EndFraction

7 0
2 years ago
Read 2 more answers
Other questions:
  • Three highways connect city A with city B. Two highways connect city B with city C.
    7·1 answer
  • What expression is equivalent to 15 + 80?
    15·2 answers
  • Factor the GCF: −6x4y5 − 15x3y2 + 9x2y3
    10·1 answer
  • Am adult ticket at an amusement park cost $24.95 and a child’s ticket costs $15.95. A group of 10 people paid $186.50 to enter t
    12·2 answers
  • The triangles in the diagram are congruent. If mF = 40°, mA = 80°, and mG = 60°, what is mB?
    15·2 answers
  • Type the correct answer in the box. Jason builds doghouses for a pet store. Each doghouse is a wooden structure with a rectangul
    14·2 answers
  • Josiah owns a food truck that sells tacos and burritos. He only has
    8·1 answer
  • Which one of these statistics is unaffected by outliers?Mean Interquartile range Standard deviation Range
    10·1 answer
  • Coffee is sold in two different sized canisters. The smaller canister has a diameter of 9 cm and a height of 12 cm. The larger c
    14·1 answer
  • HELP PLEASE GIVE BRAINLYEST
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!