ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Math Deficiency - I
    MD-001
    Progress0 / 38 topics
    Topics
    1. Sets: Definition, Representation, and Operations2. Relation and Function: Graphical Transformation of Functions3. Properties of Functions4. Composition and Inverses of Functions5. Domain and Range of Functions6. Maximum and Minimum Values of Functions7. Increasing and Decreasing Functions8. Zeros and Intercepts of Functions9. Piecewise Functions10. Continuity and Discontinuity of Functions11. Polynomials and Rational Functions12. Polynomial Long Division and Synthetic Division13. Solution of Rational Functions14. Absolute Valued Functions and Their Properties15. Asymptotes: Horizontal, Vertical, and Oblique16. Exponential Functions and Their Properties17. Logarithmic Functions and Their Properties18. Systems of Equations: Two Equations and Two Unknowns19. Systems of Equations: Three Equations and Three Unknowns20. Matrix Algebra: Addition, Subtraction, and Multiplication21. Row Operations and Row Echelon Forms22. Augmented Matrices23. Determinant of Matrices: 2x2 and Higher Order24. Cramer's Rule25. Inverse Matrices26. Series and Sequences27. Trigonometry: Angles in Radians and Degrees28. Right Triangle Trigonometry29. Law of Cosines and Sines30. Area of a Triangle31. Graphs of Trigonometric Functions32. Graphs of Inverse Trigonometric Functions33. Basic Trigonometric Identities34. Trigonometric Equations35. General Form of a Conic: Parabolas, Circles, Ellipses, and Hyperbolas36. Degenerate Conics37. Polar and Parametric Equations38. Polar and Rectangular Coordinates
    MD-001›Matrix Algebra: Addition, Subtraction, and Multiplication
    Math Deficiency - ITopic 20 of 38

    Matrix Algebra: Addition, Subtraction, and Multiplication

    11 minread
    1,822words
    Intermediatelevel

    Matrix Algebra: Addition, Subtraction, and Multiplication

    Matrix algebra involves performing arithmetic operations on matrices. Matrices are arrays of numbers arranged in rows and columns, and these operations are fundamental in many fields such as linear algebra, computer science, physics, and economics. Let's go through the basic matrix operations: addition, subtraction, and multiplication.


    1. Matrix Addition

    Matrix addition involves adding two matrices of the same dimensions by adding their corresponding elements.

    Conditions for Addition

    • Two matrices can only be added if they have the same dimensions. This means both matrices must have the same number of rows and the same number of columns.

    Procedure for Addition

    • If A=[aij]A = [a_{ij}]A=[aij​] and B=[bij]B = [b_{ij}]B=[bij​] are two matrices, their sum C=A+BC = A + BC=A+B is given by adding corresponding elements:

      C=A+B=[aij+bij]C = A + B = [a_{ij} + b_{ij}]C=A+B=[aij​+bij​]

      Where aija_{ij}aij​ is the element in the iii-th row and jjj-th column of matrix AAA, and bijb_{ij}bij​ is the element in the iii-th row and jjj-th column of matrix BBB.

    Example of Matrix Addition

    Let matrix AAA and matrix BBB be:

    A=(1234),B=(5678)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, \quad B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}A=(13​24​),B=(57​68​)

    To add these matrices:

    A+B=(1+52+63+74+8)=(681012)A + B = \begin{pmatrix} 1 + 5 & 2 + 6 \\ 3 + 7 & 4 + 8 \end{pmatrix} = \begin{pmatrix} 6 & 8 \\ 10 & 12 \end{pmatrix}A+B=(1+53+7​2+64+8​)=(610​812​)

    2. Matrix Subtraction

    Matrix subtraction is similar to matrix addition. You subtract corresponding elements of two matrices of the same dimensions.

    Conditions for Subtraction

    • Like addition, matrix subtraction can only be performed when the two matrices have the same dimensions.

    Procedure for Subtraction

    • If A=[aij]A = [a_{ij}]A=[aij​] and B=[bij]B = [b_{ij}]B=[bij​], their difference C=A−BC = A - BC=A−B is given by subtracting corresponding elements:

      C=A−B=[aij−bij]C = A - B = [a_{ij} - b_{ij}]C=A−B=[aij​−bij​]

      Where aija_{ij}aij​ and bijb_{ij}bij​ are the corresponding elements in matrices AAA and BBB, respectively.

    Example of Matrix Subtraction

    Let matrix AAA and matrix BBB be:

    A=(3456),B=(1234)A = \begin{pmatrix} 3 & 4 \\ 5 & 6 \end{pmatrix}, \quad B = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}A=(35​46​),B=(13​24​)

    To subtract BBB from AAA:

    A−B=(3−14−25−36−4)=(2222)A - B = \begin{pmatrix} 3 - 1 & 4 - 2 \\ 5 - 3 & 6 - 4 \end{pmatrix} = \begin{pmatrix} 2 & 2 \\ 2 & 2 \end{pmatrix}A−B=(3−15−3​4−26−4​)=(22​22​)

    3. Matrix Multiplication

    Matrix multiplication is a bit more involved than addition and subtraction. To multiply two matrices, the number of columns in the first matrix must equal the number of rows in the second matrix.

    Conditions for Multiplication

    • If matrix AAA is of size m×nm \times nm×n (i.e., AAA has mmm rows and nnn columns), and matrix BBB is of size n×pn \times pn×p (i.e., BBB has nnn rows and ppp columns), the product ABABAB will be a new matrix of size m×pm \times pm×p.

    Procedure for Multiplication

    • To find the element cijc_{ij}cij​ in the product matrix C=ABC = ABC=AB, take the dot product of the iii-th row of matrix AAA with the jjj-th column of matrix BBB.

      cij=∑k=1naik⋅bkjc_{ij} = \sum_{k=1}^{n} a_{ik} \cdot b_{kj}cij​=k=1∑n​aik​⋅bkj​

      This means that for each element cijc_{ij}cij​, you multiply each corresponding element of the iii-th row of AAA and the jjj-th column of BBB, then sum the results.

    Example of Matrix Multiplication

    Let matrix AAA and matrix BBB be:

    A=(1234),B=(5678)A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}, \quad B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}A=(13​24​),B=(57​68​)

    The product ABABAB will be a 2x2 matrix. To calculate each element of ABABAB:

    • c11=(1×5)+(2×7)=5+14=19c_{11} = (1 \times 5) + (2 \times 7) = 5 + 14 = 19c11​=(1×5)+(2×7)=5+14=19
    • c12=(1×6)+(2×8)=6+16=22c_{12} = (1 \times 6) + (2 \times 8) = 6 + 16 = 22c12​=(1×6)+(2×8)=6+16=22
    • c21=(3×5)+(4×7)=15+28=43c_{21} = (3 \times 5) + (4 \times 7) = 15 + 28 = 43c21​=(3×5)+(4×7)=15+28=43
    • c22=(3×6)+(4×8)=18+32=50c_{22} = (3 \times 6) + (4 \times 8) = 18 + 32 = 50c22​=(3×6)+(4×8)=18+32=50

    So, the product ABABAB is:

    AB=(19224350)AB = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}AB=(1943​2250​)

    Important Properties of Matrix Operations

    1. Commutativity:

      • Addition: Matrix addition is commutative, meaning A+B=B+AA + B = B + AA+B=B+A.
      • Multiplication: Matrix multiplication is not commutative in general, meaning AB≠BAAB \neq BAAB=BA.
    2. Associativity:

      • Both addition and multiplication are associative. For example:
        • (A+B)+C=A+(B+C)(A + B) + C = A + (B + C)(A+B)+C=A+(B+C)
        • (AB)C=A(BC)(AB)C = A(BC)(AB)C=A(BC)
    3. Distributivity:

      • Matrix multiplication distributes over addition. That is:
        • A(B+C)=AB+ACA(B + C) = AB + ACA(B+C)=AB+AC
        • (A+B)C=AC+BC(A + B)C = AC + BC(A+B)C=AC+BC
    4. Identity Matrices:

      • There exists an identity matrix III for matrix multiplication such that for any matrix AAA, AI=AAI = AAI=A and IA=AIA = AIA=A. For a matrix AAA of size m×nm \times nm×n, the identity matrix III is of size n×nn \times nn×n (square matrix).
    5. Zero Matrix:

      • A zero matrix (matrix where all elements are zero) serves as the identity element for matrix addition. For any matrix AAA, A+0=AA + 0 = AA+0=A.

    Conclusion

    Matrix algebra is a crucial aspect of linear algebra, with operations like addition, subtraction, and multiplication serving as the foundation for more complex matrix manipulations. The key rules to remember are the conditions for each operation (dimensions, associativity, distributivity) and how the operations are performed (adding/subtracting corresponding elements, multiplying using dot products). Understanding these basics will help you work with matrices in various mathematical and practical applications.

    Previous topic 19
    Systems of Equations: Three Equations and Three Unknowns
    Next topic 21
    Row Operations and Row Echelon Forms

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time11 min
      Word count1,822
      Code examples0
      DifficultyIntermediate