Binary Addition and Subtraction With Negative Numbers, 2's Complements & Signed Magnitude

Поделиться
HTML-код
  • Опубликовано: 2 фев 2025

Комментарии • 801

  • @TheOrganicChemistryTutor
    @TheOrganicChemistryTutor  Год назад +26

    Binary - Free Reference Sheet: bit.ly/3CkOHhB
    Final Exams and Video Playlists: www.video-tutor.net/
    Full-Length Videos & Worksheets: www.patreon.com/MathScienceTutor/collections

    • @femijames3389
      @femijames3389 Год назад +2

      Please can anyone give the reason why he use 5bit for the -7 in the sign magnitude😢🙏🏼.
      I don't get that aspect.

    • @sylviabryan3164
      @sylviabryan3164 8 месяцев назад

      The question may ask for that​@@femijames3389

    • @Imperator_27
      @Imperator_27 7 месяцев назад

      ​@@femijames3389 Because he wanted to keep the same number of bits also for -12 and -15 in the demonstration. So he chose 5 bit and not 4 bit

  • @littlebuster07
    @littlebuster07 5 лет назад +1179

    You are God's gift to students with professors who either don't speak good english and/or they don't teach the subject this well. I feel like my time in class is a waste of time and you are my real teacher. Bless you, brother

    • @bobross3880
      @bobross3880 3 года назад +17

      Unfair comparison. It’s a thought out, planned video. Giving lectures in real time when people have questions and/or don’t get it and can’t pause to think is nothing like a video.

    • @littlebuster07
      @littlebuster07 3 года назад +48

      @@bobross3880 🧢

    • @gingee_8186
      @gingee_8186 3 года назад +9

      My college teacher is just an arse (hard r) so I don’t ask him any questions and go online to learn.

    • @masonp1599
      @masonp1599 2 года назад +1

      Ditto

    • @scared3267
      @scared3267 2 года назад +2

      @@gingee_8186 same here 🤐🤐

  • @latedeveloper7836
    @latedeveloper7836 4 года назад +815

    0:30 Worked example 1 - Writing -6 as a number using the signed magnitude method (4 bit binary)
    1:55 Worked example 2 - Writing -7, -12, -15 using the signed magnitude method (5 bit binary)
    2:43 Converting +7 in binary to -7
    6:00 Expressing negative numbers using the 2's complement method
    7:25 How to check your negative binary calculations in 2's complement
    7:48 Worked example 3: -12 as a binary 2's complement number
    9:50 Binary subtraction 2 ways - subtraction and 2's complement
    12:05 2's Complement Subtraction
    12:55 Changing +25 into -25 using the 2's complement method
    15:30 What to do with a carry over / overflow number
    16:34 Worked example 4: Subtracting 2 binary numbers
    18:45 What to do when you can't borrow
    19:52 Subtracting with the 2's Complement Method (by adding!)

  • @keivanipchihagh2115
    @keivanipchihagh2115 4 года назад +401

    This is the equivalent to the 3-hour lecture my professor gave. Great Job!

    • @foreverseethe
      @foreverseethe 3 года назад +11

      You gotta be doing something wrong bro. Lectures, professors and 3 hours sounds like money. Money in the wind.

    • @DarcMagikian
      @DarcMagikian 2 года назад +28

      @@foreverseethe Unfortunately learning from RUclips doesn't get you a degree. So even if that money is in the wind, it is necessary to get a degree.

    • @egyptianplanner
      @egyptianplanner 2 года назад

      The same without understanding alas ..untill I find this video

    • @ethanholmes5677
      @ethanholmes5677 2 года назад +3

      Same for me. 2 hours condensed into a half hour. Watched at 2x speed, it becomes 15 minutes.

    • @kithenry
      @kithenry Год назад

      Keivan my boy, i taught and you said you understood.

  • @learntoearn6612
    @learntoearn6612 5 лет назад +122

    I persuaded a lot of my colleagues whenever you search RUclips for any video and find a video from channel named *_ORGANIC CHEMISTRY TUTOR_* watch that video first I always recommend that now since then I passed calculus 1, calculus 2 and now three and hoping to pass through him *_ORGANIC CHEMISTRY TUTOR_*
    Please we will always comments on your videos but you won our hearts sir am student where professors are teaching in Arabic but who saved me this young man of this channel
    *_Jah bless 🙏🙏🙏🙏🙏_*

  • @GamerTheTurtle
    @GamerTheTurtle 5 лет назад +1571

    How do you know literally every subject but I forget basic calculus after Christmas break

    • @flimflam6652
      @flimflam6652 4 года назад +96

      Doing the pre-research before making a video and an inherently good memory would likely do it

    • @DearHRS
      @DearHRS 4 года назад +29

      there you go now you have (1000000)2 numbers of likes :(11)2

    • @brandonhughes645
      @brandonhughes645 4 года назад +23

      Years of intense study after high school does the job. And revision before the video.

    • @jean-marcndongekouaga5267
      @jean-marcndongekouaga5267 4 года назад +23

      interest is probably the answer

    • @MDMD007
      @MDMD007 4 года назад +9

      tutor for a reason

  • @Nic-of1sr
    @Nic-of1sr 4 года назад +63

    I absolutely adore you! You are a grade saver. You have helped me understand so many subjects/concepts. Thank you! I hope you continue to add videos to your channel.

    • @femijames3389
      @femijames3389 Год назад

      Please can anyone give the reason why he use 5bit for the -7 in the sign magnitude😢🙏🏼.
      I don't get that aspect.

  • @user-du9zt5rp5x
    @user-du9zt5rp5x 3 года назад +40

    Last year I studied organic chemistry from you, 1 week ago I studied physics from you, yesterday I studied math from you and now this. How do you know every subject?

  • @ninminion
    @ninminion 4 года назад +18

    As always, you have a great way of breaking the concept down and explaining it so that it just seems like common sense. I recommend you to everyone I meet. You are my go-to guy for everything math, science, or logic related. Great job... again!!!

  • @mikatch8067
    @mikatch8067 3 года назад +12

    I have been subscribing u since 2016, and I’ve always wondered how you’re able to master all of the triple sciences and the basic ict/cs knowledge. It’s amazing.

  • @brendanbuckley13
    @brendanbuckley13 4 года назад +177

    This was explained wayyyy better than how my professor did. Thank you so much lol

    • @AMF884
      @AMF884 4 года назад +2

      i was thinking the same thing , those so called Pro.Dr. they tryna make my Life harder than what it already is !!!

    • @User-ow7rn
      @User-ow7rn 3 года назад

      really? if you understand very well then help me with this.
      ////
      i did not understand what you wanna prove. at 3:26 you said -ve of +ve number can be done just by replacing leftmost 0 as 1 but at 13:35,you are saying that leftmost value of 1 as -64 and calculating other 1s as resmebling bits in positive, but if we apply that rule at 3:26 for -7 (1 0 1 1 1) then we will be -16+4+2+1=-9 instead of -7

    • @huzybutt4410
      @huzybutt4410 2 года назад

      @@User-ow7rn SHHHHHHHHHHHH

    • @eccrowy
      @eccrowy 2 года назад +3

      @@User-ow7rn its been 11month but im still going to reply it anyway. These two that you stated are different thing. Binary at 3:26 is signed magnitude whereas binary at 13:35 is 2's complement.

    • @adithyadavidm
      @adithyadavidm Год назад

      ​@@eccrowyglad you responded...that's right both are different representation

  • @zibusisondlovu5577
    @zibusisondlovu5577 3 года назад +1

    You can search youtube all you like but will never find better explanations than this guy on so many concept. We pass because of you!!

  • @TSanya98
    @TSanya98 2 года назад +5

    I solved a past paper question using your method of calculation it’s 3:46 am and I do pray I ace my exams thank you so so much

  • @belalkasem4140
    @belalkasem4140 4 года назад +8

    Take my heart,man
    You are great! ❤️
    Your audiences from Egypt ❤️🇪🇬

  • @sukesukieatmyheart
    @sukesukieatmyheart 4 года назад +13

    I really appreciate your teaching, cause it helps me go through every subject that I don't understand. And thank you very much for teach me.

  • @mariaanica8412
    @mariaanica8412 4 года назад +32

    HAPPY WORLD TEACHER'S DAY ! ❤️

  • @ianobi2842
    @ianobi2842 5 лет назад +15

    thanks to u, i did great improve at the night right before the final exam. love u so much.

  • @teatea_.3801
    @teatea_.3801 3 месяца назад +1

    Your videos helped me understand all of number system in a day , absolutely amazing work man.Couldn't thank you enough.

  • @hamzahhamdoon5453
    @hamzahhamdoon5453 Год назад +1

    i missed my 2's compliment and sign nd magnitude lesson and i was strugglin so much. this guy saved my life

  • @aribakhalil3195
    @aribakhalil3195 4 месяца назад +2

    this dude explained in 20 mins what my prof couldn't in 2 hours

  • @kevinochola3984
    @kevinochola3984 7 месяцев назад +1

    You are a gem ,God sent ,my professor could not explain for me this to understand thank you so much

  • @yogitanaulakha4603
    @yogitanaulakha4603 3 года назад +2

    A legend comes on youtube and saves everyone from failing.
    I owe you, my life

  • @grawlix4419
    @grawlix4419 3 года назад +2

    I cannot even express how much this channel has helped me...

  • @lyons2547
    @lyons2547 2 года назад +3

    BEST RUclips TEACHER EVER...God bless you. Wherever you are.... you’re really making computer science easier for me 💕💯🔥🔥🔥

  • @mohammadahnafhuq9364
    @mohammadahnafhuq9364 2 года назад +6

    Nice Job! You made two's complement way easier than the way my teacher taught me :)

  • @AmahGivenz
    @AmahGivenz 8 месяцев назад +3

    This video has transformed my understanding in just 25 minutes. Thanks alot😊

  • @Dukebozo
    @Dukebozo 3 года назад +2

    You’re gonna be a legend we will speak about you how you got us through school forever

  • @imahopeime509
    @imahopeime509 4 года назад +8

    This tutor should be inducted into the hall of fame

  • @TheseOfWe0112
    @TheseOfWe0112 Год назад +1

    No matter what math I look up, you have a great video for it! Thank you!

  • @kev.j.goodwin8612
    @kev.j.goodwin8612 Год назад +1

    I wish I'd had you as a maths teacher at school in the early 1970s. Your explanations are great for those of us who are not natural mathematicians - wasted so much time with 'teachers' who really couldn't put the subject across.

  • @jasmencolinares8071
    @jasmencolinares8071 3 года назад +1

    Just want to say thank you very much for your videos. I learned a lot. Our instructor didn't bother to discuss this topic to us. You're an angel sent from heaven 😊

  • @realknight9562
    @realknight9562 4 года назад +7

    I love this channel. I don't know how you've been able to help me calc 1-2 ( I think you're still adding calc 3 stuff), and physics, and biology, and now even my CS class!

  • @arnavajitbordavekar5071
    @arnavajitbordavekar5071 2 года назад +2

    MAN'S A LIFE SAVER, LOVE FROM MUMBAI

  • @daisywuu
    @daisywuu День назад

    i love u fr 😭 i didn't understand this topic and u explained it in such a simple manner aaaaa

  • @learntoearn6612
    @learntoearn6612 5 лет назад +59

    Please sir make for us a Fourier series video
    You're our teacher

    • @MTMT_HITHESHNAIK
      @MTMT_HITHESHNAIK 4 года назад

      and also laplace transform and its inverse. please

  • @drunkboi5887
    @drunkboi5887 4 года назад +3

    dude u r a god sent, thanks to you i can pass my infrastructure classes in uni

  • @paul8920
    @paul8920 3 года назад +1

    Wow!!! You are the Bomb!! You taught me what I could not learn in my four years in the university in just few hours. Thank you

  • @tinashelionelchenyika5612
    @tinashelionelchenyika5612 2 года назад +2

    Thank you so much kind sir l have never got a chance to understand this concept until today. May God bless you with more knowledge

  • @jackwho6085
    @jackwho6085 4 года назад +2

    This guy is a legend! Way better than my teacher at teaching. Love your videos dude

  • @arahani2409
    @arahani2409 4 года назад +1

    you help me a lot right now, my lecture just teach me using slide and the other day the lecturer give me exercise, its my first time learn sign magnitud,two's complement, i dont understand because the lecturer dont do some handwrite on how to do this, just show the slide make me dont know how to do it, and cant imagine how to calculate it and make me really stress......thank you so much for helping me alot!!!!!!!!

  • @cordelldev
    @cordelldev 4 года назад +6

    Thank you once again, you explained this subject more clearly than my CS professor!

  • @mariamacamaraderie2613
    @mariamacamaraderie2613 11 месяцев назад +3

    its crazy how we all have to run to his channel right after our professors confuse us in class.

  • @iambored.k.
    @iambored.k. 5 лет назад +29

    I absolutely love this channel! It's so informative and the way you teach is so relaxing. Amazing work! Please never stop making videos!

  • @ajiboladamilola4311
    @ajiboladamilola4311 Год назад +2

    I had been looking for the Mr chemistry video on the 2's complement. I'm so happy I know it so well now.

  • @devrajparida828
    @devrajparida828 4 года назад +2

    Man.. Thanks a lot. I don't usually comment on videos but the way you explained is sooo Awesome that I understood at once and I couldn't stop myself from appraising your work. Thanks a lot again... Keep posting such videos. It really helps a lot.

  • @oceanmoyo3966
    @oceanmoyo3966 4 года назад +2

    chaaai you are heavenly sent what my college lecturers couldn't explain in two weeks ,you finish in less than 30 mins ,thank you so much,i have an exam tomorrow and i know i have passed...please make tutorials on mechanics as well especially circular motion

  • @smoshfann24
    @smoshfann24 3 года назад +11

    A helpful tip for finding the 2's compliment: flipping all of the bits and then adding 1 is the same as starting from the rightmost 1 and flipping all the bits higher than that.

  • @LeiaKitsune
    @LeiaKitsune 3 года назад +3

    Thank you so much. My teacher didn't explain everything clearly like you did and I was so confused but you saved me 😪

  • @kaberaclapton783
    @kaberaclapton783 3 года назад +1

    Only God knows how much i appreciate these videos!!! thanks!

  • @charpad6690
    @charpad6690 3 года назад +3

    Thank you for the info at 9:38; I could not understand how to do -7 +(-5) in 2s compliment until you showed that you just do the sign bit (-16) + all the ones.

  • @hreigi14
    @hreigi14 3 года назад +6

    The OG! Chemistry tutor carried me through my bio degree now he's carrying through my EE degree as well :') Thank you

  • @revanthjayakumarkannan137
    @revanthjayakumarkannan137 Год назад +1

    i spent 6 god damn hours listening to my teacher rant on and on about 2's compliment for 2 hours and 40 minutes and this guy though me this stuff in like less that half hour.

  • @johndent8653
    @johndent8653 Год назад

    I have taken multiple classes dealing with binary arithmetic and this provided me with a better understanding about it thank you so much

  • @khonzaizzati4836
    @khonzaizzati4836 4 года назад +2

    oh my, thank u so much this truly help me a lot. it was crystal clear and super easy to understand, I couldn't be more grateful

  • @samanthapennington4232
    @samanthapennington4232 10 месяцев назад

    This is brilliant. I was teaching this and then watched your video and when we got to the -8 + 1 = -7 and -16 + 4 = -12 I was OMG this much easier than the way I was trying to teach it.

  • @hrbi4664
    @hrbi4664 3 дня назад

    the whole thing with making the 8 a negative 8 helped to understand sooo much i dont know how my professor failed to mention that

  • @yeabsirayabu-jj3tf
    @yeabsirayabu-jj3tf Год назад +1

    You are expert in all kinds of subject. That is kinda amazing

  • @CarlC9898
    @CarlC9898 5 лет назад +13

    Awesome video, very helpful! I'm studying these concepts over my winter break because I have to take a class next semester that starts with this material!

  • @ziva5281
    @ziva5281 Год назад +1

    you are awesome! i was so lost in my lecture but now I get it. :D

  • @aries3690
    @aries3690 3 года назад +1

    Thank you so much! Your examples finally helped me understand how the first bit form the right is the least significant bit! It's the carry!!!

  • @ArshdeepSingh42108
    @ArshdeepSingh42108 Год назад +1

    Thank you for explaining the topic in an easy way!

  • @haddachannel6228
    @haddachannel6228 2 года назад

    We are from Somalia 🇸🇴.
    We are students .
    We learning this page more knowledge.
    Thanks professor 🇸🇴🇸🇴🇸🇴❤❤❤❤❤

  • @mahmoudwahman8110
    @mahmoudwahman8110 4 года назад

    from eygpt faculty of computer and information ..... every hard time in it you are with me thank you

  • @rimjhimsingh703
    @rimjhimsingh703 4 года назад +24

    How do you know 6 is 4 bit and 7 is 5 bit ? Like how do you decide which number to replace in signed magnitude method?

  • @landonscott4347
    @landonscott4347 5 лет назад +7

    Thank you so much for this got an exam in 2 days. This made revising so much easier for me

  • @asherb5134
    @asherb5134 3 года назад +1

    this clarified everything I had difficulties with this topic.thanks !

  • @vedantpatel2273
    @vedantpatel2273 4 года назад +1

    I read my computer text book but it was useless. You have really helped me this topic.

  • @seamless_
    @seamless_ 2 года назад +1

    "We are adding, which is a nice way to do subtraction" Quote of the year.

  • @Mbongeni_Hope_Mhlongo
    @Mbongeni_Hope_Mhlongo 2 года назад +1

    @The Organic Chemistry Tutor, I love you man❤

  • @theburntwaffle7390
    @theburntwaffle7390 3 года назад +1

    Thank you so much. This really helped me understand my class better.

  • @tuweijacklinechemutai6282
    @tuweijacklinechemutai6282 Год назад

    The best professor I know, thank you

  • @vidu6834
    @vidu6834 3 года назад

    You don't know how much you helped me.

  • @sushantachakma5191
    @sushantachakma5191 3 года назад +1

    I would like to thank youtube's algo for recommending me this video

  • @nordinzaidi2286
    @nordinzaidi2286 2 года назад +2

    Lifesaver man! Greatly explained.

  • @rajveerslife1923
    @rajveerslife1923 Год назад

    thankyou very much sir ..... i missed this topic in my classes .... and i watched ao many videos .... bt at the end of those videos i left alone with so many question ..... bt this one cleared out all my doubt about the topic ..... thank you very much

  • @ricardobarnes9232
    @ricardobarnes9232 Год назад

    How did you learn all this man? This guy knows everything

  • @davidnguyen7785
    @davidnguyen7785 2 года назад

    Thankyou so much for explaining this. was watching my uni lectures and they didnt go that in depth but now i fully understand how it works

  • @yawcoder
    @yawcoder 5 месяцев назад

    This guy makes me feel like I don't need to attend lectures anymore. He explains my professors 2 hour lecture in just a few minutes and I even understand better than that of my professor.

  • @luismejia6925
    @luismejia6925 3 года назад +1

    dude, I should put your name on my degree ---- every time I need a quick refresher you are there lol thanks

  • @anastasiamartinez9526
    @anastasiamartinez9526 4 года назад +1

    Dude thank you!! You are the first person who explained why the twos complement makes it a negative number!!!! Very happy girl thanks!!!!!!!!

  • @Benbeckmann3739
    @Benbeckmann3739 Год назад

    God bless you bro you've been helping me prepare for exam a lot

  • @znoran
    @znoran 2 года назад +1

    This is very good 👍 100% explanations with all the information needed

  • @mirzapurrailways007
    @mirzapurrailways007 3 года назад

    bahut hi badhiya samjhaye hai aap to
    thanks to you for clearing my doubts👌👌👍👍

  • @VishnuprabhuR
    @VishnuprabhuR 2 года назад

    This was the best video for bitwise operation. Thanks Bro.

  • @amardeepvishu7523
    @amardeepvishu7523 Год назад

    You are my GPA saver my friend. Thank you very much

  • @patmula9504
    @patmula9504 4 года назад +1

    You are a living savior

  • @kekoHere0610
    @kekoHere0610 3 года назад +1

    Thanks a lot. why can't our professors teach us this well. Thank you .

  • @AbhishekModak-zw7fh
    @AbhishekModak-zw7fh 3 года назад +1

    Explained atleast a hundred times better than my teacher.

  • @503Squash
    @503Squash 2 года назад

    you are the best in this youtube
    i really benefited from you

  • @goldenffshorts
    @goldenffshorts 2 года назад +1

    Best interpretation ever live long sir❤️❤️❤️❤️

  • @shishirthapa4167
    @shishirthapa4167 3 года назад +1

    thanks for your good explanation..well done keep it up bro god bless you

  • @kam7822
    @kam7822 4 года назад

    You are my hero thank you so much all the other articles cannot help me as much as your videos

  • @mayarmahmoud8561
    @mayarmahmoud8561 3 года назад +1

    your videos always help me, thank you so much

  • @ramanrazdan5894
    @ramanrazdan5894 5 лет назад +3

    you teach me better than my teachers do! Thank you soo much!

  • @puravalva9157
    @puravalva9157 4 года назад

    u are the best tutor on earth

  • @cprox1000
    @cprox1000 2 года назад +1

    this dude is literally getting me through my stem degree

  • @حسامالديناحمدجمعهعبدالسميع

    Thank You! Keep Going, learnt a lot ....................studying at Computer science faculty.

  • @Muhammad_Waleed
    @Muhammad_Waleed 2 года назад +1

    7:15 Can't explain how awesome this technique feels🔥
    Maybe because it's 5:21 in the Morning

  • @Motivation_Station_Neo
    @Motivation_Station_Neo 2 года назад +1

    Thank you, you’ve made it easy for me

  • @abhivaryakumar3107
    @abhivaryakumar3107 2 года назад

    I have unimaginable respect for this man
    Like bro
    Thank you
    From the bottom of my heart