## Inverse and Transpose

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:

Matrix A contains two rows and two columns, with the inverse matrix formula being:

We can calculate the inverse as below:

Then we add the the values

Finally dividing the matrix by the determinant!

### What was that? I don't understand anything

Here, let's go step by step, our goal is to prove this equation.

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')

#### Given:

#### The adjugate of (A) is:

#### The determinant of (A) is:

#### Now, compute A . A':

#### Perform the matrix multiplication:

#### Simplify the elements:

#### Thus:

## Properties

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!

### Specific Case: Multiplication by a scaler

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:

#### Consider ((\lambda + \psi)C):

#### Distribute (\lambda) and (\psi):

#### Separate terms:

#### Factor out (\lambda) and (\psi):

#### Express in terms of (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)

#### The matrix form:

#### equal to:

## Acknowledgement

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

## Top comments (0)