Skip to content

Commit 507fd36

Browse files
committed
WIP poem and post
1 parent 4732dfc commit 507fd36

10 files changed

Lines changed: 886 additions & 19 deletions

File tree

content/posts/aztlan-poem/index.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
title: "Poem 9. \"Filtros\""
3+
category: personal
4+
date: 2025-09-28
5+
draft: true
6+
---
7+
8+
```
9+
sangre por mi carne,
10+
la lluvia que cae
11+
sobre la tierra,
12+
magma que surge
13+
por su piel,
14+
olas de sol
15+
en todo el cielo
16+
y sus colores,
17+
ríos, canales
18+
que se tuercen
19+
sobre el suelo,
20+
grietas, espacios,
21+
hielo que fluye,
22+
raíces
23+
24+
25+
la raíz absorbe
26+
y el río emite
27+
28+
29+
30+
el agua se tuerce
31+
sangre que absorbe
32+
esa piedra
33+
lluvia sobre la tierra
34+
manos labriegas en suelo fértil
35+
el temple del brazo
36+
magma que surge por tu piel
37+
el colmillo del jaguar
38+
armas, guerras,
39+
agua que fluye
40+
frutos radiantes
41+
42+
```

content/posts/tensors-signals-kernels/index.md

Lines changed: 153 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ L^2(\mathbb{R}) =
237237
\Bigl\{\, f:\mathbb{R} \to \mathbb{C} \; \big| \; \int_{-\infty}^{\infty} |f(t)|^2 \, dt < \infty \,\Bigr\},
238238
$$
239239

240-
241240
with the inner product $\langle f_1(t), \\, f_2(t) \rangle = \int_{\mathbb{R}} f_1(t) \overline{f_2(t)} \\, dt$. A natural choice of "continuous basis" for $L^2(\mathbb{R})$ is the family of complex exponentials indexed by frequency, $b_\omega(t) = e^{2 \pi i \omega t}$ with $\omega \in \mathbb{R}$. For all $f \in L^2(\mathbb{R})$,
242241

243242
$$
@@ -285,15 +284,16 @@ $$
285284

286285
{{% /hint %}}
287286

288-
### Multilinear Algebra
287+
### Tensor Spaces
289288

290-
TODO
289+
As a computer scientist, I was introduced to tensors as "multidimensional arrays" in a class while talking about representations for multi-channel media such as images. Like most other common first approaches to the topic, it is practically sufficient but conceptually incomplete. The truth is that this incompleteness is seldom resolved in the remainder of most students' academic journey. Here, I offer a resolution.
291290

292291
#### Vectors and Matrices
293292

294293
A regrettable aspect of a typical introduction to linear algebra is the marriage of syntax to abstract objects. Most of us were told in a first impression that a vector $v$ and a matrix $M$ may look something like this:
295294

296295
$$
296+
\begin{equation}
297297
v =
298298
\begin{bmatrix}
299299
1 \\
@@ -304,6 +304,7 @@ M =
304304
1 & 2 \\
305305
3 & 4
306306
\end{bmatrix}.
307+
\end{equation}
307308
$$
308309

309310
To talk about multilinear algebra and to gain a principled understanding of tensors, I will expose the idea that $v$ and $M$ are _both_ matrices, each of which simultaneously identifies a vector and a linear map. For a richer support, I will establish three resources below and explain their relationship afterward.
@@ -322,26 +323,169 @@ is a vector space over $\mathbb{F}$. We denote the case of linear operators on $
322323

323324
{{% hint title="3.9. Remark" %}}
324325

