# linear algebra

Published articles for linear algebra.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## The Single Most Undervalued Fact of Linear Algebra

DevFeed: [The Single Most Undervalued Fact of Linear Algebra](<https://devfeed.tech/articles/the-single-most-undervalued-fact-of-linear-algebra-38815.md>)

Original publisher: [Read original article](<https://thepalindrome.org/p/the-single-most-undervalued-fact-a90>)

Author: Tivadar Danka

Published: 2026-08-24T09:47:15Z

Content type: opinion

Language: en

Sources: [The Palindrome](<https://devfeed.tech/sources/the-palindrome.md>)

Topics: [Graphs](<https://devfeed.tech/topics/graphs.md>)

Tags: [animation](<https://devfeed.tech/tags/animation.md>), [arts](<https://devfeed.tech/tags/arts.md>), [audio](<https://devfeed.tech/tags/audio.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [linear](<https://devfeed.tech/tags/linear.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

The author presents matrices and graphs as related representations and describes remastering an earlier piece into a video with improved animation and audio recording.

### Source excerpt

Matrices are graphs and graphs are matrices

## Bicyclic Matrix-Matrix Multiplication in Fully Homomorphic Encryption

DevFeed: [Bicyclic Matrix-Matrix Multiplication in Fully Homomorphic Encryption](<https://devfeed.tech/articles/bicyclic-matrix-matrix-multiplication-in-fully-homomorphic-encryption-40492.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2025/11/17/bicyclic-matrix-matrix-multiplication-in-fully-homomorphic-encryption/>)

Published: 2025-11-17T16:41:28Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [FHE](<https://devfeed.tech/topics/fhe.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Code](<https://devfeed.tech/topics/code.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [circuit](<https://devfeed.tech/tags/circuit.md>), [code](<https://devfeed.tech/tags/code.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [github](<https://devfeed.tech/tags/github.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [lwe](<https://devfeed.tech/tags/lwe.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rlwe](<https://devfeed.tech/tags/rlwe.md>)

### AI overview

This article explains the bicyclic method for matrix-matrix multiplication in fully homomorphic encryption. It introduces the method's packing scheme, relates it to Halevi-Shoup diagonal packing, and discusses properties including multiplicative depth, layout invariance, and rotation complexity. The implementation is provided in a GitHub repository in a file named bicyclic.py.

### Source excerpt

In an earlier article, I covered the basic technique for performing matrix-vector multiplication in fully homomorphic encryption (FHE), known as the Halevi-Shoup diagonal method. This article covers a more recent method for matrix-matrix multiplication known as the bicyclic method. The code implementing this method is in the same GitHub repository as the previous article, and the bicyclic method is in a file called bicyclic.py. The previous article linked above covers the general concepts behind "FHE packing," which I will assume as background knowledge for this article:

## My Graduate Career in Math

DevFeed: [My Graduate Career in Math](<https://devfeed.tech/articles/my-graduate-career-in-math-40490.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2025/05/12/my-graduate-career-in-math/>)

Published: 2025-05-12T18:35:57Z

Content type: opinion

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [graph theory](<https://devfeed.tech/topics/graph-theory.md>)

Tags: [computer-science](<https://devfeed.tech/tags/computer-science.md>), [education](<https://devfeed.tech/tags/education.md>), [essay](<https://devfeed.tech/tags/essay.md>), [essays](<https://devfeed.tech/tags/essays.md>), [game-theory](<https://devfeed.tech/tags/game-theory.md>), [graph-theory](<https://devfeed.tech/tags/graph-theory.md>), [group-theory](<https://devfeed.tech/tags/group-theory.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [retrospective](<https://devfeed.tech/tags/retrospective.md>), [topology](<https://devfeed.tech/tags/topology.md>), [university](<https://devfeed.tech/tags/university.md>)

### AI overview

An autobiographical essay about the author's transition from computer science to mathematics at Cal Poly, including university coursework, study abroad in Budapest, and reflections on the intellectual environment and an early group theory project.

### Source excerpt

Editor's note: This essay was originally published on Medium on 2016-03-05. I have made minor edits in this republishing and added a few small retrospective notes. 2010-2011 (Year 0) I had just switched my major at Cal Poly State University from computer science to math. I wanted to double major but California was in a budget crisis and a few weeks before I tried submitting my double-major request the Provost for the CSU system put a blanket ban on double majors.

## Packing Matrix-Vector Multiplication in Fully Homomorphic Encryption

DevFeed: [Packing Matrix-Vector Multiplication in Fully Homomorphic Encryption](<https://devfeed.tech/articles/packing-matrix-vector-multiplication-in-fully-homomorphic-encryption-40487.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2024/09/06/packing-matrix-vector-multiplication-in-fhe/>)

Published: 2024-09-07T04:18:09Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [FHE](<https://devfeed.tech/topics/fhe.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [layout](<https://devfeed.tech/topics/layout.md>), [parallel](<https://devfeed.tech/topics/parallel.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [code](<https://devfeed.tech/tags/code.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [data](<https://devfeed.tech/tags/data.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [github-repository](<https://devfeed.tech/tags/github-repository.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [layout](<https://devfeed.tech/tags/layout.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [lwe](<https://devfeed.tech/tags/lwe.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [packing](<https://devfeed.tech/tags/packing.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [rlwe](<https://devfeed.tech/tags/rlwe.md>), [simd](<https://devfeed.tech/tags/simd.md>), [strategies](<https://devfeed.tech/tags/strategies.md>)

### AI overview

This article explains packing for SIMD-style fully homomorphic encryption. It describes how to arrange plaintext data in RLWE ciphertexts so matrix-vector multiplication requires fewer alignment multiplications and rotations, then introduces two basic packing techniques and a computational model.

### Source excerpt

In my recent overview of homomorphic encryption, I underemphasized the importance of data layout when working with arithmetic (SIMD-style) homomorphic encryption schemes. In the FHE world, the name given to data layout strategies is called "packing," because it revolves around putting multiple plaintext data into RLWE ciphertexts in carefully-chosen ways that mesh well with the operations you'd like to perform. By "mesh well" I mean it reduces the number of extra multiplications and rotations required merely to align data elements properly, rather than doing the actual computation you care about.

## A High-Level Technical Overview of Fully Homomorphic Encryption

DevFeed: [A High-Level Technical Overview of Fully Homomorphic Encryption](<https://devfeed.tech/articles/a-high-level-technical-overview-of-fully-homomorphic-encryption-40484.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2024/05/04/fhe-overview/>)

Published: 2024-05-04T15:30:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [FHE](<https://devfeed.tech/topics/fhe.md>), [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [toolchain](<https://devfeed.tech/topics/toolchain.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Post-quantum cryptography](<https://devfeed.tech/topics/post-quantum-cryptography.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [google](<https://devfeed.tech/tags/google.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [lwe](<https://devfeed.tech/tags/lwe.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [post-quantum-cryptography](<https://devfeed.tech/tags/post-quantum-cryptography.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rlwe](<https://devfeed.tech/tags/rlwe.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

A technical, high-level survey of fully homomorphic encryption (FHE), explaining how programs can operate on encrypted data without decrypting it. The article discusses the field's current limitations, key techniques, and its relationship to the HEIR compiler toolchain.

### Source excerpt

About two years ago, I switched teams at Google to focus on fully homomorphic encryption (abbreviated FHE, or sometimes HE). Since then I've got to work on a lot of interesting projects, learning along the way about post-quantum cryptography, compiler design, and the ins and outs of fully homomorphic encryption. If you've heard about FHE and you're a software person, you've probably heard two things: it lets you run programs directly on encrypted data without ever decrypting it; and it's still too slow to be useful for anything.

## Sample Extraction from RLWE to LWE

DevFeed: [Sample Extraction from RLWE to LWE](<https://devfeed.tech/articles/sample-extraction-from-rlwe-to-lwe-40463.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2023/02/27/sample-extraction-from-rlwe-to-lwe/>)

Published: 2023-02-27T08:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [FHE](<https://devfeed.tech/topics/fhe.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>)

Tags: [cryptography](<https://devfeed.tech/tags/cryptography.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [lwe](<https://devfeed.tech/tags/lwe.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rlwe](<https://devfeed.tech/tags/rlwe.md>), [scheme](<https://devfeed.tech/tags/scheme.md>)

### AI overview

A tutorial deriving sample extraction, an FHE technique that partially converts a ciphertext from the Ring Learning With Errors (RLWE) scheme to the Learning With Errors (LWE) scheme. It introduces the relevant LWE and RLWE encryption constructions and explains the role of error terms.

### Source excerpt

In this article I'll derive a trick used in FHE called sample extraction. In brief, it allows one to partially convert a ciphertext in the Ring Learning With Errors (RLWE) scheme to the Learning With Errors (LWE) scheme. Here are some other articles I've written about other FHE building blocks, though they are not prerequisites for this article. Modulus Switching in LWE Key Switching in LWE The Gadget Decomposition in FHE Negacyclic Polynomial Multiplication Estimating the Security of Ring Learning With Errors LWE and RLWE The first two articles in the list above define the Learning With Errors problem (LWE).

## The Gadget Decomposition in FHE

DevFeed: [The Gadget Decomposition in FHE](<https://devfeed.tech/articles/the-gadget-decomposition-in-fhe-40450.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/12/11/the-gadget-decomposition-in-fhe/>)

Published: 2021-12-11T13:57:25Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [FHE](<https://devfeed.tech/topics/fhe.md>), [homomorphic encryption](<https://devfeed.tech/topics/homomorphic-encryption.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Computing](<https://devfeed.tech/topics/computing.md>), [data](<https://devfeed.tech/topics/data.md>), [Code](<https://devfeed.tech/topics/code.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [bootstrapping](<https://devfeed.tech/tags/bootstrapping.md>), [core](<https://devfeed.tech/tags/core.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [fhe](<https://devfeed.tech/tags/fhe.md>), [gadget-decomposition](<https://devfeed.tech/tags/gadget-decomposition.md>), [group-theory](<https://devfeed.tech/tags/group-theory.md>), [homomorphic-encryption](<https://devfeed.tech/tags/homomorphic-encryption.md>), [learning-with-errors](<https://devfeed.tech/tags/learning-with-errors.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [lwe](<https://devfeed.tech/tags/lwe.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [number-theory](<https://devfeed.tech/tags/number-theory.md>), [operations](<https://devfeed.tech/tags/operations.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

A tutorial on gadget decomposition in fully homomorphic encryption (FHE). It explains how GSW and related schemes use random noise, how homomorphic operations increase that noise, why bootstrapping is needed, and how gadget decomposition helps limit noise growth.

### Source excerpt

Lately I've been studying Fully Homomorphic Encryption, which is the miraculous ability to perform arbitrary computations on encrypted data without learning any information about the underlying message. It's the most comprehensive private computing solution that can exist (and it does exist!). The first FHE scheme by Craig Gentry was based on ideal lattices and was considered very complex (I never took the time to learn how it worked). Some later schemes (GSW = Gentry-Sahai-Waters) are based on matrix multiplication, and are conceptually much simpler.

## Regression and Linear Combinations

DevFeed: [Regression and Linear Combinations](<https://devfeed.tech/articles/regression-and-linear-combinations-40446.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2021/03/29/regression-and-linear-combinations/>)

Published: 2021-03-29T09:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [linear-regression](<https://devfeed.tech/topics/linear-regression.md>), [math](<https://devfeed.tech/topics/math.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Algorithms, Complexity](<https://devfeed.tech/topics/algorithms-complexity.md>)

Tags: [data](<https://devfeed.tech/tags/data.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [kernelization](<https://devfeed.tech/tags/kernelization.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [linear-combination](<https://devfeed.tech/tags/linear-combination.md>), [linear-regression](<https://devfeed.tech/tags/linear-regression.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [regression](<https://devfeed.tech/tags/regression.md>)

### AI overview

The article explains why linear combinations matter to programmers, using linear regression as a practical example. It describes representing inputs and weights as vectors, incorporating an intercept into the input vector, and formulating regression as a least-squares optimization problem. The supplied excerpt then begins introducing basis functions for modeling nonlinearity.

### Source excerpt

Recently I've been helping out with a linear algebra course organized by Tai-Danae Bradley and Jack Hidary, and one of the questions that came up a few times was, "why should programmers care about the concept of a linear combination?" For those who don't know, given vectors $ v_1, \dots, v_n$, a linear combination of the vectors is a choice of some coefficients $ a_i$ with which to weight the vectors in a sum $ v = \sum_{i=1}^n a_i v_i$.

## A parlor trick for SET

DevFeed: [A parlor trick for SET](<https://devfeed.tech/articles/a-parlor-trick-for-set-40420.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2018/03/25/a-parlor-trick-for-set/>)

Published: 2018-03-25T09:51:34Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [color](<https://devfeed.tech/topics/color.md>)

Tags: [color](<https://devfeed.tech/tags/color.md>), [finite-fields](<https://devfeed.tech/tags/finite-fields.md>), [game](<https://devfeed.tech/tags/game.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [set](<https://devfeed.tech/tags/set.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This mathematical article presents a parlor trick for the card game SET. By modeling cards as vectors in the finite vector space F₃⁴, it explains why the remaining visible board uniquely determines the final undealt card when all previously claimed sets were valid.

### Source excerpt

Tai-Danae Bradley is one of the hosts of PBS Infinite Series, a delightful series of vignettes into fun parts of math. The video below is about the same of SET, a favorite among mathematicians. Specifically, Tai-Danae explains how SET cards lie in (using more technical jargon) a vector space over a finite field, and that valid sets correspond to lines. If you don't immediately know how this would work, watch the video.

## The Inner Product as a Decision Rule

DevFeed: [The Inner Product as a Decision Rule](<https://devfeed.tech/articles/the-inner-product-as-a-decision-rule-40410.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2017/05/22/the-inner-product-as-a-decision-rule/>)

Published: 2017-05-22T08:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [arithmetic](<https://devfeed.tech/tags/arithmetic.md>), [inner-product](<https://devfeed.tech/tags/inner-product.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [programming](<https://devfeed.tech/tags/programming.md>), [projection](<https://devfeed.tech/tags/projection.md>), [support-vector-machines](<https://devfeed.tech/tags/support-vector-machines.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

### AI overview

This article explains how the standard inner product, or dot product, acts as a geometric decision rule. It shows how the sign of the product determines which side of a line through the origin a vector lies on, while zero indicates that the vector lies on the line. The explanation connects this behavior to vector projection.

### Source excerpt

The standard inner product of two vectors has some nice geometric properties. Given two vectors $ x, y \in \mathbb{R}^n$, where by $ x_i$ I mean the $ i$-th coordinate of $ x$, the standard inner product (which I will interchangeably call the dot product) is defined by the formula $$\displaystyle \langle x, y \rangle = x_1 y_1 + \dots + x_n y_n$$ This formula, simple as it is, produces a lot of interesting geometry.

## Singular Value Decomposition Part 1: Perspectives on Linear Algebra

DevFeed: [Singular Value Decomposition Part 1: Perspectives on Linear Algebra](<https://devfeed.tech/articles/singular-value-decomposition-part-1-perspectives-on-linear-algebra-40398.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2016/04/18/singular-value-decomposition-part-1-perspectives-on-linear-algebra/>)

Published: 2016-04-18T09:00:40Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Data analysis](<https://devfeed.tech/topics/data-analysis.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Statistics](<https://devfeed.tech/topics/statistics.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [data-analysis](<https://devfeed.tech/tags/data-analysis.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [regression](<https://devfeed.tech/tags/regression.md>), [singular-value-decomposition](<https://devfeed.tech/tags/singular-value-decomposition.md>), [statistics](<https://devfeed.tech/tags/statistics.md>)

### AI overview

This first post in a two-part series motivates and introduces singular value decomposition (SVD). It explains how matrices can represent both linear transformations and organized data, and outlines the role of SVD in applications such as regression, prediction, and approximate optimization solutions.

### Source excerpt

The singular value decomposition (SVD) of a matrix is a fundamental tool in computer science, data analysis, and statistics. It's used for all kinds of applications from regression to prediction, to finding approximate solutions to optimization problems. In this series of two posts we'll motivate, define, compute, and use the singular value decomposition to analyze some data. (Jump to the second post) I want to spend the first post entirely on motivation and background.

## Tensorphobia and the Outer Product

DevFeed: [Tensorphobia and the Outer Product](<https://devfeed.tech/articles/tensorphobia-and-the-outer-product-40397.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2016/03/28/tensorphobia-outer-product/>)

Published: 2016-03-28T09:00:46Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [primer](<https://devfeed.tech/tags/primer.md>), [tensors](<https://devfeed.tech/tags/tensors.md>)

### AI overview

An explanation of the outer product of vectors, connecting modern tensor concepts with practical linear algebra. The article develops why the construction of two vectors as a linear map should be understood as natural or canonical.

### Source excerpt

Variations on a theme Back in 2014 I wrote a post called How to Conquer Tensorphobia that should end up on Math $ \cap$ Programming's "greatest hits" album. One aspect of tensors I neglected to discuss was the connection between the modern views of tensors and the practical views of linear algebra. I feel I need to write this because every year or two I forget why it makes sense.

## The Čech Complex and the Vietoris-Rips Complex

DevFeed: [The Čech Complex and the Vietoris-Rips Complex](<https://devfeed.tech/articles/the-cech-complex-and-the-vietoris-rips-complex-40386.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2015/08/06/cech-vietoris-rips-complex/>)

Published: 2015-08-06T09:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [data](<https://devfeed.tech/topics/data.md>), [datasets](<https://devfeed.tech/topics/datasets.md>), [Point cloud](<https://devfeed.tech/topics/point-cloud.md>), [Computing](<https://devfeed.tech/topics/computing.md>)

Tags: [approximation](<https://devfeed.tech/tags/approximation.md>), [cech-complex](<https://devfeed.tech/tags/cech-complex.md>), [complex](<https://devfeed.tech/tags/complex.md>), [computational-topology](<https://devfeed.tech/tags/computational-topology.md>), [data-mining](<https://devfeed.tech/tags/data-mining.md>), [data-science](<https://devfeed.tech/tags/data-science.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [homology](<https://devfeed.tech/tags/homology.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [persistent-homology](<https://devfeed.tech/tags/persistent-homology.md>), [point](<https://devfeed.tech/tags/point.md>), [points](<https://devfeed.tech/tags/points.md>), [simplicial-complex](<https://devfeed.tech/tags/simplicial-complex.md>), [vietoris-rips-complex](<https://devfeed.tech/tags/vietoris-rips-complex.md>)

### AI overview

This article introduces computational topology for analyzing the shape of data. It explains how point clouds can be converted into simplicial complexes so homology and persistent homology can identify qualitative features such as connected components and holes, with some resistance to noise.

### Source excerpt

It's about time we got back to computational topology. Previously in this series we endured a lightning tour of the fundamental group and homology, then we saw how to compute the homology of a simplicial complex using linear algebra. What we really want to do is talk about the inherent shape of data. Homology allows us to compute some qualitative features of a given shape, i.e., find and count the number of connected components or a given shape, or the number of "2-dimensional holes" it has.

## Hamming's Code

DevFeed: [Hamming's Code](<https://devfeed.tech/articles/hamming-s-code-40378.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2015/03/02/hammings-code/>)

Published: 2015-03-02T09:00:00Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [Encoding](<https://devfeed.tech/topics/encoding.md>), [digital](<https://devfeed.tech/topics/digital.md>)

Tags: [coding-theory](<https://devfeed.tech/tags/coding-theory.md>), [compression](<https://devfeed.tech/tags/compression.md>), [computing](<https://devfeed.tech/tags/computing.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [error](<https://devfeed.tech/tags/error.md>), [errors](<https://devfeed.tech/tags/errors.md>), [finite-fields](<https://devfeed.tech/tags/finite-fields.md>), [hamming](<https://devfeed.tech/tags/hamming.md>), [hamming-code](<https://devfeed.tech/tags/hamming-code.md>), [hypercube](<https://devfeed.tech/tags/hypercube.md>), [information-theory](<https://devfeed.tech/tags/information-theory.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [linear-codes](<https://devfeed.tech/tags/linear-codes.md>), [np-hard](<https://devfeed.tech/tags/np-hard.md>), [reed-solomon-codes](<https://devfeed.tech/tags/reed-solomon-codes.md>), [solved](<https://devfeed.tech/tags/solved.md>), [transmission](<https://devfeed.tech/tags/transmission.md>)

### AI overview

This tutorial introduces Hamming codes as efficiently computable encoding schemes for detecting and correcting errors caused by noise during digital transmission. It defines a code as a subset of binary strings and relates codewords to an injective encoding function.

### Source excerpt

Or how to detect and correct errors Last time we made a quick tour through the main theorems of Claude Shannon, which essentially solved the following two problems about communicating over a digital channel. What is the best encoding for information when you are guaranteed that your communication channel is error free? Are there any encoding schemes that can recover from random noise introduced during transmission? The answers to these questions were purely mathematical theorems, of course.

## Multiple Qubits and the Quantum Circuit

DevFeed: [Multiple Qubits and the Quantum Circuit](<https://devfeed.tech/articles/multiple-qubits-and-the-quantum-circuit-40374.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2015/01/26/multiple-qubits-and-the-quantum-circuit/>)

Published: 2015-01-26T09:00:00Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [circuit](<https://devfeed.tech/topics/circuit.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [bits](<https://devfeed.tech/tags/bits.md>), [circuits](<https://devfeed.tech/tags/circuits.md>), [entanglement](<https://devfeed.tech/tags/entanglement.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [physics](<https://devfeed.tech/tags/physics.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [quantum-computing](<https://devfeed.tech/tags/quantum-computing.md>), [tensor-product](<https://devfeed.tech/tags/tensor-product.md>), [tensors](<https://devfeed.tech/tags/tensors.md>)

### AI overview

This article explains why the tensor product is the natural mathematical representation of the joint state of multiple qubits. It also introduces basic quantum gates and the definition of a quantum circuit.

### Source excerpt

Last time we left off with the tantalizing question: how do you do a quantum "AND" operation on two qubits? In this post we'll see why the tensor product is the natural mathematical way to represent the joint state of multiple qubits. Then we'll define some basic quantum gates, and present the definition of a quantum circuit. Working with Multiple Qubits In a classical system, if you have two bits with values $ b_1, b_2$, then the "joint state" of the two bits is given by the concatenated string $ b_1b_2$.

## The Quantum Bit

DevFeed: [The Quantum Bit](<https://devfeed.tech/articles/the-quantum-bit-40373.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/12/15/the-quantum-bit/>)

Published: 2014-12-15T10:00:52Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Quantum Computing](<https://devfeed.tech/topics/quantum-computing.md>), [Computing](<https://devfeed.tech/topics/computing.md>), [circuit](<https://devfeed.tech/topics/circuit.md>)

Tags: [bits](<https://devfeed.tech/tags/bits.md>), [circuit](<https://devfeed.tech/tags/circuit.md>), [circuits](<https://devfeed.tech/tags/circuits.md>), [complex-numbers](<https://devfeed.tech/tags/complex-numbers.md>), [computing](<https://devfeed.tech/tags/computing.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [measurement](<https://devfeed.tech/tags/measurement.md>), [quantum](<https://devfeed.tech/tags/quantum.md>), [quantum-computing](<https://devfeed.tech/tags/quantum-computing.md>), [quantum-mechanics](<https://devfeed.tech/tags/quantum-mechanics.md>), [qubit](<https://devfeed.tech/tags/qubit.md>), [unitary-matrices](<https://devfeed.tech/tags/unitary-matrices.md>)

### AI overview

An introduction to quantum computing that extends classical circuit concepts to qubits. It defines a qubit as a unit vector in the complex plane of two dimensions and explains why extracting information from qubits differs from reading classical bits.

### Source excerpt

The best place to start our journey through quantum computing is to recall how classical computing works and try to extend it. Since our final quantum computing model will be a circuit model, we should informally discuss circuits first. A circuit has three parts: the "inputs," which are bits (either zero or one); the "gates," which represent the lowest-level computations we perform on bits; and the "wires," which connect the outputs of gates to the inputs of other gates.

## Linear Programming and the Simplex Algorithm

DevFeed: [Linear Programming and the Simplex Algorithm](<https://devfeed.tech/articles/linear-programming-and-the-simplex-algorithm-40371.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/12/01/linear-programming-and-the-simplex-algorithm/>)

Published: 2014-12-01T10:00:59Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [code](<https://devfeed.tech/tags/code.md>), [exponential-time-algorithms](<https://devfeed.tech/tags/exponential-time-algorithms.md>), [integer-programming](<https://devfeed.tech/tags/integer-programming.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [linear-programming](<https://devfeed.tech/tags/linear-programming.md>), [lp-relaxation](<https://devfeed.tech/tags/lp-relaxation.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>), [simplex-algorithm](<https://devfeed.tech/tags/simplex-algorithm.md>)

### AI overview

This tutorial explains how to implement the simplex algorithm for solving linear programs. It introduces standard form and shows how slack variables convert inequality constraints into equality constraints.

### Source excerpt

In the last post in this series we saw some simple examples of linear programs, derived the concept of a dual linear program, and saw the duality theorem and the complementary slackness conditions which give a rough sketch of the stopping criterion for an algorithm. This time we'll go ahead and write this algorithm for solving linear programs, and next time we'll apply the algorithm to an industry-strength version of the nutrition problem we saw last time.

## Fixing Bugs in "Computing Homology"

DevFeed: [Fixing Bugs in "Computing Homology"](<https://devfeed.tech/articles/fixing-bugs-in-computing-homology-40340.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2014/01/23/fixing-bugs-in-computing-homology/>)

Published: 2014-01-23T23:05:16Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Code](<https://devfeed.tech/topics/code.md>), [function](<https://devfeed.tech/topics/function.md>), [Matrix](<https://devfeed.tech/topics/matrix-org.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [code](<https://devfeed.tech/tags/code.md>), [computing](<https://devfeed.tech/tags/computing.md>), [function](<https://devfeed.tech/tags/function.md>), [homology](<https://devfeed.tech/tags/homology.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [persistent-homology](<https://devfeed.tech/tags/persistent-homology.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [quotients](<https://devfeed.tech/tags/quotients.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

This article corrects bugs in code for computing homology. It identifies an indexing error, explains a mathematical mistake in simultaneous row and column reduction, and shows how further row reduction is needed to obtain the correct rank for a triangulation of the Möbius band.

### Source excerpt

A few awesome readers have posted comments in Computing Homology to the effect of, "Your code is not quite correct!" And they're right! Despite the almost year since that post's publication, I haven't bothered to test it for more complicated simplicial complexes, or even the basic edge cases! When I posted it the mathematics just felt so solid to me that it had to be right (the irony is rich, I know).

## A Reminder of Lagrange Multipliers for Optimization Problems

DevFeed: [A Reminder of Lagrange Multipliers for Optimization Problems](<https://devfeed.tech/articles/lagrangians-for-the-amnesiac-40334.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/11/30/lagrangians-for-the-amnesiac/>)

Published: 2013-11-30T09:00:50Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Optimization](<https://devfeed.tech/topics/optimization.md>), [function](<https://devfeed.tech/topics/function.md>), [Variable](<https://devfeed.tech/topics/variable.md>)

Tags: [convex-functions](<https://devfeed.tech/tags/convex-functions.md>), [function](<https://devfeed.tech/tags/function.md>), [gradient-descent](<https://devfeed.tech/tags/gradient-descent.md>), [lagrange](<https://devfeed.tech/tags/lagrange.md>), [lagrange-multipliers](<https://devfeed.tech/tags/lagrange-multipliers.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [problems](<https://devfeed.tech/tags/problems.md>), [variable](<https://devfeed.tech/tags/variable.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

### AI overview

A tutorial-style reminder of Lagrange multipliers for optimization problems. It reviews gradients, partial derivatives, dot products, and directional change for multivariable functions.

### Source excerpt

For a while I've been meaning to do some more advanced posts on optimization problems of all flavors. One technique that comes up over and over again is Lagrange multipliers, so this post is going to be a leisurely reminder of that technique. I often forget how to do these basic calculus-type things, so it's good practice. We will assume something about the reader's knowledge, but it's a short list: know how to operate with vectors and the dot product, know how to take a partial derivative, and know that in single-variable calculus the local maxima and minima of a differentiable function $ f(x)$ occur when the derivative $ f'(x)$ vanishes.

## Homology Theory -- A Primer

DevFeed: [Homology Theory -- A Primer](<https://devfeed.tech/articles/homology-theory-a-primer-40309.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/04/03/homology-theory-a-primer/>)

Published: 2013-04-03T20:07:46Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>)

Tags: [abelian-groups](<https://devfeed.tech/tags/abelian-groups.md>), [algebraic-topology](<https://devfeed.tech/tags/algebraic-topology.md>), [fundamental-group](<https://devfeed.tech/tags/fundamental-group.md>), [groups](<https://devfeed.tech/tags/groups.md>), [homology](<https://devfeed.tech/tags/homology.md>), [homotopy](<https://devfeed.tech/tags/homotopy.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [primer](<https://devfeed.tech/tags/primer.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>), [series](<https://devfeed.tech/tags/series.md>), [simplicial-complex](<https://devfeed.tech/tags/simplicial-complex.md>), [topological-invariant](<https://devfeed.tech/tags/topological-invariant.md>), [topology](<https://devfeed.tech/tags/topology.md>), [tor](<https://devfeed.tech/tags/tor.md>), [vector-spaces](<https://devfeed.tech/tags/vector-spaces.md>)

### AI overview

A primer on homology theory that introduces homology groups as computable algebraic invariants of topological spaces. It emphasizes linear algebra, row reduction, vector spaces, and the mathematical background needed to implement related programs.

### Source excerpt

This series on topology has been long and hard, but we're are quickly approaching the topics where we can actually write programs. For this and the next post on homology, the most important background we will need is a solid foundation in linear algebra, specifically in row-reducing matrices (and the interpretation of row-reduction as a change of basis of a linear operator). Last time we engaged in a whirlwind tour of the fundamental group and homotopy theory.

## K-Nearest-Neighbors and Handwritten Digit Classification

DevFeed: [K-Nearest-Neighbors and Handwritten Digit Classification](<https://devfeed.tech/articles/k-nearest-neighbors-and-handwritten-digit-classification-40284.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/08/26/k-nearest-neighbors-and-handwritten-digit-classification/>)

Published: 2012-08-26T12:19:43Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Machine Learning & Artificial Intelligence](<https://devfeed.tech/topics/machine-learning-artificial-intelligence.md>), [Data Science](<https://devfeed.tech/topics/data-science.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>)

Tags: [dimension](<https://devfeed.tech/tags/dimension.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [metric](<https://devfeed.tech/tags/metric.md>), [process](<https://devfeed.tech/tags/process.md>), [programming](<https://devfeed.tech/tags/programming.md>), [supervised-learning](<https://devfeed.tech/tags/supervised-learning.md>)

### AI overview

This tutorial introduces supervised classification in machine learning and explains how labeled data, training algorithms, models, and classification algorithms work together. It then examines the assumption that data points in the same class are close under an appropriate metric.

### Source excerpt

The Recipe for Classification One important task in machine learning is to classify data into one of a fixed number of classes. For instance, one might want to discriminate between useful email and unsolicited spam. Or one might wish to determine the species of a beetle based on its physical attributes, such as weight, color, and mandible length. These "attributes" are often called "features" in the world of machine learning, and they often correspond to dimensions when interpreted in the framework of linear algebra.

## Generalized Functions -- A Primer

DevFeed: [Generalized Functions -- A Primer](<https://devfeed.tech/articles/generalized-functions-a-primer-40275.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/06/06/generalized-functions/>)

Published: 2012-06-06T20:57:05Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>), [abstraction](<https://devfeed.tech/topics/abstraction.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [fourier-analysis](<https://devfeed.tech/tags/fourier-analysis.md>), [fourier-transform](<https://devfeed.tech/tags/fourier-transform.md>), [functional-analysis](<https://devfeed.tech/tags/functional-analysis.md>), [generalized-functions](<https://devfeed.tech/tags/generalized-functions.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [primer](<https://devfeed.tech/tags/primer.md>), [programming](<https://devfeed.tech/tags/programming.md>), [theory](<https://devfeed.tech/tags/theory.md>)

### AI overview

This primer develops a more rigorous mathematical framework for Fourier transforms. It motivates the search for a class of functions that remains well behaved under the Fourier transform and its inverse, while avoiding divergent integrals.

### Source excerpt

Last time we investigated the naive (which I'll henceforth call "classical") notion of the Fourier transform and its inverse. While the development wasn't quite rigorous, we nevertheless discovered elegant formulas and interesting properties that proved useful in at least solving differential equations. Of course, we wouldn't be following this trail of mathematics if it didn't result in some worthwhile applications to programming. While we'll get there eventually, this primer will take us deeper down the rabbit hole of abstraction.

## Double Angle Trigonometric Formulas

DevFeed: [Double Angle Trigonometric Formulas](<https://devfeed.tech/articles/double-angle-trigonometric-formulas-40273.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2012/05/19/double-angle-trigonometric-formulas/>)

Published: 2012-05-19T23:28:53Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>)

Tags: [cos](<https://devfeed.tech/tags/cos.md>), [double-angle-identities](<https://devfeed.tech/tags/double-angle-identities.md>), [geometric-transformations](<https://devfeed.tech/tags/geometric-transformations.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [trigonometry](<https://devfeed.tech/tags/trigonometry.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

This tutorial derives the double-angle sine and cosine identities by representing planar rotations with a 2x2 matrix, squaring that matrix, and comparing it with a rotation by 2θ.

### Source excerpt

Problem: Derive the double angle identities $$\sin(2\theta) = 2\sin(\theta)\cos(\theta)\\\ \cos(2\theta) = \cos^2(\theta) - \sin^2(\theta)$$ Solution: Recall from linear algebra how one rotates a point in the plane. The matrix of rotation (derived by seeing where $ (1,0)$ and $ (0,1)$ go under a rotation by $ \theta$, and writing those coordinates in the columns) is $$A = \begin{pmatrix} \cos(\theta) & -\sin(\theta) \\\ \sin(\theta) & \cos(\theta) \end{pmatrix}$$ Next, note that to rotate a point twice by $ \theta$, we simply multiply the point (as a vector) by $ A$ twice.

## Row Reduction Over A Field

DevFeed: [Row Reduction Over A Field](<https://devfeed.tech/articles/row-reduction-over-a-field-40251.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/12/30/row-reduction-over-a-field/>)

Published: 2011-12-30T15:36:28Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Computing](<https://devfeed.tech/topics/computing.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>)

Tags: [eigenvalues](<https://devfeed.tech/tags/eigenvalues.md>), [eigenvectors](<https://devfeed.tech/tags/eigenvectors.md>), [field](<https://devfeed.tech/tags/field.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [linear-maps](<https://devfeed.tech/tags/linear-maps.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [matrices](<https://devfeed.tech/tags/matrices.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>), [row-reduction](<https://devfeed.tech/tags/row-reduction.md>)

### AI overview

This tutorial introduces row reduction over a field through matrices representing linear maps between finite-dimensional vector spaces. It explains row equivalence and describes how suitable matrix forms help determine kernels, images, dimensions, eigenvalues, and eigenvectors, with applications to persistent homology and optimization problems.

### Source excerpt

We're quite eager to get to applications of algebraic topology to things like machine learning (in particular, persistent homology). Even though there's a massive amount of theory behind it (and we do plan to cover some of the theory), a lot of the actual computations boil down to working with matrices. Of course, this means we're in the land of linear algebra; for a refresher on the terminology, see our primers on linear algebra.

[Next page](<https://devfeed.tech/tags/linear-algebra.md?cursor=WyIyMDExLTEyLTMwVDE1OjM2OjI4KzAwOjAwIiwgIjQxMTlhNzU4LTExOGQtNGMzZS1hMDM3LTQ5YjM4N2VkMjdkMiJd>)