Question

How do I find the (LCM) or the (LCD) of fraction? How do I find the...

How do I find the (LCM) or the (LCD) of fraction?

How do I find the (LCM) or the (LCD) of fraction?

Is the LCM the same as the LCD?

Do they have a link with each other?

Homework Answers

Answer #1

Yet another way, which I mentioned to a number of students, is by first finding the GCD (greatest common divisor) and using the fact that LCM(x,y) * GCD(x,y) = xy.

The GCD can be found by Euclid's algorithm which proceeds by successively subtracting multiples of the smaller argument from the larger one. The base case is GCD(n,0) = GCD(0,n) = n. For large arguments, this is the fastest method possible.

Example:

x = 632, y = 412

GCD(632,412) = GCD(220,412) since 632 - 412 = 220.

= GCD(220,192) since 412 - 220 = 192.

= GCD(28,192) since 220 - 192 = 28.

= GCD(28,24) since 192 - 6*28 = 24.

= GCD(4,24) since 28 - 24 = 4.

= GCD(4,0) since 24 - 6*4 = 0

= 4 using the base case.

Now for the LCM:

LCM(632,412) = 632*412 / GCD(632,412) = 632*412/4 = 65096.

The nice thing about this method is that you don't need prime factorizations of the two numbers, which are very hard to find if the numbers are very large with very large prime factors.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
hcs12 (assembly) lcd question. How can I make the text in the display that I enter...
hcs12 (assembly) lcd question. How can I make the text in the display that I enter into the keypad shift from left to right?
how do you find expected value if given a fraction or fractions
how do you find expected value if given a fraction or fractions
how do you find expected value if given a fraction or fractions
how do you find expected value if given a fraction or fractions
How can I find the fraction number in the gel filtration experiment? in a biochemistry lab
How can I find the fraction number in the gel filtration experiment? in a biochemistry lab
how do i find yield of crude product obtained in the reaction? and how do i...
how do i find yield of crude product obtained in the reaction? and how do i find theoretical yield in grams and percent yield. let's say my grams after recrystallization is .769 grams . I converted acetanilide to p-bromoacetanilide. I have a recyrstallized p-bromoacteanilide after finsihing the experiement. I want to know this infomration for my 0.769 grams of p-bromoactenalidie that i have after finsihging the xperiment.
How do I find the freezing point? For example, in an experiment I used 10 grams...
How do I find the freezing point? For example, in an experiment I used 10 grams of lauric acid and heated it and cooled it (Part A). Afterwards, I heated and cooled the same lauric acid (Part B). A question have is calculate the freezing point of lauric acid from Part A and Part B. How would I do this?
Write a C++ program to find least common multiple (LCM) of two, three and four integer...
Write a C++ program to find least common multiple (LCM) of two, three and four integer values. The integer values are entered from the keyboard and the outputs are printed to the console. The LCM of two, three and four integer values are computed using Prime factorization method. You have to use arrays to hold input values and use functions/methods to get data from the keyboard, display output to the console, calculate LCM using Prime factorization method. Your program should...
How do I find how much of a return on a stock is explained by the...
How do I find how much of a return on a stock is explained by the return on the market if I don't have the inputs to use for the CAPM equation? All I have is Beta, Alpha, Correlation, and R squared.
How do I find the size of the pointer datatype on my computer? I know how...
How do I find the size of the pointer datatype on my computer? I know how to get int, double, float, and char. But I have no clue how I would get this
How do I find the slope and the y-intercept. The only information I have is the...
How do I find the slope and the y-intercept. The only information I have is the plot and table.