潜藏在方程式中的阴影
The shadows lurking in the equations

原始链接: https://gods.art/articles/equation_shadows.html

## 超越黑与白:用FuzzyGraph可视化方程 传统的数学绘图以二元方式显示解——一个点只有在方程等于零时才存在。然而,这种“黑白”视图隐藏了关键信息。FuzzyGraph引入了一种“非二元”方法,不仅可视化精确解,还可视化方程*几乎*等于零的区域,揭示了先前不可见的“数学阴影”。 这些阴影表现为独特的特征。例如,在方程 (y/x² + y² = (x+1)/x² + y²) 中会出现“黑洞”,在 y = x/(x² + y²) 中会出现眼状结构,这些在传统图形中完全不存在。FuzzyGraph还将近解突出显示为“水下岛屿”——通过轻微的方程调整揭示的微妙细节。 此外,反转方程的一部分(使用除法代替乘法)会产生“阴影线”或“阴影圆”,它们比标准绘图提供更细致的可视化效果。本质上,FuzzyGraph揭示了更丰富的数学地形,允许更深入地理解方程行为,而不仅仅是简单的解点。这种新方法可以揭示隐藏的模式,并建议修改方程以使近解显现出来。

## 黑客新闻讨论:“模糊绘图”与方程可视化 一场黑客新闻讨论围绕着一个新网站 ([gods.art](https://gods.art)),该网站展示了一种新的方程绘图方法——基于方程左右两侧的*差异*进行可视化,而非严格相等。作者将此呈现为一种新型绘图方式,引发了争论。 许多评论者指出,这种技术并非新颖,并将其与计算机图形学和偏微分方程可视化等领域中已建立的概念联系起来,例如水平集、符号距离函数和热图。他们认为该网站对自身新颖性的声称被夸大了。然而,许多人也承认这种可视化在美学上令人愉悦,并且可能以不同的方式帮助理解方程,特别是对于那些不熟悉这些现有技术的人。 核心思想——表示方程两侧“有多大不同”——引起了一些人的共鸣,他们建议将其应用于优化和误差分析等领域。作者承认了反馈,并承认其最初的说法可能存在夸大,并分享了一个Python库 ([truthygraph.py](https://github.com/calebmadrigal/truthygraph.py)),供那些有兴趣探索类似可视化的人使用。这场讨论强调了展示想法并从知识渊博的社区获得反馈的价值。
相关文章

原文

Slash Dot Equation comparison For all of history of computational mathematical visualization, graphing equations has been done in binary mode - where graphs show only where an equation is EXACTLY equal. But when you only see in black-and-white, some things are invisible. For all this time, lurking beneath the error == 0 surface, mathematical shadows have been lurking in the equations.

FuzzyGraph, on the other hand, visualizes equations in Non-Binary mode - showing not only where an equation are exactly equal, but also where the equation nearly equal and where the equation is far from equal (where the error is high). Sometimes, these high error areas form clear visual shadow-like features.

Let's look at some examples...

Example 1: Slash Dot Equation

Here is the "Slash Dot" Equation ( \( \frac{y}{x^2+y^2} = \frac{x+1}{x^2+y^2} \)) as both a conventional and fuzzy graph...

Note the giant black hole that is present in the Fuzzy/Non-Binary graph, but invisible in conventional/Binary graphing. This "black hole" feature represents a region of high error in the equation.

Example 2: Quasar Equation

Let's look at another example: \(y = \frac{x}{x^2 + y^2} \)

Notice that the black hole eye-looking features are COMPLETELY INVISIBLE in the conventional/binary mode of graphing.

Example 3: Simple Star and Black Hole

To get a better idea of what these black hole things are, let's look at a simpler example. First let's look at the opposite of a black hole - a simple star/particle example: \( x^2 + y^2 = 0 \). For this equation, there is only 1 solution: (0, 0). So if you graph this in a conventional graphing app, it will only show a single dot at (0, 0). But in FuzzyGraph, it looks like a fuzzy particle or something.

But now, let's invert this to get the "Black Hole Equation": \( \frac{1}{x^2+y^2} = 0 \)...

In this case, there is absolutely nothing to show on a conventional graph, as there are actual solutions to this equations. However, there is still a mathematical topography which can be visualized (as can be seen in the fuzzy graph).

Example 4: Shadow Line

Not all of the Shadows are like black holes.

In this example, let's start by combining 2 lines together: \(y=x\) and \(y=-x\).

We can visually add 2 equations together by refactoring them so they are both equal to 0, and then multiplying the two refactored equations together. \(y=x\) can be changed to \(y-x=0\), and \(y=-x\) can be refactored to \(y+x=0\).

We can then combine 2 into a single equation these like this: \( (y-x) \times (y+x) = 0 \)

And now, let's invert one of the equations using division: \( \frac{x-y}{x+y} = 0 \)

So as you can see, the line that was inverted (under the division line) is now a Shadow Line. And this seems like a more "correct" way to visualize this than as the conventional graph shows it (which is indistinguishable from the simpler equation, \(y-x=0\)).

Example 5: Phi Equation

This equation works almost exactly as the previous. And like before, let's start with multiplication to combine 2 equations (in this case, a circle and a vertical line equation): \( x \times (x^2+y^2-1) = 0 \).

But now, let's invert the circle by using division, which makes the equation: \( \frac{x}{x^2+y^2-1} = 0 \).

Note that the Shadow Circle is invisible in the conventional graph. In fact, the conventional graph looks identical to a conventional graph of the \(x=0\) equation (as if the denominator was not there).

Example 6: Underwater Islands

In all of these previous examples, the "shadows" have represented areas of high error. But in this last example, we'll see some hidden details that represent areas of low error - areas that are nearly solutions to the equation.

Consider the equation, \( y=4 sin(x)+ sin(2.7y) \), as both a conventional graph and a fuzzy graph:

Note the floating dots in the fuzzy graph version that are not there in the conventional/binary graph. These are like underwater islands - underwater mountains that are just below the surface of the water (or in this case, the \( error == 0 \) surface). These hidden islands represent area that are near-solutions to the equation (which are only visible in FuzzyGraph).

Their presense hints that we can tweak the equation slightly to cause them to burst above the surface of the water (which should also make them visible in conventional graphs).

So let's change the equation from:
\( y=4 sin(x)+ sin(2.7y) \) to:
\( y=4 sin(x)+ sin(2.8y) \)...

And as you can see, those previously-hidden islands are now visible in the conventional graph.

So Fuzzy/non-binary graphing can help us see features of the mathematical topography that are completely invisible with conventional/binary.


Date published: 2025-11-05

联系我们 contact @ memedata.com