Bird
0
0

You have a matrix A = [4 7; 2 6]. Write MATLAB code to compute its inverse and multiply it by B = [1; 0]. What is the resulting vector?

hard📝 Application Q8 of 15
MATLAB - Linear Algebra

You have a matrix A = [4 7; 2 6]. Write MATLAB code to compute its inverse and multiply it by B = [1; 0]. What is the resulting vector?

A[0.6; -0.2]
B[0.7; -0.3]
C[1; 0]
D[4; 2]
Step-by-Step Solution
Solution:
  1. Step 1: Calculate inverse of A

    det(A) = (4*6) - (7*2) = 24 - 14 = 10
    inv(A) = (1/10) * [6 -7; -2 4] = [0.6 -0.7; -0.2 0.4]
  2. Step 2: Multiply inv(A) by B

    inv(A)*B = [0.6 -0.7; -0.2 0.4] * [1; 0] = [0.6*1 + (-0.7)*0; -0.2*1 + 0.4*0] = [0.6; -0.2]
  3. Final Answer:

    [0.6; -0.2] -> Option A
  4. Quick Check:

    Inverse times vector = [0.6; -0.2] [OK]
Quick Trick: Multiply inv(A) by vector to solve linear systems [OK]
Common Mistakes:
  • Forgetting to multiply by inverse
  • Incorrect determinant calculation
  • Mixing up matrix multiplication order

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More MATLAB Quizzes