Math Is Fun Forum

  Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫ • π ƒ -¹ ² ³ °

You are not logged in.

#1 2007-02-28 01:34:16

freddogtgj
Member
Registered: 2006-12-02
Posts: 54

help needed

Find all solutions of the equation x^2 = 2 (a) in Z17; (b) in Z19.

Any ideas?

Offline

#2 2007-02-28 03:16:50

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: help needed

Is there a technique you should be using?  These numbers are small enough to check by hand, so simple trial an error is possible.  But there is probably a theorem somewhere that will help you out.  Problem is so many number theory theorems are fairly obscure, it's hard to keep track of them.


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#3 2007-02-28 07:01:45

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: help needed

Do they mean 1.414213 and -1.414213i, where i is

  ?

What is Z19, and Z17  ?

Woops, -1.414213i squared is (-1.414213)^2 times i^2, which goes negative, so that's wrong.

How about just negative 1.414213 ?  That would work, as well as positive 1.414213 .

Last edited by John E. Franklin (2007-02-28 07:03:50)


igloo myrtilles fourmis

Offline

#4 2007-02-28 07:55:53

Sekky
Member
Registered: 2007-01-12
Posts: 181

Re: help needed

For Z17 : 6^2 = 2

For Z19: 18^2 = 2

That was by inspection, but I'm not sure how to do it otherwise.

Edit: Z17 has a second solution: 11^2 = 2

Last edited by Sekky (2007-02-28 07:58:31)

Offline

#5 2007-02-28 09:14:04

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: help needed

Umm, 18[sup]2[/sup] is 1 in

, I make it.

Note that if x=n is a solution to x[sup]2[/sup] = 2 in

, x=n+17k will also be a solution for any integer k. Since x=6 and x=11 have been found to be solutions, the solution set is therefore
.

Similarly for

.

EDIT: Wait. I don’t think there’s a solution at all in

. Is there? eek

Last edited by JaneFairfax (2007-02-28 09:32:52)

Offline

#6 2007-02-28 10:56:48

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: help needed

What is Z19, and Z17  ?

Pronounced, "Integers modulo n", it is the quotient group formed by modding out multiples of n from the integers.  But I'm sure that didn't make sense, so here is a more thorough explanation.

We consider two integers equivalent when their remainder when divided by n is the same.  If we take n = 19, then we see that 1 is equivalent to 20, as 1/19 has a remainder of 1, and 20/19 has a remainder of 1.  In fact, any number greater than 18 is equivalent to some number from 0 to 18

So x^2 = 2 (mod 19), pronounced, "x squared equivalent to 2 mod 19", means that if I take a number, square it, then it has a remainder of 2 after being divided by 19.  For example, if we take x is 10, x^2 = 100, 100/19 has a remainder of 5, which of course is not equivalent to 2.  So 10 is not a solution.  As I said before, all the integers are equivalent to some number from 0 to 18, so these are the only numbers we must check.

Edit: Z17 has a second solution: 11^2 = 2

And as polynomials of degree two have at most 2 solutions when modded out by a prime, those are all the solutions.

Note that if x=n is a solution to x2 = 2 in Z17, x=n+17k will also be a solution for any integer k. Since x=6 and x=11 have been found to be solutions, the solution set is therefore...

Technically, yes.  However, since we are in mod 17, we consider any solution that is equivalent to an already known solution to be like repeating yourself.  So you don't really have to say the set, you can just say the two numbers and the rest are implied.

You aren't saying anything wrong, just unnecessary.


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#7 2007-02-28 11:02:16

Ricky
Moderator
Registered: 2005-12-04
Posts: 3,791

Re: help needed

There is no solution in Z19, Z17 has two solutions of 6 and 11.

Mathematica code for it:

Do[Print[x, ": ", PowerMod[x, 2, 19]], {x, 1, 19}]


"In the real world, this would be a problem.  But in mathematics, we can just define a place where this problem doesn't exist.  So we'll go ahead and do that now..."

Offline

#8 2007-02-28 12:17:15

Sekky
Member
Registered: 2007-01-12
Posts: 181

Re: help needed

Whoops, yeah Z19 has no solutions.

Offline

#9 2007-02-28 13:27:44

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: help needed

Ricky wrote:
JaneFairfax wrote:

Note that if x=n is a solution to x2 = 2 in Z17, x=n+17k will also be a solution for any integer k. Since x=6 and x=11 have been found to be solutions, the solution set is therefore...

