Overview and definition
The square root of a number x is any number y such that y·y = x. For nonnegative real x there is a unique nonnegative square root, commonly written with the radical sign as √x. That nonnegative value is called the principal square root. For example, 3 is a square root of 9 because 3×3 = 9; the principal square root of 9 is written √9 = 3. The single value 0 is the only square root of 0. An illustration:
Basic properties and distinctions
Square roots interact with arithmetic in several useful ways, but with important caveats. For nonnegative real numbers a and b, one has √(ab) = √a·√b. However, simple rules that hold for nonnegative reals can fail when negatives or complex values are involved, so care with signs is essential. When solving equations like y² = x the two solutions are y = √x and y = −√x; the ± notation indicates two distinct values unless x = 0. The set of whole numbers whose square root is also an integer are called perfect squares (0, 1, 4, 9, 16, ...). For a short discussion see perfect squares.
Real versus complex square roots
Real square roots exist only for numbers greater than or equal to zero. Numbers less than zero do not have real square roots but do have complex square roots: every nonzero complex number has exactly two distinct square roots. A familiar example is −1, whose square roots are i and −i; i is commonly called the imaginary unit and is often treated as the principal square root of −1 in complex arithmetic. For background on imaginary and complex numbers, see imaginary numbers and complex numbers. The distinction between principal and other roots matters when extending the square-root function to complex values or when defining branch cuts and principal values in advanced contexts (compare principal value discussions).
Notable examples and irrationality
Some square roots are rational and some are irrational. If an integer n is not a perfect square, then √n is irrational; the classic example is √2 ≈ 1.41421356..., proven irrational by ancient mathematicians and often associated with early Greek mathematics. The square root of simple fractions is also common: √(1/4) = 1/2, while √(3) is an irrational number often encountered in geometry. For more on special constants and their properties see √2 and general results on irrational numbers at irrationality.
Computation methods
Square roots can be computed exactly in simple cases and approximated in general. Integer roots arise by inspection or prime factorization for perfect squares. For numerical approximation, traditional techniques include the ancient Babylonian method (also known as Heron’s method), which is equivalent to one form of Newton–Raphson iteration: starting from an initial guess x₀, iterate x_{n+1} = (x_n + A/x_n)/2 to converge to √A. Many calculators and libraries implement such iterative schemes or use table-driven algorithms optimized for binary representation. For pedagogical detail and algorithms see geometric interpretations and algorithmic references at mathematical reference.
History and applications
The concept of square roots appears in antiquity in geometry, measurement and early algebra. Historically it arose from the need to find side lengths of squares with a given area and to compute diagonals; these geometric roots led directly to algebraic formulations. Today square roots appear across mathematics and applications: geometry (lengths, Pythagorean theorem), physics (root-mean-square values), statistics (standard deviation involves a square root), engineering (signal processing, stability criteria), and computer science (algorithms and complexity bounds). Practical examples include computing the diagonal of a unit square (√2) and solving quadratic equations where discriminants under a square root determine solution behavior.
Examples, identities and cautions
- Examples: √9 = 3, √0 = 0, √(1/4) = 1/2, √2 ≈ 1.41421.
- Two-valued nature: the equation y² = 4 has solutions y = 2 and y = −2; the principal square root refers only to y = 2.
- Derivative and continuity: as a real function f(x)=√x it is continuous for x≥0 and differentiable for x>0 with f'(x) = 1/(2√x) (used in calculus and modeling).
- Caution: algebraic manipulations that drop the ± or apply identities indiscriminately may lead to sign errors; always track the domain of the values involved.
Further reading and technical details can be consulted in general mathematical references and specialized literature; introductory materials often treat notation, simple proofs, and numerical methods in parallel. For additional online resources see definition and notation, classic examples, and topic pages on irrational numbers, geometric uses, imaginary numbers, complex arithmetic, and principal values. An overview of perfect squares is available at perfect squares.








