ok polpak i got a question for you how to solve x^2=6x mod 8
we can't do this x^2-6x-8n=0 for n integer why?
ho ho ho. guess what you have to do?!
i tried and the answer failed
because 8 is composite. i will be quiet now
you don't have to be satellite he was just showing me how to do one last night
you got satellite all excited ;)
you have to.... COMPLETE THE SQUARE, your favorite. that is why i got excited. because this is myininayas favorite job
lol
so thats why learning to complete the square over doing -b/2a is more important lol
satelitte , how about middle of two roots? lol
x^2-6x=0 mod 8 (x-3)^2=9 mod 8 (x-3)^2=1 mod 8
really that is what you will do \[x^2-6x\equiv 0 (mod 8)\]
there that took a while to find /equiv
\[(x-3)^2+9\equiv 1(mod 8)\]
\[\equiv \] :)
adding nine twice on one side?
added nine to both sides
\[x^2-6x\equiv 0 (8)\] \[x^2-6x+9\equiv 9 (8)\] \[x^2-6x+9\equiv 1(8)\]
so \[(x-3)^2\equiv 1 (8)\]
which means you have several choices for \[x-3\] since any square is congruent to 1 mod 8 i believe
well, that is provided it is odd.
in any case you can just check now because you have only 7 numbers to check, but since x - 3 is odd it means x is even so you have a few choices
you are good from here right? i love that you asked a question that required completing the square. made my day in fact!
lol
@polpak sorry if i butted in but i couldn't help myself
ok thanks satellite :) for showing me how
i can do the rest x=2,4,6,8
I think 0 is a solution
yep
it is
do all even numbers work?
Actually I may be interpreting this differently.. Lemme see here..
i think they do
Was the question \(x^2 = (6x\ mod\ 8)\) or was it \(x^2 \equiv 6x (mod8)\)
i believe lagrange meant the second one
0 is a solution be because we really do not say 8 mod 8
ok
then satellite's interpretation is the right one.
if you are working mod 8 you are working with the numbers 0,1,2,3,4,5,6,7 or at least with their equivalence classes, depending on how pedantic you want to be
I like to be very pedantic ;p
ok then you are working with \[\bar{0},\bar{1},\bar{2},\bar{3}...\]
\[(2n-3)^2 \equiv 1 \mod 8=> 4n^2-2n(2)(3)+9-1=8k\] \[=> 4n^2-12n+8 = 8k\] \[=>4(n^2-3n+2) = 8k ?\] k is integer by the way if we can show n^2-3n+2 is even then the answer is any even number
n^2-3n+2=(n-1)(n-2) lets try induction for n=1 it is even for n=2 it is even for n=3 it is even ok now let's assume it is even for some integer k=> so we have for (k-1)(k-2)=2j (j is an integer) now we need to show it is even for k+1 (k+1-1)(k+1-2) =(k-1+1)(k-2+1) =(k-1)(k-2)+(k-1)1+(k-2)1 =2j + k-1+k-2 =2j+2k-3 =2(j+k)-3 but that means for k+1 it is odd so maybe not every even number
what are you trying to show? i am lost
that even even number is a solution to the congruence equation
every even*
i wanted to show n^2-3n+2 is even for any number if i could haven shown that then i could haven shown any even number is a solution to x^2=6x mod 8
but my proof by induction failed so n^2-3n+2 is not even even for any number and therefore x^2=6x mod8 does not have solution x=2m for m is integer
it only works for some even integers
not all
what hold on. you want to show \[n^2-3n+2\] is even if n is even?
no i wanted to show n^2-3n+2 is even for any number
oh if n is any number, not any even number
ok got it. forget the 2
if n^2-3n+2 is even for any number, then we could haven shown any even number is a solution to x^2=6x mod 8
you are working too hard i think
you can clearly ignore the 2 so you want to show that \[n^2-3n\] is even but \[n^2-3n=n(n-3)\] so if n is even you are done, and in n is odd then n-3 is even so you are done
Number of solutions of P(x) = 0 (mod n) is number of integers b where P(b) = 0 (mod n) and b is a residue modulo n.
\[(2n-3)^2 \equiv 1 \mod 8=> 4n^2-2n(2)(3)+9-1=8k \] \[=> 4n^2-12n+8 = 8k \] \[=>4(n^2-3n+2) = 8k ? \] this was what i working off
anyway we already showed that \[n^2\equiv 6n (8)\] if n = 0, 2, 4, 6
or maybe you were unhappy with the 'complete the square" solution and you are looking for another one
no i wanted to find all the answers
a general solution
what do you mean by "all" you are working modulo 8 so there are 8 equivalence classes
general solution is n = 0, 2, 4, 6, mod 8
ok lol
which is another way of saying n is even
it doesn't work for all even numbers though i proved that it didn't
name one
i did a proof by induction that failed why do i have to name one
because just because your proof failed doesn't mean it is not true. it means your proof was wrong. if you want to show it is false you don't show it is false by saying my proof didn't work. you show it is false by exhibiting a counter example.
i mean if i cannot prove fermat's last theorem, it doesn't mean it is wrong!
ok let me scroll up and look at what i did again
btw these things are almost never proved by induction
if the the answer is all even numbers then my proof should i have worked
i see nothing wrong with my approach
i like that argument. it is not a valid one, but i like it.
i will prove now that any odd number is congruent to 1 modulo 8
no i'm just saying not all even numbers are solution to x^2=x mod 8
but there are a lot of even even numbers that are
as we seen by pluggin in
\[1^2=1=\equiv 1(8)\] \[3^2=9\equiv 1(8)\] \[5^2=25\equiv 1(8)\] \[7^2=49\equiv 1(8)\]that is my proof
i thought it was \[n^2\equiv 6n (8)\]
it is i forgot the 6
my bad
ok so what did we do? rewrite as \[(n-3)^2\equiv 1(8)\] and solve this
which is the same thing as saying \[z^2\equiv 1(8)\] with n - 3 replaced by z
we see from my list above that this means z = 1, 3, 5, 7
which mean n =0, 2, 4, 6
dont forget you are working mod 8, so your universe is {0,1,2,3,4,5,6,7}
congruent mod 8 is an equivalence relation, so you are working with equivalence classes.
like cosets. you have for example \[71 \in \bar{7}\]
ok satellite give me another equation and let me see if i can solve it
off the top of my head? ok
\[x^2\equiv 2x (11)\]
maybe there is no solution, i don't know.
ok
oh there are two, but easy ones. let me try again
Join our real-time social learning platform and learn together with your friends!