

There are two basic ways (and several fancier variants) to do this. > print(' %d %d/%d' % (num // den, num % den, den))įloats are a bit more difficult, because you have to figure out the denominator, and it's usually not going to be exact. The numerator of the proper fraction remainder is numerator % denominator.Īnd, of course, the denominator doesn't change. The integer part is numerator // denominator.

Writing 3 0 / 3 would look strange, so we simply write 3.You can use the divide and modulo operators to print this: Since there is no remainder, we do not need to put a fraction. If the denominator divides exactly into the numerator, the fraction can be written as a whole number. Here is a special case of converting an improper fraction to a mixed number.ģ0 ÷ 3 = 10. We write the 4 as the whole number part of our answer and the remainder of 2 as the numerator of the fraction. This is because 4 multiplied by 3 equals 12. Here is another example of converting an improper fraction to a mixed fraction.ġ4 ÷ 3 = 4 remainder 2. This is a ppt lesson and there is an assumption of basic fraction facts and ability, including simplifying fractions. The improper fraction of 5 / 2 is written as a mixed fraction as 2 1 / 2. The fraction is out of 2 as the denominator is the same as the improper fraction denominator. The remainder of 1 goes as the numerator of the fraction. We write the whole number part of the answer as 2. We divide the numerator by the denominator. The denominator is the same as the denominator of the improper fraction. Write the whole number part down and write any remainders as the numerator of the fraction. To write an improper fraction as a mixed number, divide the numerator by the denominator. We simply write the fraction immediately after the whole number in a mixed number.Įxamples of Converting Improper Fractions to Mixed Numbers We have one third remaining, so we write 1 / 3 next to the 2.ħ / 3 written as a mixed number is 2 1 / 3. We can see that we have 2 whole rectangles shaded in and 1 remaining third.īecause we have 2 wholes, we can write a 2. We have rectangles divided into thirds and we have seven of these thirds shaded in. The rule for converting improper fraction to mixed numbers works because the number of times that the denominator goes into the numerator tells us the number of whole numbers that can be made. Why Does the Rule for Converting Improper Fractions to Mixed Numbers Work? The improper fraction 7 / 3 is written as a mixed number as 2 1 / 3. We write the 1 as the numerator in our answer. The next step is to write the remainder of the division as the numerator on the top of the fraction in the mixed number.ħ ÷ 3 = 2 remainder 1. The denominator of the mixed number is the same as the denominator of the improper fraction. Since 3 goes into 7 twice, we write a 2 as the whole number part of the answer. We know this because 3 × 2 = 6 and then 6 is one less than 7.

The first step is to divide the numerator on the top of the fraction by the denominator on the bottom of the fraction.ħ ÷ 3 = 2 remainder 1. In this question we will write it as a mixed number. A mixed number is also known as a mixed fraction.įor example, here is the improper fraction of 7 / 3. In a mixed number the whole number is written just before the fraction. It is the opposite of a proper fraction, which has a smaller numerator than its denominator.Ī mixed number is a number that is made up of 2 parts: a whole number and a proper fraction. Add this display poster to your maths working wall for quick and easy reference.
#Fraction converter improper to mixed how to#
They are shown how to divide the numerator by the denominator then use the whole number answer and the remainder to form the mixed number fraction.

To convert an improper fraction to a mixed number, follow these steps: How to Convert an Improper Fraction to a Mixed Number
