What Happens if you Divide by Zero on Different Calculators?

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

Комментарии • 2,9 тыс.

  • @AE0S04
    @AE0S04 8 месяцев назад +33

    Linux users
    👇

    • @linorder22
      @linorder22 8 месяцев назад +5

      why is it pinned

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

      ​@@linorder22 true

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

      Hi

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

      IUABTW

    • @v_CT
      @v_CT 8 месяцев назад +1

      I was surprised that there is no 0

  • @hariranormal5584
    @hariranormal5584 2 года назад +2863

    I remember a MC Alpha Redstone creation, the calculator there, if you'd do 0/0 the whole thing would explode! :P

    • @dogeinator6164
      @dogeinator6164 2 года назад +45

      True

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

      4/0 was enough to make it explode

    • @soup8237
      @soup8237 2 года назад +71

      @NOTHING who "we"? It is only you

    • @barmaley8033
      @barmaley8033 2 года назад +34

      @@soup8237 зелёный слоник под анг видосом.

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

      @@satgurs hahaha

  • @gabryel420
    @gabryel420 Год назад +446

    me yesterday: Imma go to sleep at 10pm
    me at 3 am:

  • @supe4701
    @supe4701 2 года назад +808

    Time to explain some misconceptions in the comment sections:
    First off, showing infinity as an answer is just another simpler way of saying Error. In the scenarios where it somehow isn’t a error, it means every single answer would be correct.
    Secondly, the problem with square root of -1 = X (called problem A) 1/0 = X (called problem B) have different issues regarding them.
    Problem A has no Real number capable of solving it, but there’s no fundamental issues with the equation
    Problem B suffers from 2 contradictory statements being 0X = 1 which is the equation we’re dealing with and 0X = 0 which is the basic definition of 0. This is why 1/0 is a error, because 0 is the only number that will find the same answer regardless of what you multiply it with.

    • @deadchannelunsubscribe7270
      @deadchannelunsubscribe7270 2 года назад +27

      big brain

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

      big brain boi

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

      Thanks Proffesor

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

      but if ur dividing by zero it means that ur dividing by nothing so ur straight up not dividing so the result should be the you kbow ok im drunnk im gonna dmint

    • @supe4701
      @supe4701 2 года назад +14

      @@blvehxrizon-kg6qw Let say 1/0 = X, meaning 0X = 1. However, we know 0X = 0 because anything multiplied by nothing would be equal to 0. See the issue now?

  • @World_of_OSes
    @World_of_OSes  Год назад +328

    For anyone who thinks that 1/0 is 0 or 1, let's do some real-world examples.
    Let's start with a normal division, so you can see what I mean. Let's do 10/2=5. Let's say something travels 10 meters in 2 seconds, that means that it is travailing at 5 m/s because 10/2=5. Another way to look at this is; how far does it travel in 1 second? Well the answer is 5 meters.
    So now let's take the same example, but with 1/0. Let's say something travels 1 meter in 0 seconds. How fast is it travailing? Well there isn't really a proper answer to this apart from infinity, if something has traveled 1 meter in 0 seconds, then it has effectively teleported, so it's speed is infinite (which isn't possible in the real universe, since the speed limit is ~300 Mm/s). So if you look at it another way; how far does it travel in 1 second, if it travels 1 meter in 0 seconds? Well it will travel an infinite distance in any non-zero amount of time.
    To see how 0/0 differs from 1/0, let's take another real-world example. Let's say something travels 0 meters in 0 seconds. Well anything traveling at any finite speed will travel 0 meters in 0 seconds. So the speed could be 0 m/s, but it could also be 1 m/s, or 500 m/s, or any speed. So how far does it travel in 1 second? Well we don't know because the fact that it has traveled 0 meters in 0 seconds doesn't tell us how fast it is traveling, so any answer could be correct (apart from infinity). So 0/0 is undefined.
    I did another video similar to this one where I divided 0 by 0 on different calculators, and many of them displayed different results to 1/0:
    ruclips.net/video/waDfe1-ZvDY/видео.html

    • @NerDFace-ux5sl
      @NerDFace-ux5sl Год назад +6

      Copy and paste from google?

    • @Hexagon5791
      @Hexagon5791 Год назад +17

      @@NerDFace-ux5sl says the nerd

    • @World_of_OSes
      @World_of_OSes  Год назад +18

      @@NerDFace-ux5sl No

    • @World_of_OSes
      @World_of_OSes  Год назад +33

      @@Hexagon5791 I actually did write that myself.

    • @dundsdar
      @dundsdar Год назад +19

      Isn't 1/0 undefined?
      1/x
      If x is approaching zero, then the answer is approaching infinity.
      1/-x
      If x is approaching zero, then the answer is approaching negative infinity.

  • @Gust_The_Man
    @Gust_The_Man Год назад +19

    0/0 irl : nothing happens and just says "Error"
    0/0 in cartoons : *NUCLEAR EXPLOSION*

  • @rccookie6202
    @rccookie6202 2 года назад +890

    Actually in many programming languages (ie Java) it makes a big difference whether you divide integers or floating point numbers by zero. Integers will cause an exception, while floats will produce positive/ negative infinity. This is defined by a norm of the IEEE, and can cause a lot of confusion

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

      ok lol

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

      1÷0???? AAAAAAA

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

      Not to mention, that 0 can be positive or negative if using signed integer ;)

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

      @@morsikpl you mean float?

    • @morsikpl
      @morsikpl 2 года назад +12

      @@cylemons8099 floats too. The thing with signed integers are that no software displays "-0" when it's integer, but you still have 1 bit for sign so technically it still can be negative.

  • @ridhomblr
    @ridhomblr 2 года назад +773

    I love how android's calculator just simply gives up and says ∞
    Edit: Tysm for all the likes but my notifications are getting spammed with this one comment

    • @avillagerplayingminecraft5833
      @avillagerplayingminecraft5833 2 года назад +52

      My Android says "Cannot divide by zero"
      Probably because my phone has Android 11 and the version in the video is outdated.

    • @veto_real
      @veto_real 2 года назад +25

      Even scratch too

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

      @@veto_real The Scratch is outdated.

    • @ActuallyYes
      @ActuallyYes 2 года назад +15

      It’s true that the answer could be “infinity” (I can’t find the symbol for it)

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

  • @duckph
    @duckph Год назад +265

    Calculator timestamps:
    - Physical calculators
    0:10 Standard calculator
    0:17 Scientific calculator
    - Windows calculators
    0:27 Windows 1 & 2
    0:36 Windows 3.1
    0:45 Windows 95
    0:54 Windows 98
    1:03 Windows 2000, ME, XP & Vista
    1:12 Windows 7 & 8.x (Desktop)
    1:21 Windows 8.1 (Metro UI)
    1:28 Windows 10
    1:36 Windows 11
    - Other OS calculators
    1:44 MacOS
    1:53 Ubuntu
    2:04 KCalc
    2:12 Hauku OS
    2:20 Visopsys
    2:28 MikeOS
    2:43 Android (x86)
    - Phone calculators
    2:53 Alcatel
    3:06 Android (Old LG)
    3:15 Android (Samsung)
    3:23 Android (Scientific Calculator app)
    - Programming languages
    3:32 Python
    3:45 C#
    4:29 Java
    5:18 JavaScript
    6:01 GameMaker
    6:45 BYOB
    7:03 QBasic
    7:15 Bash
    - Other calculators
    7:30 Excel
    7:41 Google Calculator
    7:50 Table

  • @milanesa_P
    @milanesa_P Год назад +73

    Windows: cannot divide by zero 🥺
    Ubuntu: Division by zero is undefined 🧐🍷

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

      I was about to make the exact same comment. Lol.

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

      I love that, the person who wrote it clearly had some background in maths.

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

      BYOB: (red outline round code blocks) 🍷🧐🍷

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

      KCalc: NAN.

  • @NikitosO-dl3nc
    @NikitosO-dl3nc Год назад +68

    To check whether the division is performed correctly, you need to multiply the quotient by the divisor. With 1/0, any number multiplied by 0 will be 0, so such an expression has no solution

    • @byronrobbins8834
      @byronrobbins8834 Год назад +7

      Division by zero would be left as undefined, and so a calculator would simply spit out error.

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

      Well, it's trickier than that, because if you divide one by infinity, it will make 0

    • @Lukas-mv8yb
      @Lukas-mv8yb Год назад

      No, it is not true :-) anything * 0 0

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

      Если посмотреть на это с точки зрения мат.анализа, то чем меньше делитель, тем дальше частное. Бесконечное уменьшение делителя приводит к бесконечному росту частного. В итоге при делении на ноль мы получаем число, стремящееся к бесконечности. Именно поэтому многие калькуляторы при делении на ноль показывают бесконечность. Однако в том же математическом анализе есть такие вещи, как "неопределенности", которые не будут иметь смысла ни при каких условиях. Например, 0/0 - это выражение никак не может быть определено. При обычном делении на ноль мы получаем гипотетически бесконечное число, здесь же мы не можем получить ничего, потому что с одной стороны там должно быть 1, ведь делим одинаковые числа, с другой стороны ноль, потому что мы делим ноль на число, а с третьей - бесконечность, так как делим число на ноль. Именно поэтому это выражение никак не определено.

  • @jetandalyssyagelpidelena6154
    @jetandalyssyagelpidelena6154 2 года назад +144

    Music:
    0:00 - Elektronomia - Energy [NCS Release]
    3:18 - Tobu & Itro - Sunburst [NCS Release]
    6:25 - Distrion & Alex Skrindo - Lighting [NCS Release]

  • @starekmichal416
    @starekmichal416 2 года назад +182

    Any other calculator: 0, infinity, cannot divide by zero, error)
    ALCATEL: *_E_*

    • @World_of_OSes
      @World_of_OSes  2 года назад +43

      E is short for Error

    • @null6482
      @null6482 2 года назад +21

      E MEME guy

    • @starekmichal416
      @starekmichal416 2 года назад +8

      @@World_of_OSesi know. honestly i just want all calculators from now on to say E

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

      @@starekmichal416 mosg handheld calculators do

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

      E chain below!
      *E*

  • @meep7677
    @meep7677 2 года назад +1309

    I just watched 8 minutes of this guy typing 1 ÷ 0 into almost every calculator.
    And I loved it.

    • @Uerasaleus
      @Uerasaleus 2 года назад +11

      Too 🤣

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

      much 🤣

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

      @@Uerasaleus Three🤣

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

      @@bombie four 😮😪😰😰🤭🤭🤫🙄🥱😶😴🤧🤠😪🥸🤪🤨🧐🤣🤣🤣🤣😛🤨🥸🥸🤩🤩😗😘😗🤓😕😕😤😤😳😳

    • @misha.kalita
      @misha.kalita 2 года назад +1

      @@akirimew five

  • @sanewa4
    @sanewa4 Год назад +48

    imagine installing a lot of operating systems just for divide a number by zero

  • @ilect1690
    @ilect1690 Год назад +30

    Ah yes gotta love when ypur school forces you to buy a texas intstrument ti-83/84 for 120$ when literally every machine has a calculator provided for free that you're not allowed to use

    • @-whos.rei-
      @-whos.rei- Год назад

      @USA country ball mhm it’s a brand

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

      desmos

  • @The_JohnF
    @The_JohnF 2 года назад +198

    siri has a good way of explaining 0 divided by 0
    "say you had 0 cookies and you shred them between 0 friends, see it doesnt work and cookie monster is sad bc there are no cookies and you are sad bc you have no friends"
    Me:
    why is it so true

    • @himv3g
      @himv3g 2 года назад +22

      "and you are sad bc you have no friends"
      Ooooof THATS A LOT OF DAMAGE

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

      _shred them_

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

      anything times 0 will always be 0. You can do 0*0 which is 0, so that would mean 0 is the only thing you can divide by 0

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

      @@SpaceSysZ _s h r e d t h e m_

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

      @@cycrothelargeplanet *_s h r e d t h e m_*

  • @ClohOrtega
    @ClohOrtega 2 года назад +199

    Now you should try dividing 0/0. It gives a different result (at least in Win10).

    • @ThomasPianta
      @ThomasPianta 2 года назад +10

      I know that in Scratch 2 and 3 (which are programming languages), It says 'NaN' if you divide 0 by 0. Also, on all versions of Scratch, it displays 'Infinity' if you divide a number that isn't 0 by 0.
      By the way, Scratch is pretty much the same as BYOB (now known as 'Snap!').

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

      Arithmetically speaking, 0/0 and any other number/0 give in fact different results: the first one is undefined (because every number if multiplied by zero gives zero as result), whereas the other one is literally impossible (even infinite that may seem the right answer, actually is also wrong, you can search why on the internet).

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

      0 goes into 0 NaN times because 0 can go into zero infinitely

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

      @@ThomasPianta that is how floats work, if you divide a positive number by 0 you get +Inf, if you divide a negative number by 0 you get -Inf, if you divide 0 by 0 you get NaN

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

      oh that’s what it was

  • @b33bo93
    @b33bo93 2 года назад +67

    4:20 if you make zero an integer, the division will always be an integer for some stupid reason. If you make it a float, it returns infinity

    • @World_of_OSes
      @World_of_OSes  2 года назад +10

      Just tried it and it actually did! imgur.com/vIjUZrv

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

      using System;
      namespace FloatSpecialNumbers
      {
      class Program
      {
      static void Main(string[] args)
      {
      float one = 1;
      float zero = 0;
      float minusOne = -1;
      float infinity = one / zero;
      float minusInfinity = minusOne / zero;
      Console.Write("1 / 0 = ");
      Console.WriteLine(one / zero);
      Console.Write("-1 / 0 = ");
      Console.WriteLine(minusOne / zero);
      Console.Write("0 / 0 = ");
      Console.WriteLine(zero / zero);
      Console.Write("sqrt(-1) = ");
      Console.WriteLine(Math.Sqrt(minusOne));
      Console.Write("infinity + 1 = ");
      Console.WriteLine(infinity + one);
      Console.Write("infinity - 1 = ");
      Console.WriteLine(infinity - one);
      Console.Write("-infinity + 1 = ");
      Console.WriteLine(minusInfinity + one);
      Console.Write("-infinity - 1 = ");
      Console.WriteLine(minusInfinity - one);
      Console.Write("1 - infinity = ");
      Console.WriteLine(one - infinity);
      Console.Write("1 / infinity = ");
      Console.WriteLine(one / infinity);
      Console.Write("1 / -infinity = ");
      Console.WriteLine(one / minusInfinity);
      Console.Write("infinity + -infinity = ");
      Console.WriteLine(infinity + minusInfinity);
      Console.Write("infinity / 0 = ");
      Console.WriteLine(infinity / zero);
      Console.Write("infinity * 0 = ");
      Console.WriteLine(infinity * zero);
      Console.Write("sqrt(infinity) = ");
      Console.WriteLine(Math.Sqrt(infinity));
      Console.Write("infinity / infinity = ");
      Console.WriteLine(infinity / infinity);
      Console.Write("infinity * infinity = ");
      Console.WriteLine(infinity * infinity);
      Console.Write("infinity + infinity = ");
      Console.WriteLine(infinity + infinity);
      Console.ReadLine();
      }
      }
      }

    • @World_of_OSes
      @World_of_OSes  2 года назад +7

      1 / 0 = Infinity
      -1 / 0 = -Infinity
      0 / 0 = NaN
      sqrt(-1) = NaN
      infinity + 1 = Infinity
      infinity - 1 = Infinity
      -infinity + 1 = -Infinity
      -infinity - 1 = -Infinity
      1 - infinity = -Infinity
      1 / infinity = 0
      1 / -infinity = 0
      infinity + -infinity = NaN
      infinity / 0 = Infinity
      infinity * 0 = NaN
      sqrt(infinity) = Infinity
      infinity / infinity = NaN
      infinity * infinity = Infinity
      infinity + infinity = Infinity

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

      @@World_of_OSes no 1/0 = error
      1/0f = infinity because 0f is a float and 0 is an int

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

      @@World_of_OSes woha

  • @vexusss864
    @vexusss864 Год назад +47

    I'll turn 20 in 1 week, I have no idea for future and I'm watching what happens if you divide by zero on different calculators.

    • @coda31313
      @coda31313 Год назад +7

      Im a little scared cause we are in the exaxcly same situation apparently.
      I was born on 03/02/2003, unemployed, no college, afraid of the future, calculators dividing by 0 is really awesome.
      good luck with your future, my distant twin 🤝

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

      ​@@coda31313 Thanks! Everything best to you bro. Hope everything will go allright :)

    • @World_of_OSes
      @World_of_OSes  Год назад +3

      @@coda31313 By 03/02/2003, do you mean 3rd February 2003, or March 2nd 2003?

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

      ​@@World_of_OSes yea yea, i mean, in my country we use DD/MM/YYYY date format. I just forgot that ppl can misinterpret a date without context depending on the country it is in.

    • @KNIGHT-mw7kl
      @KNIGHT-mw7kl Год назад

      me2 but tomorrow I'm 20 , and i have no idea and hope abt my future XD

  • @AlienXtream1
    @AlienXtream1 Год назад +22

    n/0 is an interesting concept because its actually a valid operation in some cases and has 3 answers. problem is that its all 3 at the same time, thus its unable to be defined which one is "correct" in the context of your use case. its 0, infinity and NaN(undefined) all at once, depending on context and implementation. the reason computers dont like it is because its logical answer is always infinity and computers dont handle unbounded values well, only approximations. the fact that some of them actually give "correct" responses is interesting to me too. its clear that in the case of javascript its actually doing a fractional multiplication rather than a pure division. depending on how you intend to use it and what you are doing having a programming language take such a dismissive approach of numeric expressions could be a good thing. say for example some sort of progress counter. if you have 100 things to count and are counting them at a rate of 0 then the equation for the number of steps it will take to to count to 100 is, by definition, 100/0. in that case, infinity is a perfectly valid answer as it the context. being able to just say "oh, yeh, thats never getting to 100" without crashing your program is good in that case.

    • @paprukas
      @paprukas 11 месяцев назад

      No it's not infinity! How about 1/-0.00...01? Is it positive or negative?

    • @turbogamerxd329
      @turbogamerxd329 11 месяцев назад

      yeah but letting something divide without making sure there is no division by zero is bad programming style (at least our prof told us so). if there is a non-0 chance of the divisor being 0, irrelevant how small it may be, you defenitely should check it the divisor is 0 and if it is do what needs to be done in the context. In you example of how long something will take to complete I'd make a special case where it doesn't say "NaN seconds remaining" (or whatever) but rather something like "No progress".

  • @aydryos7847
    @aydryos7847 2 года назад +16

    What's interesting is that some C compilers will actually allow you to divide by zero and it won't return any errors, NaN (except for floating point values which are defined by the IEEE standard to return a NaN in such an instance), nor will it try anything close to "infinity".
    GNU's C Compiler (GCC) for instance will simply force the output to be "0" which is technically correct since 0 * 0 is 0, but the infinity answers are more correct since anything multiplied by 0 will return 0.
    Clang for some odd reason decides to take a pointer to 12 bits prior to the current base pointer address (rbp - 12)
    Intel's C Compiler (ICC) does a similar thing to Clang but instead takes a pointer to 16 bits prior to the current base pointer address instead (rbp - 16)
    Microsoft's Visual C/C++ Compiler (MSVC) does a similar thing to GCC and throws a "0" into the mix
    Tiny C Compiler (TCC) does the interesting thing and actually attempts a division by zero which yields a crash when executing the compiled output
    The C language is really a mixed bag when it comes to these sorts of experimentations, sometimes it just defaults to a nil value, sometimes it just mucks about with the process memory, and perhaps an archaic or simple enough C compiler will actually attempt to do the unthinkable resulting in it flipping out and either crashing or spazzing out.
    Too bad I don't have access to Borland C compiler or the Plan9 C Compiler from AT&T, the latter one is more-or-less due to incompatibilities with modern systems (although virtualization is still an option) and I could find "questionably legal" sources for the last version of the Borland C compiler but I won't be bothered with hunting it down just to see how it handles divisions by zero.

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

      fyi, nan = not a number

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

      @@fbiagentmiyakohoshino8223 Yes, and according to IEEE 754 specification NaN should never be equivocal to NaN.
      Even with JavaScript's type-safe comparator system NaN can never be equivocated to NaN.

  • @Titanic4
    @Titanic4 2 года назад +82

    Windows 98 Calculator can display either positive, or negative infinity error if you happen to divide any positive, or negative number by 0 respectively. Trying to divide 0 by 0 gives different message.

  • @ciarus2070
    @ciarus2070 2 года назад +20

    dude that sync in 3:16

  • @World_of_OSes
    @World_of_OSes  Год назад +3

    What happens if you divide 0 by 0 on different calculators?
    ruclips.net/video/waDfe1-ZvDY/видео.html

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

      But what if you did 0 / 0 will it equal zero i can’t help to know it out so I did my own results 0/0 is not a thing if we’re spaneking the higher the number the mor e production g quality so we now know the answer but why we w deed this? That’s simple accurately speaking Vox did the same thing and conducted that milk is made from chese with that in mind we have the answer 0/0 can’t be solved due to lantency of numbers if we know this then why didn’t anyone say this?

  • @PabTSM-OfficialChannel
    @PabTSM-OfficialChannel Год назад +117

    actually, by the logic teachers teach us in 4th grade on how to divide,
    the 1 doesn’t fit any time in the 0 so it just becomes 0

    • @World_of_OSes
      @World_of_OSes  Год назад +43

      No, you've got that the wrong way around. It's how many times does 0 fit into 1?

    • @PabTSM-OfficialChannel
      @PabTSM-OfficialChannel Год назад +6

      @@World_of_OSes pretty much the same result

    • @OnePumpablePoop
      @OnePumpablePoop Год назад +9

      It is trying to be negative infinity, and positive infinity at the the same time, and infinity is undefined, and also it can’t be two numbers

    • @therodentous
      @therodentous Год назад +7

      @@PabTSM-OfficialChannel no

    • @mr_makaroshka16
      @mr_makaroshka16 Год назад +5

      nah, that's if you divide 1 by 0

  • @hugarada7156
    @hugarada7156 2 года назад +14

    The reason why mostly it gaves an error and not a straight up symbol, it's because due to the fact that 0 is a neutral number (neither positive nor negative) the answer can't be neither +infinite nor -infinite. You'll notice that some calculators use the infinite symbol or they just write infinity. But that's not a definite answer. I hope I helped some of you to know why you can't divide by 0

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

      Yeah, to get infinity you should divide 1 by a number infinitely close to zero, but not zero. So these calculators saying "1/0 = infinity" are not perfectly correct.

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

      Except in limits 0 can gain a sign, and infinity's sign can also be determined by the constant's sign.
      For example, 1/0 gives infinity, but -1/0 gives minus infinity.
      Then 0 gains a sign based on where you approach zero from (cause in the context of limits it would be 1/x where x tends towards 0). If it tends to 0 from minus infinity, then it's 1/-0, if from plus, it's 1/+0.
      Then there's 0/0 who is undefined even in limits.

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

      @@yakone1379 why didn't I think of this?

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

      @hexyellow9873 you use a try catch and get the error where you can't divide by 0 and then you print some like "infinity"
      For example in C#
      try
      {
      i = i / 0;
      }
      catch(DivideByZeroException)
      {
      Console.Write("Infinity");
      }

  • @yeeterteeter3939
    @yeeterteeter3939 Год назад +35

    1:17 those clicks were on beat

    • @World_of_OSes
      @World_of_OSes  Год назад +18

      3:18

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

      @@World_of_OSes you’re right :o

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

      @@yeeterteeter3939oh gosh, that keyboard needs to be enlarged…
      With this new reverse shrink ray!

  • @userx-inactive8
    @userx-inactive8 2 года назад +44

    I like how C# has a exception specifically for Dividing by Zero

  • @gabrielv.4358
    @gabrielv.4358 Год назад +48

    The amount of computers he have just to have different oses must be 100³

  • @AviationButterflyEditor2024
    @AviationButterflyEditor2024 Год назад +8

    Physical Calculators Section 1
    0:10 Standard Calculator (E 0)
    0:17 Scientific Calculator (Error 2)
    Windows Calculators Section 2
    0:30 Windows 1 & 2 Calculator
    0:38 Windows 3.1 Calculator
    (Cannot divide by zero)
    0:48 Windows 95 Calculator
    (Cannot divide by zero)
    0:55 Windows 98 Calculator
    (Error: Positive Infinity)

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

      He accidently pressed to "+" button instead of "=" button.
      0:10 is a mistake. It must be repeated with the same calculator.

    • @ON-on2if
      @ON-on2if Год назад

      @@stereoLuigi Nah, do it yourself in a calc, you'll get the same answer (Error)

  • @DavidGreatMod
    @DavidGreatMod 2 года назад +36

    2:46 1:0=INFINITE WHAT IN THE WORLD

  • @akeplaybg8159
    @akeplaybg8159 2 года назад +12

    Everyone gangsta until the calculator create a blackhole

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

      FAIL
      Sorry, I was in the bathroom. What’d I mi- Where’d… Where is everyone?

  • @desaturatedair
    @desaturatedair 2 года назад +17

    what kind of pocket dimension was he in? doing this would have literally shattered the fabric of reality 90 times over.

  • @fieryr
    @fieryr Год назад +5

    All windows versions from 3.1 to 11: "WHY CAN'T YOU BE NORMAL?!"
    Windows 98: *screams*

  • @braao4112
    @braao4112 Год назад +3

    A person divinding one by zero in differents calculators
    625 thousand other peoples: wow, this is very interesting

  • @jensschroder8214
    @jensschroder8214 2 года назад +16

    With many programs x / 0 is intercepted and leads to a defined error message.
    Some are not sure and claim infinity.
    In the case of a few, this leads to the failure of the code.
    In another video I saw an electromechanical calculating machine that began to calculate forever. Exit only by switching off.

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

    Languages that output infinity will usually have a negative zero. Try it out: 1/(-0) will usually yield -Infinity.

  • @World_of_OSes
    @World_of_OSes  2 года назад +59

    What did you think of the font sizing?

  • @stolenfoot8747
    @stolenfoot8747 Год назад +5

    You're really testing the universe here!

  • @Limes14201
    @Limes14201 2 года назад +11

    Me: what's 1÷0?
    Teacher: N A N

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

      Me: E R R O R: P O S I T I V E I N F I N I T Y

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

      Me: undefined because positive infinity in positive direction and negative infinity in negative direction

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

    I like the way Ubuntu says it as it feels the most "correct"

  • @EthanSimmons06
    @EthanSimmons06 Год назад +3

    The left-hand limit of 1/x as x approaches 0 is negative infinity, but the right-hand limit of the same equation is positive infinity. This means that 1/x does not exist at 0 because the left and right limits are not equal.

  • @mistercreeper3029
    @mistercreeper3029 Год назад +5

    2:50 Ok, that ACTUALLY gave the answer! 👍

  • @getoutofhere999
    @getoutofhere999 Год назад +114

    Человек выучил все языки программирования и пытается разделить 1 на 0.
    А вы что сделали?

    • @tAVROSSS
      @tAVROSSS Год назад +9

      Я включил ПК

    • @getoutofhere999
      @getoutofhere999 Год назад +8

      Thanks to the author for posting the comment

    • @mosseater486
      @mosseater486 Год назад +7

      я встал с кровати

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

      Я купил новую колду

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

      не все, есть lua и lua для роблокса

  • @_kitaes_
    @_kitaes_ 2 года назад +8

    every calculator: error, NaN, cannot divide by zero
    android and javascript: **INFINITY**

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

      Well, you can include Windows 98's calculator to the infinity club somewhat...

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

      ...and beyond

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

      Isn't that the logical correct answer?

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

      @@Cookie__XD it’s possible by only using limits, without it it’s undefined

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

      I believe the reason javascript produces infinity, is because in javascript, numbers are stored as floats, and in floating point, uh,
      well, did you know that for floating point numbers there is a “negative zero”?
      I think if you divide 1 by “negative zero” (in the like, IEEE standard or whatever for how floating points work) you get negative infinity.

  • @fazrathh
    @fazrathh 11 месяцев назад +48

    Did he buy all of those? Me watching: RESPECT++

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

      couldn’t even edge to this, I exploded immediately!!! Clean up on aisle MY PANTS 😂😂😂😂

    • @KookyeyesGD
      @KookyeyesGD 11 месяцев назад

      @PrettyGoodPerson
      1 day ago
      couldn’t even edge to this, I exploded immediately!!! Clean up on aisle MY PANTS 😂😂😂😂

    • @chonkydog6262
      @chonkydog6262 11 месяцев назад

      @@ZarkSM24 Real.

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

      @@ZarkSM24its november bro..

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

      @@ZarkSM24is that really a dc ref.

  • @acharwp
    @acharwp Год назад +136

    what's the point of this video? all same ... you can't divide any number by zero.

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

      The video is 1 year old and this comment is 7 hours old, why is it pinned? lol

    • @lightingkid2010
      @lightingkid2010 Год назад +6

      ​@@kala3607 to show he's still active idk

    • @lightingkid2010
      @lightingkid2010 Год назад +10

      He's showing what message pops up

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

      Bc to show what catluater answer was (of course it’s 0 bc can’t divide by 0)like some will says 0 some says “can not divide by 0” and some says “infinity” etc.

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

      i mean all you do is play " Soccer Star Games " every video

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

    me: any number/0 = 0
    every computer in the world: ✨ I n T e R e S t E i N g ✨

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

    Noone:
    iPads: what's a calculator?

  • @bengonenc
    @bengonenc Год назад +9

    "how many programming languages do you know?"
    _this guy:_ *yes*

  • @DownBeatClamp48
    @DownBeatClamp48 Год назад +12

    the whole video along with music feels like this was made in 2016 or something

  • @KirammanKruspe
    @KirammanKruspe 2 года назад +11

    It would have been interesting to see the result in the scientific mode of calculators from windows 8.1 onwards,and also the operational systems that allow it, still interesting and very good video

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

    love how they have the super kicked up action music in the background

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

    Thank you. You answered a question we didn't know we needed the answer to.

  • @whoversubisapig
    @whoversubisapig 2 года назад +21

    2:17 Proof that divison by 1 and 0 is 2.

  • @micle3300
    @micle3300 Год назад +4

    1:03 possible
    1:52 Infinity is no chance
    2:03 'undefined' answer
    2:11 Nan answer?!?
    2:18 Try 2 ÷ 0
    2:26 Calculator Error
    2:52 certain calculator
    3:22 invalid operation

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

    Hey you forgot about batch! for batch: 1/0 = Divide by zero error.

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

    The possible answer of Infinity makes some sense when you think of division the following ways:
    "How many times can [denominator] fit into [numerator]?"
    0 fits into any number above it an infinite amount of times. Therefore, going off this logic alone, diving by zero results in Infinity.

  • @REALITYSANILLUSION
    @REALITYSANILLUSION 11 месяцев назад

    i love how windows was just like ‘cannot divide by zero’ and then 98 is just like ‘error; positive infinity’

  • @ChromaNyan
    @ChromaNyan 2 года назад +10

    "cannot divide by zero"
    literally 1974

  • @rubenphonecollector2533
    @rubenphonecollector2533 2 года назад +17

    Bruh i laughed when mac os said "not a number" idk it looked funny to me😂

  • @DaSpecialZak
    @DaSpecialZak Год назад +13

    does this work for every number and also with 0/0

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

      0/0 is different. Any other number divided by 0 is the same as 1/0.
      I did 0/0 in a different video:
      ruclips.net/video/waDfe1-ZvDY/видео.html

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

    An explainer for anyone wondering what's so wrong with division by zero:
    You're familiar with how division and multiplication can have equivalent statements, yes? If A / B = C, then C * B = A. For example, if 8 / 4 = 2, then 2 * 4 = 8.
    So, let's hypothetically say that 7 / 0 = 1. Thus, 1 * 0 = 7, right? Wrong! "1 * 0 = 7" is obviously a false statement, because any number multiplied by zero must equal zero. Since the equivalent multiplication statement is false, then there's no way that the original division statement can be true either. There is no number which can be placed as the result of any division by zero that can check out under these inherent traits of division and multiplication, with the only exception being if the statement was nothing but zeroes...but honestly, how useful is "0 * 0 = 0"?

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

      another way of demostrating would be making the sucession 1/(0.1)^n and calculate the limit, which would go towards infinity, and then do it in reverse 1/-(0.1)^n, which would go towards negative infinity, and since both are aproaching to 0 but from different places, but also give totally different answers, it could be safe to assume that its undefined.

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

    This was the most interesting video, I've watched in a while! Big thanks, for your work!

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

    1:01 I like that attitude solider!

  • @venkataramanadevarapally6968
    @venkataramanadevarapally6968 Год назад +5

    This guy knows every programming language 😂

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

    Programming Languages:
    3:33
    3:45
    4:30
    5:19
    6:02
    6:46
    7:03
    7:16

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

    Mad respect to my guy to test every single (not so) popular and coding languages and others to make this video

  • @pvtests8248
    @pvtests8248 Месяц назад

    what an incredible video! good stuff

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

    Tbh adding a single if statement that will check if second number is not equal 0 is not that hard.
    But if someone forget about that program would just get runtime error and crash, thats all

  • @th-hs8zz
    @th-hs8zz 2 года назад +8

    I personally love the answer positive infinity

  • @ProbablyBlake42
    @ProbablyBlake42 Год назад +9

    The result is positive and negative infinity at the same time.
    Because of :
    The multiplication by 0 always equals 0 and the division is the opposite of the multiplication. Which concludes that division by 0 equals the opposite of the smallest number possible (0) and it is infinity.

    • @兄さん
      @兄さん Год назад

      This is not a proof. n/0 is, in fact, a singularity.

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

    Love how MikeOS says "Attempt to divide by zero" like it’s a crime

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

    Me: *divides something by 0*
    Calculator: *I will divide you by 0*

  • @Kalankit444
    @Kalankit444 Год назад +7

    2:30 Why is this so nostalgic

  • @Funrollercoaster606
    @Funrollercoaster606 2 года назад +39

    Wait! We forgot….
    WINDOWS RT!

    • @World_of_OSes
      @World_of_OSes  Год назад +4

      @the scratch guy Windows 8.x for ARM with only Metro app support, not Win32

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

      @@World_of_OSes thanks for the pin, it means a lot to me

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

      Nice

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

      ​@@World_of_OSes is it Windows 10 Streamlined based?

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

      @@World_of_OSes you forgor ubunto calculator

  • @xiupingliu7343
    @xiupingliu7343 2 года назад +11

    No one knows what happens when you do it on an iPad calculator.

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

      iPad calculator:

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

      ...

    • @Odswietny
      @Odswietny Месяц назад

      ​@@World_of_OSesiPads don't even have a calculator.

  • @You..............
    @You.............. Год назад +1

    I love how KCalc just says "nan" instead of the rest

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

    FACT: NO ONE SEARCHED FOR IT, IT JUST APPEARED RANDOMLY

  • @vinijoncrafts2882
    @vinijoncrafts2882 2 года назад +8

    2:59 wait a minute POGGERS?

  • @KayaAFênix
    @KayaAFênix Год назад +6

    0:52
    *R E S P E C T*

  • @BIGLEO496
    @BIGLEO496 9 месяцев назад +60

    3:52 LIGHT THEME, MY EYES

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

    Did not know js returns infinity, and I looked into it and it's quite interesting
    oh and also the google calculator just evaluates whatever you input with js, with a little trickery you could make it error out for good by manipulating some variables

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

    I like how Mac OS just says "Not a number"

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

    I have different Calculators.
    1. Deli 39218 Calculator (Standard Calculator)
    2. Deli 39219 Calculator (Standard Calculator)
    3. Joyko CC-25 Calculator (Scientific Calculator)
    4. Casio SL-310UC Calculator (Standard Calculator)
    5. Scientific Calculator S9 (Scientific Calculator but it's broken)
    6. Transparent Calculator (Standard Calculator)

  • @𰻝
    @𰻝 2 года назад +9

    Can you make a video on what happens when you inject NMI on different OSes?
    Run this on the host OS, replace "VM Name" with the name of the VM:
    "%ProgramFiles%\Oracle\VirtualBox\VBoxManage" debugvm "VM Name" injectnmi

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

    Guys, the correct answer is "undefined" and NOT infinity

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

      In some contexts it can be useful to work with values on the Riemann sphere, and get the result of “the point at infinity”.
      Depends what you exactly you are doing / what you mean by the division, sorta .

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

      @@drdca8263 Maths has concrete answer it doesn't work like "it depends". If denominator is 0 (not approaching 0) then the expression becomes undefined.

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

      @@gigachad6844 effectively what I’m saying is that there are other operations one can define which have basically identical notations, and what operation one is using is understood based on the context,
      Such that something which everywhere else looks like you are doing ordinary division on complex numbers, at the point where you would “divide” by “zero”, you get another point on the Riemann sphere, just like you would at any of the other points.
      Obviously there is no element of any field such that multiplying it by the zero of that field, with the multiplication of that field, gives you a non-zero value.
      But as long as everyone knows what everyone means, and nothing is unclear, we can use e.g. the symbol “/“ to mean what is convenient for it to mean, as an analogy to other things which are called “division” or “a quotient”.
      For example, “ \bz/(0) is isomorphic as a group to \bz” is an ordinary thing to say, even though I am taking the “quotient” with respect to the “zero object” of the category of groups.
      So, as you say, the answer to a question isn’t “it depends”, *unless the question isn’t sufficiently specific* . If you ask “what is the result of applying an operation to two numbers?” this of course invites the question of “what operation and what two numbers?”.
      Another more clear cut example of this is in exponentiation.
      Namely, “What is 0^0 ?” .
      If both the 0s here are from a continuous variable, then the natural way to define it is that it is undefined.
      But if you are talking about exponentiation as an operation between integers (or cardinals), it is natural to define it to be 1.

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

      @@drdca8263 Stick to the matter, no need to go to complex numbers or "basically identical notations". You're deviating from original topic.

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

      @@gigachad6844 Maths has concrete answers yes but only if you define in advance what mathematical system you're working with.

  • @BrbExtra
    @BrbExtra Год назад +3

    we have
    reached peak entertainment

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

    All other Windows: Cannot divide by zero.
    Windows 98: E R R O R: P O S I T I V E I N F I N I T Y

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

    Android before Android 5.1 - It's Infinity
    Android now - NaN

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

      My Android says "Cannot divide by zero", but One UI is different to Android.

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

      @@avillagerplayingminecraft5833 One UI is still Android...

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

      @@hmwndp It's Android, but customised to have different apps, looks completely different and tries to hide that it's an Android device.

  • @slapbattlesuser146
    @slapbattlesuser146 Год назад +13

    why cant the answer be 0? since 1 x 0 is 0.
    welp i guess calculators just like doing mysteries

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

    Why did they remove the "Positive Infinity" which was in Windows 98

    • @user-hj1we1ej5r
      @user-hj1we1ej5r 2 года назад +1

      Because it is not true! It’s not defined!

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

      Because it probably was the default way of saying error. As far as I know, you can’t reach infinity in these calculators without it just being a error

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

      ​@@supe4701 Some calculators such as Android calculator will display ∞ for 999^999, which is clearly not ∞ but an insanely high number.

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

      @@user-hj1we1ej5r 1/0 is infinity becouse every anwser is correct

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

      well 999^999 is definitly wrong for inifinity, as you said; Although 1/0 could be a valid answer and to be honest it's just a question of definitions, conventions;
      In maths; when you do computation; conventially we say that division by zero is undefined, as it doesn't answer to any number basically (complex or real)
      But when you do limits, we say that finite number devided by zero is an infinity. (depending on the sign of the finite number)
      And for those who don't understand that; the deep reason is that when you devide with numbers that approach more and more zero, your result is getting bigger and bigger; example: 3/1=3, 3/0.5=6, 3/0.2=15; therefore we say that the limit of k/n (with k a positive finite number) when n approaches zero, is infinity.
      So yeah 1/0 would technically be infinity, if we accept infinity as possible answer; otherwise you would return sth like Undefined (which imo is a very bad term because it is undefined in their opinion and not everyone agrees on such definitions), so they should probably go to sth more neutral like "Not a number"^^
      In programming it's very justified to output such error; because it could lead to very unexpected errors such as infinitly running algorithms due to infinity number being introduced whereas user expected sth to finish; and those errors would be particularly difficult to spot

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

    dividing zero by zero is like to cut a butter with a knife except there's no knife or butter

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

    Me:how is 0 % 0?
    My calculator:*inminent explosión*

  • @flex_lart6865
    @flex_lart6865 2 года назад +16

    3:08 omg

  • @NotKnafo
    @NotKnafo Год назад +15

    7:11 what help do?

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

    1:01 Why the hell is this positive infinity? Why not negative infinity? Why not "Cannot divide by zero."? If you make a linear graph of dividing: "1/x" then you'll see that it's something like positive infinity and negative infinity at the same time. Why the hell, Microsoft...

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

      At least they fixed it in Windows 2000 and later.

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

      @@World_of_OSes Yes, that's good.

  • @4KsubsMatthewLechuga
    @4KsubsMatthewLechuga Год назад

    I remember in TAWOG, that when Richard divided by 0 in the calculator, his PC explodes.

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

    The music: E P I C E R R O R