Irreducible fraction
An irreducible fraction is a fraction in which the numerator and denominator are integers that have no other common divisors than 1. In other words, a fraction is irreducible if and only if a and b are coprime, that is, if a and b have a greatest common divisor of 1. In higher mathematics, "irreducible fraction" may also refer to rational fractions such that the numerator and the denominator are coprime polynomials. Every rational number can be represented as an irreducible fraction with positive denominator in exactly one way.
An equivalent definition is sometimes useful: if a and b are integers, then the fraction is irreducible if and only if there is no other equal fraction such that or, where means the absolute value of a.
For example,,, and are all irreducible fractions. On the other hand, is reducible since it is equal in value to, and the numerator of is less than the numerator of.
A fraction that is reducible can be reduced by dividing both the numerator and denominator by a common factor. It can be fully reduced to lowest terms if both are divided by their greatest common divisor. In order to find the greatest common divisor, the Euclidean algorithm or prime factorization can be used. The Euclidean algorithm is commonly preferred because it allows one to reduce fractions with numerators and denominators too large to be easily factored.
Examples
In the first step both numbers were divided by 10, which is a factor common to both 120 and 90. In the second step, they were divided by 3. The final result,, is an irreducible fraction because 4 and 3 have no common factors other than 1.The original fraction could have also been reduced in a single step by using the greatest common divisor of 90 and 120, which is 30. As, and , one gets
Which method is faster "by hand" depends on the fraction and the ease with which common factors are spotted. In case a denominator and numerator remain that are too large to ensure they are coprime by inspection, a greatest common divisor computation is needed anyway to ensure the fraction is actually irreducible.