Free Imaginary Number Calculator

a+bic+diresult

Enter the real and imaginary parts of two complex numbers, select an operation, and click Calculate.

这个在线 Imaginary Number Calculator 是一款免费的复数运算工具,能够对两个复数进行加、减、乘、除、幂、自然对数等操作,并同时给出每个复数的模和相位。无论你处理的是纯粹虚数还是一般复数,它都是一个理想的 Complex Number Calculator。

复数的基本概念

复数由实部和虚部构成,写作 a+bia + bi,其中 a,b∈Ra, b \in \mathbb{R},虚数单位 ii 满足 i2=−1i^2 = -1。当 a=0a=0 且 b≠0b \neq 0 时,该数称为虚数——这是 Imaginary Numbers 的核心定义。复数的实部和虚部分别记作 ℜ(z)\Re(z) 和 ℑ(z)\Im(z)。

表示的两种形式

直角坐标形式

z=a+biz = a + bi 是最直观的表示,便于加减运算,也是 a+bi Calculator 常用的输入格式。

极坐标形式

通过模 r=∣z∣=a2+b2r = |z| = \sqrt{a^2 + b^2} 和幅角 ϕ\phi(使用 ϕ=atan2⁡(b,a)\phi = \operatorname{atan2}(b, a) 确保正确象限)表示。其指数形式为 z=reiϕz = r e^{i\phi}。极坐标使乘除、幂和对数运算变得简洁,正是 Complex Arithmetic Calculator 进行高级计算的基础。

支持的算术运算

加法和减法

实部与实部、虚部与虚部分别相加或相减:

(a+bi)±(c+di)=(a±c)+(b±d)i(a+bi) \pm (c+di) = (a\pm c) + (b\pm d)i

乘法

利用分配律展开并结合 i2=−1i^2 = -1:

(a+bi)(c+di)=(ac−bd)+(ad+bc)i(a+bi)(c+di) = (ac - bd) + (ad + bc)i

除法

通过乘以分母的共轭来有理化:

a+bic+di=(a+bi)(c−di)c2+d2\frac{a+bi}{c+di} = \frac{(a+bi)(c-di)}{c^2 + d^2}

复数的幂

将底数转换为极坐标形式:若 z1=reiϕz_1 = r e^{i\phi},则

z1z2=rce−dϕ[cos⁡(cϕ+dln⁡r)+isin⁡(cϕ+dln⁡r)]z_1^{z_2} = r^{c} e^{-d\phi} \bigl[ \cos(c\phi + d\ln r) + i \sin(c\phi + d\ln r) \bigr]

自然对数

ln⁡(z)=ln⁡∣z∣+iϕ\ln(z) = \ln|z| + i\phi

所有上述运算对实部为零的虚数同样适用。

使用指南

使用这个 a+bi Calculator 只需三个步骤:

  1. 输入第一个复数的实部 aa 和虚部 bb;
  2. 输入第二个复数的实部 cc 和虚部 dd;
  3. 工具立即返回以下结果:
    • 每个复数的模 ∣z∣|z| 和相位 ϕ\phi(弧度);
    • 两个复数的和、差、积、商;
    • 第一个复数的第二个复数次幂 z1z2z_1^{z_2};
    • 第一个复数的自然对数 ln⁡(z1)\ln(z_1)。

所有计算自动化,无需手动执行任何代数步骤,适合学习验证与工程应用。

FAQ

1. 虚数单位 i 有什么特殊性质?

i 的平方等于 -1,即 i² = -1,这是所有复数运算的基础。

2. 复数除法是如何计算的?

将分子和分母同时乘以分母的共轭复数,然后化简。公式为 (a+bi)/(c+di) = (a+bi)(c-di)/(c²+d²),结果仍为一个复数。

3. 这个计算器能处理纯虚数吗?

可以。纯虚数(实部为 0)是复数的子集,所有运算对它们同样有效,只需将实部设置为 0 即可。

4. 复数的自然对数公式是什么?

对于复数 z = a+bi,其自然对数为 ln(z) = ln|z| + iφ,其中 |z| 是模,φ 是幅角(以弧度为单位)。

5. 为什么极坐标形式对乘除运算更方便?

在极坐标下,两复数相乘时模相乘、幅角相加;相除时模相除、幅角相减,无需进行代数展开,计算更直观简洁。

How to Use

  1. Enter the real and imaginary parts of the first complex number z1 and the second complex number z2.
  2. Select an arithmetic operation from the dropdown menu (Add, Subtract, Multiply, Divide, Power, or Natural Log).
  3. Click Calculate to see the result of the operation along with the magnitude and phase angle of each complex number.