Question
Write a Python program using NumPy to
(i) Create following two matrices A and B with following elements.
(ii) Compute the (a) Addition, (b) Multiplication and (c) Inverse of these matrices.
(iii) Combine the given matrices colume-wise.
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 $$ _______ ___ ___ ___ ______.
_______ _____ _____ __________ _________ _________ __________ __________ ____ _____ _____ ______.
________ __________ _________ _______ _______ ____ _______ ________ ________ _____ ____ ____.
________ ________ __________ _______ ________ _________ _______.
________ ________ ___ ____ _______ __________ ___ ____.
_______ _____ ________ _____ ____ ___ _________ _______ ___ ___ __________ ________.
_________ ________ _________ ____ ____ _________ _________.
______ __________ _____ __________ _______ ___ ________ ____ ___.
__________ ______ ____ ______ ________ __________ ________.
___ __________ ______ _____ __________ __________ __________.
________ _________ _________ _______ ______ __________ _____ __________ ___ ______ ___ ___.
_____ _______ _____ ______ _____.
________ ___ ______ _____ _______ _____ ______.
Get Full Answer on WhatsApp
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 $$ _______ ___ ___ ___ ______.
_______ _____ _____ __________ _________ _________ __________ __________ ____ _____ _____ ______.
________ __________ _________ _______ _______ ____ _______ ________ ________ _____ ____ ____.
________ ________ __________ _______ ________ _________ _______.
________ ________ ___ ____ _______ __________ ___ ____.
_______ _____ ________ _____ ____ ___ _________ _______ ___ ___ __________ ________.
_________ ________ _________ ____ ____ _________ _________.
______ __________ _____ __________ _______ ___ ________ ____ ___.
__________ ______ ____ ______ ________ __________ ________.
___ __________ ______ _____ __________ __________ __________.
________ _________ _________ _______ ______ __________ _____ __________ ___ ______ ___ ___.
_____ _______ _____ ______ _____.
________ ___ ______ _____ _______ _____ ______.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★