image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Number Theory


Reply

image a*b = LCM(a,b)*HCF(a,b) Share It Thread Tools Search this Thread image
Old Jun22-09, 01:21 PM                  #1
Anonymus1984

Anonymus1984 is Offline:
Posts: 3
a*b = LCM(a,b)*HCF(a,b)

Hello,

I have been searching in vain for a general proof of the following:

a*b = LCM(a,b)*HCF(a,b)

Please send me a link of please give me the proof. Or at least, please help me visualize how this comes about... I know it is true... but I'm just not able to visualize it...

I go up to seeing the product of the two numbers as the product of their respective prime factors and that contains the HCF of the Two numbers. But, I'm unable to visualize the rest of the prime factors together becoming the LCM of the two numbers.... please help me...

Thank you.
  Reply With Quote
Old Jun22-09, 03:01 PM                  #2
in3

in3 is Offline:
Posts: 2
Re: a*b = LCM(a,b)*HCF(a,b)

If
LaTeX Code: a = p_1^{e_1} \\cdot p_2^{e_2} \\cdots p_n^{e_n} ,

LaTeX Code: b = p_1^{f_1} \\cdot p_2^{f_2} \\cdots p_n^{f_n} ,

where LaTeX Code: p_i are unique prime numbers and LaTeX Code: e_i \\ge 0, f_i \\ge 0 , then

LaTeX Code: \\text{hcf}(a,b) = p_1^{\\min(e_1,f_1)} \\cdots p_n^{\\min(e_n, f_n)} ,

LaTeX Code: \\text{lcm}(a,b) = p_1^{\\max(e_1,f_1)} \\cdots p_n^{\\max(e_n, f_n)} .

So what's LaTeX Code: \\text{hcf}(a,b) \\cdot \\text{lcm}(a,b) ?
  Reply With Quote
Old Jun24-09, 10:46 AM                  #3
Anonymus1984

Anonymus1984 is Offline:
Posts: 3
Re: a*b = LCM(a,b)*HCF(a,b)

Hello in3,

Thanks for the reply. But, I still don't understand... I'm just a beginner.

Not all the Ps would be in the lcm(a,b) or the hcf(a,b) right? we take only the ones that are common.. right?

Also, I don't understand the representation of lcm and hcf... can you please send me a link where I can get a more detailed explanation of the representation?

Thank you.
  Reply With Quote
Old Jun24-09, 06:57 PM                  #4
in3

in3 is Offline:
Posts: 2
Re: a*b = LCM(a,b)*HCF(a,b)

LaTeX Code: p_1, \\ldots, p_n are all the prime factors from both a and b. Note that if LaTeX Code: p_k is a prime factor in a but not in b, then LaTeX Code: f_k will be 0.

As for a link, I guess you could look at MathWorld, though I'm not sure it includes the details you seek. But I would encourage you to think about what hcf and lcm means and how it's reflected in the above.
  Reply With Quote
Old Jun24-09, 10:52 PM       Last edited by albert1993; Jun24-09 at 11:04 PM..            #5
albert1993

albert1993 is Offline:
Posts: 9
Re: a*b = LCM(a,b)*HCF(a,b)

Originally Posted by Anonymus1984 View Post
Hello in3,

Thanks for the reply. But, I still don't understand... I'm just a beginner.

Not all the Ps would be in the lcm(a,b) or the hcf(a,b) right? we take only the ones that are common.. right?

Also, I don't understand the representation of lcm and hcf... can you please send me a link where I can get a more detailed explanation of the representation?

Thank you.
LaTeX Code:  hcf(a,b)  is going to be all the common factors of a and b right?
so if we make a and b in the form that in3 made, we find that they share some LaTeX Code:  p_n 's, right? so whatever is smaller, thus LaTeX Code: min (e_n, f_n) , will become a common factor of a and b. if we multiply all of these we get LaTeX Code:  hcf (a,b)

and there will be enough p's in the lcm and hcf when multiplied because you're taking the minimum of p's in hcf and the maximum of p's in lcm.

here's a quick example: 12 & 120

LaTeX Code: 12=2^2*3
LaTeX Code: 120=2^3*3*5
LaTeX Code: hcf(12,120)=2^{min(2,3)}*3^{min(1,1)}*5^{min(0,1)}  =2^2*3^1*5^0=12
LaTeX Code: lcm(12,120)=2^{max(2,3)}*3^{max(1,1)}*5^{max(0,1)}  =2^3*3^1*5^1=120
LaTeX Code: 12*120=2^2*3*2^3*3*5=2^{2+3}*3^{1+1}*5{0+1}=2^5*3^  2*5=1440=12*120=lcm(12,120)*hcf(12,120)

see that we added the exponents of each prime? that's multiplication of the two numbers a,b.
see that the minimum of the exponents and maximum of the exponents added together cover this up? that's hcf*lcm.

hope i helped :)
  Reply With Quote
Old Jun24-09, 11:13 PM                  #6
thrill3rnit3
 
thrill3rnit3's Avatar

thrill3rnit3 is Offline:
Posts: 473
Recognitions:
PF Contributor PF Contributor
Re: a*b = LCM(a,b)*HCF(a,b)

Here's a pretty informal explanation, but you should be able to visualize it from here.

So we're trying to prove that lcm(a,b)*hcf(a,b)=a*b. Consider any prime LaTeX Code: p . It enters the factorization of LaTeX Code: a as LaTeX Code: p^{e} and of LaTeX Code: b as LaTeX Code: p^{f} . Without loss of generality let's say that LaTeX Code: a \\leq b . When we take the HCF of LaTeX Code: a and LaTeX Code: b , we need LaTeX Code: e number of LaTeX Code: psingle-quotes , since any more factors of LaTeX Code: p will not divide LaTeX Code: b . Similarly, when we take the LCM, we need LaTeX Code: f number of LaTeX Code: psingle-quotes , since LaTeX Code: f factors of LaTeX Code: p are required if LaTeX Code: b is to divide the LCM. Thus, in the product of the HCF and LCM all factors of LaTeX Code: p will come together as LaTeX Code: p^{e+f} . But this factor LaTeX Code: p^{e+f} is the same power of LaTeX Code: p which enters into the prime factorization of LaTeX Code: ab !. Since this argument applies to any prime LaTeX Code: p , the prime factorizations of lcm(a,b)*hcf(a,b) and LaTeX Code: ab must be the same, so lcm(a,b)*hcf(a,b) and LaTeX Code: ab must be equal. Q.E.D.
  Reply With Quote
Old Jun25-09, 10:32 AM                  #7
Anonymus1984

Anonymus1984 is Offline:
Posts: 3
Re: a*b = LCM(a,b)*HCF(a,b)

I understand now... thank you in3, albert1993 and thrill3rnit3...

Once you understand something, it looks so simple and you wonder why you didn't get it all along... I guess that is the sign of understanding something...

Thank you very much.
  Reply With Quote
image image
Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image