# Wolfram Mathematica

**Wolfram Mathematica** 是[沃尔夫勒姆研究公司](https://www.edgepedia.org/zh/wolfram-research)（Wolfram Research）开发的一款专有计算机代数系统和技术计算环境，其中符号与数值计算、可视化和数据操作由沃尔夫勒姆语言（Wolfram Language）内核执行，并通过交互式笔记本文件呈现。1.0版于1988年6月23日在[加利福尼亚州圣克拉拉](https://www.edgepedia.org/zh/santa-clara-california)（Santa Clara, California）由沃尔夫勒姆研究公司正式发布；该公司由[斯蒂芬·沃尔夫勒姆](https://www.edgepedia.org/zh/stephen-wolfram)（Stephen Wolfram）在伊利诺伊州尚佩恩（Champaign, Illinois）创立，目的就是开发这一系统。<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup>

| 关键事实 | 详情 |
|---|---|
| 首次发布 | 1.0版，1988年6月23日，加利福尼亚州圣克拉拉<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup> |
| 开发者 | 沃尔夫勒姆研究公司（Wolfram Research, Inc.），伊利诺伊州尚佩恩<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup><sup> • </sup><sup>[2](https://www.wolfram.com/legal/agreements/wolfram-mathematica/index.html.en)</sup> |
| 架构 | 独立的内核（计算）与前端（用户交互），通过沃尔夫勒姆符号传输协议（WSTP）连接<sup>[3](https://reference.wolfram.com/language/tutorial/TheStructureOfTheWolframSystem.html.en)</sup> |
| 语言 | 沃尔夫勒姆语言，一种拥有近7,000个内置函数的符号语言；Mathematica 1的500多个函数仍在使用<sup>[4](https://www.wolfram.com/mathematica/?source=footer)</sup> |
| 内核代码增长 | 从1.0版的15万行增至6.0版的250万行；自1986年开始开发以来，源代码上大约投入了一千个开发者年<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup> |
| 当前版本 | 15.0.1（2026年7月）；15.0版（2026年6月）增加了内置AI助手和面向外部AI客户端的MCP框架<sup>[6](https://www.wolfram.com/mathematica/quick-revision-history/)</sup> |
| 许可 | 专有；单机和网络许可证由沃尔夫勒姆研究公司依据正式许可协议控制<sup>[2](https://www.wolfram.com/legal/agreements/wolfram-mathematica/index.html.en)</sup> |

## 架构

Wolfram系统是模块化的：内核实际执行计算，而前端处理与用户的交互。这种分离使得例如本地具备图形能力的计算机上的前端可以驱动更快远程机器上的内核，或者从单个前端运行多个内核。<sup>[3](https://reference.wolfram.com/language/tutorial/TheStructureOfTheWolframSystem.html.en)</sup> 该系统采用客户端-服务器模型，前端与内核通过WSTP通信；WSTP是一种标准化协议，用于外部程序与内核之间的双向通信，传输层包括TCP/IP和共享内存。前端与内核通过三条独立的WSTP连接相连：一条用于用户发起的求值，一条供前端解析Dynamic表达式的值，还有一条供内核通知前端哪些Dynamic对象应失效。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup>

**接口。** 最常见的工作方式是通过笔记本——一种交互式文档，将输入和输出与文本、图形、工具面板和其他材料混合在一起，既可用于持续计算，也可用于展示或发布结果。其他接口包括从键盘接收输入的基于文本的接口，以及用于与其他程序通信的WSTP接口；一些兼容WSTP的程序可作为完整的替代前端，将内核纯粹视为嵌入式计算引擎。<sup>[3](https://reference.wolfram.com/language/tutorial/TheStructureOfTheWolframSystem.html.en)</sup>

## 沃尔夫勒姆语言

Mathematica的编程语言最初简称为Mathematica语言，后来称为沃尔夫勒姆语言，它是一种符号语言：数据、程序、公式、图形和文档都被表示为称为表达式的符号实体。<sup>[7](https://www.wolfram.com/products/HeterogeneousProgrammingWithTheWolframLanguage.pdf)</sup> 该语言本质上是一个解释器，它扫描表达式，并调用其所遇到的头部符号表条目所指向的内部代码；每个符号都有一个中央符号表条目，存储关于它的所有信息。<sup>[8](https://reference.wolfram.com/language/tutorial/SomeNotesOnInternalImplementation.html)</sup> 其内置函数支持通用计算，这意味着可以用它们构造出执行计算机所能执行的任何操作的程序，而且不需要编译步骤：表达式一经输入，其函数便可立即执行。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup>

其设计哲学是尽可能多地把关于算法和关于世界的知识构建到语言中。<sup>[9](https://wolfram.com/language/?source=home)</sup> 覆盖范围已远远超出数学，扩展到数据科学、机器学习和大语言模型（LLM）、图像、几何、图与网络、地理和时间相关计算、科学和医学数据、工程、金融以及云部署。<sup>[4](https://www.wolfram.com/mathematica/?source=footer)</sup> 并行能力是内置的：该语言会使用系统上的所有核心，而gridMathematica允许程序在集群或网格配置中跨机器并行化。<sup>[7](https://www.wolfram.com/products/HeterogeneousProgrammingWithTheWolframLanguage.pdf)</sup>

**算法。** 内置函数实现了大量来自计算机科学和数学的算法，其中大多数是专为该语言创建或修改的，而且它们通常使用与手算非常不同的方法。例如，[符号积分](https://www.edgepedia.org/zh/symbolic-integration)由少量系统化过程执行：找出积分的最一般形式，对其求导，并匹配待定系数，而不是手算中的变量代换技巧。许多机器精度数值求值公式本身就是由沃尔夫勒姆语言推导出来的，有时需要数月的计算才能得到简短的最优公式。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup>

## 软件工程与规模

Wolfram系统由数百万行源代码构建而成，这些代码用C/C++、Java和沃尔夫勒姆语言编写；C代码用一种支持内存管理和面向对象特性的C自定义扩展编写。在内核中，代码构成大致是语言与系统30%、数值计算20%、代数计算20%、图形与内核输出30%。在所有支持的计算机系统上，内核源代码除不到百分之一的部分外完全相同；而前端包含约70万行与系统无关的C++代码（其中约20万行涉及表达式格式化），外加每个用户界面环境定制的5万至10万行代码。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup>

内核行数从1.0版的15万行增至2.0版的35万行，然后3.0版60万行、4.0版80万行、5.0版150万行、6.0版250万行；由于代码不断修订，6.0版只保留了1.0版所包含内容的一小部分。尽管如此，用户层面的设计仍保持兼容：为1.0版编写的程序几乎总是可以在6.0版下不加修改地运行。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup> 每个版本都由一个用沃尔夫勒姆语言本身编写的自动化系统测试；该系统输入数百万个取自文档示例、数学基准、扫描的数值表和随机生成的表达式对的输入，检查结果、消息、内存使用和速度；每个平台上的测试需要数小时到数天的计算机时间。<sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup>

## 历史

开发始于1986年，第一版在公司成立约18个月后发布。<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup><sup> • </sup><sup>[5](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)</sup> 2.0版于1991年推出，当时客户群不断扩大。<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup> 斯蒂芬·沃尔夫勒姆在20世纪90年代自己的研究中使用了该系统，这项工作于2002年以《一种新科学》（*A New Kind of Science*）一书收尾，公司则把由此产生的算法和能力回馈到Mathematica中。<sup>[1](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)</sup>

配套书《Mathematica：用计算机做数学的系统》（*Mathematica: A System for Doing Mathematics by Computer*）于1988年首次出版，是Addison-Wesley出版的一部767页教程；第二版（1991年）有992页，第五版也是最新的英文版达到1,488页。该书材料成为在线Wolfram Mathematica文档中心的基础，该中心也托管全文历史版本。<sup>[10](https://www.stephenwolfram.com/publications/mathematica-book/)</sup>

**近期版本。** 12.3版提供了100多个新函数和1000个错误修复。<sup>[6](https://www.wolfram.com/mathematica/quick-revision-history/)</sup> 15.0版（2026年6月）增加了深度AI集成：每个笔记本都内置的AI助手，以及一个MCP框架，让Claude和ChatGPT等外部AI客户端可以直接访问Wolfram能力；此外还扩展了时间序列、分类和表格数据支持，支持大于2 GB的笔记本文件，新增符号音乐计算、新的矩阵分解，以及用于控制系统的[Q学习](https://www.edgepedia.org/zh/q-learning)。随后发布的15.0.1版（2026年7月）带来了错误修复、稳定性改进和安全更新。<sup>[6](https://www.wolfram.com/mathematica/quick-revision-history/)</sup> 沃尔夫勒姆公司发布每个版本的大致支持终止日期；例如，Mathematica 14.1的支持于2027年9月30日结束，15.0的支持于2029年6月30日结束。<sup>[11](https://support.wolfram.com/22107)</sup>

## 在计算机代数系统中的地位

Mathematica常被与[Maple](https://www.edgepedia.org/zh/maple-software)和MATLAB比较。2007年《应用数学与计算》（*Applied Mathematics and Computation*）上的一篇综述将Maple和Mathematica描述为两个主要的、广泛可用的符号数学系统，二者计算机代数能力大体相同但设计不同，并发现在其大多数测试中，Mathematica在速度和能力两方面都胜过Maple，但拒绝得出一般性的总体结论。<sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S0096300306014949)</sup> 沃尔夫勒姆公司自己的比较认为，Maple在新能力上常常跟随Mathematica的引领，并引用了一个中位滞后约九年的数据：对于Maple在十年间新增的能力，从某功能在Mathematica中引入到在Maple中基本实现之间，中位滞后约为九年。<sup>[13](https://www.wolfram.com/mathematica/compare-mathematica/files/Maple2024Review.pdf)</sup> Maplesoft则把Maple宣传为更易使用、符号技术更优，并指出Maple的大部分源代码可见，而Mathematica的源代码不可见。<sup>[14](https://www.maplesoft.com/products/maple/compare/mathematica.aspx)</sup> 2025年一项arXiv研究在常微分方程和偏微分方程上比较了MATLAB、Mathematica和Maple，涉及语法、准确性、效率和可视化，建议根据问题需求进行选择。<sup>[15](https://arxiv.org/abs/2510.02346)</sup>

## 闭源与可重复性

Mathematica是专有软件：许可证禁止反编译、逆向工程和修改软件，但沃尔夫勒姆语言示例代码除外；沃尔夫勒姆公司公开主张，大规模统一设计需要集中控制，而该公司认为自由和开源软件较难实现这种控制。<sup>[2](https://www.wolfram.com/legal/agreements/wolfram-mathematica/index.html.en)</sup><sup> • </sup><sup>[16](https://www3.risc.jku.at/publications/download/risc_7153/25-06.pdf)</sup> 这招致了基于可重复性的批评。2026年《EPJ Research Infrastructures》上的一项研究以2025年2月Mathematica v14.1的许可变更为例，说明供应商的决定如何能瞬间使计算工作变得不可重复；该研究估计使用商业软件的文章平均复现成本为1,900美元，并建议供应商对论文中引用的版本提供限时访问，并将被引用的版本归档至少10年。<sup>[17](https://link.springer.com/article/10.1007/s41781-026-00180-9)</sup> 在沃尔夫勒姆公司为闭源模式辩护的自家博客文章下，评论者提出了被放弃的功能、跨版本持续存在却未修复的错误，以及当函数的内部实现缺乏文档说明时，难以用与语言无关、可重复的方式描述数据处理等问题。<sup>[18](https://blog.wolfram.com/2019/04/02/why-wolfram-tech-isnt-open-source-a-dozen-reasons/)</sup>

## 在研究和教育中的使用

存在建立在其上的领域专用程序包，例如用于暗物质实验分析中模型无关WIMP散射响应的Mathematica程序包。<sup>[19](https://arxiv.org/abs/1308.6288)</sup> 在教育领域，已有研究将其作为本科微积分和线性代数中的教学工具进行评估<sup>[20](https://www.researchgate.net/publication/401655983_Evaluating_Mathematica_as_a_Pedagogical_Tool_in_Undergraduate_Mathematics_Education)</sup>；印度尼西亚一项针对微分方程课程中24名学生的准实验研究发现，使用Mathematica辅助教学材料后，前测与后测存在显著差异，自我调节学习平均提高7%，学习成果平均提高24%。<sup>[21](https://journal.unnes.ac.id/nju/kreano/article/view/21244)</sup>

## References

1. [The Story of the Making of Wolfram|Alpha, Stephen Wolfram](https://www.stephenwolfram.com/publications/making-wolfram-alpha/)
2. [Wolfram Mathematica License Agreement, Wolfram Research](https://www.wolfram.com/legal/agreements/wolfram-mathematica/index.html.en)
3. [The Structure of the Wolfram System, Wolfram Documentation](https://reference.wolfram.com/language/tutorial/TheStructureOfTheWolframSystem.html.en)
4. [Wolfram Mathematica: Modern Technical Computing, Wolfram Research](https://www.wolfram.com/mathematica/?source=footer)
5. [The Internals of the Wolfram System, Wolfram Documentation](https://reference.wolfram.com/language/tutorial/TheInternalsOfTheWolframSystem.html)
6. [Mathematica Quick Revision History, Wolfram Research](https://www.wolfram.com/mathematica/quick-revision-history/)
7. [Scientific and Technical Area Coverage, Wolfram Research](https://www.wolfram.com/products/HeterogeneousProgrammingWithTheWolframLanguage.pdf)
8. [Some Notes on Internal Implementation, Wolfram Documentation](https://reference.wolfram.com/language/tutorial/SomeNotesOnInternalImplementation.html)
9. [Wolfram Language: Programming Language + Built-In Knowledge, Wolfram Research](https://wolfram.com/language/?source=home)
10. [The Mathematica Book, Stephen Wolfram](https://www.stephenwolfram.com/publications/mathematica-book/)
11. [When does Technical Support end for my Mathematica product?, Wolfram Support](https://support.wolfram.com/22107)
12. [Performance comparison of Maple and Mathematica, Applied Mathematics and Computation 188(2):1426-1429 (2007)](https://www.sciencedirect.com/science/article/abs/pii/S0096300306014949)
13. [Review of New Features in Maple 2024, Wolfram Research](https://www.wolfram.com/mathematica/compare-mathematica/files/Maple2024Review.pdf)
14. [How Does Maple Compare to Mathematica?, Maplesoft](https://www.maplesoft.com/products/maple/compare/mathematica.aspx)
15. [Analyzing Computational Approaches for Differential Equations: A Study of MATLAB, Mathematica, and Maple, arXiv:2510.02346 (2025)](https://arxiv.org/abs/2510.02346)
16. [RISC Report 25-06, Research Institute for Symbolic Computation, JKU Linz](https://www3.risc.jku.at/publications/download/risc_7153/25-06.pdf)
17. [The Hidden Cost of Reproducibility: Commercial Software Dependency in Published Research and the Version Accessibility Gap, EPJ Research Infrastructures (2026)](https://link.springer.com/article/10.1007/s41781-026-00180-9)
18. [Why Wolfram Tech Isn't Open Source, A Dozen Reasons, Wolfram Blog (2019)](https://blog.wolfram.com/2019/04/02/why-wolfram-tech-isnt-open-source-a-dozen-reasons/)
19. [Model-independent WIMP Scattering Responses and Event Rates: A Mathematica Package for Experimental Analysis, arXiv:1308.6288](https://arxiv.org/abs/1308.6288)
20. [Evaluating Mathematica as a Pedagogical Tool in Undergraduate Mathematics Education](https://www.researchgate.net/publication/401655983_Evaluating_Mathematica_as_a_Pedagogical_Tool_in_Undergraduate_Mathematics_Education)
21. [Optimalisasi Performa Mahasiswa Melalui Penggunaan Bahan Ajar Komputasi Matematika Berbantuan Software Mathematica, Kreano 10(2) (2019)](https://journal.unnes.ac.id/nju/kreano/article/view/21244)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 软件与编程 › Named software products and platforms › Scientific computing and mathematics software

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/wolfram-mathematica

English original: https://www.edgepedia.org/wolfram-mathematica
