# 哈达玛积（矩阵）

两个同型矩阵的**哈达玛积**（Hadamard product）是逐元素乘积：对于 \( m \times n \) 矩阵 \( A = (a_{ij}) \) 和 \( m \times n \) 矩阵 \( B = (b_{ij}) \)，它是 \( m \times n \) 矩阵 \( A \circ B \)，其中 \( (A \circ B)_{ij} = a_{ij} b_{ij} \)，\( i = 1, \ldots, m \)，\( j = 1, \ldots, n \)<sup>[1](https://encyclopediaofmath.org/wiki/Schur%E2%80%93Hadamard_multiplication)</sup>。它也称为**舒尔积**（Schur product）或**逐元素积**（entrywise product）<sup>[1](https://encyclopediaofmath.org/wiki/Schur%E2%80%93Hadamard_multiplication)</sup><sup> • </sup><sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup>。与普通矩阵乘法不同，它要求两个因子具有相同的维数，并返回相同维数的矩阵。

| 关键事实 | 细节 |
|---|---|
| 定义 | 对于同型 \( m \times n \) 矩阵，\( (A \circ B)_{ij} = a_{ij} b_{ij} \)<sup>[1](https://encyclopediaofmath.org/wiki/Schur%E2%80%93Hadamard_multiplication)</sup> |
| 其他名称 | 舒尔积、逐元素积<sup>[1](https://encyclopediaofmath.org/wiki/Schur%E2%80%93Hadamard_multiplication)</sup><sup> • </sup><sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup> |
| 舒尔积定理 | 两个半正定矩阵的哈达玛积是半正定的<sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup><sup> • </sup><sup>[3](https://research-solution.com/uplode/books/book-32590.pdf)</sup> |
| 与克罗内克积的关系 | \( A \circ B \) 是 \( A \otimes B \) 的主子矩阵；维斯克利用这一点推导出 \( A \circ B \) 的谱范数的更紧界<sup>[4](https://www.sciencedirect.com/science/article/pii/S0024379599001871)</sup> |
| 正性惊喜 | 两个奇异半正定矩阵的哈达玛积可以是非奇异的，且其中一个因子甚至可以是不定的<sup>[5](https://arxiv.org/abs/2604.19602)</sup> |
| 应用 | 无线通信（用于空时码的卡特里–拉奥积相关构造）和深度学习架构<sup>[6](https://onlinelibrary.wiley.com/doi/10.1002/9781119700999.ch2)</sup><sup> • </sup><sup>[7](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5231467)</sup> |

## 基本性质

该运算仅对同型矩阵有定义，这使它区别于普通矩阵乘积和克罗内克积 \( A \otimes B \)——后两者都接受维数相容但可以不同的矩形因子。由于 \( A \circ B \) 的每个元素只依赖于两个因子中对应的元素，该乘积是可交换的，并且从元素的普通乘法继承了结合律和对加法的分配律。

该乘积还尊重半正定矩阵上的勒夫纳序：若 \( 0 \le A \le B \) 且 \( 0 \le C \le D \)，则 \( A \circ C \le B \circ D \)<sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup>。对于固定的半正定矩阵 \( A \)，映射 \( S_A : B \mapsto A \circ B \) 将半正定矩阵映为半正定矩阵，因此它是一个正映射<sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup>。

## 舒尔积定理

核心的正性结果归功于伊赛·舒尔（Issai Schur）。按照标准处理中给出的形式，若 \( A \) 和 \( B \) 是半正定的 \( n \times n \) 矩阵，则元素为 \( C_{ij} = A_{ij} B_{ij} \) 的矩阵 \( C \) 仍是半正定的<sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup>。证明思路是直接的：当 \( A_{ij} = \overline{\lambda_i} \lambda_j \) 且 \( B_{ij} = \overline{\mu_i} \mu_j \) 时，乘积的元素分解为 \( C_{ij} = \overline{\lambda_i \mu_i} \lambda_j \mu_j \)，这表露出 \( C \) 是一个格拉姆型矩阵；一般情形可化归到这一情形<sup>[2](https://math.bme.hu/~petz/matbme.pdf)</sup>。等价地表述，半正定（正定）矩阵的哈达玛积是半正定（正定）的，这一事实称为舒尔积定理<sup>[3](https://research-solution.com/uplode/books/book-32590.pdf)</sup>。

舒尔1911年的原始结果是为分析学而表述的：他证明了若 \( (a_{ij}) \) 和 \( (b_{ij}) \) 是 \( \ell_2 \) 上的有界矩阵算子，则它们的逐元素乘积仍是该空间上的有界算子<sup>[8](https://citeseerx.ist.psu.edu/document?doi=d5db00ebd51493a1b47bed2c10751261424a539d&repid=rep1&type=pdf)</sup>。有限维正性定理与算子空间表述都源自同一种逐元素乘法，而算子代数上的映射 \( B \mapsto A \circ B \)，即舒尔积映射，后来本身成为一个课题；乌费·哈格鲁普（Uffe Haagerup）刻画了此类映射在 C*-代数上的范数，并为它们证明了哈恩–巴拿赫型延拓定理<sup>[9](https://www.sciencedirect.com/science/article/pii/0022123689900505)</sup>。

## 与克罗内克积的关系

哈达玛积位于克罗内克积内部：对于两个 \( n \times m \) 矩阵 \( A \) 和 \( B \)，乘积 \( A \circ B \) 是 \( A \otimes B \) 的主子矩阵，二者通过部分置换矩阵相联系<sup>[4](https://www.sciencedirect.com/science/article/pii/S0024379599001871)</sup>。乔治·维斯克（George Visick）在2000年发表于《线性代数及其应用》（*Linear Algebra and its Applications*）的一篇论文中定量地利用了这一嵌入，借助部分置换矩阵的性质发展出哈达玛积的简化理论，并将其与常规矩阵乘积联系起来。所得成果包括：\( A \circ B \) 的谱范数的更紧界、对 \( A \circ B \) 的弱优超关系的改进，以及对于实非奇异 \( X \) 和可逆对角矩阵 \( D \)、\( E \) 的缩放乘积 \( X \circ D \circ X^{-1} \circ E \) 的谱条件数 \( \kappa(\cdot) \) 的下界<sup>[4](https://www.sciencedirect.com/science/article/pii/S0024379599001871)</sup>。对于 \( A \ge 0 \)，同一方法给出当 \( A > 0 \) 时严格成立的不等式；而当 \( A \) 是相关矩阵时，所得的序关系强于斯泰恩不等式<sup>[4](https://www.sciencedirect.com/science/article/pii/S0024379599001871)</sup>。

同样的嵌入视角解释了正性为何会传递：半正定矩阵的主子矩阵是半正定的，因此舒尔积定理也可以从克罗内克积关系中看出。

## 定理之外的正性

舒尔积定理并未完全说明哈达玛积何时为正定。犹他大学（University of Utah）数学教授罗杰·A·霍恩（Roger A. Horn）与罗胜轩（Shengxuan Luo）、徐宏伟（Hongwei Xu）、杨载（Zai Yang）最近强调了普通乘积与哈达玛积之间的鲜明对比：按哈达玛意义相乘两个奇异半正定矩阵，可能得到非奇异的结果，而单个因子甚至可以是不定的。<sup>[5](https://arxiv.org/abs/2604.19602)</sup> 该文给出了 \( A \circ B \) 的一个特征值下界，它依赖于其中一个因子的秩、有效条件数和对角元素，以及另一个因子的某些主子矩阵的最小特征值，并在阵列信号处理和矩阵时间序列分析中有应用<sup>[5](https://arxiv.org/abs/2604.19602)</sup>。

这种行为在普通乘积中没有类似物：对于两个对称半正定矩阵，普通乘积根本不必是对称或半正定的，因为因子通常不可交换。

## 相关乘积与推广

矩阵分析将哈达玛积与另外两种逐元素或分块构造并列处理。**克罗内克积** \( A \otimes B \) 用整个矩阵 \( B \) 去乘 \( A \) 的每个元素，产生一个 \( mn \times mp \) 分块矩阵；而**卡特里–拉奥积**（Khatri–Rao product）以类似克罗内克的方式逐列堆叠 \( A \) 和 \( B \) 的列。热拉尔·法维耶（Gérard Favier）在信号处理中对矩阵与张量分解的处理将这三者连同向量化算子和交换矩阵一起涵盖，并指出卡特里–拉奥积已被用于定义无线通信中的空时码和空时频码<sup>[6](https://onlinelibrary.wiley.com/doi/10.1002/9781119700999.ch2)</sup>。

两种推广把逐元素思想推得更远。卷积变体，即矩阵函数的克罗内克卷积积与哈达玛卷积积，已借助一个在卷积运算下表现得像群单位元的狄拉克单位矩阵加以研究，其结果可推广到任意有限个矩阵<sup>[10](https://link.springer.com/article/10.1155/2009/736243)</sup>。哈达玛幂，即每个元素取 \( r \) 次幂，对所有逐元素非负三对角矩阵都保持半正定性，当且仅当 \( r \ge 1 \)<sup>[11](https://arxiv.org/abs/2103.12550)</sup>。

哈达玛之名还附着于另一个对象，即**哈达玛矩阵**（Hadamard matrices），即行相互正交的方形 \( \pm 1 \) 矩阵。阶为 \( 2^n \) 的自然哈达玛矩阵 \( H_n \) 通过克罗内克积递归构造，其性质由该构造推出<sup>[12](https://www.sciencedirect.com/science/article/pii/002437957990003X)</sup>。哈达玛矩阵是与哈达玛积不同的独立主题，尽管二者都纪念法国数学家雅克·哈达玛（Jacques Hadamard），也都与克罗内克积相关。

## 应用

在数值线性代数与统计学中，舒尔积定理是相关矩阵方面若干结果的基础，因为相关矩阵是单位对角的半正定矩阵，而此类矩阵的逐元素乘积继承正性<sup>[4](https://www.sciencedirect.com/science/article/pii/S0024379599001871)</sup>。非负矩阵与 M-矩阵的哈达玛积的极端特征值的界构成一个活跃的不等式研究方向，将 \( A \circ B \) 的谱半径与普通乘积的谱半径以及 M-矩阵的 Fan 积联系起来<sup>[13](https://www.mdpi.com/2227-7390/7/2/147)</sup>。

在机器学习中，哈达玛积是一个标准构件：它逐元素地用门或掩码乘以激活值，并出现在各类架构的注意力与门控机制中。2025年一篇关于深度学习中哈达玛积的综述追溯了其数学基础与应用，并指出了在基础模型与神经符号系统中改进哈达玛交互的稳定性与表达能力的开放方向<sup>[7](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5231467)</sup>。一个相关的计算问题——哪些 \( 4 \times 4 \) 矩阵对允许哈达玛积分解——已被穷尽解决，其中矩阵密度（1的个数）被证明对可表达性具有高度预测性，分类准确率达95.7%<sup>[14](https://arxiv.org/abs/2508.14901)</sup>。

## References

1. [Schur–Hadamard multiplication, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Schur%E2%80%93Hadamard_multiplication)
2. [Chapter 4, Positive matrices: Hadamard product (Dénes Petz, Budapest University of Technology course notes)](https://math.bme.hu/~petz/matbme.pdf)
3. [Lecture Notes in Mathematics excerpt on the Schur product theorem](https://research-solution.com/uplode/books/book-32590.pdf)
4. [George Visick (2000). A quantitative version of the observation that the Hadamard product is a principal submatrix of the Kronecker product. Linear Algebra and its Applications 304: 45–68.](https://www.sciencedirect.com/science/article/pii/S0024379599001871)
5. [Roger A. Horn, Shengxuan Luo, Hongwei Xu, Zai Yang. Positivity of a Hadamard Product. arXiv.](https://arxiv.org/abs/2604.19602)
6. [Gérard Favier (2021). Hadamard, Kronecker and Khatri–Rao Products. In Matrix and Tensor Decompositions in Signal Processing, Vol. 2, Wiley.](https://onlinelibrary.wiley.com/doi/10.1002/9781119700999.ch2)
7. [Dayaram Krishna, Gurpreet Inayatullah, Rashida Ramakanta (2025). The Hadamard Product in Deep Learning: Foundations, Advances, and Challenges. SSRN.](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5231467)
8. [University of Iowa notes on the Hadamard (Schur) product of bounded operators](https://citeseerx.ist.psu.edu/document?doi=d5db00ebd51493a1b47bed2c10751261424a539d&repid=rep1&type=pdf)
9. [Schur products and matrix completions, Journal of Functional Analysis (ScienceDirect)](https://www.sciencedirect.com/science/article/pii/0022123689900505)
10. [On the Connection between Kronecker and Hadamard Convolution Products of Matrices and Some Applications, Journal of Inequalities and Applications (2009)](https://link.springer.com/article/10.1155/2009/736243)
11. [Positivity of Hadamard powers of a few band matrices, arXiv](https://arxiv.org/abs/2103.12550)
12. [Benjamin Arazi (1979). Some properties of Hadamard matrices generated recursively by Kronecker products. Linear Algebra and its Applications 25: 27–39.](https://www.sciencedirect.com/science/article/pii/002437957990003X)
13. [Some Bounds on Eigenvalues of the Hadamard Product and the Fan Product of Matrices, Mathematics (MDPI)](https://www.mdpi.com/2227-7390/7/2/147)
14. [Computational Resolution of Hadamard Product Factorization for 4×4 Matrices, arXiv](https://arxiv.org/abs/2508.14901)]

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数与代数 › Linear and multilinear algebra › Matrix theory › Matrix operations and matrix algebra

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/hadamard-product-matrices

English original: https://www.edgepedia.org/hadamard-product-matrices
