This leads to the set called
of rational numbers.
The set
consists of all fractions with the numerator an integer and the denonminator a non-zero integer.
(in the fraction
,
is called the numerator and
is called denominator.)
The rationals are closed under addition, subtraction, multiplication and division.
A set of numbers in which those 4 operations can be performed is called a field, here we often speak of the field of rational numbers.
Two fractions
and
are equal if and only if
This definition implies that cancelling common factors in the nominator and denominator does not change the fraction.
, because
Two fractions are added or substracted by finding their common denominator (you may want to look for the smallest common denominator):
Multiplication is easy:
Division by a (non-zero) fraction is done by multiplying with its reciprocal.
Some questions cannot be answered within the set of rational numbers, for example what is a solution of
?