Solving linear congruences -- Number Theory 10

  Рет қаралды 35,324

Michael Penn

Michael Penn

Күн бұрын

Пікірлер: 51
@goodplacetostop2973
@goodplacetostop2973 3 жыл бұрын
17:48 Homework 18:04 Good Place To Stop
@PunmasterSTP
@PunmasterSTP 2 жыл бұрын
Solving linear congruences? More like “Super learning video this is!” Even though I have to go back through things to try to understand them, I really appreciate everything Michael has done for the community on KZbin.
@danielfarias1154
@danielfarias1154 Жыл бұрын
this video section helps a lot to understand Number Theory books!!!! Michael helps us a lot with this kind of material
@PunmasterSTP
@PunmasterSTP Жыл бұрын
@@danielfarias1154 I never took a formal class in number theory, but I definitely enjoy learning about it as a hobby. There’s tons of great information on YT if one knows where to look…
@danielfarias1154
@danielfarias1154 Жыл бұрын
@@PunmasterSTP yes!! , me too hahah, is funny to learn Number Theory, is a good hobby where you can learn a lot
@criskity
@criskity 3 жыл бұрын
I like to call the congruence sign (triple equals sign) "threequals". So, "a threequals b mod n".
@samuelmarger9031
@samuelmarger9031 3 жыл бұрын
Not gonna lie, that's a pretty cute name.
@2070user
@2070user 3 жыл бұрын
@@samuelmarger9031 Cute and cool but not professional lol
@anonymous_4276
@anonymous_4276 3 жыл бұрын
How about calling the equals sign "two thirds congruence"?
@anshumanagrawal346
@anshumanagrawal346 3 жыл бұрын
@@anonymous_4276 lol
@anshumanagrawal346
@anshumanagrawal346 3 жыл бұрын
Whole like one and a half equal signs
@iceandteas
@iceandteas Жыл бұрын
holy crap thank you so much im literally like 2 days away from my exam and linear congruences were really really reaaaallly hard for me to visualise but ur video is helping me make a load of sense !!!
@chilling00000
@chilling00000 3 жыл бұрын
9:11, I don't understand why gcd(n/d, n)=1, but it seems that we didn't use it later...
@ethannguyen2754
@ethannguyen2754 Жыл бұрын
It isn’t; he made a mistake a = 5 n = 25 d = gcd(a, n) = gcd(5, 25) = 5 n/d = 5 gcd(n/d, n) = gcd(5, 25) = 5 ≠ 1
@Happy_Abe
@Happy_Abe 3 жыл бұрын
What about showing there aren’t any other solutions besides these d solutions
@anshumanagrawal346
@anshumanagrawal346 3 жыл бұрын
I was also thinking the same thing
@iabervon
@iabervon 3 жыл бұрын
There are (n/d-1) other values for b that each have d solutions, so, of the n incongruent options for x, (n-d) of them are congruent to a value incongruent to b and aren't solutions.
@ansonpang8468
@ansonpang8468 3 жыл бұрын
Video request: Find the general form of the indefinite integral \int dx/[a+b(cot(x))] and substitute in (a,b)=(0,1) to simplify the expression down to the well known integral of tan(x).
@schrodingerbracat2927
@schrodingerbracat2927 3 жыл бұрын
In the reduced equation 13x + 21y = 4, the algo takes some time to stop, because 13 and 21 are Fibonacci numbers. Fibonacci numbers makes Euclidean types of algorithm take the longest time. . btw, my algo is a modified Euclidean algorithm where you start with 1,0 and 0,1 and run forward only. No back-substitution is necessary in this version of the Euclidean algorithm.
@lordstevenson9619
@lordstevenson9619 3 жыл бұрын
Love this series
@paulkohl9267
@paulkohl9267 3 жыл бұрын
Love all your videos! Keep on going, unless it is a good place to stop.
@BOO_BOP_
@BOO_BOP_ 11 ай бұрын
2:50 in what video did you prove it?
@Mehraj_IITKGP
@Mehraj_IITKGP Жыл бұрын
Thanks a ton! Feeling bad for your left hand. Wish you a quick recovery.
@eamon_concannon
@eamon_concannon 2 жыл бұрын
6:45 I'm not sure that you have shown that all the solutions to ax=b modn must have the form x_0 + l(n/d) for any integer l and a particular solution x_0. Let x be any solution, then x = x_0 + r for some integer r and particular solution x_0. Plugging in we get ax-b= ax_0+ar - b. Since n|ax_0 - b, we must have n|ar which means n/d | (a/d)r. Since gcd(n/d, a/d) = 1 we have n/d | r so x = x_0 + l(n/d) for some integer l. Furthermore, we can create more solutions by adding multiples of n onto x, so x_0 + l(n/d) + kn is easily shown to be a solution as x_0 + l(n/d) + kn = x_0 + (l+kd)(n/d). We can also show that this solution is congruent to x_0 + m(n/d) for some m between 0 and d-1 by using division algorithm on l to get x_0 + (qd+m+kd)(n/d) = x_0 + m(n/d) + (q+k)n = x_0 + m(n/d) (modn)
@liliepepe65
@liliepepe65 3 жыл бұрын
Fantastic video. How do you work your videos with your students?
@trueriver1950
@trueriver1950 3 жыл бұрын
Number theory 10 comes out half a day after 13. I wonder if Michael knows that the natural nos are sometimes called counting numbers? ;)
@sarvesh_soni
@sarvesh_soni 3 жыл бұрын
All videos till 20th had came, they are unlisted, you can find them on playlist
@schrodingerbracat2927
@schrodingerbracat2927 3 жыл бұрын
Given 143x = 44 (mod 231) ---------- [0] this is equivalent to 143x + 231y = 44 ---------- [1] where we look for your x (ex) but don't care so much about y (why) dividing through by 11 = gcd(143, 231) gives 13x + 21y = 4 ---------- [2] We can solve this (see my Python program output below). Note the slight differences: for [0], solutions are unique up to modulo 231. for [1], solutions are unique up to modulo lcm(143,231)=3003, whereas for [2], solutions are unique up to modulo lcm(13,21)=273 Solving 143x + 231y = 44 143 231 | 44 -------------------- 1 0 | 143 0 1 | 231 -------------------- 1 0 | 143 , q=0 -1 1 | 88 , q=1 2 -1 | 55 , q=1 -3 2 | 33 , q=1 5 -3 | 22 , q=1 10 -6 | 44 Particular solution: x=10, y=-6 General solution x=10 -21*t y=-6 + 13*t Solutions are unique up to modulo lcm(143,231)=3003 Solving 13x + 21y = 4 13 21 | 4 -------------------- 1 0 | 13 0 1 | 21 -------------------- 1 0 | 13 , q=0 -1 1 | 8 , q=1 2 -1 | 5 , q=1 -3 2 | 3 , q=1 5 -3 | 2 , q=1 10 -6 | 4 Particular solution: x=10, y=-6 General solution x=10 -21*t y=-6 + 13*t Solutions are unique up to modulo lcm(13,21)=273
@lvl5popcap
@lvl5popcap 6 ай бұрын
I'm getting 10+21m for the second example, like a couple of other comments have pointed out too, instead of 199+21m
@infopek3221
@infopek3221 3 жыл бұрын
The homework made me realize that the gcd(F_n, F_(n+1)) = 1, where F_n is the n-th Fibonacci number.
@L0wLevel01
@L0wLevel01 3 жыл бұрын
Cheers
@madihachaklader2378
@madihachaklader2378 Жыл бұрын
10:46 idk how gcd of (12,20) is 4. Can someone explain please… even if I do like 20= 12*2 - 4… so should I just think 4 as positive?
@particleonazock2246
@particleonazock2246 3 жыл бұрын
thanks from the zhushikou flyover in beijing
@abdallahal-dalleh6453
@abdallahal-dalleh6453 2 жыл бұрын
In the first example 12x = 8 (mod 20), 24, 29, 34, etc. are all solutions. In other words, doesn't continuously adding 5 gives us a solution? Why the limitation for the # solutions to be
@thomasdemilio6164
@thomasdemilio6164 Жыл бұрын
It's because having just one more solution would mean that one of the solutions that we already have is congruent to the new one IN THE MODULO WE'RE IN. For example, for 12x=8(mod20) we have gcd(20,12)=4 distinct solutions IN MODULO 20. In fact, 4 is congruent to 24 mod 20, 9 is congruent to 29 or -11 mod 20... so you can really choose your soultions, as long as they're distinct in that modulo, and your set of solutions could be {4, 9, 14, 19}, but also {24, -11, 54, -1}
@thomasdemilio6164
@thomasdemilio6164 Жыл бұрын
Typically they tell you which solutions to take, for example in competitions you could get "the number wanted is the sum of the first 5 positive solutions" or "the first 10 negative incongruent solutions (among a set of 12 for ex)"
@johnriverz
@johnriverz 11 ай бұрын
I thought it was n divides a-b?
@liliepepe65
@liliepepe65 3 жыл бұрын
Ps .Iam professor my name is Marcos. Lili and pepe are my sons...lol
@skwbusaidi
@skwbusaidi 3 жыл бұрын
143x = 44 (mod 231) Devide by the gcd(143,231)= 11 13x = 4 ( mod 21) Check a mutiple of 21 that you can add to 4 to make the total multiple of 13 ( it is 126) 13x = 130 (mod 21) x = 10 (mod 21) x = 10 + 21k
@2070user
@2070user 3 жыл бұрын
False. You should check your answer by substituting the solution back into the original congruence. Take x=10+21(0), k=0 143(10) is not congruent to 44 mod 231 Take x=10+21(1), k=1 143(31) is also not congruent to 44 mod 231 But that was a good try nonetheless
@skwbusaidi
@skwbusaidi 3 жыл бұрын
Letting k=6 give you 199 which Mr Penn get first.
@Karatemaci
@Karatemaci 3 жыл бұрын
143*10=6*231+44 is true so skw is right. The other 10 solutions are also correct mod 231.
@nickw-dt7jz
@nickw-dt7jz 3 жыл бұрын
Can you post some videos for 2-D plane geometry problem?
@anshumanagrawal346
@anshumanagrawal346 3 жыл бұрын
He does have some videos from 2-D Co-ordinate Geometry on his channel
@marc-andredesrosiers523
@marc-andredesrosiers523 3 жыл бұрын
Great video. Like the proofs. Would have been nice to provide intuition with an integer lattice torus with the drawn lines. Especially, if it is to become a stand-alone video. Keep it up.
@nhatminhcnhhn
@nhatminhcnhhn 2 жыл бұрын
Nice
@qdrtytre
@qdrtytre 2 жыл бұрын
Do the examples before the proof.
@cameronspalding9792
@cameronspalding9792 3 жыл бұрын
The theorem at the start of the video could be proven using powers of complex numbers
@trueriver1950
@trueriver1950 3 жыл бұрын
Yes and no. If following the order that number theory builds up from its axioms, at this stage we don't have complex numbers so it would introduce a circular dependency to use that "proof", which therefore becomes more of a consistency check between different parts of number theory
@schweinmachtbree1013
@schweinmachtbree1013 2 жыл бұрын
@@trueriver1950 You don't need any number theory to define the complex numbers so there is no circular reasoning. The complex numbers can be defined simply as pairs (a, b) (written a+bi) which add componentwise as (a, b)+(c, d) := (a+c, b+d) and multiply as (a, b)(c, d) = (ac-bd, ad+bc), from which one can easily verify the field axioms, although it is a bit tedious. more abstractly the complex numbers can be defined as the quotient ring R[x]/ which is automatically a field because is a maximal ideal of R[x] (because x^2+1 has no roots in R so is a nonzero prime ideal, and every non-zero prime ideal in R[x] is maximal as R[x] is a principal ideal domain since R is a field)
Chinese Remainder Theorem -- Number Theory 11
26:59
Michael Penn
Рет қаралды 43 М.
The strange cousin of the complex numbers -- the dual numbers.
19:14
Euler's Theorem -- Number Theory 12
23:53
Michael Penn
Рет қаралды 23 М.
Can you guess the trick for this problem from the thumbnail?
19:29
Michael Penn
Рет қаралды 18 М.
Programming with Math | The Lambda Calculus
21:48
Eyesomorphic
Рет қаралды 254 М.
Something Strange Happens When You Keep Squaring
33:06
Veritasium
Рет қаралды 8 МЛН
Decimal Representations -- Number Theory 21
28:12
Michael Penn
Рет қаралды 9 М.
Can you crack this beautiful equation? - University exam question
18:39
Congruences & Modular Arithmetic ← Number Theory
12:26
Socratica
Рет қаралды 20 М.
Proofs and Conjectures involving primes -- Number Theory 7
26:15
Michael Penn
Рет қаралды 25 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Modular Arithmetic -- Number Theory 8
26:29
Michael Penn
Рет қаралды 33 М.