They are related because most of the integer numbers are similar to rational numbers. Also, when subtracting, it is basically like adding a negative number whitch is a integer. They are related because the equations have both integer and rational numbers in it.