325-
There is a bijection between $\mathcal{L}(V, W)$ and $\mathbb{F}^{m \times n}$ such that $\dim(V) = n$ and $\dim(W) = m$, where $V$ and $W$ are vector spaces over the field $\mathbb{F}$. In other words, for each linear map $T$ from a vector space of dimension $n$ to another of dimension $m$, there is exactly one $m$-by-$n$ matrix with entries in $\mathbb{F}$.
326+
There is a bijection between $\mathcal{L}(V, W)$ and $\mathbb{F}^{m \times n}$ such that $\dim V = n$ and $\dim W = m$, where $V$ and $W$ are vector spaces over the field $\mathbb{F}$. In other words, for each linear map $T$ from a vector space of dimension $n$ to another of dimension $m$, there is exactly one $m$-by-$n$ matrix with entries in $\mathbb{F}$.
326327

327328
{{% /hint %}}
328329

329330
{{% hint title="3.10. Remark" %}}
330331

332+
A vector $v$ in a space $V$ over $\mathbb{F}$ can be regarded as a linear map from the space $\mathbb{F}^1$ into $V$, via
333+
334+
$$
335+
\psi_v : \mathbb{F}^1 \to V, \;\; \psi_v(\lambda) = v \lambda
336+
$$
337+
338+
When a basis for $V$ is fixed, the map $\psi_v$ is represented by an $n \times 1$ matrix (as an instance of theorem 3.9). This matrix is the familiar column of "coordinates" of $v$. In particular, observe that scalar multiplication can be seen as matrix multiplication with a single-dimensional vector,
339+
340+
$$
341+
\psi_v(\lambda) =
342+
\begin{bmatrix}
343+
v_1 \\
344+
v_2 \\
345+
\vdots \\
346+
v_{(\dim V)}
347+
\end{bmatrix}
348+
\begin{bmatrix}
349+
\lambda_1
350+
\end{bmatrix} =
351+
\begin{bmatrix}
352+
\lambda_1 v_1 \\
353+
\lambda_1 v_2 \\
354+
\vdots \\
355+
\lambda_1 v_{(\dim V)}
356+
\end{bmatrix} =
357+
\lambda_1 v.
358+
$$
359+
360+
{{% /hint %}}
361+
362+
This sets up a clear organization of vectors, matrices, and linear maps. With fixed bases, we see that the set of linear maps from $V$ to $W$ is already a vector space (via 3.8) and also that all vectors in a space $U$ over a field $\mathbb{F}$ are canonically a linear map from $\mathbb{F}^1$ into $U$ (via 3.10), hence
363+
364+
$$
365+
\text{Linear maps} \cong \text{Vectors}.
366+
$$
367+
368+
Also, we see that there is a one-to-one correspondence between linear maps and matrices (via 3.9) by the bijection $\mathcal{L}(V, W) \leftrightarrow \mathbb{F}^{(\dim W) \times (\dim V)}$, so in finite dimensions ($\cong^\!$)
369+
370+
$$
371+
\text{Matrices} \cong^! \text{Linear maps}.
372+
$$
373+
374+
Indeed, a vector can be turned into a matrix solely through its identifiability as a linear map, **turning the linear map into the central object of our understanding of linear algebra.** In summary,
375+
376+
$$
377+
\begin{equation}
378+
\text{Matrices} \cong^! \text{Linear maps} \cong \text{Vectors}.
379+
\end{equation}
380+
$$
381+
382+
{{% hint title="3.11. Critical Remark" %}}
383+
384+
Although true, the statement of 3.10 is quite tricky. In particular, consider the case when you have a linear map $T \in \mathcal{L}(V, W)$ represented by a matrix $M$, given bases. According to 3.8 that map is a vector, but according to 3.10 it is identified by some _other_ linear map $\psi_v$, which is identified by some _other_ column matrix $M^\prime$,
385+
386+
$$
387+
M
388+
\xrightarrow{\displaystyle\Phi_\mathcal{B}^{-1}} T
389+
\xrightarrow{\displaystyle\Psi_{\mathcal{L}(V, W)}} \psi_v
390+
\xrightarrow{\displaystyle\Phi_\mathcal{B}} M^\prime.
391+
$$
392+
393+
The basis-conscious bijection $\Phi_\mathcal{B} : \mathcal{L}(V, W) \to \mathbb{F}^{(\dim W) \times (\dim V)}$ lives up to 3.9, but we silently adopted the canonical translation $\Psi_U$ of arbitrary vectors into linear maps in 3.10,
394+
395+
$$
396+
\Psi_U : U \to \mathcal{L}(\mathbb{F}^1, U) \;\; \text{s.t.} \;\; \Psi_U(u) = \psi_u \; \forall \, u \in U.
397+
$$
398+
399+
This makes sense when the vector space $U$ is finite-dimensional, as is the case whenever $U = \mathcal{L}(V, W)$ for finite-dimensional $V$ and $W$; the fact that we always interpret finite-dimensional vectors as column matrices is what makes this case of $\Psi_U$ "canonical." In other cases where matrix representations make no sense (e.g. the linear map of the Fourier transform $\mathcal{F}$ from 3.6), the choice of $\Psi_U$ will have to be more conscientious.
400+
401+
{{% /hint %}}
402+
403+
#### Linear Forms
331404

