{
  "id": "imaginary-unit",
  "title": "Imaginary Unit",
  "lang": "en",
  "source_lang": "en",
  "summary": "The imaginary unit, denoted \\(i\\), is a number satisfying \\(i^2=-1\\); it extends the real numbers to the complex numbers and represents a quarter-turn in the complex plane.",
  "category": "mathematics",
  "subcategory": "algebra",
  "type": "concept",
  "aliases": [
    "Unit imaginary number"
  ],
  "generated_at": "2026-11-03",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/imaginary-unit/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/imaginary-unit/",
      "json": "https://aiwiki.page/zh/imaginary-unit.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "The imaginary unit, conventionally written \\(i\\), is a complex number defined by the equation\n\n\\[i^2=-1.\\]\n\nNo real number satisfies this equation, since the square of every real number is nonnegative. Introducing \\(i\\) allows every complex number to be written uniquely as \\(a+bi\\), where \\(a\\) and \\(b\\) are real. The word imaginary is historical: these numbers are rigorously defined mathematical objects, not hypothetical or indeterminate quantities. In electrical engineering, the symbol \\(j\\) is commonly used instead of \\(i\\), which often denotes electric current."
    },
    {
      "heading": "Definition and basic arithmetic",
      "text": "The imaginary unit is one of the two roots of the polynomial equation\n\n\\[x^2+1=0.\\]\n\nThe other root is \\(-i\\), because\n\n\\[(-i)^2=i^2=-1.\\]\n\nThus, the condition \\(i^2=-1\\) alone does not distinguish one root from the other. Standard notation selects one as \\(i\\); replacing that choice everywhere by its negative gives an equivalent arithmetic.\n\nA complex number has the form\n\n\\[z=a+bi,\\qquad a,b\\in\\mathbb R.\\]\n\nHere \\(a\\) is its real part, and \\(b\\), not \\(bi\\), is its imaginary part. A number of the form \\(bi\\) is called purely imaginary; some usage reserves this expression for \\(b\\ne0\\).\n\nCalculations follow the usual distributive and associative laws, together with the replacement \\(i^2=-1\\). Consequently,\n\n\\[(a+bi)+(c+di)=(a+c)+(b+d)i\\]\n\nand\n\n\\[(a+bi)(c+di)=(ac-bd)+(ad+bc)i.\\]\n\nFor example,\n\n\\[(2+3i)(1-4i)=14-5i.\\]\n\nThe multiplicative inverse of \\(i\\) is \\(-i\\):\n\n\\[\\frac1i=-i,\\]\n\nsince \\(i(-i)=1\\). More generally, division by a nonzero complex number uses its complex conjugate. If \\(z=a+bi\\), its conjugate is \\(\\overline z=a-bi\\), and\n\n\\[z\\overline z=a^2+b^2.\\]\n\nTherefore,\n\n\\[\\frac1{a+bi}=\\frac{a-bi}{a^2+b^2}, \\qquad (a,b)\\ne(0,0).\\]\n\nThese operations make the complex numbers a field containing the real numbers."
    },
    {
      "heading": "Powers and periodicity",
      "text": "The integer powers of \\(i\\) repeat with period four:\n\n\\[i^0=1,\\qquad i^1=i,\\qquad i^2=-1,\\qquad i^3=-i,\\qquad i^4=1.\\]\n\nFor every integer \\(k\\),\n\n\\[i^{4k}=1,\\qquad i^{4k+1}=i,\\qquad i^{4k+2}=-1,\\qquad i^{4k+3}=-i.\\]\n\nThe same pattern holds for negative exponents because \\(i\\) is nonzero. Computing an integer power of \\(i\\) therefore reduces to finding the exponent's remainder modulo four, an elementary application of modular arithmetic.\n\nNoninteger powers require additional care. Complex exponentiation is generally defined using a complex logarithm, whose multiple possible values can produce multiple values for a power."
    },
    {
      "heading": "Geometric interpretation",
      "text": "In the complex plane, the number \\(a+bi\\) corresponds to the point \\((a,b)\\) in a Cartesian coordinate system. The real numbers lie on the horizontal axis, and the purely imaginary numbers lie on the vertical axis. Thus \\(1\\) corresponds to \\((1,0)\\), while \\(i\\) corresponds to \\((0,1)\\).\n\nMultiplication by \\(i\\) gives\n\n\\[i(a+bi)=-b+ai.\\]\n\nIn coordinates, this is the transformation\n\n\\[(a,b)\\longmapsto(-b,a),\\]\n\na counterclockwise rotation through \\(90^\\circ\\) under the standard orientation. Multiplication by \\(-i\\) is a clockwise quarter-turn. Applying multiplication by \\(i\\) twice produces a half-turn, explaining geometrically why \\(i^2=-1\\).\n\nThe absolute value, or modulus, of \\(a+bi\\) is\n\n\\[|a+bi|=\\sqrt{a^2+b^2}.\\]\n\nIn particular, \\(|i|=1\\), so multiplication by \\(i\\) preserves lengths.\n\nUsing polar coordinates, a nonzero complex number can be expressed as\n\n\\[z=r(\\cos\\theta+i\\sin\\theta),\\]\n\nwhere \\(r=|z|>0\\) and \\(\\theta\\) is an argument of \\(z\\), determined modulo \\(2\\pi\\). Multiplication combines the scaling factors and adds the angles."
    },
    {
      "heading": "Rigorous constructions",
      "text": "Introducing \\(i\\) need not depend on assuming an unexplained square root of a negative number. The complex numbers can be constructed directly from ordered pairs of real numbers.\n\nDefine\n\n\\[(a,b)+(c,d)=(a+c,b+d)\\]\n\nand\n\n\\[(a,b)(c,d)=(ac-bd,ad+bc).\\]\n\nIdentify each real number \\(a\\) with \\((a,0)\\), and define \\(i=(0,1)\\). The multiplication rule then gives\n\n\\[(0,1)(0,1)=(-1,0),\\]\n\nwhich is precisely \\(i^2=-1\\).\n\nIn linear algebra, the same structure appears through real matrices. The matrix\n\n\\[J= \\begin{pmatrix} 0&-1\\\\ 1&0 \\end{pmatrix}\\]\n\nsatisfies\n\n\\[J^2=-I,\\]\n\nwhere \\(I\\) is the identity matrix. Matrices of the form\n\n\\[aI+bJ= \\begin{pmatrix} a&-b\\\\ b&a \\end{pmatrix}\\]\n\nobey exactly the addition and multiplication rules of \\(a+bi\\). They provide a concrete representation of complex arithmetic using real entries.\n\nFrom the viewpoint of field extensions, adjoining \\(i\\) to \\(\\mathbb R\\) produces \\(\\mathbb C\\). As a real vector space, \\(\\mathbb C\\) has dimension two, with basis \\(1,i\\)."
    },
    {
      "heading": "Exponentials and trigonometry",
      "text": "The imaginary unit connects exponential growth formulas with rotation. Euler's formula states that, for real \\(\\theta\\),\n\n\\[e^{i\\theta}=\\cos\\theta+i\\sin\\theta.\\]\n\nThis identity follows, for example, by comparing the convergent power series for the exponential function, sine, and cosine.\n\nAt a quarter-turn,\n\n\\[e^{i\\pi/2}=i.\\]\n\nAt a half-turn,\n\n\\[e^{i\\pi}=-1,\\]\n\ngiving Euler's identity\n\n\\[e^{i\\pi}+1=0.\\]\n\nThese relations allow oscillations to be represented by complex exponentials. For a real constant \\(\\omega\\),\n\n\\[\\frac{d}{dt}e^{i\\omega t}=i\\omega e^{i\\omega t}.\\]\n\nDifferentiation therefore becomes multiplication by \\(i\\omega\\) for this class of functions, a property central to many calculations involving waves and oscillations."
    },
    {
      "heading": "Square roots and ordering",
      "text": "The notation\n\n\\[i=\\sqrt{-1}\\]\n\nis conventional when the square-root symbol denotes the principal complex square root. Nevertheless, the equation \\(z^2=-1\\) has both \\(i\\) and \\(-i\\) as solutions. More generally, every nonzero complex number has exactly two square roots, which are negatives of each other.\n\nIdentities valid for nonnegative real square roots do not necessarily extend to principal complex square roots. In particular,\n\n\\[\\sqrt{zw}=\\sqrt z\\,\\sqrt w\\]\n\ndoes not hold for all complex \\(z,w\\). Taking \\(z=w=-1\\) gives\n\n\\[\\sqrt{(-1)(-1)}=1, \\qquad \\sqrt{-1}\\sqrt{-1}=i^2=-1.\\]\n\nThis discrepancy reflects the choice involved in defining a single-valued square root, not an inconsistency in complex arithmetic.\n\nThe complex numbers also cannot be ordered as a field in a way compatible with their addition and multiplication. In any ordered field, the square of a nonzero element is positive. Both \\(1\\) and \\(i^2=-1\\) would then be positive, a contradiction. Their moduli can be compared, but this does not give an ordered-field structure."
    },
    {
      "heading": "Historical development",
      "text": "Expressions involving square roots of negative numbers arose in sixteenth-century work on algebraic equations, especially cubic equations. Such expressions could appear in intermediate calculations even when the final solutions were real. Rafael Bombelli developed systematic arithmetic rules for them in his Algebra of 1572.\n\nLeonhard Euler introduced the notation \\(i\\), which subsequently became standard. Geometric interpretations developed through the work of Caspar Wessel, Jean-Robert Argand, Carl Friedrich Gauss, and others helped establish complex numbers as points in a plane rather than merely formal algebraic expressions.\n\nThe fundamental theorem of algebra describes a central consequence of passing to the complex numbers: every nonconstant polynomial with complex coefficients has a complex root. Factoring repeatedly shows that a polynomial of degree \\(n\\) has exactly \\(n\\) roots when multiplicities are counted."
    },
    {
      "heading": "Applications and related structures",
      "text": "The imaginary unit is fundamental to complex analysis, where functions of complex variables exhibit properties that differ substantially from those of general functions of real variables.\n\nIn the Fourier transform, complex exponentials encode oscillations with different frequencies and phases. In differential equations, complex-valued solutions can simplify calculations involving real oscillatory systems; appropriate real or imaginary parts then supply real-valued solutions.\n\nIn alternating-current circuit analysis, complex numbers represent sinusoidal voltages and currents, and \\(j\\) expresses phase relationships between them. In quantum mechanics, \\(i\\) appears explicitly in the Schrödinger equation governing time evolution.\n\nThe idea also extends beyond complex numbers. The quaternions contain three distinguished units, traditionally written \\(i,j,k\\), each squaring to \\(-1\\). Unlike complex multiplication, quaternion multiplication is not commutative: for example, \\(ij=k\\), whereas \\(ji=-k\\)."
    }
  ],
  "links": [
    "complex-number",
    "real-number",
    "polynomial",
    "field-mathematics",
    "integer",
    "modular-arithmetic",
    "exponentiation",
    "cartesian-coordinate-system",
    "absolute-value",
    "polar-coordinates",
    "linear-algebra",
    "matrix",
    "identity-matrix",
    "field-extension",
    "vector-space",
    "eulers-formula",
    "power-series",
    "exponential-function",
    "leonhard-euler",
    "carl-friedrich-gauss",
    "fundamental-theorem-of-algebra",
    "complex-analysis",
    "fourier-transform",
    "quantum-mechanics",
    "quaternion"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}