[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 14 KB, 640x480, 60A65E34-9A8C-4EFF-B61A-9CBA3D02F240.jpg [View same] [iqdb] [saucenao] [google]
12303124 No.12303124 [Reply] [Original]

What the fuck is the point of modulo? It’s like nerds just make shit up to make things more difficult for themselves

>> No.12303156

>>12303124
This comes from the same people who came up with Complex numbers.

>> No.12303165

>>12303124

your decimal counting system is a modulo.

>> No.12303166

>>12303156
I think that was Lionheart Oiler

>> No.12303180

>>12303165
you’re lying

>> No.12303208

>>12303180

assuming you are not trolling

you count in modulo 10, every 10 units you start again.
you use modulo 24 to count the hours of a day and modulo 360 to count a full rotation (angles).

I see no issues with moduli

>> No.12303223

>>12303124
>t. never had an linear algebra course

>> No.12303240

>>12303208
Or I could just count the hours of the day by saying 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

....?

>> No.12303248
File: 44 KB, 503x1000, 4a0e958aa6b5b916b3e817b36d2d3921.jpg [View same] [iqdb] [saucenao] [google]
12303248

>>12303166
for the lion heart

>> No.12303251

>>12303240
And what comes after hour 24?

>> No.12303254
File: 45 KB, 666x667, 1578411870304.jpg [View same] [iqdb] [saucenao] [google]
12303254

The integers are a complicated structure. No matter how many integers you've counted, there will always be more. They are unending. Sometimes you have propositions that are supposed to hold for all integers and it's unclear how you would prove it without checking it for every single integer. Modular arithmetic helps with that. It massively reduces the amount of information and simplifies things. You will no longer have an infinite number of things, there are only finitely many classes mod n.
Let's say that you want to prove that given distinct list of 101 integers, two of them differ by a multiple of 100. At first it might sound like a complicated proposition. How would you prove that for any collection of integers? There are infinitely many such options, how do you even start? But then you notice you can work mod 100, where there are only 100 options. And two of the integers must correspond to the same option, which means exactly that their difference is a multiple of 100, so the problem is solved.
Another good example is considering integral solutions to polynomials. For example, how do you show that no integer x satisfies x^42 - 12x^40 + 4 =0? The task might seem daunting at first, but then you might try reducing the equation modulo 3. All you need is to check 3 cases: 0,1,2. If none of them are a solution, that means there's no integral solution. And indeed, it's easy to check that none of these work, so we have our proof.
Modular arithmetic is of course also useful for encryption. The ring Z/nZ is finite so operations that would be completely intractable in the integers like raising a number to a 2000 power become very feasible and this opens up many possibilities.
Taking note of facts about modular arithmetic also makes checking divisibility much easier. For example, to check that a number d_n d_(n-1) ... d_1 in base 10 is divisible by 11 just notice that 10=-1 mod 11 and so 10^n = (-1)^n which is very easy to calculate (-1 if n is odd and 1 if n is even).

>> No.12303259
File: 64 KB, 411x520, monke.jpg [View same] [iqdb] [saucenao] [google]
12303259

>>12303254
So your number mod 10 just becomes d_1 - d_2 + d_3 - d_4. .... which is easily checked whether it's divisible by 11 or not.

>> No.12303260

>>12303240

and after 24 you restart, that's a modulo

>> No.12303271

>>12303260
>and after 24 you restart, that's a modulo
Yes, but is it numberwang?

>> No.12303286

>>12303124
to solve fizzbuzz with

>> No.12303287

>>12303208
You reuse the same numbers after 10 but it's not like the quantity changes. It's not like were gonna create a new symbol for each number. So is this a proper modulo? The true quantity doesn't reset but the numbers do because were not making infinite symbols.

>> No.12303331

>>12303287

well, not sure I totally get what you mean but I think it's correct, you could perfectly count in this way:

you draw a stick for every stone you see, you don't need a modulo but you will end up with a shitload of sticks and that's not convenient.

>> No.12303358

>>12303287
Modulo is an operator that allows you to describe any kind of cyclical behavior with math. Let's say you wanted to make a binary computer write out a number stored in its memory in base 10. How would you do it without modulo? You could come up with some convoluted and inefficient way of doing it but then you would just have come up with a more stupid way of writing what is, at its core, a modulo operation.

>> No.12303400

>>12303259
Poor monke

>> No.12303425

>>12303124
All modern computer hardware is limited to modular arithmetic for integer operations. Larger integers have to be implemented on top of it.

>> No.12303448

>>12303124
To answer when will you wake up, if you sleep for 8 hours starting at 22:00.

>> No.12303491
File: 17 KB, 581x538, 1572990876734.png [View same] [iqdb] [saucenao] [google]
12303491

>>12303124
>It’s like nerds just make shit up to make things more difficult for themselves
are you trying to describe all of modern math?

>> No.12303711

>>12303124
mod is actually useful though. things in residue systems / certain rings have very good properties that we can actually do practical stuff with. The big poster child for this is cryptography. It shows up a lot in other parts of computer science.
More generally, if you understand modular arithmetic, it opens up a world of abstract algebra that can be pretty useful.

>> No.12303731
File: 3 KB, 256x192, 1604378220426.png [View same] [iqdb] [saucenao] [google]
12303731

>>12303124
Aww, poor baby can't understand his CS homework. Modulo can be used for several things in modern computing. If you take a number x mod 2, you can find if x is even or odd. You can use modulo for keeping numbers within bounds for arithmetic (i.e. 12 hour clocks going from 12 to 1. AKA clocks are x mod 12). Modulo is the sole basis for encryption in modern computing.

>> No.12303827

I use it at my cuck factory job to make sure I didn't lose any parts because the last tray of pieces should have the proper remainder of the full total divided the quantity in each container. Can't even explain this to my dumbfuck coworkers how to use Mod on the calculator and they look at me funny. I hope they are all gassed to death by nazis,

>> No.12304005

>>12303124
Don't ever bother studying math or a math-adjacent field if you think a useful abstraction like that is "making things more difficult."

>> No.12304105

It's not even fucking hard, retard

>> No.12305001

>>12303124
It's very useful in computer science

>> No.12305035

>>12303448
this

>> No.12305807
File: 94 KB, 1082x1368, 1599606457019.png [View same] [iqdb] [saucenao] [google]
12305807

>>12303165
This. Also, the reason why adding up the digits to see divisibility by three is because of modulo congruences in z mod n z. Pic related.

>> No.12305914

>>12303124
you can transform an infinite set to a finite one. Also cryptography uses it a lot, plus RNGs, hashing etc.

>> No.12306173

How the fuck is this thread still up???

>> No.12306466

>>12306173
Maybe because modulo is pointless to most normal people and only necessary for computers?