Question

Write a Python program using NumPy to

(i) Create following two matrices A and B with following elements.

equation

(ii) Compute the (a) Addition, (b) Multiplication and (c) Inverse of these matrices.

(iii) Combine the given matrices colume-wise.

18 Apr 2025
Answer :
Word Count : 146
Let $A=\begin{pmatrix}2&1&1\\[2pt]1&3&2\\[2pt]1&0&0\end{pmatrix}$ and $B=\begin{pmatrix}1&2&3\\[2pt]0&1&4\\[2pt]5&6&0\end{pmatrix}$. Then $$ A+B=\begin{pmatrix}3&3&4\\[2pt]1&4&6\\[2pt]6&6&0\end{pmatrix}. $$ For matrix products, $$ AB=\begin{pmatrix} 7&11&10\\[2pt] 11&17&15\\[2pt] 1&2&3 \end{pmatrix},\qquad BA=\begin{pmatrix} 7&7&5\\[2pt] 5&3&2\\[2pt] 16&23&17 \end{pmatrix}. $$ Determinants are $\det(A)=-1$ and $\det(B)=1$, so both are invertible. Their inverses are $$ A^{-1}=\begin{pmatrix} 0&0&1\\[2pt] -2&1&3\\[2pt] 3&-1&-5 \end{pmatrix},\qquad B^{-1}=\begin{pmatrix} -24&18&5\\[2pt] 20&-15&-4\\[2pt] -5&4&1
___ __________ _________ _______ _______ ____.
______ _____ _____ _________ _____ ____ _______ __________ _________ ______ ________.
_________ _________ _____ ___ ____ _____.
___ ______ _____ _______ ________.
_____ ____ __________ _____ _________ ______ ____ __________ __________ ____ ______ _____.
________ _______ ___ __________ ___ ____ _________.
____ _______ __________ _________ ____ _________ ____ _____ _________ ________ ___.
___ __________ ______ ____ ______ ______ ___ _______ ______.
_________ ______ ________ _____ _______ _____ ________.
___ _____ ________ __________ ______ ____ ___ _______.
________ _______ __________ _______ _________ ________ _______ _____ ___.
________ ____ _________ _________ _____.
__________ __________ __________ _________ ____.
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 24 2025 - Write a Python program using NumPy to(i) Create following two matr | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→