![]() |
Matrix Formulas are mathematical expressions that involve operations on matrices. A matrix is a collection of numbers arranged in rows and columns. The formulas of a matrix include adding, subtracting, multiplying, or finding determinants. They’re used in various fields, including math, physics, and computer science. In this article, we will understand the various formulas of the Matrix with examples. Table of Content What is a Matrix?A matrix is a mathematical structure of numbers, expressions, or symbols arranged in rectangular or square and organized in rows and columns. Each number in the matrix has a specific position, determined by its row and column. The matrices are denoted in capital letters, and their elements are represented in lowercase letters with subscripts showing their position in the matrix. For example, in a matrix A with elements aij, where i represents the row and j represents the column: [Tex]\begin{bmatrix} a_{11} & a_{21} & \dots & a_{m1} \\ a_{12} & a_{22} & \dots & a_{m2} \\ a_{13} & a_{23} & \dots & a_{m3} \\ \vdots & \vdots & \ddots & \vdots \\ a_{1n} & a_{2n} & \dots & a_{mn} \\ \end{bmatrix} [/Tex] In this example, the matrix A has m rows and n columns, making it an m×n matrix. If the number of rows and columns is the same (m=n), it’s a square matrix. Otherwise, it’s called a rectangular matrix. What is Matrix Formula?A matrix formula is a way to express and perform mathematical operations using matrices. Matrices are like organized grids of numbers or symbols arranged in rows and columns. The formula involves specific rules for combining these matrices to get a result. The formula will define how to manipulate these matrices, like adding them together, multiplying them, or applying other operations. For example, a basic matrix formula can be represented as: Cij = Aij + Bij Where, A and B are matrices, and C is the result of adding them together. Each element in C is the sum of the corresponding elements in A and B. Matrix FormulasMatrix formulas involve various operations and expressions that manipulate matrices. Some common matrix formulas are:
Matrix Formula For AdditionAdding matrices is like combining them. To add matrices, you take matching elements from each matrix and add them together. The formula for matrix addition:
This formula is applied to each element in the matrices to create a new matrix with the same dimensions. For example, given two Matrices A and B [Tex]A = \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} [/Tex]and [Tex]B = \begin{bmatrix} 1 & 2 \\ 3 & 5 \end{bmatrix} [/Tex] On adding A and B: [Tex]C = \begin{bmatrix} 2+1 & 4+2 \\ 1+3 & 3+5 \end{bmatrix} [/Tex] ∴ [Tex]C = \begin{bmatrix} 3 & 6 \\ 4 & 8 \end{bmatrix} [/Tex] Matrix Formula For SubtractionSubtract the elements of one matrix from the corresponding elements of another. The result is a new matrix with the same size.
For example there two matrices given [Tex]A = \begin{bmatrix} 4 & 7 \\ 2 & 5 \end{bmatrix} [/Tex] and [Tex]B = \begin{bmatrix} 1 & 3 \\ 1 & 2 \end{bmatrix} [/Tex] On subtracting B from A: [Tex]C = \begin{bmatrix} 4-1 & 7-3 \\ 2-1 & 5-2 \end{bmatrix} [/Tex] ∴ [Tex]C = \begin{bmatrix} 3 & 4 \\ 1 & 3 \end{bmatrix} [/Tex] Matrix Formula For MultiplicationTo get each element in the product matrix, you take the dot product of a row from the first matrix and a column from the second matrix.
Learn, Matrix Multiplication Scalar MultiplicationMultiply each element in the matrix by a scalar (a single number). Dij = k · Aij k = 3 [Tex]A = \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} [/Tex] [Tex]D = \begin{bmatrix} 3 \cdot 2 & 3 \cdot 4 \\ 3 \cdot 1 & 3 \cdot 3 \end{bmatrix} [/Tex] ∴ [Tex]D = \begin{bmatrix} 6 & 12 \\ 3 & 9 \end{bmatrix} [/Tex] Matrix MultiplicationTo multiply two matrices, each element in the resulting matrix is the sum of the products of corresponding elements from a row in the first matrix and a column in the second matrix. [Tex]C_{ij} = \sum_{k=1}^{n} [/Tex] Aik · Bkj [Tex]A = \begin{bmatrix} 2 & 3 \\ 4 & 1 \end{bmatrix} [/Tex] and [Tex]B = \begin{bmatrix} 5 & 2 \\ 6 & 8 \end{bmatrix} [/Tex] Multiplying A and B: [Tex]C = \begin{bmatrix} (2 \cdot 5 + 3 \cdot 6) & (2 \cdot 2 + 3 \cdot 8) \\ (4 \cdot 5 + 1 \cdot 6) & (4 \cdot 2 + 1 \cdot 8) \end{bmatrix} [/Tex] ∴ [Tex]C = \begin{bmatrix} 28 & 26 \\ 26 & 20 \end{bmatrix} [/Tex] Transpose of a Matrix FormulaThe transpose of a matrix is like flipping it over its main diagonal. Swap or interchange the rows and columns of the original matrix to get the transpose
[Tex]A = \begin{bmatrix} 2 & 4 \\ 1 & 3 \end{bmatrix} [/Tex] ∴ Transpose of A is, [Tex]A^T = \begin{bmatrix} 2 & 1 \\ 4 & 3 \end{bmatrix} [/Tex] Learn, Transpose of a Matrix Inverse Matrix FormulaFinding the inverse of a matrix is like finding its opposite in terms of multiplication. If a matrix A has an inverse, multiplying A by its inverse gives the identity matrix. For a matrix A and its inverse A⁻¹, the formula is
[Tex]A^{-1} = \frac{1}{|A|} \cdot \text{adj}(A) [/Tex] [Tex]A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix} [/Tex] the determinant |A| |A| = (2 × 4) – (3 × 1) = 5 Find the adjugate matrix [adj(A)]: [Tex]\text{adj}(A) = \begin{bmatrix} 4 & -3 \\ -1 & 2 \end{bmatrix} [/Tex] [Tex]A^{-1} = \frac{1}{5} \cdot \begin{bmatrix} 4 & -3 \\ -1 & 2 \end{bmatrix} [/Tex] ∴ [Tex]A^{-1} = \begin{bmatrix} \frac{4}{5} & -\frac{3}{5} \\ -\frac{1}{5} & \frac{2}{5} \end{bmatrix} [/Tex] Learn, Inverse Matrix Cofactor of Matrix FormulaTo find the cofactor of a matrix element, multiply the determinant of the matrix without the row and column of that element by -1(i+j), where (i) and (j) are the row and column indices.
[Tex]A = \begin{bmatrix} 3 & 1 & 4 \\ 1 & 5 & 9 \\ 2 & 6 & 5 \end{bmatrix} [/Tex] To find the cofactor of the element in the second row and third column (A23): Cofactor(A23) = (-12+3) × det(Matrix without row 2 and column 3) = [Tex](-1)^5 \times \text{det}\begin{bmatrix} 3 & 1 \\ 2 & 6 \end{bmatrix} [/Tex] = -1 × (3 × 6 – 1 × 2) = -1 × (18 – 2) = -1 × 16 = -16 ∴ Cofactor of (A23) is (-16) Learn, Cofactor of Matrix Adjoint of a Matrix FormulaThe adjoint of a matrix is found by taking the transpose of the matrix of cofactors.
[Tex]\text{Adjoint}(A) = \begin{bmatrix} \text{Cofactor}_{11} & \text{Cofactor}_{21} & \ldots & \text{Cofactor}_{n1} \\ \text{Cofactor}_{12} & \text{Cofactor}_{22} & \ldots & \text{Cofactor}_{n2} \\ \vdots & \vdots & \ddots & \vdots \\ \text{Cofactor}_{1n} & \text{Cofactor}_{2n} & \ldots & \text{Cofactor}_{nn} \end{bmatrix}^T [/Tex] In this formula, Cofactorij represents the cofactor of the element at the ith row and jth column in the original matrix. For example in matrix (A) [Tex]A = \begin{bmatrix} 3 & 1 & 4 \\ 1 & 5 & 9 \\ 2 & 6 & 5 \end{bmatrix} [/Tex] Find the adjoint of \(A\): [Tex]\text{Adjoint}(A) = \begin{bmatrix} \text{Cofactor}_{11} & \text{Cofactor}_{21} & \text{Cofactor}_{31} \\ \text{Cofactor}_{12} & \text{Cofactor}_{22} & \text{Cofactor}_{32} \\ \text{Cofactor}_{13} & \text{Cofactor}_{23} & \text{Cofactor}_{33} \end{bmatrix}^T [/Tex] First, calculate the cofactor for each element: [Tex]text{Cofactor}_{11} = (-1)^{1+1} \times \text{det}(\text{Matrix without row 1 and column 1}) = \text{det}\begin{bmatrix} 5 & 9 \\ 6 & 5 \end{bmatrix} = (5 \times 5 – 9 \times 6) = -21 [/Tex] Similarly, calculate all the cofactors for each element. Now, assemble the cofactors into a matrix [Tex]\text{Matrix of Cofactors} = \begin{bmatrix} -21 & 24 & -5 \\ 3 & -30 & 12 \\ -3 & 18 & -15 \end{bmatrix} [/Tex] Finally, Transpose the matrix of cofactors to get the adjoint: [Tex]\text{Adjoint}(A) = \begin{bmatrix} -21 & 3 & -3 \\ 24 & -30 & 18 \\ -5 & 12 & -15 \end{bmatrix} [/Tex] [Tex]\text{Adjoint}(A) = \begin{bmatrix} -21 & 3 & -3 \\ 24 & -30 & 18 \\ -5 & 12 & -15 \end{bmatrix} [/Tex] Learn, Adjoint of a Matrix Determinant of Matrix FormulaThe determinant of a matrix is a value associated with it. The formula for the determinant of a matrix A is often recursive, involving cofactors. The determinant is often represented as det(A). To find the determinant of a 2×2 matrix, multiply the diagonal elements and subtract the product of the off-diagonal elements. For a larger matrix, use expansion by minors or other methods. For a 2×2 matrix: [Tex]\text{det} \begin{bmatrix} a & b \\ c & d \end{bmatrix} [/Tex] = (a × d) – (b × c) In a matrix [Tex]B = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix} [/Tex] det(B) = (2 × 4) – (3 × 1) = 8 – 3 = 5 ∴Determinant of matrix B is 5. Learn, Determinant of Matrix Identity Matrix FormulaThe identity matrix is like a special matrix where when you multiply it with another matrix, the result is the same matrix. The formula for an identity matrix I with size n×n is represented as:
For example in the Identity Matrix of size 2×2: [Tex]I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} [/Tex] Learn, Identity Matrix Orthogonal Matrix FormulaIn an orthogonal matrix the rows and columns are perpendicular (or orthogonal) unit vectors. The formula for an orthogonal matrix is related to its transpose:
For a 2×2 orthogonal matrix: [Tex]A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} [/Tex] For this matrix to be orthogonal: [Tex]A^T = \begin{bmatrix} a & c \\ b & d \end{bmatrix} [/Tex] and, [Tex]A^{-1} = \frac{1}{ad – bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} [/Tex] So, for the matrix to be orthogonal: [Tex]\begin{bmatrix} a & c \\ b & d \end{bmatrix} = \frac{1}{ad – bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix} [/Tex] This condition should be satisfied for every element in the matrix. If it does, then the matrix is orthogonal. Learn, Orthogonal Matrix Also Read, Applications of Matrix FormulaVarious applications of Matrix formulas are added below as,
Examples of Matrix FormulaExample 1: In the given Matrices [Tex]A = \begin{bmatrix} 2 & 5 \\ 1 & 3 \end{bmatrix} [/Tex] and [Tex]B = \begin{bmatrix} 4 & 1 \\ 2 & 6 \end{bmatrix} [/Tex]
Solution:
Example 2: Consider the matrix [Tex]A = \begin{bmatrix} 3 & 1 \\ 2 & 4 \end{bmatrix} [/Tex]. Find the transpose of matrix ( A ). Solution:
Matrix Formula – Practice ProblemsQ1. Given matrices [Tex]A = \begin{bmatrix} 3 & 5 \\ 2 & 4 \end{bmatrix} [/Tex] and [Tex]B = \begin{bmatrix} 1 & 2 \\ 3 & 1 \end{bmatrix} [/Tex], find the sum matrix C. Q2. Subtract matrix [Tex]B = \begin{bmatrix} 2 & 4 \\ 1 & 2 \end{bmatrix} [/Tex] from matrix [Tex]A = \begin{bmatrix} 6 & 8 \\ 3 & 5 \end{bmatrix} [/Tex] to get matrix C. Q3. Multiply matrix [Tex]A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix} [/Tex] by scalar k to get matrix B, where k = 2 Q4. Find the transpose of matrix [Tex]A = \begin{bmatrix} 5 & 7 & 2 \\ 1 & 8 & 4 \end{bmatrix} [/Tex] Q5. Determine if the following matrix [Tex]A = \begin{bmatrix} 0.8 & -0.6 \\ 0.6 & 0.8 \end{bmatrix} [/Tex] is orthogonal. Matrix Formula – Frequently Asked Questions1. What are Matrix Formulas?
2. What is a Matrix?
3. How are Matrix Formulas Applied in Real-Life Situations?
4. How to Add Two Matrices?
5. What is the Identity Matrix Formula?
6. What Is the Orthogonal Matrix Formula?
|
Reffered: https://www.geeksforgeeks.org
Class 12 |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 9 |