GCD of x and y: Definition and Examples

  • Thread starter Thread starter Werg22
  • Start date Start date
  • Tags Tags
    Definition Gcd
AI Thread Summary
The notation gcd(x, y) refers to the greatest common divisor of x and y, defined as the largest integer d that divides both x and y, or equivalently, as the smallest nonzero linear combination of x and y expressed as d = ux + vy. This concept extends beyond integers to polynomials, where size is measured by degree, and the monic polynomial is chosen. An alternative definition emphasizes that d is a common divisor of x and y, and all common divisors also divide d. The discussion highlights different characterizations of gcd, with a preference for the linear combination approach due to its practical utility. Understanding gcd is essential for various mathematical applications, including number theory and algebra.
Werg22
Messages
1,431
Reaction score
1
What does the notation gcd(x,y) means?
 
Mathematics news on Phys.org
It stands for greatest common divisor. It has two equivalent characterizations:

d = gcd(x, y) iff d is the largest thing such that d|x and d|y.

d = gcd(x, y) iff d is the smallest nonzero thing of the form ux + vy. (u and v need not be greater than zero)


(Size is measured by absolute value. We always use the positive one)


Note that all of this makes sense for more than just integers -- for example, it works for polynomials if "size" is measured by degree. (We always choose the monic polynomial)
 
Hurkyl said:
It stands for greatest common divisor. It has two equivalent characterizations:

d = gcd(x, y) iff d is the largest thing such that d|x and d|y.

d = gcd(x, y) iff d is the smallest nonzero thing of the form ux + vy. (u and v need not be greater than zero)


(Size is measured by absolute value. We always use the positive one)


Note that all of this makes sense for more than just integers -- for example, it works for polynomials if "size" is measured by degree. (We always choose the monic polynomial)
I perfer a definition that does not require an ordering of element such as

gcd(x,y)=d iff d|x,y and if c|x,y then c|d
That is to say d is a common divisor of x and y
and
all common divisors of x and y divide d
 
Well, to be entirely silly, | is a (pre)ordering. :smile: (An actual partial ordering on things like the positive integers, or monic polynomials!)


I feel that the characterization as the least nonzero linear combination to be a generally more useful characterization, but I guess that gets translated in the same way: d = ux + vy, and d | ax + by for all a and b.
 
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top