The rational numbers, being the [-field_of_fractions] of the integers, have the following field structure:
- Addition is given by ab+pq=aq+bpbq
- Multiplication is given by abcd=acbd
- The identity under addition is 01
- The identity under multiplication is 11
- The additive inverse of ab is −ab
- The multiplicative inverse of ab (where a≠0) is ba.
It additionally inherits a total ordering which respects the field structure: 0<cd if and only if c and d are both positive or c and d are both negative. All other information about the ordering can be derived from this fact: ab<cd if and only if 0<cd−ab.