a fraction is a mathematical expression relating two quantities or numbers, where one divides the other. when the two quantities are whole numbers (or integers), this is called a rational number (such as the fraction formula_6). when the two quantities are polynomials, this is called a rational function.