Row Echelon form, elementary transformation, and pure confusion.
Today's meme · shown with a halftone filter
Okay Terra, you made me read all of this complex mumbo jumbo, what do I do now?
First off, you need to relax. Secondly, Given that a+1 = 0 we can create a solution for a = -1!
But... I need to confess, the authors didn't provide a step by step solution to their answers :( But I did create one for my solution :D so you be the judge if I'm correct or not by proving it yourselves as well!
Particular solution
Remember on the previous chapter we used a type of identity matrix? well, there isn't one here and since on the pages I'm reading on didn't have the steps and only the solution, I'll show you know I did it :D
Find Ax = B
B=0−210
and assume that:
x1=ax2=bx3=cx4=dx5=e
We can split the result to form an equation like this, where each x is associated to a specific column.
0−210=a1000+b−2000+c1100+Let’s focus on this partd−1−110+e1−3−20
Let's assume that d and e are equal to 1 and add both of these to see what we get
1−1−110+11−3−20=02−10
Notice that the result of adding these result in the negative value of the result we're searching for?
02−10=−10−210
Finding d and e
Assume:
x=−1−110
and
y=1−3−20
Given:
dx+ey=−(x+y)dx+x+ey+y=0x(d+1)+y(e+1)=0
Since we know that x and y are not zero, the only way to fulfill this equation is by having (d+1) and (e+1) = 0.
So, both
d=−1ande=−1
Particular Solution Result
Great! now we can conclude that the particular solution is:
x (My answer)=000−1−1
Though... there's a small caveat. This isn't the author's answer, it's mine, I tried finding the solution in the sentences or maybe I slipped a page or two, but I think it's after going in-depth to row echelon form first, so I'm not sure about the method used to solve it.
x (Author’s answer)=20−110
General Solutions
I won't go into depth in this one, considering I also got the answer of Ax = 0 different. For more context, I'm using the same method as the yesterday with the lambda is from column 4 and column 5 (Since only those two contain the most non-zero column) and the column will become -1.
I'm really not sure if this is just math being math or I'm doing something wrong!
That's the end, I spent too much time racking my brain about the answer and might as well post it since I might get an answer on what kind of behavior is this.
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 (opens in a new tab)