Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Differences › Maths

Rational numbers vs Irrational numbers

A rational number can be written as p/q; an irrational one cannot, so its decimal never ends and never repeats.

Rational numbers

Any number p/q with whole numbers p and q, q ≠ 0.

Irrational numbers

A real number that cannot be written as p/q.

Rational numbers compared with Irrational numbers
Rational numbersIrrational numbers
DecimalEnds or repeatsNever ends, never repeats
Examples3, −2/7, 0.25, 0.333…√2, π, √3 + 1
Sum of two of themAlways rationalCan be rational (√2 + (−√2) = 0)

Example

0.142857142857… repeats, so it is rational (it is 1/7). √2 = 1.41421356… never repeats, so it is irrational.

Try it or learn more

  • Class 9 number systems
  • Class 10 real numbers

More differences

  • Mean vs Median
  • Permutation vs Combination
  • Area vs Perimeter
  • sin θ vs cos θ