Technically, yes.  However, since we are in mod 17, we consider any solution that is equivalent to an already known solution to be like repeating yourself.  So you don't really have to say the set, you can just say the two numbers and the rest are implied.

You aren't saying anything wrong, just unnecessary.

Yeah, I was working on x[sup]2[/sup] rather than x being in

. Duh. roll

Offline

#10 2007-02-28 15:05:43

John E. Franklin
Member
Registered: 2005-08-29
Posts: 3,588

Re: help needed

What about 13^2 is -2 from 171 (9x19) ??  Is that backwards, -2 vs.  +2 ?


So 13^2 is 17 in Z19??, sort of like a negative 2 in Z19, probably not allowed to say -2, since it goes 0 to 18 for Z19, huh?

Last edited by John E. Franklin (2007-02-28 15:10:41)


igloo myrtilles fourmis

Offline

#11 2007-02-28 15:22:40

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: help needed

No, +2 (mod 19) and −2 (mod 19) are different. In fact, −2 ≡ 17 (mod 19), so 13[sup]2[/sup] is 17 in

.

Offline

#12 2007-03-07 16:12:04

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: help needed

Bump.

So x[sup]2[/sup]=2 has no solution in the integers modulo 19. In other words, 2 is not a quadratic residue modulo 19, and we express this by saying

The Legendre symbol

is defined for integer a and odd prime p as follows.


It can actually be proved that

which, for p=19, gives −1.

If we had known this before, we could have saved ourselves a lot of unnecessary work. faint

Last edited by JaneFairfax (2007-03-07 16:50:07)

Offline

#13 2007-03-07 16:22:59

Stanley_Marsh
Member
Registered: 2006-12-13
Posts: 345

Re: help needed

In Z17, 5^2>17 , therefore the solutions exist only above or equal to 5. Let X be the solution ,

solve this one .Oh...I forgot how to solve this equation....I am sure it can be solved.

Last edited by Stanley_Marsh (2007-03-07 16:26:08)


Numbers are the essence of the Universe

Offline

#14 2007-03-07 20:25:29

lightning
Real Member
Registered: 2007-02-26
Posts: 2,060

Re: help needed

???? faint ????
jeez you guys are smart!


Zappzter - New IM app! Unsure of which room to join? "ZNU" is made to help new users. c:

Offline

#15 2007-03-07 23:23:38

freddogtgj
Member
Registered: 2006-12-02
Posts: 54

Re: help needed

There is no solution in Z19, Z17 has two solutions of 6 and 11.


Yea Ricky was right!

Offline

#16 2007-03-07 23:59:42

Toast
Real Member
Registered: 2006-10-08
Posts: 1,321

Re: help needed

lightning wrote:

???? faint ????
jeez you guys are smart!

qft... Also Jane must make a realllly good maths teacher...

Offline

#17 2007-03-08 05:32:41

lightning
Real Member
Registered: 2007-02-26
Posts: 2,060

Re: help needed

how is jane a maths teacher???


Zappzter - New IM app! Unsure of which room to join? "ZNU" is made to help new users. c:

Offline

#18 2007-03-08 05:33:42

lightning
Real Member
Registered: 2007-02-26
Posts: 2,060

Re: help needed

who's jane


Zappzter - New IM app! Unsure of which room to join? "ZNU" is made to help new users. c:

Offline

#19 2007-03-08 10:42:46

Stanley_Marsh
Member
Registered: 2006-12-13
Posts: 345

Re: help needed

Stanley_Marsh wrote:

In Z17, 5^2>17 , therefore the solutions exist only above or equal to 5. Let X be the solution ,

solve this one .Oh...I forgot how to solve this equation....I am sure it can be solved.

I find some information about it but I am not sure how to operate.
As I stated above , all you have to do is to solve

is equivalent to finding a value y such that 


Pick a few small moduli m ,If  y mod m does not make 2+17y a quadratic residue of m ,then this value of y may be excluded,Furthermore, values of  y> 17/4 are never necessary.

This method is called Excludent ,by the way.

Last edited by Stanley_Marsh (2007-03-08 10:43:35)


Numbers are the essence of the Universe

Offline

#20 2009-06-16 22:30:57

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Re: help needed

[align=center]

[/align]



Offline

#21 2009-06-17 00:00:10

JaneFairfax
Member
Registered: 2007-02-23
Posts: 6,868

Offline

#22 2009-06-17 10:31:19

Avon
Member
Registered: 2007-06-28
Posts: 80

Re: help needed

Jane: Using
as a substitute for
is just awful.

Offline

Board footer

Powered by FluxBB