Question

Create following two matrices A and B with following elements.

equation

Write R commands to do the following tasks:

(i) Multiply the two matrices.

(ii) Combine the two matrices row-wise.

(iii) Create a function that computes the following expression:

equation

29 Apr 2025
Answer :
Word Count : 231
A = $\begin{pmatrix}1 & 2\\0 & 1\end{pmatrix}$, B = $\begin{pmatrix}-3 & 1\\2 & -1\end{pmatrix}$ (i) Multiply A and B: $$ A \cdot B = \begin{pmatrix}1 & 2\\0 & 1\end{pmatrix} \begin{pmatrix}-3 & 1\\2 & -1\end{pmatrix} = \begin{pmatrix}(1)(-3) + (2)(2) & (1)(1) + (2)(-1)\\ (0)(-3) + (1)(2) & (0)(1) + (1)(-1)\end{pmatrix} = \begin{pmatrix}-3 + 4 & 1 - 2\\ 0 + 2 & 0
_______ ____ _________ _________ ________ _______ ______ __________.
____ _________ _______ ____ ____.
______ ___ ______ ________ ______ _________ _______ ________ ________.
_________ ______ _________ ________ ________.
_______ ___ _____ ____ _____ _____ ________ _______.
_________ ____ ______ _______ __________ __________ __________ ______.
______ ____ ________ ________ ___ ______ ____ ____ ______.
_________ __________ ________ __________ _____ ________ _______ _________ ______ _________.
________ _____ ____ ____ _______ ____ __________ _________ _________.
_______ __________ _____ ____ _________ ________ ____ ______ ______ ________ ___ ______.
_______ ___ _________ __________ ______ _______.
_________ ______ _________ _______ __________ ___.
________ ______ ______ _________ _________ ________ ____ __________ ________ __________ _________.
________ ___ ________ ___ ___ _________ ______.
_______ __________ _______ __________ ___ ____ ________ ________ ____.
__________ _________ _______ _________ ____ ________ ______ _________ _____ _____.
______ ________ _________ ________ ____ __________ _______ ______ _______ _________.
___ ________ ______ ____ ________ ______.
______ ______ __________ ____ ______ ___ ___ _________ ________ __________ _____.
___ ___ ____ ________ ________ _________ ___ ____ ____.
__________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU MST 15 2025 - Create following two matrices A and B with following elements. | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→