# Khan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Older
100644 60 lines (51 sloc) 2.202 kb
 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 1 2 3 4 Simplifying Fractions 5 6 7 8
9
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 ) 16
17 18
19
20

Simplify to lowest terms.

21

\dfrac{NUM}{DENOM}

22

NUM / DENOM

23
24
25 26
27

There are several ways to tackle this problem.

cf02179 Strip trailing whitespace spicyj authored Jun 1, 2011 28 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 29

What is the GCD of NUM and DENOM?

cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 30 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 31

GCD(NUM, DENOM) = GCD

cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 32 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 33

34 \dfrac{NUM}{DENOM} 35

cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 36 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 37

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

cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 40 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 41

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

cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 44 319325c Add exercise -- simplifying fractions marcia authored May 31, 2011 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
56
57
58 cf02179 Strip trailing whitespace spicyj authored Jun 2, 2011 59
Something went wrong with that request. Please try again.