332-
A vector $v$ in a space $V$ over $\mathbb{F}$ can be regarded as a linear map from the vector space $\mathbb{F}^1$ into $V$, via
405+
In a way that is "dual" to the statements of 3.10 and 3.11, one could look at another representation which, while not as obvious as mapping onto linear maps of column-matrix form (and hence non-canonical), can be seen as equally valid. Namely, one could map vectors to linear maps of row-matrix form,
333406

334407
$$
335-
\varphi_v : \mathbb{F}^1 \to V, \;\; \varphi_v(\lambda) = \lambda v.
408+
\Psi_U^* : U \to \mathcal{L}(U, \mathbb{F}^1) \;\; \text{s.t.} \;\; \Psi_U^*(u) = \varphi_u \; \forall \, u \in U.
336409
$$
337410

338-
When a basis for $V$ is fixed, the map $\varphi_v$ is represented by an $n \times 1$ matrix (as an instance of theorem 3.9). This matrix is the familiar column of "coordinates" of $v$.
411+
That is, for each vector $u \in U$, we can choose to represent it as a linear map $\varphi_u : U \to \mathbb{F}^1$. Back to the line of thought in 3.10, we see that when a basis is fixed, any such $\varphi_u$ can be identified by a $1 \times n$ matrix (again by 3.8). This can be illustrated quite simply for finite dimensions:
412+
413+
$$
414+
\varphi_u(v) =
415+
\begin{bmatrix}
416+
u_1 \quad
417+
u_2 \quad
418+
\dots \quad
419+
u_{(\dim U)}
420+
\end{bmatrix}
421+
\begin{bmatrix}
422+
v_1 \\
423+
v_2 \\
424+
\vdots \\
425+
v_{(\dim U)}
426+
\end{bmatrix} =
427+
\begin{bmatrix}
428+
\sum_{i \, = \, 1}^{\dim U} u_i v_i
429+
\end{bmatrix}.
430+
$$
431+
432+
{{% hint title="3.12. Note" %}}
433+
434+
Just as stated in 3.11 for $\Psi_U$, motivating the form $U \to \mathbb{F}^1$ from row matrices in the case of vector spaces $U$ of infinite dimension does not always work, as matrix representations sometimes make no sense there. Hence, the concrete choice of $\Psi_U^\*$ may require deeper consideration (e.g. in uncountably-infinite dimensions).
339435

340436
{{% /hint %}}
341437

