Key focus: Know the expressions to solve triangular matrix using forward and backward substituting techniques and the FLOPS required for solving it.
Forward Substitution:
Consider a set of equations in a matrix form , where A is a lower triangular matrix with non-zero diagonal elements. The equation is re-written in full matrix form as
It can be solved using the following expressions
From the DSP implementation point of view, computation of requires one FLoating Point Operation per Second (FLOPS) – only one division. Computing will require 3 FLOPS – 1 multiplication, 1 division and 1 subtraction, will require 5 FLOPS – 2 multiplications, 1 division and two subtractions. Thus the computation of will require FLOPS.
Thus the overall FLOPS required for forward substitution is FLOPS
Backward substitution:
Consider a set of equations in a matrix form , where A is a upper triangular matrix with non-zero diagonal elements. The equation is re-written in full matrix form as
Solved using the following algorithm
This one also requires FLOPS.
Rate this article: Note: There is a rating embedded within this post, please visit this post to rate it.
Key focus : Essential matrix algebra: formation of matrices, determinants, rank, inverse & transpose of matrix and solving simultaneous equations.
I thought of making a post on Cholesky Decomposition, which is a very essential technique in digital signal processing applications like generating correlated random variables, solving linear equations, channel estimation etc.., But jumping straight to the topic of Cholesky Decomposition will leave many flummoxed/confused. So I decided to touch on some essentials in basic matrix algebra before taking up advanced topics.
Prerequisite:
Basic knowledge on topics like formation of matrices, determinants, rank of a matrix, inverse & transpose of matrix, solving a system of simultaneous equation using matrix algebra.
The prerequisites listed above being fulfilled, you will learn different types of matrices in this post.
1. Vector
A matrix with only one row or one column.
2. Transpose of a Matrix
Transpose of a matrix is formed by interchanging the elements from row to columns. For example, the first row of the matrix becomes first column in the transpose matrix, second row of the matrix becomes second column in the transpose matrix and so on.
3. Square Matrix:
Matrix with equal number of rows and columns.
(Note: The sample matrices shown below are of 3×3 dimension. They can be readily extended to nxn dimension)
Square Matrix is further classified into
4. Symmetric Matrix :
If a square matrix and its transpose are equal, then it is called a symmetric square matrix or simply symmetric matrix.
5. Diagonal Matrix
A special kind of symmetric matrix, with zeros in off-diagonal locations.
6. Scalar matrix
A special kind of diagonal matrix, with the equal values at the diagonal
7. Identity Matrix
It is a special type of scalar matrix, where the leading diagonals are one. It is denoted by I
8. Inverse of a Matrix or the notion of non-Singular Matrix:
Inverse matrices are defined for square matrices. For non-square matrices, inverses do not exist. The product of a square matrix and its inverse yields an identity matrix.
For a square matrix A.
Here denotes the inverse of square matrix .
It is possible to have a square matrix but not invertible. Such non-invertible square matrices are called
Singular Matrices. Matrix that are invertible are called non-singular matrices.
9. Singular Matrix:
A non-invertible square matrix. Inverse does not exist.
10. Orthogonal Matrix
An invertible square matrix, whose transpose and inverse are equal. If for an invertible square matrix A,
then, the matrix or equivalently is called an orthogonal matrix.
11. Complex Matrix :
A matrix with complex elements.
12. Complex Square Matrix
A complex matrix with with equal number of rows and columns
13. Conjugate Transpose or Hermitian Transpose:
Similar to the transpose of a matrix defined above. But the only difference is : put the complex conjugate form of the element when interchanging from rows to columns. For a complex square matrix , the conjugate transpose is denoted by
14. Hermitian Matrix:
A complex square matrix whose conjugate transpose is equal to its own. For a complex square matrix , the Hermitian Matix is denoted by . For a Hermitian matrix, the element of the complex square matrix located at i-th row and j-th column will be equal to the complex conjugate of the element located at j-th row and i-th column.
That is,
15. Triangular Matrix:
A special type of square matrix. Further classified into : lower triangular and upper triangular matrix. For a lower triangular matrix, all the elements above the main diagonal are zeros.For an upper triangular matrix, all the elements below the main diagonal are zeros.
16. Positive-Definite Matrix:
It is defined for both real matrices and complex matrices. It is matrix equivalent to positivity of real numbers. For example, the numbers +3,+5 and +6 are definitely positive. Similarly a positive definite matrix is defined to be definitely positive if it satisfies the following condition.
For real case: A n x n symmetric square real matrix – is said to be positive definite for all if and only if,
For complex case: A n x n symmetric square complex matrix – is said to be positive definite for all if and only if,
17. Positive-semi-definite Matrix:
It is defined for both real matrices and complex matrices. It is matrix equivalent to semi-positivity of real numbers. For example, the numbers +3,+5 and +6 are definitely positive. But the set is not positive definite since it includes a zero element which is neither positive nor negative. Similarly a positive semi-definite matrix is defined to be semi-definitely positive if it satisfies the following condition.
For real case: A n x n symmetric square real matrix – is said to be positive semi-definite for all if and only if,
For complex case: A n x n symmetric square complex matrix – is said to be positive semi-definite for all if and only if,
Note : The notation stands for a set of real numbers. The notation denotes a set of n real numbers in n-dimensional space.
18. Negative-Definite Matrix:
It is defined for both real matrices and complex matrices. It is matrix equivalent to negativity of real numbers. For example, the numbers -3,-5 and -6 are definitely negative. Similarly a negative definite matrix is defined to be definitely negative if it satisfies the following condition.
For real case: A n x n symmetric square real matrix – is said to be negative definite for all if and only if,
For complex case: A n x n symmetric square complex matrix – is said to be negative definite for all if and only if,
Note : The notation stands for a set of real numbers. The notation denotes a set of n real numbers in n-dimensional space.
19. Negative-semi-definite Matrix:
It is defined for both real matrices and complex matrices. It is matrix equivalent to semi-negativity of real numbers. For example, the numbers -3,-5 and -6 are definitely negative. But the set is not negative definite since it includes a zero element which is neither positive nor negative. Similarly a negative semi-definite matrix is defined to be semi-definitely negative if it satisfies the following condition.
For real case: A n x n symmetric square real matrix – is said to be negative semi-definite for all if and only if,
For complex case: A n x n symmetric square complex matrix – is said to be negative semi-definite for all if and only if,
Note : The notation stands for a set of real numbers. The notation denotes a set of n real numbers in n-dimensional space.
20. Indefinite Matrix :
A Matrix, that is neither positive definite, positive semi-definite, negative definite nor negative semi-definite is called an indefinite Matrix.
Rate this article: Note: There is a rating embedded within this post, please visit this post to rate it.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookielawinfo-checbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checbox-analytics
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checbox-functional
11 months
The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checbox-others
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-necessary
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-performance
11 months
This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy
11 months
The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.