Machine Learning, Data Science, Linear Algebra, Matrix, Mathematics.
solution which closest to the origin we need to minimize((transpose(X)X)/2) which subjected to AX = B. Using Lagrangian Function concept this will problem look like this — To solve the above problem we can differentiate f(X) w.r.t. X and set it equal to 0. Above equation has two variables, let’s