Searching for the minimum? Gradient descent to the rescue!

In one of the previous posts, we talked about the Kaczmarz method for solving linear systems. This time, we are gonna provide three more ways to solve iteratively, namely via the methods of Gradient descent, Conjugate gradient and Newton’s method. We will also take a look at the codes, implementation was done for all of them in matlab. We will first look at how the methods are applied … Continue reading Searching for the minimum? Gradient descent to the rescue!

An idea for calculating powers of matrices

I wanted to share with you a mathematical trick. Nothing too difficult, just not the first thing that someone would think. One of the important things in mathematics is to try to use the same tools for different jobs. Be creative! We will use the Caley – Hamilton theorem to calculate arbitrary powers of a matrix A. But first, let’s remember what the Caley – … Continue reading An idea for calculating powers of matrices