Skip to main content
Skip to main content
DigiCalcs
Back to Guides
4 min read5 Steps

How to Decompose a Fraction into Unit Fractions (Egyptian Method)

Learn to manually decompose any fraction into a sum of unit fractions using the greedy Egyptian method. Includes formula, example, and pitfalls.

Skip the math — use the calculator

Step-by-Step Instructions

1

Identify Your Fraction and Understand the Goal

Begin by clearly identifying the proper fraction you wish to decompose, denoted as $\frac{n}{d}$, where $n$ is the numerator and $d$ is the denominator. The objective is to express this fraction as a sum of distinct unit fractions (fractions with a numerator of 1).

2

Calculate the Denominator for the First Unit Fraction

Using the greedy algorithm, determine the denominator $x_1$ for the first unit fraction. This is calculated by taking the ceiling of the inverse of the original fraction: $x_1 = \\lceil \frac{d}{n} \rceil$. The first unit fraction is then $\frac{1}{x_1}$.

3

Subtract and Determine the Remainder Fraction

Subtract the unit fraction found in Step 2 from your original fraction: $\frac{n}{d} - \frac{1}{x_1}$. To perform this subtraction, find the Least Common Multiple (LCM) of $d$ and $x_1$ to create equivalent fractions with a common denominator. The result will be a new fraction, $\frac{n'}{d'}$, which is your remainder.

4

Iterate Until a Unit Fraction Remainder is Achieved

If the remainder fraction $\frac{n'}{d'}$ (from Step 3) has a numerator $n'$ that is not equal to 1, treat this remainder as your new fraction and repeat Step 2 and Step 3. That is, calculate $x_2 = \\lceil \frac{d'}{n'} \rceil$, subtract $\frac{1}{x_2}$ from $\frac{n'}{d'}$, and continue this iterative process. Stop when the remainder fraction is a unit fraction (i.e., its numerator is 1).

5

Assemble the Egyptian Fraction Decomposition

Collect all the unit fractions identified in each iteration (e.g., $\frac{1}{x_1}$, $\frac{1}{x_2}$, ..., $\frac{1}{x_k}$). The sum of these unit fractions represents the complete Egyptian fraction decomposition of your original fraction.

How to Decompose a Fraction into Unit Fractions (Egyptian Method)

This guide details the manual process of decomposing a proper fraction into a sum of distinct unit fractions, commonly known as the Egyptian fraction decomposition. This method employs a greedy algorithm to systematically find the largest possible unit fraction at each step, simplifying the original fraction until only unit fractions remain.

Prerequisites

Before proceeding, ensure proficiency in the following fundamental arithmetic operations:

  • Fraction Arithmetic: Addition, subtraction, and comparison of fractions.
  • Least Common Multiple (LCM): Ability to find the LCM of two integers to perform fraction subtraction.
  • Ceiling Function ($\lceil x \rceil$): Understanding that $\lceil x \rceil$ denotes the smallest integer greater than or equal to $x$.

The Greedy Algorithm for Egyptian Fractions

For a given proper fraction $\frac{n}{d}$ (where $n < d$ and $n, d$ are positive integers), the greedy algorithm proceeds as follows:

  1. Identify the first unit fraction: Find the smallest positive integer $x$ such that $\frac{1}{x} \le \frac{n}{d}$. This can be mathematically derived as $x = \lceil \frac{d}{n} \rceil$.
  2. Calculate the remainder: Subtract the identified unit fraction from the original fraction: $\frac{n}{d} - \frac{1}{x}$.
  3. Iterate: If the remainder is not a unit fraction (i.e., its numerator is not 1), treat this remainder as the new fraction $\frac{n'}{d'}$ and repeat steps 1 and 2 until the remainder is a unit fraction.

The final decomposition will be the sum of all unit fractions identified in each step.

Worked Example: Decomposing $\frac{3}{7}$

Let's apply the greedy algorithm to decompose the fraction $\frac{3}{7}$.

Step 1: Calculate the First Unit Fraction

Given $n=3$ and $d=7$. The formula for the first unit fraction's denominator is $x = \lceil \frac{d}{n} \rceil$.

$x = \lceil \frac{7}{3} \rceil = \lceil 2.333... \rceil = 3$

The first unit fraction is $\frac{1}{3}$.

Step 2: Calculate the Remainder

Subtract the first unit fraction from the original fraction:

$\frac{3}{7} - \frac{1}{3}$

To subtract, find a common denominator, which is $LCM(7, 3) = 21$.

$\frac{3 \times 3}{7 \times 3} - \frac{1 \times 7}{3 \times 7} = \frac{9}{21} - \frac{7}{21} = \frac{2}{21}$

The remainder is $\frac{2}{21}$. Since the numerator is not 1, we proceed to the next iteration.

Step 3: Iterate with the Remainder

Now, our new fraction is $\frac{2}{21}$, so $n=2$ and $d=21$.

Calculate the next unit fraction's denominator:

$x = \lceil \frac{21}{2} \rceil = \lceil 10.5 \rceil = 11$

The second unit fraction is $\frac{1}{11}$.

Calculate the new remainder:

$\frac{2}{21} - \frac{1}{11}$

Find a common denominator, which is $LCM(21, 11) = 231$.

$\frac{2 \times 11}{21 \times 11} - \frac{1 \times 21}{11 \times 21} = \frac{22}{231} - \frac{21}{231} = \frac{1}{231}$

The remainder is $\frac{1}{231}$. Since the numerator is 1, this is a unit fraction, and we stop.

Step 4: Assemble the Decomposition

The unit fractions found are $\frac{1}{3}$, $\frac{1}{11}$, and $\frac{1}{231}$.

Therefore, the Egyptian fraction decomposition of $\frac{3}{7}$ is:

$\frac{3}{7} = \frac{1}{3} + \frac{1}{11} + \frac{1}{231}$

Common Pitfalls

  • Incorrect Ceiling Calculation: A frequent error is miscalculating $\lceil \frac{d}{n} \rceil$. Remember to always round up to the nearest integer, even if the result is slightly above an integer (e.g., $\lceil 2.0001 \rceil = 3$, not 2).
  • Arithmetic Errors: Mistakes in fraction subtraction, especially when finding common denominators or performing numerator subtraction, can lead to incorrect intermediate fractions and thus an incorrect final decomposition.
  • Not Reducing Intermediate Fractions: While the greedy algorithm does not strictly require reducing intermediate fractions like $\frac{2}{21}$, ensuring they are in simplest form can sometimes make calculations with larger numbers more manageable, though it does not change the outcome of the greedy approach.
  • Premature Stopping: Stopping before the remainder is exactly a unit fraction (numerator 1) will result in an incomplete decomposition.

When to Use a Calculator

Manually performing Egyptian fraction decomposition can become tedious and error-prone for fractions with large numerators or denominators. The intermediate fractions can quickly grow, leading to very large common denominators and complex subtractions. A unit fraction calculator is highly beneficial in the following scenarios:

  • Large Numbers: When $n$ or $d$ are large, the calculations for $x$ and subsequent remainders become cumbersome.
  • Speed and Efficiency: For quick decomposition or when dealing with multiple fractions, a calculator provides instant results.
  • Verification: After performing a manual calculation, a calculator can be used to verify the correctness of your decomposition.
  • Exploring Alternatives: While the greedy method is deterministic, some fractions might have multiple Egyptian fraction decompositions. A calculator might offer options to explore these if implemented.

Ready to Calculate?

Skip the manual work and get instant results.

Open Calculator

Settings

PrivacyTermsAbout© 2026 DigiCalcs