![]() |
|
|
#45 | |
|
Nov 2003
22×5×373 Posts |
Quote:
as currently taking calculus. But he hasn't even mastered simple stuff from high school algebra: i.e. polynomials and polynomial algebra. He should know what the degree of a polynomial is! Where does one get the phrase "polynomial style"???? Does he know the difference between 'reducible' and 'irreducible'? Does he know what the product form of a polynomial is? Does he know that the constant term is the product of the roots? etc. etc. etc. Basic high school pre-calculus stuff. How will such a person understand what the norm (of an element) is, without knowing what conjugate roots of a polynomial are? The explanation that the norm is the product of all of the conjugates will be a total mystery. I mean no offense to the OP. |
|
|
|
|
|
|
#46 | |
|
May 2008
3·5·73 Posts |
Quote:
f(x) = a_d*x^d + a_{d-1}*x^{d-1} + ... + a_0 g(x) = p*x - m then the sum a_d*m^d + a_{d-1}*p*m^{d-1} + ... + a_0*p^d must be a multiple of N. In fact, with the algorithm used by msieve, the above sum is exactly equal to N. I've tried to find a lay-man's explanation for the polynomial selection algorithm used, and this is what I have found: As Jason pointed out, if we make a polynomial by letting p=1 and picking an m near (but larger than) the real root (N/a_d)^(1/d), then we expect a_{d-2} through a_0 to be on the order of m, and a_{d-1} will be on the order of d*a_d*(m - real root). But we also desire (at least) to make a_{d-2} small. We could just pick a bunch of different a_d,m pairs until we find a poly with small a_{d-2} by chance. But Kleinjung's algorithm is much more efficient, and here's what it does: - choose a_d - translate N and m, hereafter named N~ and m~ respectively, so that the translated a_d=1 and a_{d-1}=0 - find a suitably small p such that (p, N~) is 1 and that there exists an integer root m~ of N~ modulo p^2 which is suitably near to the real root of N~ - translate the produced polynomials back to the original values of a_d and a_{d-1} Finding p in the third step is the computationally difficult part, and there's more than one way to do it. Generally, we need to generate many different small factors of p (and their roots) and quickly combine them to determine when the third step is satisfied. Last fiddled with by jrk on 2011-11-16 at 07:18 Reason: correction |
|
|
|
|
|
|
#47 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
American secondary education treats integers and polynomials as mutually incompatible things, one has all these x's and the other is...just a number. The fact that integer arithmetic and polynomial arithmetic are very similar, and that you can derive one from the other, is never made clear unless you step back from the rote learning ('this is how you divide polynomials') and recognize the patterns on your own ('hey, this looks like integer division!')
|
|
|
|
|
|
#48 | |
|
Jun 2005
lehigh.edu
20008 Posts |
Quote:
coef) and you've got our undergrad algebra --- and/or intro cryto. Let's not encourage too much of this "discovering patterns on your own" stuff! -Bruce Last fiddled with by bdodson on 2011-11-16 at 13:09 Reason: !! |
|
|
|
|
|
|
#49 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
|
|
|
|
|
|
|
#50 |
|
Dec 2008
179 Posts |
But it's not necessary to know about conjugates to define or understand the norm. Suppose we have a polynomial f(x) of degree d. Every equivalence class of polynomials modulo f(x) has a unique polynomial of degree < d, so take its coefficients to form a vector of length d. Consideration of multiplication of polynomials modulo f(x) leads to the conclusion that each of these vectors is actually a column of a d*d matrix which is completely determined by the vector. Define the norm of a polynomial as the determinant of the corresponding matrix; since the determinant of a matrix product is the product of determinants of the matrices, it follows that the norm of a product of polynomials is the product of the norms of the polynomials. Finally, deduce from the matrix representation that the norm of ax-b is a^d*f(b/a), and you know just about everything about the norm that is relevant to NFS.
|
|
|
|
|
|
#51 | |
|
Nov 2003
22×5×373 Posts |
Quote:
norm is???? This explanation involves concepts from linear algebra (determinants) and concepts from modern algebra (equivalence classes) which are not encountered until well into undergraduate math studies. OTOH, the concept of conjugates is something that is taught in high school during the study of polynomial algebra, and the definition of norm as the product of the conjugates is (at least to me) conceptually simpler. And someone who does not understand conjugates is very likely not going to understand determinants and equivalence classes of polynomials. And I find it much easier to show that norm(a + b alpha) = (-b)^d f(-a/b) simply by writing the polynomial in product form, applying the definition of norm as the product of conjugates, then just factoring out b^d... i.e. f(x) = (x - r1)(x - r2)......(x-rn) Now, (-b)^d f(-a/b) = (-b)^d (-a/b - r1)(-a/b - r2) ...... (-a/b - rn) Multiply through by b^d via multiplying each individual linear polynomial by b, and lo and behold! You get the norm of the element (a + b alpha) from its definition as the product of its conjugates. Opinions? |
|
|
|
|
|
|
#52 | |
|
Sep 2009
2×1,039 Posts |
Quote:
Chris K |
|
|
|
|
|
|
#53 |
|
Oct 2007
2×53 Posts |
You can find the CWEB-generated documentation in GGNFS's sources:
http://ggnfs.svn.sourceforge.net/vie...f?revision=409 |
|
|
|
|
|
#54 | |
|
Bamboozled!
"πΊππ·π·π"
May 2003
Down not across
10,753 Posts |
Quote:
Bruce's description is clever but, personally, I find it harder to understand. |
|
|
|
|
|
|
#55 |
|
Dec 2008
179 Posts |
I didn't claim it's simpler, just possible; that's how I figured out what norms are when I was trying to understand NFS. I'm not saying that you should explain norms that way, but it is an alternative point of view which may help other people to grasp the concept.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Some noob questions about differential equation ? | awholenumber | Math | 7 | 2017-06-18 07:25 |
| 2 Noob questions | FlightTribe | Information & Answers | 13 | 2012-11-28 19:57 |
| GPU Noob-Experiences/Questions | kladner | GPU Computing | 127 | 2011-11-04 10:57 |
| Noob C question | nuggetprime | Programming | 6 | 2008-08-23 11:09 |
| Noob question | xago666 | Information & Answers | 3 | 2008-03-11 01:35 |