Irrational number (source code)

= Irrational number
{title2=$\mathbb R\setminus\mathbb Q$}
{wiki}

= Irrational
{synonym}

An <irrational number> is a <real number> that is not a <rational number>: it cannot be written as $a/b$ with <integers> $a,b$ and $b\ne0$. Its decimal expansion is infinite and not eventually periodic. Both $\sqrt2$ and $\pi$ are irrational, but their algebraic behavior differs: $\sqrt2$ is an <algebraic number>, while $\pi$ is a <transcendental number>.

The <irrationality of the square root of two> supplies a basic example: a reduced fraction $a/b$ with square two would force both $a$ and $b$ to be even. <Irrational numbers> are needed to describe <lengths> such as the diagonal of a unit square, which rational coordinates alone cannot express.