在不刻意追求的情况下推导奇异值分解 (SVD)
Deriving the SVD (Single Value Decomposition) from scratch

原始链接: https://stillthinking.net/posts/connections-in-math-svd/

本文探讨了如何通过寻求形式化概念背后的“直觉结构”,从而超越数学学习中的死记硬背。作者以奇异值分解(SVD)为主要案例,展示了复杂的线性变换如何被简化。 传统教材往往将数学呈现为成品,掩盖了通向发现的实验性和试错路径。作者从识别复杂运算中简单模式的目标出发,将 SVD 解释为一个几何过程,而非抽象公式。他们展示了任何线性变换都可以分解为三个逻辑步骤:输入正交基、一组缩放因子(奇异值)以及输出正交基。 这种分解揭示了 SVD 的本质是识别空间中“活跃”与“静止”的方向,从而实现高效的数据压缩和降维(PCA)。最终,作者将这些概念与信息论和熵联系起来,将数学结构视为识别冗余的工具。文章在统计压缩与算法复杂度之间架起桥梁,为探讨为何某些模式天生比其他模式更易于描述奠定了基础。

```Hacker News最新 | 往期 | 评论 | 提问 | 展示 | 招聘 | 投稿登录在甚至没有刻意为之的情况下推导出 SVD (stillthinking.net)由 pcael 发布于 1 小时前,7 分 | 隐藏 | 往期 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索: ```
相关文章

原文

Disclaimer: no AI was used to write this. Any errors, awkward sentences, and weird tangents are 100% organic, free-range, and human-made.

How to actually learn anything?

For a long time I have always been asking myself what it really means to learn or grasp something in math. I think this can be extended to other areas, but math is very often particularly distant from daily ordinary life when it comes to many of its concepts, and it’s hard for me (at least) to have an intuitive and natural understanding of it — the type of understanding that gives you some sort of foundational structure of the concepts and allows you to just reconstruct its details by yourself later in the future, with none or limited consultation. I have experienced a few times this feeling of having really captured some sort of general structure in some areas, that allows me to express myself or deduce facts only consulting what I currently understand about it. One good example is my first experience with Real Analysis. At first, it looked very confusing and difficult, but after a while you capture some sort of structure of the main concepts and you can mostly run the concepts yourself.

But one thing took me too long to understand: traditional math books very often fail to give you a path that allows you to capture structure, or to grasp concepts in a more intuitive or natural way (that would allow you to reconstruct it later). This is because most math books present math in its final formalized version. But they hide the path that was taken to get there: often messy, experimental, trial-and-error and tentative.

This blog assumes you already have basic knowledge in math. It’s just not practical to teach everything from the ground up, but my goal is to write here some of the connections that helped me grasp concepts.

Starting Somewhere

I’ve chosen to start from Linear Algebra (L.A). It’s one of the most applicable and accessible areas in math. When I was introduced to a central Linear Algebra concept called Singular Value Decomposition (SVD), it took me time to really understand what it is, and I think most books fail to explain it in a simple way simply because they usually start from the final conclusion formally stated, which makes no sense to the reader. I think it’s critical to introduce motivation on why this was created in the first place. Most things in applied math came from a specific problem someone was trying to solve. Linear Algebra is a great place to start not only because it’s somehow simpler than more advanced non-linear areas, but also because it’s connected to so many other areas, such as calculus, information theory, image processing, machine learning, and many others. It’s some sort of basic or central area, although I think no matter where you start, if you continue to dig enough, you will reach connections to other areas — and in L.A this is even more evident.

Let’s arrive naturally at SVD without even aiming at it. The matrix of a Linear Transformation A\mathbf{A} can be written differently for the same L.T depending on the chosen input and output bases. To see that, take a deliberately simple linear map — stretch the xx-axis by 3, leave yy alone:

A(x,y)=(3x, y)\mathbf{A}(x, y) = (3x,\ y)
联系我们 contact @ memedata.com