# public Khan /khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Older
100644 60 lines (51 sloc) 1.914 kb
  319325c0 » marcia  2011-05-31 Add exercise -- simplifying fractions 1 2 3 4 Simplifying Fractions 5 6 7 8
9
 075f731f » spicyj  2011-06-02 Space/tab cleanup 10 randRange( 3, 15 ) 11 randRange(2, 10) * FACTOR 12 randRange(2, 10) * FACTOR 13 getGCD( NUM, DENOM ) 14 getPrimeFactorization( GCD ) 15 toSentence( GCD_FACTORS )  319325c0 » marcia  2011-05-31 Add exercise -- simplifying fractions 16
17 18
19
20

Simplify to lowest terms.

21

\dfrac{NUM}{DENOM}

22

NUM / DENOM

23
24
25 26
 075f731f » spicyj  2011-06-02 Space/tab cleanup 27

There are several ways to tackle this problem.

28 29

What is the GCD of NUM and DENOM?

30 31

GCD(NUM, DENOM) = GCD

32 33

34 \dfrac{NUM}{DENOM} 35

36 37

38 = \dfrac{NUM / GCD \cdot GCD}{ DENOM / GCD\cdot GCD} 39

40 41

42 = \dfrac{NUM / GCD}{DENOM / GCD} \cdot \dfrac{GCD}{GCD} 43

44 45

46 = \dfrac{NUM / GCD}{DENOM / GCD} 47

48
49

You can also solve this problem by repeatedly dividing the numerator and denominator by smaller factors.

50

For example:

51 54

GCD_FACTORS_SENTENCE

55
 319325c0 » marcia  2011-05-31 Add exercise -- simplifying fractions 56
57
58  cf021797 » spicyj  2011-06-01 Strip trailing whitespace 59
Something went wrong with that request. Please try again.