what is the difference between a rational number and an integer?

3 answers

An integer is a whole number, positive or negative.

A rational number is a number which can be expressed as a fraction between two whole numbers.

Every integer is a rational number, because every integer can be expressed as a fraction between itself and 1, both whole numbers.
Integers are positive and negative whole numbers.
The set of rational numbers are all numbers that can be
expressed as a fraction or ratio of the form a/b, where b ≠ 0
The set of rational numbers contains the set of integers since
every integer can be expressed as a fraction.
e.g.
5 = 5/1 or 10/2 or ...
thanks Reiny and Bosnian