跳到主要内容

资源 · 指南或文章

Complex Number

复数的数学复习,从 a + bi 形式和复平面讲到极坐标形式以及四则运算。主要可作为傅里叶变换内容的背景,或用于实现一个复数类。

审核日期

打开原站: Complex Number (在新标签页中打开原网站)

添加到路线图

把这个资源放进你正在跟进的路线图。它会作为你自己的补充资源显示;路线图的步骤不会改变,也不计入你已记录的步骤。

来源内容语言:英语

A complex number is a number that can be expressed in the form a + b * i, where a and b are real numbers, and i is a solution of the equation x^2 = −1. Because no real number satisfies this equation, i is called an imaginary number. For the complex number a + b * i, a is called the real part, and b is called the imaginary part. A Complex Number is a combination of a Real Number and an Imaginary Number: Geometrically, complex numbers extend the concept of the one-dimensional number line to the two-dimensional complex plane by using the horizontal axis for the real part and the vertical axis for the imaginary part. The complex number a + b * i can be identified with the point (a, b) in the complex plane.

PrepKit 概览

本概览由 PrepKit 编辑根据源代码仓库撰写并审核,并非资源本身的文字。

适合人群
来源未说明适用级别
形式
课程

涵盖内容

  • 实部和虚部、纯实数和纯虚数,以及阿尔冈图
  • 带模和辐角的极坐标形式、三角形式以及欧拉公式
  • 按实部和虚部分别做加减法,各附一个演算示例
  • 用 FOIL 法做乘法以及简便公式 (ac - bd) + (ad + bc)i,并演算 (3 + 2i)(1 + 7i)
  • 共轭复数,以及通过分子分母同乘共轭来做除法,附 a^2 + b^2 规则

使用建议

这是 PrepKit 的学习建议,并非来源的说法。

构建一个小型复数类型,支持加、减、乘、除以及转换为极坐标形式,并用 README 中的每个演算示例进行测试,例如结果为 -7/41 + 22/41 i 的那道除法。

范围与局限

纯数学内容,没有算法或面试方面的框架。极坐标形式的公式是从维基百科渲染的图片,许多图示来自 MathIsFun,二项式乘法的链接格式有误。

获取方式与形式

GitHub 上采用 MIT 许可的 trekhleb/javascript-algorithms 仓库中的 README;英文,免费阅读,附有法文译本的链接。

PrepKit 于 2026年10月2日 审核。 资源来源提交: 85293e3e2b88

本概览的依据
  • src/algorithms/math/complex-number/README.md

收录此条目的页面

订阅 PrepKit 通讯

可选。使用 PrepKit 并不需要订阅。

我们如何处理你的邮箱