You can use this tool to fastly destroy this thread and its images. Please only use this tool if:
- The thread contains illegal materials
- The thread contains personal information about you or somebody you know would not allow this
- The thread contains pornographic content
- You have intellectual property on part of the content

This tool is NOT here to let you remove things you don't like, and this tool is based on a trust principle.
If there are many threads/images you want to remove, it would probably be easier for you to directly contact us. You can provide us a list of all the threads you want to be destroyed. Please contact us at contact@4chanarchive.net or use the contact form. We will very fastly proceed to the destruction of all the content.

> in programming class at college >working with the dumbest two potatoes in the class. >need to create command line calculator, basic arithmetic, logs, trig functions etc. >they think its so genius and cool if they make it so that when you divide by zero it gives infinity >i tell them that that's not really mathematically correct, we should just return "undefined" or "error", but they won't have any of it.

please tell me how to explain well to them how stupid this idea is.

>>6616455 Computers perform mathematical operations in specific and sometimes surprising ways with the rules depending on the underlying hardware , language and specific implementation. This is particularly true of C and to a lesser extent C++, with 'undefined behaviour' everywhere.

>>6616468 More specifically computers can't directly represent infinity as such, since ultimately their concept of numbers is just a sequence of 0's and 1's however many bits wide. The way infinity is handled is hardware specific, floating point especially is a complex area.

>>6616465 capitalisation is objectively useless. the only reason to use it is to not look like a complete redneck among formal and unfamiliar audiences.

>>6616466 This is why a convincing argument isn't enough > infinity is not a REAL or COMPLEX number nor a QUATERNION > there exists no number in a field such that when multiplied by 0 gives 1

>>6617327 You can try and see if you get anything meaningful out of it but considering you didn't already realize that you are not good enough at maths to do it.

For every n not equal to 0, n/n = 1. As n goes to 0, we see that 0/0 should be 1.

For every n not equal to 0, n^2/n = n. As n goes to 0, we see that 0/0 should be 0.

If x is any real or complex number, x*n/n = x. As n goes to 0, we see 0/0 = x.

So I think that clearly demonstrates 0/0 is quite problematic in itself. What about x/0? Well, x/0 = (x*n) / (0 * n) = (x*n) / 0. As n goes to zero, we see that x/0 = 0/0. So any definition of x/0 must be ill-defined since we have demonstrated it can be argued to be any complex number or infinity. Thus the reason it should return undefined is because it can't really be properly defined.

>>6617606 I remember Numberphile had a video on this where they compared it to the origin on a coordinate plane and how it changes depending on the line going through it.

>>6617625 Yes. You can easily turn what I said into a geometrical picture in the plane. The symbol infinity as you would see in calculus is only used in the context of limits. Infinity essentially means "arbitrarily large". It can't really be manipulated algebraically or arithmetically in any meaningful way.

>>6616455 "We're making a fucking calculator. A fucking. Calculator. You put in math equations and it gives you answers. You want to intentionally make the calculator output an incorrect answer."

> in programming class at college >working with the dumbest potatoe in the class. >need to create command line calculator, basic arithmetic, logs, trig functions etc. >friend and I think its so genius and cool if they make it so that when you divide by zero it gives infinity >potatoe tell us that that's not really mathematically correct, we should just return "undefined" or "error", but they won't have any of it.

please tell me how to explain well to them how genius this idea is.

>>6618554 consider the function f(x) = x. are you trying to tell me that the limit of f(x) as x approaches -infinity is infinity? Because my calc I class says that you are full of shit.

>>6618605 Your calc 1 class didn't tell you about projective spaces. So why don't you shut your uneducated retard face when adults are talking about math?

>>6616455 If you are using C/C++/C#/Java/Python, floats/doubles, and a modern computer/compiler, then x/0 will give you some infinity representation, if x is not 0. If x is 0, then you will get a Not-A-Number representation. (VB may throw an exception.)

This is behavior is defined in IEEE-754. Some people far smarter than you decided that this was the best default behavior. In time, some people at your intellectual level made it the only behavior.

>>6618617 serious question: if projective spaces are a thing, and if they are important, then why even make the distinction of positive and negative infinity in other areas of maths???

>>6617711 There are many ways to compactify the reals, of which the projective line is but one. In the extended real line, we have +\infty and -\infty. In the Stone-Cech compactification of the reals, there are as many additional points as there are subsets of the real line. As the Stone-Cech compactification is the most general compactification (all others factor through it), it could be argued that the real line has 2^{\mathfrak{c}} infinities. >>6618617 You shouldn't be so hostile. He doesn't know about projective geometry, but you insisted - without qualification - that +\infty = -\infty, which is patently untrue.

>>6618727 >if binary is important then why do we use decimals in other areas of math

All the content on this website comes from 4chan.org. All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster. 4chanArchive is not affiliated with 4chan.