# What are Rational and Irrational Numbers with Examples ?

Here you will learn what are rational and irrational numbers with examples.

Let’s begin –

## What are Rational and Irrational Numbers ?

### Rational Number

A rational number is defined as number of the form a/b where a and b are integers and b $$\ne$$ 0.

The set of rational numbers encloses the set of integers and fractions.

Rational numbers that are not integral will have decimal values. These values can be of two types :

(a) Terminating (or finite) decimal fractions : For example, 17/4 = 4.25, 21/5 = 4.2 and so forth.

(b) Non-terminating decimal fractions : Amongst non-terminating decimal fractions there are two types of decimal values.

(i) Non-terminating periodic fractions : These are non-terminating decimal fractions of the type $$x.a_1a_2….a_na_1a_2….a_n$$. For example $$16\over 3$$ = 5.3333, 15.23232323, 14.28762876….  and so on.

(ii) Non-terminating non-periodic fractions : These are of the form $$x.b_1b_2….b_nc_1c_2…c_n$$. For example, 5.273168143725186….

Of the above categories,terminating decimal and non-terminating periodic decimal fractions belong to the set of rational numbers.

### Irrational Number

Fractions, that are non-terminating, non-periodic fractions are called irrational numbers.

Some examples of irrational numbers are $$\sqrt{2}$$, $$\sqrt{3}$$ etc. In other words, all square and cube roots of the natural numbers that are not squares and cubes of natural numbers are irrational. Other irrational numbers include $$\pi$$, e and so on.

Every positive irrational number has a negative irrational number corresponding to it.

All operations of addition, subtraction, multiplication and division applicable to rational numbers are also applicable to irrational numbers.

You should realise that once an irrational numbers appears in the solution of question, it can only disappear if it is multiplied or divided by the same irrational number.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9212229251861572, "perplexity": 514.624454858634}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2022-49/segments/1669446706285.92/warc/CC-MAIN-20221126080725-20221126110725-00368.warc.gz"}