simplifying ratios and fractions
-
Is there a mathematical technique for simplifying ratios/fractions? This sounds searchable I know, but I can't find anything. If you've got 4/12, you can see that it simplifies to 1/3, but is there a way you could work out that 168/504 simplifies to 1/3 with pen and paper? I think finding the lowest prime number they can be divided by would be one way but I don't know a way to work this out. If anyone has some good links for maths and physics questions involving ratios/fractions that would be cool.
-
Answer:
You might be thinking of the http://www.mathleague.com/help/fractions/fractions.htm#greatestcommonfactor.
lunkfish at Ask.Metafilter.Com Visit the source
Other answers
http://mathforum.org/library/drmath/view/65801.html. I meant to link that earlier. Not too hard to read and should get you up to speed factoring integers by hand or with a basic calculator.
Wolfdog
Do you know if a cheapish calculator can find the prime factors these days, or is it a job for a PC? Prime factorization, not that I know of, but even the cheapies will reduce fractions (as long as the calculator is designed to work with fractions.) Something like http://www.calculator.com/shop/item.php?m=electronics&s=casio&ASIN=B00004TVDR goes for under 20 bucks. http://h10025.www1.hp.com/ewfrf/wc/manualCategory?product=240101&lc=en&cc=us&dest_page=product&dlc=en& These calculators probably do the job using one of the algorithms discussed above.
Opposite George
Thanks Roger, I'll have a look. ac, I'm still learning this stuff myself but for example you can make a scale with 7:4, 7:5 and 7:6 in and the pitches share a particular quality (flinty, dark). and seem to fit together as a 'family'. I don't know why this is mathematically, but I'd imagine they share harmonics in common. Obviously a lot of numbers will have the prime factor 2 and not be especially related, but I think looking at the numbers helps get my subconscious learning rather than just getting the results off a spreadsheet.
lunkfish
gleuschk, where are you? We have a chance to get all of MeFi's math profs in one Answer. As escabeche emphasized, Euclid's algorithm is much faster than factoring numerator and denominator, even when the latter is already computer-approachable. Since this question has now been answered... Knuth's Art of Computer Programming Vol 1 has an analysis of how fast Euclid's algorithm is. The worst case turns out to be two successive Fibonacci numbers, taking log N steps where N is the larger number and the base of the logarithm is the golden ratio. The average case takes log N steps where the base of the logarithm is "Khinchin's constant", exp(pi^2/12 ln 2).
Aknaton
The TI line of calculators have GCD functions. And they will do just about any other math function you can think of, and program them to do even more. They aren't cheapish, but maybe you could pick up a used one on Ebay.
Roger Dodger
my knowledge of musical theory is limited, but i thought that the "flavour" depended on the reduced fraction, rather than primes. often the numbers in the reduced fraction are primes, but not always, and there's no argument i know of that says that the timbre of 13/12 is related to 1/2 any more than 13/11, even though 12 includes the prime factor 2. have i misunderstood? are you saying that the "flavour" of 13/12 is related to 1/2 (say) in a way that 13/11 isn't? just curious...
andrew cooke
Thanks Wolfdog et al. That links not opening now, but I'll try it later. I'm not writing code or anything, I'm working with http://en.wikipedia.org/wiki/Just_intonation Most of the basic ratios are simple e.g. 3:2, but some calculations can end up more complicated. I'm not likely to get numbers much bigger than 1000 though. I've been looking for a way of doing this that let's me see the calculation rather than just giving the answer. It is handy to see the prime factors, as ratios based on different primes can have a different flavour.
lunkfish
A couple of points: everyone is correct to say that simplifying a fraction is easy by Euclid's algorithm, and that finding the prime factors of a large number is hard. But note that "large" here means hundreds of digits; a number like 504 (or 5000004) can be factored instantaneously by computer. No need to program this yourself; googling "factorization applet" will give you lots of sites that will factor numbers of this size for you. For instance, you can do it http://www.alpertron.com.ar/ECM.HTM
escabeche
Related Q & A:
- Diving hard fractions?Best solution by Yahoo! Answers
- How do you multiply fractions by whole numbers?Best solution by eHow old
- I need help simplifying a rational expression.Best solution by purplemath.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.