<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://v-post.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://v-post.github.io/" rel="alternate" type="text/html" /><updated>2025-03-12T21:47:40+00:00</updated><id>https://v-post.github.io/feed.xml</id><title type="html">Veronika Post</title><subtitle>Information cannot be created or destroyed.</subtitle><author><name>Veronika Post</name></author><entry><title type="html">Linear Algebra</title><link href="https://v-post.github.io/2024/03/09/linear-algebra-notes.html" rel="alternate" type="text/html" title="Linear Algebra" /><published>2024-03-09T03:45:13+00:00</published><updated>2024-03-09T03:45:13+00:00</updated><id>https://v-post.github.io/2024/03/09/linear-algebra-notes</id><content type="html" xml:base="https://v-post.github.io/2024/03/09/linear-algebra-notes.html"><![CDATA[<style type="text/css">
    a {
    color: #0085A1;
    text-decoration: none;
    background-color: transparent;
  }
    body {
      background-color: #191B1E;
      /* background-color: #212121; */
      color: #FAF9F6;
    }
    .term {
        color: #a7c957;
        font-weight:bold; 
        font-style:italic;
    }
</style>

<!--  MathJax to render math equations in the LaTeX style -->
<!-- Looks like amsmath package is included ? -->
<script id="MathJax-script" async
          src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>

<h2>Chapter 1 - Vectors</h2>

<p><i>The following notes are based on the "Introduction to Applied Linear Algebra - Vectors, Matrices, and Least Squares" book by 
  Stephen Boyd and Lieven Vandenberghe, available freely online <a href="https://web.stanford.edu/~boyd/vmls/">here</a>. 
  It is a very useful resource for people interested in all things Data Science and Artificial Intelligence, as both of those 
  fields are basically various shades of statistics intertwined with and built from various shades of applied mathematics, 
  where linear lagebra plays a dominating role.</i></p>

<h3>1.1 Vectors</h3>

<p>A <span class="term">vector</span> is an ordered finite list of numbers. Usually written as:</p>

<p>
  $$ \begin{bmatrix}-1.1\\0.0\\3.6\\-7.2\end{bmatrix}  \ or \ \begin{pmatrix}-1.1\\0.0\\3.6\\-7.2\end{pmatrix}  \ or \ \begin{bmatrix} -1.1 & 0.0 & 3.6 & -7.2 \end{bmatrix}$$
</p>

<p>A vector consists of <span class="term">elements</span>, also called <i><b>components</b>, <b>entries</b>, or 
  <b>coefficients</b></i>. In the example above, vector elements are -1.1, 0.0, 3.6, and -7.2. 
(<i>As you can notice in Linear Algebra, as well as in Data Science or Machine Learning, which use Linear Algebra heavily, 
  a lot of things have multiple names, sometimes it gets very confusing.</i>)</p>

<p>The <span class="term">size</span>, aka <i><b>dimension</b></i> or <i><b>length</b></i>, of the vector is the number 
  of elements it contains. In the example above, the size of each vector is 4. 
  The vector of size <i><b>n</b></i> is called an <span class="term">n-vector</span>. 
  If n=1, we have a <i><b>1-vector</b></i>, for example [3.6]. It is important to note that the 1-vector [3.6] is not the same 
  as a <i>scalar</i> 3.6, as scalars have only magnitude, but vectors, even the one dimensional ones, 
  have magnitude and direction. However, in linear algebra, 1-vectors are often treated as scalars, while other fields, 
  such as physics, they are never treated as such.</p>

<p>It is convenient to denote vectors with letters and its elements with subscripts, 
  for example a vector <i><b>a</b></i> will have elements \(a_1\), \(a_2\), \(a_3\), etc. We can write an element of 
  vector as \(a_i\), where <i><b>i</b></i> will go from 1 to the size of the vector, <span class="term">n</span>.</p>]]></content><author><name>Veronika Post</name></author><summary type="html"><![CDATA[]]></summary></entry></feed>