Timeline

Post Timeline


All posts; ordered newest first.


Orthogonal projection onto an affine subspace

Projection onto a vector subspace is a common task in linear algebra courses. Affine subspaces, sets of the form $ \{ \mathbf{v} \in \mathbb{R}^m : \exists \mathbf{c} : \mathbf{v} = \mathbf{Ac} + \mathbf{b} \} $ for fixed matrix $\mathbf{A}$ and ...

(2024-07-29)


Transparent videos from Blender to the web

A quick guide to get your cool render out of Blender and onto the web, with transparency/alpha!

(2024-07-13)


Behavior of conjugate gradient residual

An often stressed property of the conjugate gradient method (CG) for solving linear systems is the monotonic decrease in the A-norm of the error. When CG is applied in practice the exact solution is unknown and the error cannot be computed or tracked, so ...

(2024-06-15)


Finding a rank 1 matrix orthogonal to another matrix

Recently I needed to solve the following problem: given a square matrix $\mathbf{A}$ find another square matrix $\mathbf{B}$ satisfying $\text{vec}(\mathbf{A})^T \text{vec}(\mathbf{B}) = 0$. This is the sense in which I use the word orthogonal ...

(2024-04-06)


This website: thoughts and history

(2024-01-15)


How many parentheses can Python handle?

During my office hours today I was asked whether “an extra pair of parentheses” would do any harm to the execution of a Python program. In the case at hand the answer was “no”, but I suspected there might be actually be a limit on ...

(2023-10-10)


A sufficient condition for non-negative solutions to non-negative linear systems

Here we are concerned with “non-negative” linear systems, that is, linear systems where $\mathbf{A}, \mathbf{b} \geq \mathbf{0}$ (elementwise). In particular, we give a sufficient condition for ...

(2023-09-29)


The space of matrices where LU requires pivoting is almost full-dimensional

The pivoted LU factorization of square matrices is the key routine for the direct solution of linear systems. All square, invertible matrices have a pivoted LU factorization of the form $\mathbf{PA} = \mathbf{LU}$, ...

(2023-06-06)


LLVM will win the Turing Award

The LLVM Project, which focuses on “modular and reusable compiler technologies” has had an enormous impact on the field of compilers, and by extension almost every kind of “applied” computer science.

(2022-12-22)


Expected profit for a 50/50 Raffle

An auto race I recently attended also ran a 50/50 raffle, which is where a single winner receives 50% of the money collected from ticket sales.

(2022-12-19)


Linear Algebra Pronunciation Guide

Like all fields of mathematics, linear algebra has many prominent figures whose names are non-trivial to pronounce in English (the lingua franca of science and mathematics).

(2022-11-17)


Interior eigenvectors of symmetric matrices are saddle points

Eigenpairs of symmetric matrices are intimately related to optimization and critical points, with the eigenvectors being critical points of the Rayleigh quotient. In optimization settings, the type of critical point (minimum, maximum, ...

(2022-07-29)


Relationship between power iteration and gradient descent

Although the majority of successful algorithms for the symmetric tensor eigenvalue problem use optimization techniques directly, there are a few notable algorithms that do not appear to be based on optimization. Rather, they more closely ...

(2022-05-29)


The theoretical minimum time for competition speed climbing

After watching a short documentary on the state and progress of competition speed climbing, with times going ever lower and quotes like “we never though X time was possible, and now were not sure how low times will go” I was ...

(2021-06-05)


Traditional Chain Pizza Review

A review of traditional style pizzas from national chains (specifically those in the Urbana, IL area) including: Domino’s, Jet’s, Little Ceasars, Papa John’s, and Pizza Hut.

(2021-02-15)


Deep Dish Chain Pizza Review

A review of deep dish and pan style pizzas from national chains (specifically those in the Urbana, IL area) including: Domino’s, Jet’s, Little Ceasars, Papa John’s and Pizza Hut.

(2020-10-30)


An alternative method to compute Gauss's sum

Gauss famously (and possibly fictionally) computed the sum between 1 and 100 at a young age. His original logic relies on symmetry and geometrical thought, especially triangles.

(2020-10-19)


Uncle Gimpy's Intellectifier

An old reference sheet with simple formulae for length, area, volume as well as useful conversions. It’s called Uncle Gimpy’s Intellectifier, and is meant to be folded up and kept in a wallet or purse. This is certainly from a time before internet ...

(2020-05-13)


Prime number detector

Input a number to determine if it is prime.

(2020-04-25)


Re() and Im() as complex numbers

A summer day in 2019 reading Complex Variables and Applications by Churchill inspired what I now realize is almost certainly a useless (but perhaps slightly amusing) result. Enjoy.

(2019-07-19)


Calculating the number of atoms in the Sun

It is said Freeman Dyson attempted to complete this task at the age of 4 or 5.

(2018-04-19)


A fun quote