< Return to Video

https:/.../emt011080p.mp4

  • 0:17 - 0:22
    Hello and welcome to the first
    video of the binary numbers. In
  • 0:22 - 0:25
    this video. I would like to
    introduce you to the binary
  • 0:25 - 0:29
    numbers and the binary number
    system, but for us to understand
  • 0:29 - 0:34
    that we need to look at what the
    decimal number system is and we
  • 0:34 - 0:38
    need to look at the powers
    because powers are at the heart
  • 0:38 - 0:42
    of every number systems. So
    let's start with the powers.
  • 0:44 - 0:48
    3 to the power of two is 3
  • 0:48 - 0:55
    * 3. And for example, 5
    to the power of four is 5
  • 0:55 - 1:01
    * 5 * 5 * 5. So
    there are two important concepts
  • 1:01 - 1:03
    in here, the power.
  • 1:04 - 1:08
    And the base, they both can be
    any different whole numbers.
  • 1:09 - 1:15
    So the power tells us how many
    times we need to multiply the
  • 1:15 - 1:19
    base together. So in this
    particular case, four tasmac 2
  • 1:19 - 1:25
    multiplied the base 5 by itself
    four times, and in the example
  • 1:25 - 1:30
    of three, the two tags need to
    multiply the three by itself
  • 1:30 - 1:35
    twice. Now there are two
    important powers that we need to
  • 1:35 - 1:38
    draw your attention to the first
  • 1:38 - 1:44
    one. Is any number to the zero
    power is by definition is always
  • 1:44 - 1:47
    one. For example.
  • 1:48 - 1:56
    7 to the power of 0 is 1
    two to the power of 0 is one
  • 1:56 - 2:02
    and 10 to the power of 0 is
    also one another important
  • 2:02 - 2:09
    power. Is any number raised
    to the first power is just the
  • 2:09 - 2:11
    number itself for example?
  • 2:13 - 2:20
    7 to the first power equals to
    7, two to the first power equals
  • 2:20 - 2:25
    to two and 10 to the first power
    is equal to 10.
  • 2:27 - 2:29
    By definition, the decimal
  • 2:29 - 2:36
    number system. Is a
    base 10 positional.
  • 2:38 - 2:39
    Number system.
  • 2:41 - 2:44
    Which uses 10 digits.
  • 2:46 - 2:53
    And these 10 digits are 012 all
    the way up to 9. So that's the 9
  • 2:53 - 2:55
    digits plus zero, which makes
  • 2:55 - 3:02
    them 10. Now what does it mean
    based on and positional the base
  • 3:02 - 3:07
    10 taskview that using 10 digits
    and every place value or every
  • 3:07 - 3:12
    position is represented by
    powers of 10 and it's a
  • 3:12 - 3:16
    positional number system because
    if you place digits at different
  • 3:16 - 3:20
    positions they represent
    different values. The former
  • 3:20 - 3:25
    mathematics is representing each
    of the place values tend to zero
  • 3:25 - 3:27
    10 to the one.
  • 3:28 - 3:35
    1:50 2:50 and so
    on now what they mean as
  • 3:35 - 3:42
    numbers? 10 to 0 as we said
    before, it's 110 to the one
  • 3:42 - 3:47
    Eastern tented it too, is 100
    and 2:50 is 1000.
  • 3:49 - 3:53
    It might seems a little bit
    overcomplicated when you think
  • 3:53 - 3:59
    about the decimal numbers, but
    it is already built into the way
  • 3:59 - 4:05
    that we read our numbers. For
    example, if you read out 573
  • 4:05 - 4:11
    just the way you say the number
    you talk about decimal place
  • 4:11 - 4:17
    values 573, so the hundred 500
    tells you that five is at the
  • 4:17 - 4:23
    hundreds place. The 70 tells you
    that 70s at the 10s place and
  • 4:23 - 4:28
    three tells you that three is at
    the units place. Now, what
  • 4:28 - 4:32
    happens if I use the same 3
    digits but in a slightly
  • 4:32 - 4:36
    different order? So what happens
    if I say 735?
  • 4:37 - 4:39
    Well, as I was reading out the
  • 4:39 - 4:45
    number. You probably notice that
    now is 7 at the hundreds place,
  • 4:45 - 4:51
    three is at the 10 space and
    five is at the units place. So
  • 4:51 - 4:55
    depending on which place value
    and placing or which position
  • 4:55 - 4:59
    and placing the digits, they
    will represent different values.
  • 4:59 - 5:05
    The five in the first number is
    105 in the second number is just
  • 5:05 - 5:10
    five units. The three in the
    first number is 3 units, but in
  • 5:10 - 5:12
    the second number.
  • 5:12 - 5:16
    E 310 switches 30 and the
    seven in the first number
  • 5:16 - 5:20
    is seven 10s, which is 70
    and in the second number
  • 5:20 - 5:22
    is 700 which is 700.
  • 5:24 - 5:28
    Now I would like to draw your
    attention to the rule of the
  • 5:28 - 5:33
    zeros because so far I just
    picked out any digits which is a
  • 5:33 - 5:39
    non 0 digit. But what happens if
    I have good zeros in my number?
  • 5:39 - 5:41
    For example? What's the
    difference between 1007?
  • 5:42 - 5:49
    Andseventeen well without having
    the zeros in the number I end
  • 5:49 - 5:55
    up with a very much smaller
    number, so the zeros are
  • 5:55 - 5:57
    so-called place value holders.
  • 5:59 - 6:04
    So today telling me that at this
    place value I'm not using any of
  • 6:04 - 6:09
    the place value by placing the
    zero. So in this case I'm using
  • 6:09 - 6:15
    seven of the units, not using
    any of the 10s an I'm not using
  • 6:15 - 6:20
    any of the hundreds and I'm
    using one of the thousands
  • 6:20 - 6:24
    without the zeros here. I'm just
    telling you that I'm using seven
  • 6:24 - 6:28
    or the ones and I'm using one of
  • 6:28 - 6:32
    the tents. You will agree with
    me that the two numbers are
  • 6:32 - 6:36
    very, very different, so every
    time I need to build up a bigger
  • 6:36 - 6:39
    number without using the in
    between place values, I always
  • 6:39 - 6:41
    had to place a 0 here.
  • 6:45 - 6:50
    Now we can build up a decimal
    place value table and the former
  • 6:50 - 6:54
    place value table would look
    like this. It's just basically
  • 6:54 - 6:57
    the heading you have got the
    powers and the equivalent
  • 6:57 - 7:02
    decimal values. Now how can you
    use a place value table like
  • 7:02 - 7:05
    this to position different
    numbers in that? Now we talked
  • 7:05 - 7:10
    about a few different numbers,
    so let's see what they look like
  • 7:10 - 7:12
    in the place where you table so.
  • 7:13 - 7:19
    573 you put a five in the
    hundreds, seven in the Times
  • 7:19 - 7:26
    Seven in the 10s, and three in
    the units column. If we talking
  • 7:26 - 7:29
    about 735, we mix up the order.
  • 7:30 - 7:36
    Of the digits 17. One of the
    10s. Seven of the units and 1007
  • 7:36 - 7:42
    one of the thousand. None of the
    hundreds. None of the 10s and
  • 7:42 - 7:44
    seven over the units.
  • 7:45 - 7:50
    One thing I'd like you to notice
    is when you look at the place
  • 7:50 - 7:55
    value table. If you're going
    from right to left, you can spot
  • 7:55 - 8:00
    that the numbers from place
    value to place while you get 10
  • 8:00 - 8:04
    times bigger, so the values
    themselves, the place where used
  • 8:04 - 8:06
    gets 10 times bigger.
  • 8:06 - 8:12
    Now if we reverse the order and
    we going from left to right, the
  • 8:12 - 8:16
    place values themselves get 10
    times smaller, so this is again
  • 8:16 - 8:19
    another important feature of the
    place values themselves, which
  • 8:19 - 8:25
    will help us to extend the place
    value table in a later video to
  • 8:25 - 8:26
    introduce smaller numbers.
  • 8:28 - 8:32
    Now we have got all the
    conceptual understanding that we
  • 8:32 - 8:36
    need to build up the binary
    numbers. Binary numbers are very
  • 8:36 - 8:39
    important for computer science
    because binary numbers are
  • 8:39 - 8:42
    basically the way to communicate
    to the computer. Remember that
  • 8:42 - 8:46
    the computer at a very basic
    level will type up small
  • 8:46 - 8:50
    electrical circuits, and you can
    either turn on electrical
  • 8:50 - 8:54
    circuits on or off, and in the
    different combinations of these
  • 8:54 - 8:57
    electric circuits you can tell
    the computer to do different
  • 8:57 - 9:01
    instructions. So depending on
    what kind of binary number
  • 9:01 - 9:05
    instructions you're giving to
    the computer, the computer will
  • 9:05 - 9:07
    carry out different calculations
    or different instructions.
  • 9:08 - 9:15
    By definition, the binary
    number system is base
  • 9:15 - 9:18
    two positional number system.
  • 9:19 - 9:22
    We using 2 digits.
  • 9:24 - 9:27
    And these two digits are
    zero and one.
  • 9:28 - 9:33
    So what does the place where you
    table look for the binary
  • 9:33 - 9:38
    numbers? But because it's a base
    two number system, every place
  • 9:38 - 9:43
    value is a power of two. So what
    are these powers?
  • 9:43 - 9:50
    2 to the power of 0 two to the
    power of 1 two to the power of 2
  • 9:50 - 9:55
    to the power of. 3 two to the
    power of four. 2 to the power of
  • 9:55 - 10:00
    5 and I can go on forever. As
    you see the differences now.
  • 10:00 - 10:04
    That instead of base 10, I'm
    just replacing the Terminator 2,
  • 10:04 - 10:09
    but the powers themselves stay
    the same. Now what does it mean
  • 10:09 - 10:13
    for the actual values? What is 2
    to the zero? While remember any
  • 10:13 - 10:18
    number to the Zero power is 1
    two to the one, any number to
  • 10:18 - 10:24
    the first power itself, so it's
    2 two to two 2 * 2 is 4, two to
  • 10:24 - 10:30
    three 2 * 2 * 2 is 8, two to
    four is 16 and two to five.
  • 10:30 - 10:34
    He's 32 and I can go
    on for higher values.
  • 10:35 - 10:39
    So when we look at the place
    values themselves compared to
  • 10:39 - 10:44
    the decimals, Now when I go from
    right to left, the place values
  • 10:44 - 10:49
    get doubled. So from one we can
    get to 2 from 2 began get to 4
  • 10:49 - 10:55
    from 4 we can get to 8, they
    double up and if I go from left
  • 10:55 - 10:59
    to right the opposite direction
    they get halved from 32 to 16 I
  • 10:59 - 11:05
    get by having it and from 16 to
    8 I get by having it again so.
  • 11:05 - 11:09
    This is a common feature of the
    place where you tables any
  • 11:09 - 11:13
    number system because there are
    other different number systems.
  • 11:13 - 11:17
    Every time when you go from
    right to left, the place values
  • 11:17 - 11:19
    get multiplied by the base.
  • 11:21 - 11:24
    And when you go from left to
    right, the place values get
  • 11:24 - 11:25
    divided by the base.
  • 11:28 - 11:32
    So when we look at the binary
    place value table, it's like the
  • 11:32 - 11:36
    numbers I showed you before, but
    put into a nicer format.
  • 11:37 - 11:41
    So what happens in the here in
    the decimal place value table?
  • 11:41 - 11:45
    We had quite a lot of different
    digits that we could play around
  • 11:45 - 11:49
    with. We had the digits from
    zero to 9, but what happens in
  • 11:49 - 11:53
    binary? Which 2 digits can we
    use here? Just the zero and one.
  • 11:54 - 11:58
    So. A binary number is
    nothing else but a string
  • 11:58 - 11:59
    of ones and zeros.
  • 12:01 - 12:06
    For example, this is a binary
    number. What it means then for
  • 12:06 - 12:10
    the place values is that with
    one I'm saying that use the
  • 12:10 - 12:14
    corresponding place value and
    with zero I'm saying don't use
  • 12:14 - 12:18
    the corresponding place value,
    so the placeholder property of
  • 12:18 - 12:21
    the zero becomes really
    important and comes up a lot
  • 12:21 - 12:24
    more often than in decimal
    numbers.
  • 12:25 - 12:32
    Let's look at a few more binary
    numbers. So basically I can just
  • 12:32 - 12:38
    use any ones and any zeros and
    place them in any order whatever
  • 12:38 - 12:44
    to build upon binary number. So
    let's say 1011001 it's a binary
  • 12:44 - 12:49
    number, 100001 is also binary
    number, or 1011. Again a binary
  • 12:49 - 12:55
    number. Now you probably notice
    that because we only using ones
  • 12:55 - 13:00
    and zeros. Every single one of
    them could also be a decimal
  • 13:00 - 13:04
    number. For example, the last
    one could be 1011 in decimal. So
  • 13:04 - 13:08
    how can we make a distinction
    between binary and decimal?
  • 13:10 - 13:14
    So there is a very common
    notation to distinguish between
  • 13:14 - 13:19
    binary and decimal numbers. So
    if you see a number which only
  • 13:19 - 13:23
    uses ones and zeros to make sure
    that this is a binary number,
  • 13:23 - 13:28
    you put a little two in
    subscript. And if you want to
  • 13:28 - 13:32
    indicate that this is a decimal
    number, you put a little
  • 13:32 - 13:36
    subscript of 10, indicating that
    this is a decimal number.
  • 13:36 - 13:42
    So if it's not clear enough from
    context, always look for the
  • 13:42 - 13:46
    subscript. It is a binary
    number. Or is it a decimal
  • 13:46 - 13:51
    number? Now it's very, very
    important that you are making
  • 13:51 - 13:55
    difference between the number
    itself and the notation of
  • 13:55 - 13:59
    signaling which system working
    in this letter notation, the
  • 13:59 - 14:05
    number 2 and here the number 10
    are not part of the number. As
  • 14:05 - 14:07
    long as the calculations go.
  • 14:07 - 14:12
    This is just a way of telling
    me or you or anybody ask that
  • 14:12 - 14:16
    this is a binary number. Once
    we are aware of that, this is
  • 14:16 - 14:19
    a binary number. This two
    becomes redundant, so as long
  • 14:19 - 14:22
    as the calculations go, you
    can leave this number.
  • 14:23 - 14:26
    So I hope that you have a
    better understanding of the
  • 14:26 - 14:29
    binary and the decimal number
    systems in the next few
  • 14:29 - 14:33
    videos. I will show you what
    we can do with the binary
  • 14:33 - 14:33
    numbers.
Title:
https:/.../emt011080p.mp4
Video Language:
English
Duration:
14:59

English subtitles

Revisions