Don't feel bad!, even matrix, a widely used object in mathematics, engineering, and computer science can still be single. But how can a matrix be single?
It's actually called singular or invertible matrix. These matrix are defined as singular when the don't have an inverse! either because of the determinant is zero or their lack of personality and relying on materialistic tendencies instead of working on themselves!
Inverse
Take matrix A for example:
A=(2341)
Matrix A contains two rows and two columns, with the inverse matrix formula being:
A−1=det(A)1A′
We can calculate the inverse as below:
A−1=(2⋅1)−(4⋅3)1(1−3−42)
Then we add the the values
A−1=−101(1−3−42)
Finally dividing the matrix by the determinant!
A−1=(−0.10.30.4−0.2)
What was that? I don't understand anything
Here, let's go step by step, our goal is to prove this equation.
A⋅A′=det(A)⋅I
This equation is just the Inverse equation with the determinant moved with the identity matrix. This step is also useful so you understand the basics of a 2x2 adjoint matrix (A')
These are the properties of both transpose and inverse. Remember, these are the same as a normal matrix (Aside from equation 2) so just remember the normal properties of matrix and you're all set!
Though this is the properties are the same as multiplying with a matrix (Associativity and Distribution), it's best to drill it down one more time.
Given:
C:=(1324)
Consider ((\lambda + \psi)C):
(λ+ψ)C=((λ+ψ)3(λ+ψ)2(λ+ψ)4(λ+ψ))
Distribute (\lambda) and (\psi):
=(λ+ψ3λ+3ψ2λ+2ψ4λ+4ψ)
Separate terms:
=(λ3λ2λ4λ)+(ψ3ψ2ψ4ψ)
Factor out (\lambda) and (\psi):
=λ(1324)+ψ(1324)
Express in terms of (C):
=λC+ψC
Compact Representation of System of Linear Equations
System of Linear Equations
The section is intended to prove that we can simplify large equations into a simpler form. This takes the load of seeing so many numbers everywhere and we can focus on the problem at hand, in this case, it's finding (x)
I can't overstate this: I'm truly grateful for this book being open-sourced for everyone. Many people will be able to learn and understand machine learning on a fundamental level. Whether changing careers, demystifying AI, or just learning in general, this book offers immense value even for fledgling composer such as myself. So, Marc Peter Deisenroth, A. Aldo Faisal, and Cheng Soon Ong, thank you for this book.
Source:
Deisenroth, M. P., Faisal, A. A., & Ong, C. S. (2020). Mathematics for Machine Learning. Cambridge: Cambridge University Press. https://mml-book.com