342-
#### Linear Functionals
438+
#### Dual Spaces
439+
440+
All linear maps $\varphi_u : U \to \mathbb{F}^1$ receive the name of [linear forms](https://en.wikipedia.org/wiki/Linear_form) on the space $U$. After 3.8, this is no more than the vector space
441+
442+
$$
443+
U^* = \{ \, \varphi : U \to \mathbb{F}^1 \; | \; \varphi \text{ is linear} \}.
444+
$$
445+
446+
This is called the [dual vector space](https://en.wikipedia.org/wiki/Dual_space) of $U$, which receives the special notation $U^\*$ due to how naturally it arises. Much like elements of $U$ can be represented by column matrices, the elements of $U^\*$ (which are the covectors of elements of $U$) can be represented by row matrices (wherever matrices make sense).
447+
448+
{{% hint title="3.13. Remark" %}}
449+
450+
In any Hilbert space $H$, for every continuous linear form $\varphi \in H^*$, there is a unique vector $u \in H$ with
451+
452+
$$
453+
\forall \, v \in H, \; \varphi(v) = \langle u, v \rangle.
454+
$$
455+
456+
Furthermore, $||u|| = ||\varphi||$. This gives a natural identification between elements of $H$ and $H^*$ by the canonical bijection $J : u \mapsto \varphi$. Here, we say "canonical" because it is provided uniquely by the inner product. This is the statement of the [Riesz representation theorem](https://en.wikipedia.org/wiki/Riesz_representation_theorem).
457+
458+
{{% /hint %}}
459+
460+
It is not difficult to see that for any vector space $V$ over a field $\mathbb{F}$, in fact, $\Psi_V$ and $\Psi_V^\*$ are both bijections. Since they are canonical (in the sense that they are naturally defined), we can dare write
461+
462+
$$
463+
V = \mathcal{L}(\mathbb{F}^1, V) \;\; \text{and} \;\; V^* = \mathcal{L}(V, \mathbb{F}^1).
464+
$$
465+
466+
#### Multilinearity
467+
468+
We can continue talking about linearity in maps even when they have multiple arguments. For a map $T$ from multiple vector spaces $V_i$ into another $W$ (all over some field $\mathbb{F}$) where
469+
470+
$$
471+
T : V_1 \times V_2 \times \dots \times V_n \to W \;\; \text{s.t.} \;\; T(v_1, \, v_2, \, \ldots, \, v_n) = w,
472+
$$
473+
474+
we say that $T$ is linear in an argument $v_i$ if, for all other arguments $v_j \neq v_i$, fixing $v_j$ makes the newly altered $T^\prime : V_i \to W$ a linear map. If such a map $T$ is linear in all of its $n$ arguments it is called $n$-linear, and all maps like this are called [multilinear maps](https://en.wikipedia.org/wiki/Multilinear_map).
475+
476+
{{% hint title="3.14. Example" %}}
477+
478+
Matrix-vector multiplication can be seen as a bilinear ($2$-linear) map,
479+
480+
$$
481+
B : M_{m \times n}(\mathbb{F}) \times \mathbb{F}^n \to \mathbb{F}^m.
482+
$$
483+
484+
This is with the understanding that $m$-by-$n$ matrices with entries in $\mathbb{F}$, in other words $M_{m \times n}(\mathbb{F})$, indeed form a vector space over the same field $\mathbb{F}$. One can verify that fixing either argument (the vector or the matrix) forms a linear map with the other argument.
485+
486+
{{% /hint %}}
343487

344-
#### Dual Vector Spaces
488+
We may also extend linear forms with the same treatment that led us to multilinear maps. In particular, if an $n$-linear map over a field $\mathbb{F}$ has the codomain of $\mathbb{F}$ itself, it is called an $n$-linear form (where all maps like this are called [multilinear forms](https://en.wikipedia.org/wiki/Multilinear_form)).
345489

346490
### Signals and Systems
347491

public/index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<description>Recent content on Max Fierro</description>
77
<generator>Hugo -- gohugo.io</generator>
88
<language>en-US</language>
9-
<lastBuildDate>Sun, 21 Sep 2025 00:00:00 +0000</lastBuildDate>
9+
<lastBuildDate>Sun, 28 Sep 2025 00:00:00 +0000</lastBuildDate>
1010

1111
<atom:link href="http://localhost:1313/index.xml" rel="self" type="application/rss+xml" />
1212

0 commit comments

Comments
 (0)