The Wayback Machine - https://web.archive.org/web/20250108132813/https://www.geeksforgeeks.org/euclid-division-lemma/
Open In App

Euclid Division Lemma

Last Updated : 27 Nov, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Euclid’s Division Lemma which is one of the fundamental theorems proposed by the ancient Greek mathematician Euclid which was used to prove various properties of integers. The Euclid’s Division Lemma also serves as a base for Euclid’s Division Algorithm which is used to find the GCD of any two numbers.

Euclid’s Division Lemma gives the relation between the various components of Division. The statement of Euclid’s Division Lemma is as follows:

Dividend = Divisor × Quotient + Remainder

Statement of Euclid’s Division Lemma

For any two positive integers a and b, where a â‰Ĩ b there exists a unique set of integers q and r, such that: 

a = b q + r
Dividend = (Divisor × Quotient) + Remainder

Where, 

  • q is called the quotient, and 
  • r is called the remainder, 0 â‰Ī r < b.
  • Euclid’s Division Lemma has many Applications related to the Divisibility of Integers
  • It can be used to find the HCF of two numbers.

Articles Related to Euclid’s Division Lemma:

Euclid’s Division Lemma Example

Let’s consider an example of Euclid’s Division Lemma for better understanding.

Here, the given numbers are, 39(=a) and 6(=b) we can write it in a = bq + r form as, 39 = 6×6 + 3

where, quotient(q) is 6 and remainder(r) is 3.

Euclid Division Lemma

Proof Of Euclid Division Lemma

Consider the following arithmetic progression.

â€Ķâ€Ķâ€Ķ, a − 3b, a − 2b, a − b, a, a + b, a + 2b, a + 3b, â€Ķâ€Ķ

The above arithmetic progression has a common difference â€˜bâ€ē, and it extends indefinitely in both directions.
Now, Let’s consider the smallest non-negative term of this arithmetic progression to be r.

The difference between the smallest non- negative term r and a will be in multiple of the common difference ‘b’ as they both are in A.P.

So we can write it as,

a – r = bq
a = bq + r

Where, r is the smallest non-negative integer satisfying the above result. 
Therefore, 0 â‰Ī r < b

Thus, we have a = bq + r, where 0 â‰Ī r < b

Now, to prove the Uniqueness of q and r:

Let’s Consider another pair qâ€ē and râ€ē such that a = bqâ€ē + râ€ē and 0 â‰Ī râ€ē<b, then we would have:

bq + r = bqâ€ē + râ€ē
b(q − qâ€ē) = râ€ē − r

Since 0â‰Īrâ€ē<b and 0â‰Īr<b,
then, âˆĢrâ€ē−râˆĢ<b

Therefore, the only possible way for this equation to hold true is if q=qâ€ē and r=râ€ē.

Therefore it is proved that q and r are unique .

Thus, for every two numbers a and b we have unique value of q and r such that ‘a = bq + r‘, as defined in the Euclid’s Division Lemma.

Solved Examples on Euclid’s Division Lemma

Example 1: Find the quotient and remainder when 315 is divided by 17 using Euclid’s Division Algorithm.

Solution:

Given: Dividend = 315, Divisor = 17

Using Euclid’s Division Lemma, Divide 315 by 17
⇒ 315 = 17 × 18 + 9

Thus, quotient is 18 and remainder is 9.

Example 2: Find the quotient and remainder when 73 is divided by 9 using Euclid’s Division Algorithm.

Solution:

Given: Dividend = 73, Divisor = 9

Using Euclid’s Division Lemma, Divide 73 by 9
⇒ 73 = 9 × 8 + 1

Therefore, when 73 is divided by 9, the quotient is 8 and the remainder is 1.

Next Article – Euclidean Algorithm

For Programmer: Euclidean Algorithms basic and extended

Euclid’s Division Lemma – FAQs

What is Euclid’s Division Lemma?

Euclid’s Division Lemma is the basic theorem of mathematics that says for any two positive integers a and b, we have two integers q and r such that,

a = bq + r

What is Euclid’s Division Algorithm?

Euclid’s Division Algorithm is an algorithm which is used to find the HCF of two numbers by using Euclid’s Division Lemma in succession till the remainder(r) is made zero.

What is the difference between Euclid’s Division Lemma and  Euclid’s Division Algorithm?

Euclid’s Division Lemma is the basic theorem of Euclid’s Division whereas Euclid’s Division Algorithm is an Algorithm which uses Euclid’s Division Lemma to find the HCF of two numbers.

What is the use of Euclid’s Division Lemma?

Euclid’s Division Algorithm is used to define the relation between the various components of Division. such as divisor, dividend , quotient, remainder.

What is the formula of the Euclid Division Lemma?

The formula of the Euclid Division Lemma is,

Dividend = Divisor × Quotient + Remainder

How does Euclid Algorithm calculate HCF?

The HCF of two numbers a and b can be calculated using Euclid Algorithm by following the steps discussed below,

  • Step 1: Use Euclid’s Division Lemma, a and b. So, we find q and r such that a = bq + r, 0 â‰Ī r < b.
  • Step 2: If r = 0, b is the HCF of a and b. If r ≠ 0, repeat step 1 till the remainder becomes zero.
  • Step 3: In the case when the remainder is zero, the divisor b is the HCF of a and b.


Next Article

Similar Reads

three90RightbarBannerImg