Can the GCD and Euclidean Algorithm Solve Real Life Problems?

  • Context: High School 
  • Thread starter Thread starter matqkks
  • Start date Start date
  • Tags Tags
    Greatest common divisor
Click For Summary

Discussion Overview

The discussion explores the real-life applications of the greatest common divisor (GCD) and the Euclidean algorithm, focusing on their relevance in various contexts such as problem-solving, ratios, and practical scenarios like shopping and cooking.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants suggest that the GCD has applications in simplifying ratios and empirical formulas, such as in chemistry.
  • Others mention that the GCD is useful in various problem-solving scenarios, although specific examples are not always provided.
  • One participant points out that the GCD can be relevant in shopping scenarios, such as determining the optimal quantity of items to purchase.
  • Another participant questions the relevance of the GCD in certain examples, suggesting that the lowest common multiple (LCM) might be more applicable in specific cases.
  • There is mention of the extended Euclidean algorithm being used in finite fields, although it is noted that other methods may be more efficient.
  • A participant raises the idea that linear Diophantine equations relate to the GCD and the Euclidean algorithm, indicating a broader mathematical context.

Areas of Agreement / Disagreement

Participants express a range of views on the applications of the GCD, with some agreeing on its usefulness in simplifying ratios and others debating its relevance in specific scenarios like shopping. The discussion remains unresolved regarding the best contexts for applying the GCD versus the LCM.

Contextual Notes

Some participants reference specific mathematical concepts and methods without fully resolving the implications or limitations of those methods in practical applications.

matqkks
Messages
283
Reaction score
6
Are there any real life applications of the greatest common divisor of two or more integers?
 
Mathematics news on Phys.org
Yes. i.e. whenever you have something depending on a ratio ...

It's not normally expressed in that way though.
Mostly - the lesson is important for the practise it gives in a kind of problem solving.
 
Last edited:
There are a whole bunch. I use the idea regularly so it is difficult to point to a specific thing...
 
rexregisanimi said:
There are a whole bunch. I use the idea regularly so it is difficult to point to a specific thing...
Aww go on - show us one... what's the one you use regularly that you last used?
 
  • Like
Likes   Reactions: 1 person
matqkks said:
Are there any real life applications of the greatest common divisor of two or more integers?
I can't think of any real world applications. The closest I can think of is the Euclid algorithm for finding the GCD which can be extended and used to find the inverse of a number in finite field, but it's seldom used because there are other and better methods. For example, if the field isn't very large, a lookup table can be used. In the case of hardware implementations of inversion based on "binary" finite fields (which is part of AES encryption), there are complex methods (sub-field mapping) that involve fewer gates than a lookup table. Wiki article for extended Euclid algorithm:

wiki_inverse_in_finite_field.htm
 
Last edited:
  • Like
Likes   Reactions: 1 person
GCD is used any time you want to simplify integers, but have the same ratios as the others have said. Another way to say it is the numbers scale equally. An example is in solving empirical formulas, where you reduce all integers in a chemical formula. Such as hexane C6H8 -> C3H4 GCD(6,8) is 2 so divide each by 2 to get the answer. Though it isn't of much use, but it has a name.
 
  • Like
Likes   Reactions: 1 person
The store sells 8-packs of hotdogs and 12-packs of buns. If you want the same (nonzero) number of each, what's the cheapest way to do it?
 
@economicsnerd: good example, well done!
Most people wouldn't do that by listing the divisors, but I suppose there are examples less amenable to a bit of trial and error.
Do HS math textbooks no longer have examples like that these days?
 
  • #10
economicsnerd said:
The store sells 8-packs of hotdogs and 12-packs of buns. If you want the same (nonzero) number of each, what's the cheapest way to do it?
Wouldn't this be the "lowest common multiple" as opposed to the "greatest common divisor"?
 
  • #11
rcgldr said:
Wouldn't this be the "lowest common multiple" as opposed to the "greatest common divisor"?

Directly, I guess it's not really either.
Computing either the GCD or the LCM would get you close to knowing how many bags of each to buy. You either compute {h/GCD(h,b), b/GCD(h,b)} or {LCM(h,b)/h, LCM(h,b)/b}.
 
  • #12
If you can think of a real life application of linear Diophantine equations, then the GCD and the Euclidean algorithm have applications to solving those.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
13K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 38 ·
2
Replies
38
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K