< Return to Video

Greatest common factor exercise | Factors and multiples | Pre-Algebra | Khan Academy

  • 0:01 - 0:04
    We're asked, what is the
    greatest common divisor
  • 0:04 - 0:05
    of 20 and 40?
  • 0:05 - 0:06
    And they just say,
    another way to say
  • 0:06 - 0:10
    this is the GCD, or greatest
    common divisor, of 20 of 40
  • 0:10 - 0:12
    is equal to question mark.
  • 0:12 - 0:15
    And greatest common divisor
    sounds like a very fancy term,
  • 0:15 - 0:16
    but it's really
    just saying, what
  • 0:16 - 0:23
    is the largest number that is
    divisible into both 20 and 40?
  • 0:23 - 0:26
    Well, this seems like a pretty
    straightforward situation,
  • 0:26 - 0:29
    because 20 is actually
    divisible into 40.
  • 0:29 - 0:31
    Or another way to
    say it is 40 can
  • 0:31 - 0:34
    be divided by 20
    without a remainder.
  • 0:34 - 0:36
    So the largest
    number that is a-- I
  • 0:36 - 0:41
    guess you could say-- factor of
    both 20 and 40 is actually 20.
  • 0:41 - 0:46
    20 is 20 times 1,
    and 40 is 20 times 2.
  • 0:46 - 0:47
    So in this situation,
    we don't even
  • 0:47 - 0:49
    have to break out our paper.
  • 0:49 - 0:51
    We can just write 20.
  • 0:51 - 0:53
    Let's do a couple more of these.
  • 0:53 - 0:57
    So we're asked, what is
    the greatest common divisor
  • 0:57 - 0:58
    of 10 and 7?
  • 0:58 - 1:01
    So let's now break out
    our paper for this.
  • 1:01 - 1:04
    So our greatest common
    divisor of 10 and 7.
  • 1:04 - 1:05
    So let me write that down.
  • 1:05 - 1:06
    So we have 10.
  • 1:06 - 1:15
    We want to think about what
    is our GCD of 10 and 7?
  • 1:15 - 1:18
    And there's two ways that
    you can approach this.
  • 1:18 - 1:21
    One way, you could literally
    list all of the factors--
  • 1:21 - 1:24
    not prime factors, just
    regular factors-- of each
  • 1:24 - 1:26
    of these numbers and figure
    out which one is greater
  • 1:26 - 1:28
    or what is the largest
    factor of both.
  • 1:28 - 1:34
    So, for example, you could
    say, well, I got a 10,
  • 1:34 - 1:47
    and 10 can be expressed
    1 times 10 or 2 times 5.
  • 1:47 - 1:49
    1, 2, 5, and 10.
  • 1:49 - 1:51
    These are all factors of 10.
  • 1:51 - 1:55
    These are all, we could
    say, divisors of 10.
  • 1:55 - 1:58
    And sometimes this is called
    greatest common factor.
  • 1:58 - 2:00
    Seven-- what are
    all of its factors?
  • 2:00 - 2:01
    Well, 7 is prime.
  • 2:01 - 2:05
    It only has two
    factors-- 1 and itself.
  • 2:05 - 2:08
    So what is the
    greatest common factor?
  • 2:08 - 2:11
    Well, there's only one
    common factor here, 1.
  • 2:11 - 2:14
    1 is the only common factor.
  • 2:14 - 2:18
    So the greatest common
    factor of 10 and 7,
  • 2:18 - 2:24
    or the greatest common divisor,
    is going to be equal to 1.
  • 2:24 - 2:26
    So let's write that down.
  • 2:26 - 2:27
    1.
  • 2:27 - 2:29
    Let's do one more.
  • 2:29 - 2:33
    What is the greatest common
    divisor of 21 and 30?
  • 2:33 - 2:35
    And this is just another
    way of saying that.
  • 2:35 - 2:39
    So 21 and 30 are the two
    numbers that we care about.
  • 2:39 - 2:43
    So we want to figure out
    the greatest common divisor,
  • 2:43 - 2:46
    and I could have written
    greatest common factor,
  • 2:46 - 2:53
    of 21 and 30.
  • 2:53 - 2:56
    So once again, there's
    two ways of doing this.
  • 2:56 - 2:59
    And so there's the way I did
    the last time where I literally
  • 2:59 - 3:00
    list all the factors.
  • 3:00 - 3:02
    Let me do it that
    way really fast.
  • 3:02 - 3:04
    So if I say 21, what
    are all the factors?
  • 3:04 - 3:11
    Well, it's 1 and
    21, and 3, and 7.
  • 3:11 - 3:13
    I think I've got all of them.
  • 3:13 - 3:26
    And 30 can be written as 1 and
    30, 2 and 15, and 3-- actually,
  • 3:26 - 3:27
    I'm going to run out of them.
  • 3:27 - 3:29
    Let me write it this way so
    I get a little more space.
  • 3:29 - 3:32
    So 1 and 30.
  • 3:32 - 3:34
    2 and 15.
  • 3:34 - 3:37
    3 and 10.
  • 3:37 - 3:41
    And 5 and 6.
  • 3:41 - 3:46
    So here are all of
    the factors of 30.
  • 3:46 - 3:49
    And now what are
    the common factors?
  • 3:49 - 3:51
    Well, 1 is a common factor.
  • 3:51 - 3:54
    3 is also a common factor.
  • 3:54 - 3:56
    But what is the
    greatest common factor
  • 3:56 - 3:58
    or the greatest common divisor?
  • 3:58 - 4:03
    Well, it is going to be 3.
  • 4:03 - 4:05
    So we could write 3 here.
  • 4:05 - 4:07
    Now, I keep talking
    about another technique.
  • 4:07 - 4:08
    Let me show you the
    other technique,
  • 4:08 - 4:11
    and that involves the
    prime factorization.
  • 4:11 - 4:13
    So if you say the prime
    factorization of 21-- well,
  • 4:13 - 4:15
    let's see, it's divisible by 3.
  • 4:15 - 4:17
    It is 3 times 7.
  • 4:17 - 4:25
    And the prime factorization
    of 30 is equal to 3
  • 4:25 - 4:30
    times 10, and 10 is 2 times 5.
  • 4:30 - 4:32
    So what are the
    most factors that we
  • 4:32 - 4:36
    can take from both 21 and
    30 to make the largest
  • 4:36 - 4:37
    possible numbers?
  • 4:37 - 4:40
    So when you look at the
    prime factorization,
  • 4:40 - 4:46
    the only thing that's common
    right over here is a 3.
  • 4:46 - 4:50
    And so we would say that
    the greatest common factor
  • 4:50 - 4:54
    or the greatest common
    divisor of 21 and 30 is 3.
  • 4:54 - 4:56
    If you saw nothing in
    common right over here,
  • 4:56 - 4:59
    then you say the greatest
    common divisor is one.
  • 4:59 - 5:02
    Let me give you another
    interesting example, just so
  • 5:02 - 5:04
    that we can get a
    sense of things.
  • 5:04 - 5:08
    So let's say these two
    numbers were not 21 and 30,
  • 5:08 - 5:14
    but let's say we care about
    the greatest common divisor not
  • 5:14 - 5:19
    of 21, but let's
    say of 105 and 30.
  • 5:22 - 5:24
    So if we did the prime
    factorization method,
  • 5:24 - 5:26
    it might become a
    little clearer now.
  • 5:26 - 5:28
    Actually figuring out, hey,
    what are all the factors of 105
  • 5:28 - 5:30
    might be a little bit
    of a pain, but if you
  • 5:30 - 5:33
    do a prime factorization,
    you'd say, well, let's see,
  • 5:33 - 5:36
    105-- it's divisible
    by 5, definitely.
  • 5:36 - 5:43
    So it's 5 times 21,
    and 21 is 3 times 7.
  • 5:43 - 5:46
    So the prime
    factorization of 105
  • 5:46 - 5:50
    is equal to-- if I write them
    in increasing order-- 3 times
  • 5:50 - 5:52
    5 times 7.
  • 5:52 - 5:56
    The prime factorization of
    30, we already figured out
  • 5:56 - 6:01
    is 30 is equal to
    2 times 3 times 5.
  • 6:01 - 6:03
    So what's the most
    number of factors
  • 6:03 - 6:05
    or prime factors that
    they have in common?
  • 6:05 - 6:11
    Well, these two both have a
    3, and they both have a 5.
  • 6:11 - 6:14
    So the greatest common factor
    or greatest common divisor
  • 6:14 - 6:16
    is going to be a
    product of these two.
  • 6:16 - 6:19
    In this situation,
    the GCD of 105 and 30
  • 6:19 - 6:23
    is 3 times 5, is equal to 15.
  • 6:23 - 6:24
    So you could do it either way.
  • 6:24 - 6:27
    You could just list out the
    traditional divisors or factors
  • 6:27 - 6:29
    and, say, figure
    out which of those
  • 6:29 - 6:31
    is common and is the greatest.
  • 6:31 - 6:34
    Or you can break it down
    into its core constituencies,
  • 6:34 - 6:37
    its prime factors,
    and then figure out
  • 6:37 - 6:40
    what is the largest set
    of common prime factors,
  • 6:40 - 6:41
    and the product
    of those is going
  • 6:41 - 6:43
    to be your greatest
    common factor.
  • 6:43 - 6:49
    It's the largest number that
    is divisible into both numbers.
Title:
Greatest common factor exercise | Factors and multiples | Pre-Algebra | Khan Academy
Description:

more » « less
Video Language:
English
Team:
Khan Academy
Duration:
06:50

English subtitles

Revisions Compare revisions