Jump to content

Wikipedia:Reference desk/Mathematics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Merge (talk | contribs)
m σ-algebra redux: minor notation
Scsbot (talk | contribs)
edited by robot: adding date header(s)
 
Line 1: Line 1:
[[Category:Non-talk pages that are automatically signed]]{{Wikipedia:Reference desk/header}}
<noinclude>{{Wikipedia:Reference desk/header|WP:RD/MA}}
[[Category:Non-talk pages that are automatically signed]]
[[Category:Pages automatically checked for incorrect links]]
[[Category:Wikipedia resources for researchers]]
[[Category:Wikipedia help forums]]
[[Category:Wikipedia reference desk|Mathematics]]
[[Category:Wikipedia help pages with dated sections]]</noinclude>


{{Wikipedia:Reference_desk/Archives/Mathematics/2008 February 15}}


= December 4 =
{{Wikipedia:Reference_desk/Archives/Mathematics/2008 February 16}}


== How much is this ==
{{Wikipedia:Reference_desk/Archives/Mathematics/2008 February 17}}


: <math>\sum_{k=0}^{n} (-1)^k</math>
= February 18 =
[[Special:Contributions/37.162.46.235|37.162.46.235]] ([[User talk:37.162.46.235|talk]]) 11:00, 4 December 2024 (UTC)
::1 for ''n'' even, 0 for ''n'' odd. For <math>n \to \infty</math> see [[Grandi's series]]. --[[User:Wrongfilter|Wrongfilter]] ([[User talk:Wrongfilter|talk]]) 11:18, 4 December 2024 (UTC)
:I hope this is not homework. Note that (for finite <math>n</math>) this is a [[Geometric series|finite geometric series]]. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 21:51, 4 December 2024 (UTC)


== Cubic function ==


= December 6 =
If you go [http://www.hostsrv.com/webmab/app1/MSP/quickmath/02/pageGenerate?site=quickmath&s1=equations&s2=solve&s3=basic here] and enter as the equation ax<sup>3</sup> + bx<sup>2</sup> + cx + d = 0 and tell it to solve for x, you get a long expression as the solution. Can someone show algebraically how you can solve ax<sup>3</sup> + bx<sup>2</sup> + cx + d = 0 for x? Or link to a page that does? Thanks. [[Special:Contributions/70.162.25.53|70.162.25.53]] ([[User talk:70.162.25.53|talk]]) 03:39, 18 February 2008 (UTC)
: See [[cubic function]], specifically the Cardano's method section. Be warned, it's not ''quite'' as nice as the quadratic formula... [[Special:Contributions/134.173.92.17|134.173.92.17]] ([[User talk:134.173.92.17|talk]]) <small>—Preceding [[Wikipedia:Signatures|comment]] was added at 03:59, 18 February 2008 (UTC)</small><!--Template:Undated--> <!--Autosigned by SineBot-->


== Is there anything that would prevent peforming Weil Descent on binary curves of large characteristics ? ==
:(ec) The Wikipedia article on [[cubic function]]s may be of your interest, or at least [[Cubic function#Root-finding formula|this subsection]] of it. Outside Wikipedia, [http://mathworld.wolfram.com/CubicFormula.html this page] from MathWorld is another interesting choice. [[User:Pallida_Mors_76|<span style="background:#000;border:#c3c0bf;color: #fff;border:1px solid #999">Pallida&nbsp;</span>]][[User talk:Pallida_Mors_76|<span style="background:#fff;border:#c3c0bf;color:#000;border:1px solid #999">&nbsp;Mors</span>]] 04:06, 18 February 2008 (UTC)
::::I intended a reference to the subsection ''Root finding'' in that article, but the link doesn't seem to work fine. Nevermind. [[User:Pallida_Mors_76|<span style="background:#000;border:#c3c0bf;color: #fff;border:1px solid #999">Pallida&nbsp;</span>]][[User talk:Pallida_Mors_76|<span style="background:#fff;border:#c3c0bf;color:#000;border:1px solid #999">&nbsp;Mors</span>]] 04:19, 18 February 2008 (UTC)


The ghs attack involve creating an hyperlliptic curve cover for a given binary curve. The reason the attack fails most of the time is the resulting genus grows exponentially relative to the curve’s degree.
== Logic ==


We don’t hear about the attack on finite fields of large characteristics since such curves are already secure by being prime. '''However, I notice a few protocol relies on the discrete logarithm security on curves with 400/500 bits modulus resulting from extension fields of characteristics that are 200/245bits long'''.
Does anyone know where I can find a whole bunch of "[[Knights and Knaves]]" problems, with answer/explanations/solutions? Thanks. ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 07:51, 18 February 2008 (UTC))


Since the degree is most of the time equal to 3 or 2, is there anything that would prevent creating suitable hyperelliptic cover for such curves in practice ? [[Special:Contributions/2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08|2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08]] ([[User talk:2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08|talk]]) 12:09, 6 December 2024 (UTC)
: Here's [http://www.mathpuzzle.com/philosTF.html a bunch of problems with a twist]. These problems explore the consequences of adding a third type of person, the philosophers. For more traditional questions, a [http://www.google.com/search?q=knights+and+knaves Google search] turns up a few pages. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 12:40, 18 February 2008 (UTC)


= December 7 =
: Also, check out the books of [[Raymond Smullyan]]. He has tons of logic puzzles that all can enjoy. &ndash;'''''[[User:King Bee|King Bee]]'''''&nbsp;<sup>([[User talk:King Bee|&tau;]] • [[Special:Contributions/King Bee|&gamma;]])</sup> 13:48, 18 February 2008 (UTC)


== Mathematical operation navigation templates ==
: I especially recommend "Alice in Puzzleland" by [[Raymond Smullyan]]. [[Special:Contributions/129.67.157.6|129.67.157.6]] ([[User talk:129.67.157.6|talk]]) <small>—Preceding [[Wikipedia:Signatures|comment]] was added at 15:15, 18 February 2008 (UTC)</small><!--Template:Undated--> <!--Autosigned by SineBot-->


{{hat|collapse=no|reason=RDBury is right, this discussion belongs at [[Wikipedia talk:WikiProject Mathematics#Navigation templates for mathematical operations|Wikipedia talk:WikiProject Mathematics]]}}
Hi. Thanks to all for the input. I guess I should have made my question a little clearer. So, let me re-phrase it. I am looking for Knights and Knaves problems ... that are accompanied by answers / solutions / explanations. Right now, I only want Knight/Knave questions ... and not just logic puzzles in general. Also, I am only looking for the "simple" type (knights and knaves only), where they do not introduce third-parties (spies, randoms, philosophers, etc.) into the equation. Also, I'd like to find this on the Internet --- as I don't have too much time to go out, order a book, wait for its delivery, etc. At some later point, I will probably go out and get some Smullyan books ... but right now, I don't have that time / luxury. Any suggestions? Any good websites out there? I can't seem to find any, with my searches. Many thanks! ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 16:33, 18 February 2008 (UTC))
If anyone with some mathematical expertise is interested, I'd appreciate some additional input at [[Talk:Exponentiation#funny table at end]]. The question is whether our articles on various mathematical operations could use a [[Wikipedia:Navigation template|navigational template]] (aka "{{tl|Navbox}}"). Our [[Exponentiation]] article tried to use {{tl|Mathematical expressions}} for this purpose, but it doesn't really work. I've created {{tl|Mathematical operations}} as a potential alternative, but the categorization and presentation I've created is probably na&iuml;ve. (The whole effort may or not be worth it at all.) —[[User:scs|scs]] ([[User talk:scs|talk]]) 00:36, 7 December 2024 (UTC)
:[[Wikipedia talk:WikiProject Mathematics]] is a better forum for this kind of thing, since it's focused on Wikipedia's mathematical articles. --[[User:RDBury|RDBury]] ([[User talk:RDBury|talk]]) 04:07, 7 December 2024 (UTC)
:: {{Re|RDBury}} Excellent point. Thanks. —[[User:scs|scs]] ([[User talk:scs|talk]]) 13:49, 7 December 2024 (UTC)
{{hab}}


= December 8 =
:The Wikipedia article on [[Knights and Knaves]] has a few problems with explanations and solutions. There are some pages with individual knights-and-knaves problems (from one site, [http://en.allexperts.com/q/Puzzle-Solving-1841/Knight-Knave-problem.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knights-knaves-4.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knights-knaves-3.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/Knights-Knaves.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knights-knaves-2.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knaves-knights.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knights-knaves-1.htm], [http://en.allexperts.com/q/Puzzle-Solving-1841/knights-knaves.htm]). —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 17:46, 18 February 2008 (UTC)


== For each positive integer <math>n</math>, which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{n}}]</math>? ==
:Smullyan's book entitled "What is the name of this book?" has a lot of Knights/Knaves puzzles complete with solutions. His books should be available at your local library, so you needn't purchase a thing. &ndash;'''''[[User:King Bee|King Bee]]'''''&nbsp;<sup>([[User talk:King Bee|&tau;]] • [[Special:Contributions/King Bee|&gamma;]])</sup> 19:21, 18 February 2008 (UTC)


For each positive integer <math>n</math>, which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{n}}]</math>? When <math>n=1</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the original integer ring, when <math>n=2</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the ring of [[Gaussian integer]]s, when <math>n=3</math>, <math>Z[e^{\frac{\pi i}{n}}]</math> is the ring of [[Eisenstein integer]]s, and the primes in the [[Gaussian integer]]s are the primes <math>p \equiv 3 \mod 4</math>, and the primes in the [[Eisenstein integer]]s are the primes <math>p \equiv 2 \mod 3</math>, but how about larger <math>n</math>? [[Special:Contributions/218.187.66.163|218.187.66.163]] ([[User talk:218.187.66.163|talk]]) 04:50, 8 December 2024 (UTC)
== help with aproof ==


:A minuscule contribution: for <math>n=4,</math> the natural Gaussian primes <math>3</math> and <math>7</math> are composite:
i need help with how to prove that a number (a) is a zero divisor mod (n) iff gcd(a,n)>1?thank you[[User:Husseinshimaljasimdini|Husseinshimaljasimdini]] ([[User talk:Husseinshimaljasimdini|talk]]) 10:52, 18 February 2008 (UTC)
:*<math>3=(1-\omega-\omega^2)(1+\omega^2+\omega^3).</math>
:*<math>7=(2-\omega+2\omega^2)(2-2\omega^2-\omega^3).</math>
:So <math>11</math> is the least remaining candidate. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:00, 8 December 2024 (UTC)
::It is actually easy to see that <math>7</math> is composite, since <math>2</math> is a perfect square:
:::<math>2=i(1-i)^2=\omega^2(1-\omega^2)^2.</math>
::Hence, writing <math>\sqrt2</math> by abuse of notation for <math>\omega(1-\omega^2),</math> we have:
:::<math>\begin{alignat}{2}7&=(3+\sqrt2)(3-\sqrt2)\\&=(2\sqrt2+1)(2\sqrt2-1)\\&=(5+3\sqrt2)(5-3\sqrt2)\\&=(4\sqrt2+5)(4\sqrt2-5).\end{alignat}</math>
::More in general, any natural number that can be written in the form <math>|2a^2-b^2|,a,b\in\mathbb N,</math> is not prime in <math>\mathbb Z[e^{\pi i/4}].</math> This also rules out the Gaussian primes <math>23,</math> <math>31,</math> <math>47,</math> <math>71</math> and <math>79.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 11:50, 8 December 2024 (UTC)
:::So which primes <math>p</math> are still primes in the ring <math>Z[e^{\frac{\pi i}{4}}]</math>? How about <math>Z[e^{\frac{\pi i}{5}}]</math> and <math>Z[e^{\frac{\pi i}{6}}]</math>? [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 06:32, 9 December 2024 (UTC)
::::As I wrote, this is only a minuscule contribution. We do not do research on command; in fact, we are actually not supposed to do any original research here. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:23, 9 December 2024 (UTC)
::Moreover, <math>-2</math> is also a perfect square. (As in the Gaussian integers, the additive inverse of a square is again a square.) So natural numbers of the form <math>2a^2+b^2</math> are also composite. This further rules out <math>11,</math> <math>19,</math> <math>43,</math> <math>59,</math> <math>67</math> and <math>83.</math> A direct proof that, e.g., <math>11</math> is composite: <math>11=(1+\omega^2+3\omega^3)(1-3\omega-\omega^2).</math> There are no remaining candidates below <math>100</math> and I can in fact not find any larger ones either. This raises the conjecture:
:::
:::''Every prime number can be written in one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>|2a^2-b^2|.</math>''
:::
::Is this a known theorem? If true, no number in <math>\mathbb Z[e^{\pi i/4}]</math> is a natural prime. (Note that countless composite numbers cannot be written in any of these forms; to mention just a few: <math>15, 1155, 2491.</math>) &nbsp;--[[User talk:Lambiam#top|Lambiam]] 11:46, 9 December 2024 (UTC)


: I'll state things a little more generally, in the cyclotomic field <math>\mathbb Q[e^{2\pi i /n}]</math>. (Your n is twice mine.) A prime q factors as <math>q = (q_1\cdots q_r)^{e_r}</math>, where each <math>q_i</math> is a prime ideal of the same degree <math>f</math>, which is the least positive integer such that <math>q^f \equiv 1\pmod n</math>. (We have assumed that q does not divide n, because if it did, then it would ramify and not be prime. Also note that we have to use ideals, because the cyclotomic ring is not a UFD.) In particular, <math>q</math> stays prime if and only if <math>q</math> generates the group of units modulo <math>n</math>. When n is a power of two times an odd composite, the group of units is not cyclic, and so the answer is ''never''. When n is a prime or twice a prime, the answer is when q is a primitive root mod n. If n is 4 times a power of two times a prime, the answer is ''never''. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 11:08, 8 December 2024 (UTC)
:Think about ''n''/gcd(''a'',''n'') - let's call this ''b''. First of all, you can be sure that ''b'' is an integer - why ? Secondly, you can be sure that if gcd(''a'',''n'') > 1 then ''b'' mod(''n'') is not 0 - why ? Now think about the product ''ab'' - what is ''ab'' mod(''n'') ? How does this help you show that ''a'' is a zero divisor mod(''n'') ? [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 12:09, 18 February 2008 (UTC)
::For your <math>n</math>, <math>n=3</math> and <math>n=6</math> are the same, as well as <math>n=5</math> and <math>n=10</math>, this is why I use <math>e^{\frac{\pi i}{n}}</math> instead of <math>e^{\frac{2 \pi i}{n}}</math>. [[Special:Contributions/61.229.100.34|61.229.100.34]] ([[User talk:61.229.100.34|talk]]) 20:58, 8 December 2024 (UTC)
::Also, what is the [[class number (number theory)|class number]] of the [[cyclotomic field]] <math>Q[e^{\frac{\pi i}{n}}]</math>? Let <math>\gamma(n)</math> be the [[class number (number theory)|class number]] of the [[cyclotomic field]] <math>Q[e^{\frac{\pi i}{n}}]</math>, I only know that:
::* <math>\gamma(n)=1</math> for <math>n=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 30, 33, 35, 42, 45</math> (is there any other such <math>n</math>)?
::* If <math>m</math> divides <math>n</math>, then <math>\gamma(m)</math> also divides <math>\gamma(n)</math>, thus we can let <math>\varphi(n)=\prod_{d|n}\gamma(n)^{\mu(n/d)}</math>
::* For prime <math>p</math>, <math>p</math> divides <math>\varphi(p)</math> if and only if <math>p</math> is [[irregular prime|Bernoulli irregular prime]]
::* For prime <math>p</math>, <math>p</math> divides <math>\varphi(2p)</math> if and only if <math>p</math> is [[irregular prime|Euler irregular prime]]
::* <math>\varphi(n)=1</math> for <math>n=1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 27, 30, 33, 35, 42, 45</math> (is there any other such <math>n</math>)?
::* <math>\varphi(n)</math> is prime for <math>n=23, 26, 28, 32, 36, 37, 38, 39, 40, 43, 46, 49, 51, 53, 54, 63, 64, 66, 69, 75, 81, 96, 105, 118, 128, ...</math> (are there infinitely many such <math>n</math>?)
::Is there an algorithm to calculate <math>\gamma(n)</math> quickly? [[Special:Contributions/61.229.100.34|61.229.100.34]] ([[User talk:61.229.100.34|talk]]) 21:14, 8 December 2024 (UTC)


== Can we say anything special about every pair of functions f,g, satisfying f(g(x))=f(x) for every x? ==
== Collecting Terms ==


Especially, is there an accepted term for such a pair?
i get how to do everything else but i seem to bomb out on collecting the terms forgive me if it is wrong <br>
Simplify:<math>=\sqrt{3}- 2\sqrt{2} + 2\sqrt{3} + \sqrt{2}</math> <br>
now im not sure but im pretty sure this is wrong
<math>=1\sqrt{3}(not sure what goes here) 3\sqrt{2}</math> <br>
<small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:124.176.206.9|124.176.206.9]] ([[User talk:124.176.206.9|talk]] • [[Special:Contributions/124.176.206.9|contribs]]) 12:28, 18 February 2008 (UTC)</small><!-- Template:Unsigned -->


Here are three simple examples, for two functions f,g, satisfying the above, and defined for every natural number:
:You have one square root of 3, minus two square roots of 2, plus 2 square roots of 3, plus one square root of 2: so in the end how many square roots of 3 do you have, and how many square roots of 2? —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 12:31, 18 February 2008 (UTC)


Example #1:
:If it helps you, forget for a moment what <math>\sqrt3</math> means, and just think of it as a symbol, like a circle, perhaps. The same thing for <math>\sqrt2</math>: think of that as a triangle. So you have one circle, minus two triangles, plus two circles, plus one triangle. How many circles do you have, and how many triangles? Just be sure to write "<math>\sqrt2</math>" in your answer instead of a triangle, of course. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 12:37, 18 February 2008 (UTC)
:f is constant.


Example #2:
::<math>3\sqrt{3}+ -1\sqrt{2} (= \sqrt{2}) </math>
:f(x)=g(x), and is the smallest even number, not greater than x.
so
<math>3\sqrt{3}+ \sqrt{2} </math> ?
do you just take the sign infront?
so that 12a - 10b + 9c + 5b<br>
=12 - 5b + 9c?


Example #3:
::Think about this, <math>ab+ac+de+df=a(b+c)+d(e+f)</math> this is just two applications of the [[Distributive property]]. If it's not clear why that works, just try going the other way. (Note that algebraic laws are reversible!)[[User:A math-wiki|A math-wiki]] ([[User talk:A math-wiki|talk]]) 12:56, 18 February 2008 (UTC)
:f(x)=1 if x is even, otherwise f(x)=2.
:g(x)=x+2.
[[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 09:31, 8 December 2024 (UTC)


: One way to consider such a pair is dynamically. If you consider the dynamical system <math>x\mapsto g(x)</math>, then the condition can be stated as "<math>f</math> is constant on <math>g</math>-orbits". More precisely, let <math>D</math> be the domain of <math>f,g</math>, which is also the codomain of <math>g</math>. Define an equivalence relation on <math>D</math> by <math>x\sim y</math> if <math>g^a(x)=g^b(y)</math> for some positive integers <math>a,b</math>. Then <math>f</math> is simply a function on the set of equivalence classes <math>D/\sim</math> (=space of orbits). In ergodic theory, such a function <math>f</math> is thought of as an "observable" or "function of state", being the mathematical analog of a thermodynamic observable such as temperature. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 11:52, 8 December 2024 (UTC)
:You're right: the simplified answer is <math>3\sqrt3+(-1)\sqrt2</math>. Usually −1 times ''something'' is just written −''something'' (for example, −1&nbsp;×&nbsp;5&nbsp;=&nbsp;−5), and when "+−" occurs in a mathematical formula it's usually just written "−" [for example, 3&nbsp;+&nbsp;(−2)&nbsp;=&nbsp;3&nbsp;−&nbsp;2]. So you can write <math>3\sqrt3+(-1)\sqrt2</math> in a simpler way. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 13:56, 18 February 2008 (UTC)
::After you've mentioned temprature, could you explain what are f,g, as far as temprature is concerned? Additionally, could you give another useful example from physics for such a pair of functions? [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 19:49, 8 December 2024 (UTC)
:::This equation is just the definition of function ''g''. For instance if function ''f'' has the inverse function ''f''<sup>−1</sup> then we have ''g(x)=x''. [[User:Ruslik0|Ruslik]]_[[User Talk:Ruslik0|<span style="color:red">Zero</span>]] 20:23, 8 December 2024 (UTC)
::: If f is the temperature, and g is the evolution of an ensemble of particles in thermal equilibrium (taken at a single time, say one second later), then because temperature is a function of state, one has <math>f(x)=f(g(x))</math> for all ensembles x. Another example from physics is when <math>g</math> is a Hamiltonian evolution. Then the functions <math>f</math> with this property (subject to smoothness) are those that (Poisson) commute with the Hamiltonian, i.e. "constants of the motion". [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 20:33, 8 December 2024 (UTC)
::::Thx. [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 10:43, 9 December 2024 (UTC)
:Let <math>f</math> be a function from <math>X</math> to <math>Y</math> and <math>g</math> a function from <math>X</math> to <math>X.</math> Using the notation for [[function composition]], the property under discussion can concisely be expressed as <math>f\circ g=f.</math> An equivalent but verbose way of saying the same is that the [[preimage]] of any set <math>B \subseteq Y</math> under <math>f</math> is [[Closure (mathematics)|closed]] under the application of <math>g.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 08:54, 9 December 2024 (UTC)
::Thx. [[Special:Contributions/2A06:C701:746D:AE00:ACFC:490:74C3:660|2A06:C701:746D:AE00:ACFC:490:74C3:660]] ([[User talk:2A06:C701:746D:AE00:ACFC:490:74C3:660|talk]]) 10:43, 9 December 2024 (UTC)


== IEEE Xplore paper claim to acheive exponentiation inversion suitable for pairing in polynomial time. Is it untrustworthy ? ==
== geometry - spheres and unit cubes ==


I just found https://ieeexplore.ieee.org/abstract/document/6530387. Given the multiplicative group factorization in the underlying finite field of a target bn curve, they claim to acheive exponentiation inversion suitable for pairing inversion in seconds on a 32 bits cpu.
seeing as there's quite a few mathematicians in here i thought i'd ask about a geometry problem i've been having. i think it's quite easy but i don't really have a clue.


On 1 side, the paper is supposed to be peer reviewed by the iee Xplore journal and they give examples on 100 bits. On the other side, in addition to the claim, their algorithm 2 and 3 are very implicit, and as an untrained student, I fail to understand how to implement them, though I fail to understand things like performing a Weil descent.
imagine a unit cube. now imagine a point within this cube (call it p). i want to place a sphere with its centre at p. how would i work out the radius needed for this sphere so that the intersection volume between it and the cube equals a given value (call it v)? [[User:AlmostCrimes|AlmostCrimes]] ([[User talk:AlmostCrimes|talk]]) 14:21, 18 February 2008 (UTC)
:If the sphere just intersected one side you could find the volume of the [[Spherical cap]] cut off, then subtract this from the volume of the sphere. If the sphere intersects more than one side then things get a little trickier. --[[User:Salix alba|Salix alba]] ([[User talk:Salix alba|talk]]) 15:07, 18 February 2008 (UTC)
:[ec]It's actually not that simple. To do that you will first need some way to calculate the volume of intersection of a cube and a ball, which is pretty messy. Fortunately this latter problem is one I have worked on a while back, so I have thought of a few approaches. Since none of them is perfect, I can help you more only if you provide more details about your application (with special attention to details such as relative and absolute error tolerance, computational resources, platform on which you will do the calculations, etc.). If the question is purely out of curiosity I suggest you just leave it, though I can describe the general ideas. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 15:10, 18 February 2008 (UTC)


Is the paper untrustworthy, or would it be possible to get code that can be run ? [[Special:Contributions/2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|2A01:E0A:401:A7C0:152B:F56C:F8A8:D203]] ([[User talk:2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|talk]]) 18:53, 8 December 2024 (UTC)
:: salix alba - Yes sadly, it is quite possible the sphere intersects more than one side, for example if the point was at one of the corners of the cube. the basis of the problem is that I'm investigating various approaches to deciding whether a given colour in an RGB colour space (here represented as a cube like the following [[RGB#Representations]]) is "similar" to another colour. the natural approach would be to calculate the distance between the two colours (or points) and to then determine whether this is below a certain threshold. This technique suffers in that not all colours are treated evenly - colours in the centre of the colour space (so at [0.5, 0.5, 0.5], or grey) would be flagged as being similar to a higher percentage of the total colour space than a colour like white would. I was hoping to even this out by dynamically modifying the threshold (analogous to the radius) so that every colour has an equal proportion of the colour space flagged as being similar to it. As i say, this is mostly investigative and it isn't important that I use this exact technique. it's very possible i'm completely overcomplicating things.


About the paper, I agree to share the paper privately [[Special:Contributions/2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|2A01:E0A:401:A7C0:152B:F56C:F8A8:D203]] ([[User talk:2A01:E0A:401:A7C0:152B:F56C:F8A8:D203|talk]]) 18:54, 8 December 2024 (UTC)
:: for what it's worth though error tolerance isn't too important, neither are computational resources. I'm programming it in MATLAB and basically just seeing what works well. the most important factor is simplicity and implementation time really as I don't want to get too hung up on one technique. If any of your solutions apply I'd be interested in hearing them. I thought briefly about representing both the sphere and cube in a boolean matrix and physically determining the best sphere radius but I was kind of hoping there'd be a simple algebraic method. --[[Special:Contributions/80.4.203.142|80.4.203.142]] ([[User talk:80.4.203.142|talk]]) 19:44, 18 February 2008 (UTC)
:::Well, I can see several problems with this approach. If you're going for a notion of similarity which matches that of a human observer, I don't think using a simple Euclidean metric as a basis will cut it. I don't know a lot about this, but at the very least you should give different weights to the components - [[Grayscale]] mentions weights used for a different purpose, but they might be appropriate here. This would then leave you dealing with ellipsoids which is even messier. Second, I'm not sure any sort of "[[Affirmative action]]" is necessary - white will have less colors labeled as similar to it, simply because there are less colors genuinely similar to it. You next have symmetry to consider - You mentioned a ball centered around one point, but when doing a comparison there are two points to consider, and the result will depend on which one you choose to calculate the threshold. If you do some symmetric calculation taking both into account, it will be difficult to guarantee that indeed every color has the same portion of the color space labeled similar to it.
:::As said, solving the problem in you original question is not impossible, but not simple to do with satisfying accuracy and efficiency. Since I gather that these are not crucial, I can offer a simple approximation method for the volume of intersection of the cube and a given ball. Just pick several (something like 100 or 1000) randomly chosen points in the cube, and check whether each is inside the ball. The proportion which are is an estimation for the volume of intersection. You can do this for a ball centered at one point and with radius equal to the distance to the other point, compare it to the volume you want to be labeled similar and make the decision accordingly.
:::I hope this helps. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 22:25, 18 February 2008 (UTC)


= December 9 =
:::: it's true there are problems with the general approach and while I am aware there are colour spaces that lend themselves more easily to this kind of work I have been asked to look at this RGB cube method specifically. As for the "affirmative action", it seems to me it is necessary. A general distance approach is far better at finding areas that look grey than areas that look white when given the same threshold. Increasing the threshold for white increases the perceived accuracy, which is why I wanted to try this method. Your symmetry point is interesting. I actually hadn't considered that...


== If the [[Mersenne number]] 2^p-1 is prime, then must it be the smallest [[Mersenne prime]] == 1 mod p? ==
:::: Because of the nature of the exercise it isn't important that every technique I try is successful but regardless you've brought me round to not trying the technique, which I believe won't be worth the effort. It helped to have this discussion even if the focus of it changed a little, for which I thank you. --[[Special:Contributions/80.4.203.142|80.4.203.142]] ([[User talk:80.4.203.142|talk]]) 23:44, 18 February 2008 (UTC)


If the [[Mersenne number]] 2^p-1 is prime, then must it be the smallest [[Mersenne prime]] == 1 mod p? (i.e. there is no prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p) If p is prime (no matter 2^p-1 is prime or not), 2^p-1 is always == 1 mod p. However, there are primes p such that there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p:
== Math Riddle ==


* 2^19-1 is [[Mersenne prime]] == 1 mod 73 (p=73, q=19)
While studying for my math test, I came across this problem:
* 2^31-1 is [[Mersenne prime]] == 1 mod 151 (p=151, q=31)
* 2^61-1 is [[Mersenne prime]] == 1 mod 151 (p=151, q=61)
* 2^17-1 is [[Mersenne prime]] == 1 mod 257 (p=257, q=17)
* 2^31-1 is [[Mersenne prime]] == 1 mod 331 (p=331, q=31)
* 2^61-1 is [[Mersenne prime]] == 1 mod 331 (p=331, q=61)
* 2^127-1 is [[Mersenne prime]] == 1 mod 337 (p=337, q=127)
* 2^89-1 is [[Mersenne prime]] == 1 mod 353 (p=353, q=89)
* 2^89-1 is [[Mersenne prime]] == 1 mod 397 (p=397, q=89)


but for these primes p, 2^p-1 is not prime, and my question is: Is there a prime p such that 2^p-1 is a prime and there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p?
I am thinking of some polynomial with positive integer coefficients. You can ask me for the value of p[x], where p is the polynomial and x is some positive integer as many times as you want. What is the minimum number of questions you need to ask in order to find out what the polynomial is?


* If 2^11-1 is prime, then this is true, since 2^11-1 is == 1 mod 31 and 2^31-1 is prime, but 2^11-1 is not prime
I am unable to figure out the answer. Since it doesnt tell you how many terms or the order of the polynomial, it's hard to find a starting spot. Can anyone help? [[Special:Contributions/99.240.177.206|99.240.177.206]] ([[User talk:99.240.177.206|talk]]) 18:37, 18 February 2008 (UTC)
* If 2^23-1 or 2^67-1 is prime, then this is true, since 2^23-1 and 2^67-1 are == 1 mod 89 and 2^89-1 is prime, but 2^23-1 and 2^67-1 are not primes
* If 2^29-1 or 2^43-1 or 2^71-1 or 2^113-1 is prime, then this is true, since 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are == 1 mod 127 and 2^127-1 is prime, but 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are not primes
* If 2^191-1 or 2^571-1 or 2^761-1 or 2^1901-1 is prime, then this is true, since 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are == 1 mod 2281 and 2^2281-1 is prime, but 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are not primes
* If 2^1609-1 is prime, then this is true, since 2^1609-1 is == 1 mod 3217 and 2^3217-1 is prime, but 2^1609-1 is not prime


:I remember that one. The answer is 2. Does that help? [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 18:45, 18 February 2008 (UTC)
Another question: For any prime p, is there always a [[Mersenne prime]] == 1 mod p? [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 19:03, 9 December 2024 (UTC)
::It helps me, at least. Nice problem. [[User talk:Algebraist|Algebraist]] 19:45, 18 February 2008 (UTC)


: Neither question is easy. For the first, relations <math>2^{q-1}\equiv 1\pmod p</math> would imply that the integer 2 is not a primitive root mod p, and that its order divides <math>q-1</math> for the prime q. This is a sufficiently infrequent occurrence that it seems ''likely'' that all Mersenne numbers could be ruled out statistically, but not enough is known about their distribution. For the second, it is not even known if there are infinitely many Mersenne primes. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 19:23, 9 December 2024 (UTC)
:::If I understand Black Carrot correctly, the value you choose for ''x'' in your second question depends upon the answer you receive to your first question - yes ? [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 20:06, 18 February 2008 (UTC)
::I found that: 2^9689-1 is the smallest Mersenne prime == 1 mod 29, 2^44497-1 is the smallest Mersenne prime == 1 mod 37, 2^756839-1 is the smallest Mersenne prime == 1 mod 47, 2^57885161-1 is the smallest Mersenne prime == 1 mod 59, 2^4423-1 is the smallest Mersenne prime == 1 mod 67, 2^9941-1 is the smallest Mersenne prime == 1 mod 71, 2^3217-1 is the smallest Mersenne prime == 1 mod 97, 2^21701-1 is the smallest Mersenne prime == 1 mod 101, and none of the 52 known Mersenne primes are == 1 mod these primes p < 1024: 79, 83, 103, 173, 193, 197, 199, 227, 239, 277, 307, 313, 317, 349, 359, 367, 373, 383, 389, 409, 419, 431, 443, 461, 463, 467, 479, 487, 503, 509, 523, 547, 563, 587, 599, 613, 647, 653, 659, 661, 677, 709, 727, 733, 739, 743, 751, 757, 769, 773, 797, 809, 821, 823, 827, 829, 839, 853, 857, 859, 863, 887, 907, 911, 919, 929, 937, 941, 947, 971, 977, 983, 991, 1013, 1019, 1021 [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 20:51, 9 December 2024 (UTC)
::::It would have to, polynomials aren't completely determined by their values at two points. There must be some clever trick based on the answer to the first questions... I haven't worked it out yet, but give me some time... --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 20:08, 18 February 2008 (UTC)
::Also,
:::::You don't just have 2 points, you have 2 points plus the knowledge that the coefficients are positive integers. I just got it! Oh that is clever. --[[User:tcsetattr|tcsetattr]] ([[User talk:tcsetattr|talk]] / [[Special:Contributions/tcsetattr|contribs]]) 20:40, 18 February 2008 (UTC)
::* 2^19937-1 is [[Mersenne prime]] == 1 mod 2^16+1
::::::...which was the point I was trying subtly (perhaps too subtly) to make. Answer to first question gives you information about coefficients which you use in second question. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 22:42, 18 February 2008 (UTC)
::* 2^521-1 is [[Mersenne prime]] == 1 mod 2^13-1
::* 2^3021377-1 is [[Mersenne prime]] == 1 mod 2^17-1
::* 2^2281-1 is [[Mersenne prime]] == 1 mod 2^19-1
::* 2^21701-1 is [[Mersenne prime]] == 1 mod 2^31-1
::* 2^19937-1 is [[Mersenne prime]] == 1 mod 2^89-1
::* 2^86243-1 is [[Mersenne prime]] == 1 mod 2^107-1
::but none of these primes p has 2^p-1 is known to be prime, the status of 2^(2^89-1)-1 and 2^(2^107-1)-1 are still unknown (see [[double Mersenne number]]), but if at least one of them is prime, then will disprove this conjecture (none of the 52 known Mersenne primes are == 1 mod 2^61-1 or 2^127-1), I think that this conjecture may be as hard as the [[New Mersenne conjecture]]. [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 20:55, 9 December 2024 (UTC)
::Also, for the primes p < 10000, there is a prime q < p such that 2^q-1 is also a [[Mersenne prime]] == 1 mod p only for p = 73, 151, 257, 331, 337, 353, 397, 683, 1321, 1613, 2113, 2731, 4289, 4561, 5113, 5419, 6361, 8191, 9649 (this sequence is not in [[OEIS]]), however, none of these primes p have 2^p-1 prime. [[Special:Contributions/220.132.216.52|220.132.216.52]] ([[User talk:220.132.216.52|talk]]) 02:23, 10 December 2024 (UTC)


= December 10 =
:::::Haha, wow, that's pretty cool. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 21:23, 18 February 2008 (UTC)


== More on the above conjecture ==
Hm..suppose if one chose p(0) and the answer turned out to be 4 or 5. Obviously, this would indicate the the constant at the end is either a 4 or 5. Where would you go from there?[[User:Acceptable|Acceptable]] ([[User talk:Acceptable|talk]]) 20:39, 18 February 2008 (UTC)
:Asking for p(0) is a bad start (aside from the fact that it wasn't technically allowed by the problem statement). --[[User:tcsetattr|tcsetattr]] ([[User talk:tcsetattr|talk]] / [[Special:Contributions/tcsetattr|contribs]]) 20:55, 18 February 2008 (UTC)
::Funnily enough, 0 (if you take it to be positive) is the only first question that ''doesn't'' work. Suppose you got f(0)=a (say), and used n for your second question. If you got f(n)=n^2+a, then f could be nx+a or x^2+a. [[User talk:Algebraist|Algebraist]] 21:50, 18 February 2008 (UTC)


Above I posed:
Finally, I think I've got it! That shouldn't have taken me that long... --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 22:29, 18 February 2008 (UTC)
:{{serif|'''Conjecture'''. ''Every prime number can be written in one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>|2a^2-b^2|.</math>''}}
:Just in case the OP needs another hint - how would you solve this if you also knew that all coefficients are less than 10? -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 22:32, 18 February 2008 (UTC)
If true, it implies no natural prime is a prime in the ring <math>\mathbb Z[e^{\pi i/4}]</math>.
::It finally clicked when I twigged that it was only positive coefficients. -''[[User:Mattbuck|mattbuck]]'' <small>([[User talk:Mattbuck|Talk]])</small> 23:02, 18 February 2008 (UTC)
I think the smallest number of questions you need to ask is (the degree of the polynomial + 1).--[[User:Protious|George]] ([[User talk:Protious|talk]]) 22:43, 18 February 2008 (UTC)


The absolute-value bars are not necessary. A number that can be written in the form <math>-(2a^2-b^2)</math> is also expressible in the form <math>+(2a^2-b^2).</math>
::I wonder if there's a finite bound for more general polynomials, like with positive rational coefficients. [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 22:47, 18 February 2008 (UTC)


It turns out (experimentally; no proof) that a number that can be written in two of these forms can also be written in the third form. The conjecture is not strongly related to the concept of primality, as can be seen in this reformulation:
:::To George - that'd be right for polynomials with no restrictions on the coefficients, but you can take advantage of their positive integerosity to jump straight to the answer. [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 22:50, 18 February 2008 (UTC)


:{{serif|'''Conjecture'''. ''A natural number that cannot be written in any one of the three forms <math>a^2+b^2,</math> <math>2a^2+b^2</math> and <math>2a^2-b^2</math> is composite.}}
:::Do you have any specific technique for doing this or is this just a general statement ?--[[User:Protious|George]] ([[User talk:Protious|talk]]) 22:56, 18 February 2008 (UTC)
The first few numbers that cannot be written in any one of these three forms are
:<math>15,</math> <math>21,</math> <math>30,</math> <math>35,</math> <math>39,</math> <math>42,</math> <math>55,</math> <math>60,</math> <math>69,</math> <math>70,</math> <math>77,</math> <math>78,</math> <math>84,</math> <math>87,</math> <math>91,</math> <math>93,</math> <math>95.</math>
They are indeed all composite, but why this should be so is a mystery to me. What do <math>2310=2\times 3\times 5\times 7\times 11,</math> <math>5893=71\times 83</math> and <math>7429=17\times 19\times 23,</math> which appear later in the list, have in common? I see no pattern.


It seems furthermore that the [[primorial]]s, starting with <math>5\#=30,</math> make the list. (Checked up to <math>37\!\#=7420738134810.</math>) &nbsp;--[[User talk:Lambiam#top|Lambiam]] 19:23, 10 December 2024 (UTC)
::::To the OP's riddle? Yeah, I've got the answer. Give it a little while, and reflect on Meni's hint. BTW, for a polynomial in n variables, with positive integer variables and coefficients, it could be done within n+1 questions. [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 23:00, 18 February 2008 (UTC)


:Quick note, for those like me who are curious how numbers of the form <math>-(2a^{2}-b^{2})</math> can be written into a form of <math>2a^{2}-b^{2}</math>, note that <math>2a^{2} - b^{2} = (2a + b)^{2} - 2(a + b)^{2}</math>, and so <math>2a^{2} - b^{2} = -p \Rightarrow p = 2(a + b)^{2} - (2a + b)^{2}</math>. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 02:20, 11 December 2024 (UTC)
::::I got it ,thanks. --[[User:Protious|George]] ([[User talk:Protious|talk]]) 23:53, 18 February 2008 (UTC)
:A prime is expressible as the sum of two squares if and only if it is congruent to <math>1 \!\!\!\pmod 4</math>, as per [[Fermat's theorem on sums of two squares]]. A prime is expressible of the form <math>2a^{2} + b^{2}</math> if and only if it is congruent to <math>1, 3 \!\!\pmod 8</math>, as per [[OEIS:A002479]]. And a prime is expressible of the form <math>2a^{2} - b^{2}</math> if and only if it is congruent to <math>1, 7 \!\!\pmod 8</math>, as per [[OEIS:A035251]]. Between these congruences, all primes are covered. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 05:59, 11 December 2024 (UTC)
::More generally, a number is ''not'' expressible as:
::# <math>a^{2} + b^{2}</math> if it has a prime factor congruent to <math>3 \!\!\!\pmod 4</math> that is raised to an odd power (equivalently, <math>3, 7 \!\!\pmod 8</math>.)
::# <math>2a^{2} + b^{2}</math> if it has a prime factor congruent to <math>5, 7 \!\!\pmod 8</math> that is raised to an odd power
::# <math>2a^{2} - b^{2}</math> if it has a prime factor congruent to <math>3, 5 \!\!\pmod 8</math> that is raised to an odd power
::It is easy to see why expressibility as any two of these forms leads to the third form holding, and also we can see why it's difficult to see a pattern in numbers that are expressible in none of these forms, in particular we get somewhat-convoluted requirements on exponents of primes in the factorization satisfying congruences modulo 8. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 06:17, 11 December 2024 (UTC)
:::Thanks. Is any of this covered in some Wikipedia article? &nbsp;--[[User talk:Lambiam#top|Lambiam]] 10:06, 11 December 2024 (UTC)
::All primes? 2 is not covered! [[Special:Contributions/176.0.133.82|176.0.133.82]] ([[User talk:176.0.133.82|talk]]) 08:00, 17 December 2024 (UTC)
:::<math>2</math> can be written in all three forms: <math>2=1^2+1^2=2\cdot 1^2+0^2=2\cdot 1^2-0^2.</math> &nbsp;--[[User talk:Lambiam#top|Lambiam]] 09:38, 17 December 2024 (UTC)
::::I don't say it's not covered by the conjecture. I say it's not covered by the discussed classes of remainders. [[Special:Contributions/176.0.133.82|176.0.133.82]] ([[User talk:176.0.133.82|talk]]) 14:54, 17 December 2024 (UTC)
:::Odd prime, my bad. [[User:GalacticShoe|GalacticShoe]] ([[User talk:GalacticShoe|talk]]) 16:38, 17 December 2024 (UTC)
Assume p is 3 mod 4. Suppose that (2|p)=1. Then <math>x^4+1\equiv (x^2+\lambda x +1)(x^2- \lambda x + 1)\pmod p</math> where <math>\lambda^2-2\equiv 0</math>. Because the cyclotomic ideal <math>(p, \zeta^2+ \lambda\zeta+1)</math> has norm <math>p^2</math> and is stable under the Galois action <math>\zeta\mapsto 1/\zeta</math> it is generated by a single element <math>a\zeta^2+b\zeta+a</math>, of norm <math>(2a^2-b^2)^2</math>.


If (2|p)=-1, then the relevant ideal is stable under <math>\zeta\mapsto -1/\zeta</math> and so is generated by <math>a\zeta^2+b\zeta-a</math>, of norm <math>(2a^2+ b^2)^2</math>. [[User:Tito Omburo|Tito Omburo]] ([[User talk:Tito Omburo|talk]]) 14:43, 11 December 2024 (UTC)
::::I think 2 questions ought to work for real non-negative coefficients - that they're integers I wouldn't think was strictly necessary. -''[[User:Mattbuck|mattbuck]]'' <small>([[User talk:Mattbuck|Talk]])</small> 23:02, 18 February 2008 (UTC)


= December 11 =
:::::Really? It doesn't seem like that would be enough. That is, for any two inputs you choose, it seems like there would be at least one pair of polynomials with the same output. [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 23:06, 18 February 2008 (UTC)


== Unique normal ultrafilter ==
::::::If you choose any two points, there are an infinite number of polynomials that go through them. But, restricted to non-negative coefficients, if you choose the 2nd point based on the first one, it ought to be possible to find the order. -''[[User:Mattbuck|mattbuck]]'' <small>([[User talk:Mattbuck|Talk]])</small> 23:12, 18 February 2008 (UTC)


So I'm supposed to know the answer to this, I suppose, but I don't seem to :-)
:::::::Thinking about Black Carrot's extended question, I can see that if you only know that all (non-zero) coefficients are real and positive, then with two questions you can find the maximum degree of the polynomial - say it is ''m'' (so at most ''m''+1 non-zero coefficients). But don't you still need a further ''m''-1 questions to find the ''values'' of the coefficients (so that altogether you have ''m''+1 simultaneous equations) ? Key difference from the positive integer case is that there is no longer a lower bound on the magnitude of a non-zero coefficient. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 00:00, 19 February 2008 (UTC)


"Everyone knows" that, in <math>L[U]</math>, [[Gödel's constructible universe]] relative to an [[ultrafilter]] <math>U</math> on some [[measurable cardinal]] <math>\kappa</math>, there is only a single [[normal ultrafilter]], namely <math>U</math> itself. See for example [[John R. Steel]]'s monograph [https://math.berkeley.edu/~steel/papers/comparisonlemma.03.07.22.pdf here], at Theorem 1.7.
:::Generally with polynomials, rational coefficients and integer coefficients work in exactly the same way (you just multiply through by the lowest common multiple of all the denominators), so I imagine the case of positive rationals is doable (you may end up needing to additional fact that the polynomial is monic in order to get a unique answer, I'd have to try). The case of positive reals probably isn't, though. The key fact that p(1)<10 (or whatever) gives you is that 10 doesn't divide any of the coefficients, in the real case that fact is no longer true (it's not true for rationals, either, but you can probably fudge it). I haven't actually tried either case, this is just intuition and could well turn out to be wrong. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 12:50, 19 February 2008 (UTC)


So I guess that must mean that the [[product measure]] <math>U\times U</math>, meaning you fix some identification between <math>\kappa\times\kappa</math> and <math>\kappa</math> and then say a set has measure 1 if measure 1 many of its vertical sections have measure 1, must ''not'' be normal. (Unless it's somehow just equal to <math>U</math> but I don't think it is.)
::::But how do you determine the lowest common multiple (or even ''any'' common multiple) of the denomoinators ? I think the positive rational coefficients case is the same as the positive real coefficients case - it only takes a finite number of questions, you don't know in advance how many, but after two questions you know how many further questions you need. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 15:08, 19 February 2008 (UTC)
:::::That comment was just to demonstrate why polynomials over the integers and polynomials over the rationals are closely related. Obviously, you can't directly convert in this case, but there might be some trick that allows you to use the same basic method. I haven't looked for one, so I don't know. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 16:44, 19 February 2008 (UTC)


But is there some direct way to see that? Say, a <s>continuous</s> function <math>f:\kappa\to\kappa</math> with <math>\forall\alpha f(\alpha)<\alpha</math> such that <s>the set of fixed points of <math>f</math> is not in the ultrafilter</s> no singleton has a preimage under <math>f</math> that's in the ultrafilter? I haven't been able to come up with it. --[[User:Trovatore|Trovatore]] ([[User talk:Trovatore|talk]]) 06:01, 11 December 2024 (UTC)
:For those still struggling, I suggest using p(1) as the first question. It's not necessary, but thinking about what I could learn from p(1) was what led me to the solution. And don't forget the coefficients are all positive! --[[User:tcsetattr|tcsetattr]] ([[User talk:tcsetattr|talk]] / [[Special:Contributions/tcsetattr|contribs]]) 23:21, 18 February 2008 (UTC)


::Sorry, I still am not getting it. The question does not state how many terms there are. So suppose I realize that none of the coefficients are greater than 10, I still dont know anything about how many terms or how large the coeff of each term is.
Let's take an example: suppose the equation was f(x)= 4x^3 + 3x^2 + 7x + 6. If I plug in p(1), i get p(1)=20. What do I ask next? Thanks. [[Special:Contributions/99.240.177.206|99.240.177.206]] ([[User talk:99.240.177.206|talk]]) 04:29, 19 February 2008 (UTC)


:OK, that's enough. Full spoiler: suppose you had chosen that function and I asked you for p(1) and you said p(1)=20. I know the polynomial is A+Bx+Cx^2+Dx^3+... so what do I get when x=1? A+B+C+D+... in other words the sum of the coefficients. I don't know how many coefficients there are, but I know they are all positive integers and their sum is 20. If a set of positive numbers adds up to 20, then none of them individually can be greater than 20. The next question I'd ask is for p(100). I could ask for p(21) instead - any number greater than 20 will do - but I'm choosing 100 because it might make the procedure more obvious.


:Your answer will be p(100) = 4(100^3) + 3(100^2) + 7(100) + 6 = 4030706. See how the coefficients 4,3,7,6 revealed themselves? If I had asked for p(21) you would have said 38520 which would make the procedure a little more mysterious-looking, but the secret is I would then convert 38520 into base 21, and the result would be: 4376<sub>21</sub>!


= December 15 =
:Now we can go back to the first step and see how p(1) doesn't have to be used. If I asked for p(2) first, you'd say 64. In this version, 64 is not the sum of the coefficients, but it's still an upper bound on them individually. If any one of your coefficients was greater than 64, it would contribute a term of (something greater than 64)*(some power of 2) to your answer, so your answer would have been greater than 64 also. Knowing this upper bound, I could ask for p(65), get the answer 1111636, and convert it to base 65, where it is: 4376. --[[User:tcsetattr|tcsetattr]] ([[User talk:tcsetattr|talk]] / [[Special:Contributions/tcsetattr|contribs]]) 04:44, 19 February 2008 (UTC)
::And of course, my point was that if all coefficients are less than 10, you don't need two questions - you just ask what is <math>p(10)</math>. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 09:49, 19 February 2008 (UTC)
This is nice. Ask for <math>p(1000000)</math> and the problem is solved in one question for all the cases where the coefficients are less than a million. You do not have to require that the integer coefficients are positive, just that they are not negative. What if the integer coefficients may be negative too, how do you solve that? [[User:Bo Jacoby|Bo Jacoby]] ([[User talk:Bo Jacoby|talk]]) 15:33, 19 February 2008 (UTC).
:::If the coefficients can be arbitrary integers, then infinitely many questions are required (consider the case when every question gets the answer '0'). If they're arbitrary positive reals, then finitely many questions suffice (as Gandalf pointed out above) but I'm not sure if you can get a fixed finite bound or not. [[User talk:Algebraist|Algebraist]] 16:25, 19 February 2008 (UTC)
::::You can't have infinitely many questions all giving 0, since the polynomial will always be of finite degree (otherwise it's not a polynomial). --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 16:44, 19 February 2008 (UTC)
:::::Well, I suppose there's the 0 polynomial... it would take an infinite number of questions to spot that. Any non-0 polynomial would be worked out with finite (but unbounded) steps, though, I'd think. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 16:52, 19 February 2008 (UTC)
::::::No. However (finitely) many times I give you the answer zero, you won't know if it's the zero polynomial or just some other poly that happens to have roots at every point you've asked about. [[User talk:Algebraist|Algebraist]] 18:35, 19 February 2008 (UTC)
:::::::That's not quite what I said. I said that any non-zero polynomial could be worked out in finitely many steps, not that finitely many steps is enough to tell if a polynomial is non-zero. There are only finitely many roots to any polynomial (at most, it's degree), so after one more question than that (which is still a finite number), you'll know it's non-zero. Whether you can work out exactly what it is or not, I'm not sure - repeated roots would be an issue, but you would know it's non-zero. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 20:39, 19 February 2008 (UTC)
::::::::That (while true) is not much use to solve the problem as stated. Sure, for any polynomial there is a question-asking strategy that proves the poly is non-zero in finitely many steps, but what we want is a strategy that for any polynomial will prove it is non-zero in finitely many steps. We can't base our strategy on an answer we don't know. [[User talk:Algebraist|Algebraist]] 22:34, 19 February 2008 (UTC)
:::::::::How about asking for p(0), p(1), p(-1), p(2), p(-2), etc. until you get a non-zero answer? If the polynomial is non-zero, you will get a non-zero answer after a finite number of questions. If it is the 0-polynomial, then you'll never get an answer, but you're asking for a proof that it's non-zero, not a proof that it is zero. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 12:08, 20 February 2008 (UTC)


== Set of convergence of a sequence of measurable functions ==
== What is the cause of this paradox? ==


I recently completed a calculus term, in which one of the last units involving how much one aspect of an object was changing in relation to time at a certain point, given the rate of change of another aspect. Many specific questions could be analyzed as a right triangle with one leg (the x) remaining constant and the other leg (the y) growing at a specified rate. When it came time to solve for the value of the dz/dt (the rate of the hypotenuse’s growth with respect to time) at a certain point, it ended up as less than the provided dy/dt. Here’s an illustration:
This is an exercise from [[Serge Lang|Lang]]'s ''Real and Functional Analysis'', Chapter VI: Let <math>\{f_n\}</math> be a sequence of measurable functions. Show that the set of points for which <math>\{f_n\}</math> converges is a measurable set.


The x is the distance from me to a tower. This remains constant.
Presumably this involves finding some collection of obviously measurable sets that can be unioned/intersected together to end up with the set in question, but I haven't been able to find such a collection. The only information available is the basic properties of σ-algebras and measurable functions.


The y is the distance from the tower to a flying bird.
[As a side issue, does anyone have experience with or thoughts on this book? I can't say I find it easy going, but struggling with it seems to be good practice and the more time I spend with it the more I appreciate it. I got it originally for the development of integration, which is the best I've seen anywhere--just beautiful! If only there were a solutions manual... [[User:merge|&nbsp;&mdash; merge]] 23:33, 18 February 2008 (UTC)]
:One way of doing this is to first show that sup<sub>n</sub>{f<sub>n</sub>} is measurable. Dually the inf of countably many measurable functions is measurable, so the lim sup and the lim inf of the f<sub>n</sub> are both measurable. Then the set of x for which f<sub>n</sub>(x) converges is the set of points at which two measurable functions are equal, and is thus measurable. Slight care might be needed in dealing with infinity. [[User talk:Algebraist|Algebraist]] 23:51, 18 February 2008 (UTC)


The dy/dt is the speed at which the bird is flying from the tower.
::Thanks! This idea had not occurred to me. However as it turns out the properties of lim sup and lim inf you refer to are dealt with in the next exercise! So I'm thinking there's a way to do this one that doesn't use them. Also, I forgot to mention that the <math>f_n</math> take values in a Banach space, so one can't take the sup directly. [[User:merge|&nbsp;&mdash; merge]] 12:52, 19 February 2008 (UTC)
:::In that case, you could use the fact that f<sub>n</sub>(x) converges exactly if f<sub>n</sub>(x) is Cauchy. The latter statement is just
::::<math> \forall{\epsilon} \exists{N} \forall {n,m} (n,m \ge N \rightarrow |f_n(x)-f_m(x)| < \epsilon) </math>
:::So the set of x for which f<sub>n</sub>(x) converges is just
::::<math>\bigcap_{\epsilon} \bigcup_N \bigcap_{n \ge N} \bigcap_{m \ge N} (f_n-f_m)^{-1} (B_{\epsilon})</math>
:::where <math>B_{\epsilon}</math> is the open ball of radius epsilon about 0 (I'm assuming this is measurable) and all the intersections and unions are countable (in particular we can restrict to positive ''rational'' epsilon). [[User talk:Algebraist|Algebraist]] 16:22, 19 February 2008 (UTC)


The z is my distance from the bird.
::::Wonderful. Someone else suggested the same idea in conversation and it works perfectly. I think this is "the" solution. Thank you! [[User:merge|&nbsp;&mdash; merge]] 21:23, 19 February 2008 (UTC)


In this illustration, the distance between me and the bird is increasing at a slower rate than the speed at which the bird itself is flying. What is the cause of this paradox? [[User:Primal Groudon|Primal Groudon]] ([[User talk:Primal Groudon|talk]]) 19:43, 15 December 2024 (UTC)
== Googol ==
:I do not see any paradox here. [[User:Ruslik0|Ruslik]]_[[User Talk:Ruslik0|<span style="color:red">Zero</span>]] 20:30, 15 December 2024 (UTC)
:If the bird is between you and the tower ({{math|0 ≤ ''y'' < ''x''}}), the distance between you and the bird is even decreasing: {{math|''dz''/''dt'' < 0.}} By the time it flies right overhead ({{math|1=''y'' = ''x''}}), the distance is momentarily stationary: {{math|1=''dz''/''dt'' = 0.}} After that, it increases: {{math|''dz''/''dt'' > 0.}} This rate of increase will asymptotically approach {{math|''dy''/''dt''}} from below as the bird flies off into an infinite distance. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 00:34, 16 December 2024 (UTC)
::I think the issue here is that even though the rate of change of z is less than the rate of change of y, z never actually becomes less than y. You can see this graphically, for example, by comparing the graphs of y=x and y=√(x<sup>2</sup>+1). The second graph is always above the first graph, but the slope of the first graph is x/√(x<sup>2</sup>+1), which is always less than 1, the slope of the first graph. But this is typical behavior when a graph has an asymptote. As a simpler example, the slope of 1/x is negative, but the value never goes below 0 (at least for x>0). Similarly, the slope of x+1/x is always less than 1, but the value of x+1/x is always greater than x (again, for x>0). The graph of y=√(x<sup>2</sup>+1) is one branch of a hyperbola having y=x as an asymptote, and this looks very much like the x>0 part of y=x+1/x. In general the difference in rates of change can imply that that two quantities get closer and closer to each other, but this does not mean they ever become equal. This phenomenon is, perhaps, counterintuitive for many people, but the math says it can happen anyway. I don't know if this rises to the level of a paradox, but I can see that it might be concerning for some. --[[User:RDBury|RDBury]] ([[User talk:RDBury|talk]]) 09:39, 16 December 2024 (UTC)
:::For x > 0, the graph of y=√(x<sup>2</sup>+1) looks even more like that of y=x+1/(2x). For example, when x = 5, √(x<sup>2</sup>+1) = {{sqrt|26}} ≈ 5.09902 is approximated much more closely by 5.1 than by 5.2. &nbsp;--[[User talk:Lambiam#top|Lambiam]] 18:35, 16 December 2024 (UTC)


Why is one [[googol]] not <math>10^{100}</math>? The Wikipedia article states it as being <math>10^{100.0784}</math>. Why is this? Thanks, [[User:Zrs 12|Zrs 12]] ([[User talk:Zrs 12|talk]]) 23:50, 18 February 2008 (UTC)
:One googol is by definition 10<sup>100</sup>, as correctly stated in the article. The article also correctly states that 70! is approximately 10<sup>100.0784</sup>. I don't see any source of confusion here. [[User talk:Algebraist|Algebraist]] 23:55, 18 February 2008 (UTC)
:: Perhaps OP did not understand [[Order of magnitude]], and just skipped over those words to read "One googol is the same as 70!." --[[User:PalaceGuard008|PalaceGuard008]] ([[User_Talk:PalaceGuard008|Talk]]) 23:57, 18 February 2008 (UTC)
Haha! How dumb of me! Gah, I '''must''' start reading more carefully. [[User:Zrs 12|Zrs 12]] ([[User talk:Zrs 12|talk]]) 00:38, 19 February 2008 (UTC)


= February 19 =
==Singular Value Decomposition & Hermitian Matrices==
This is a question posed in my class and the teacher himself could not figure it out either. The question is that given the singular value decomposition of a mxm square matrix <math>A=U \Sigma V^*</math> where the * represents the complex conjugate transpose of a matrix, is there anything that we can say about the eigenvalue decomposition (diagonalization) of the 2mx2m Hermitian matrix <math>B=\begin{bmatrix}0 && A^*\\A &&0\end{bmatrix}</math>? Can B's eigenvalue decomposition be written in terms of <math>U,\Sigma,</math> and <math>V</math> ? I have also tried a few numerical examples on Matlab and it appears to me that the two are completely unrelated. Any help would be appreciated.[[User:A Real Kaiser|A Real Kaiser]] ([[User talk:A Real Kaiser|talk]]) 06:10, 19 February 2008 (UTC)
: If <math>A=U \Sigma V^*</math>, then <math>U^*AV=\Sigma</math>. As <math>\Sigma</math> is self-adjoint, we get <math>V^*A^*U=(U^*AV)^* = \Sigma</math> as well. Now compute:
:<math>\begin{pmatrix}0 & U^*\\V^* & 0\end{pmatrix}\begin{pmatrix}0 & A^*\\A & 0\end{pmatrix}\begin{pmatrix}V & 0\\0 & U\end{pmatrix} = \begin{pmatrix} U^*AV & 0 \\ 0 & V^*A^*U\end{pmatrix} = \begin{pmatrix}\Sigma & 0 \\ 0 & \Sigma \end{pmatrix}.</math>
:Moving the unitaries (one can check that those block matrices on the left and right of your <math>B</math> are unitary) to the right gives the singular value decomposition. You have the absolute values of the eigenvalues at this point, but I'm not sure exactly what you mean by eigenvalue decomposition. Do you mean diagonalizing B? [[User:J Elliot|J Elliot]] ([[User talk:J Elliot|talk]]) 07:13, 19 February 2008 (UTC)
:The [[eigenvalue decomposition]] goes similarly. For motivation, find the eigenvalue decomposition of [0,1;1,0] (taking A to be the 1x1 identity matrix). A=USV*, so A*=VSU*, AV=US, A*U=VS, so [0,A*;A,0][V;U] = [VS;US], so [V;U] is an "eigenvector" with eigenvalues S, and similarly [0,A*;A,0][V;-U]=[-VS;US], so [V;-U] is an "eigenvector" with eigenvalues -S. Since our matrix is hermitian, we want our eigenbasis to be unitary, so we'll divide the eigenvectors by their overall norm, 1/sqrt(2). Putting it all together gives:
:<math>\begin{bmatrix}0&A^*\\A&0\end{bmatrix} = \left( \frac{1}{\sqrt{2}} \begin{bmatrix}V&V\\U&-U\end{bmatrix} \right) \cdot \begin{bmatrix}\Sigma&0\\0&-\Sigma\end{bmatrix} \cdot \left( \frac{1}{\sqrt{2}} \begin{bmatrix}V^*&U^*\\V^*&-U^*\end{bmatrix} \right)</math>
:So the eigenvalues of B are plus or minus the singular values of A. [[User:JackSchmidt|JackSchmidt]] ([[User talk:JackSchmidt|talk]]) 15:53, 19 February 2008 (UTC)


= December 18 =
Thanks guys, that makes a lot more sense. But I still have a follow-up question. You have shown that [V;U] and [-V;U] are eigenvectors with respect to S and -S but how do we know that those are the only eigenvalues? What if S^2 of -2S^5 also turn out to be eigenvalues of our matrix B? How can we conclude that S and -S are the ONLY eigenvalues?[[User:A Real Kaiser|A Real Kaiser]] ([[User talk:A Real Kaiser|talk]]) 23:53, 19 February 2008 (UTC)

:Sorry, I spoke too informally. U and V are actually m x m matrices, and S is a diagonal matrix with m values. [V,V;U,-U] has full rank (because it is unitary), so is actually 2m independent eigenvectors for B, and S,-S gives the 2m eigenvalues. The informal language was just to indicate how block matrices can simplify things. [[User:JackSchmidt|JackSchmidt]] ([[User talk:JackSchmidt|talk]]) 00:58, 20 February 2008 (UTC)

== fitting a conic ==

I want to fit a general parabola (of unknown size and orientation) ''roughly'' to a given set of points in the plane. My first thought was to seek the coefficients that minimize the sum of the squares of <math> A {x_i}^2 + 2 \sqrt{AC} x_i y_i + C {y_i}^2 + D x_i + E y_i + 1 </math>; to make the problem more linear, I then sought to settle for a general conic, <math> A {x_i}^2 + 2 B x_i y_i + C {y_i}^2 + D x_i + E y_i + 1 </math>; but then it occurs to me that this penalizes those curves that go near the origin.

My next idea is to consider the family of cones tangent to some plane <math>z = z_0 \ne 0</math>; I'm not sure what to minimize.

Anyone know a better way? —[[User:Tamfang|Tamfang]] ([[User talk:Tamfang|talk]]) 06:24, 19 February 2008 (UTC)
:Minimize the sum of squares of <math> A {x_i}^2 + 2 B x_i y_i + C {y_i}^2 + D x_i + E y_i + F </math> using some other normalizing condition than <math> F=1 \,</math> (which excludes curves through the origin). [[User:Bo Jacoby|Bo Jacoby]] ([[User talk:Bo Jacoby|talk]]) 07:50, 19 February 2008 (UTC).

:You could try an iterative approach. Define for brevity
::<math>F(x,y) = A {x_i}^2 + 2 B x_i y_i + C {y_i}^2 + D x_i + E y_i + 1</math>
:and
::<math>F_i = F(x_i,y_i).\,</math>
:Given estimates for the coefficients ''A'', ''B'', etcetera, you can determine the distance ''e<sub>i</sub>'' of each point (''x<sub>i</sub>'',''y<sub>i</sub>'') to the curve determined by {{mbox|= ''F''(''x'',''y'') = 0}}. If we give weight ''w<sub>i</sub>'' to the term ''F''<sub>i</sub><sup>2</sup> in a weighted sum of squares, we want the weighted square to come out like ''e<sub>i</sub>''<sup>2</sup>, which suggests setting
::<math>w_i = \frac{e_i^2}{F_i^2}</math>
:as the weights for a next iteration.
:
:Instead of determining the values ''e<sub>i</sub>'' exactly, which is computationally expensive, you can approximate it by using the linear approximation
::<math>F(x+\Delta x,y+\Delta y) \approx F(x,y) + \frac{\part}{\part x}F(x,y)\cdot\Delta x + \frac{\part}{\part y}F(x,y)\cdot\Delta y.</math>
:Applied to the point (''x<sub>i</sub>'',''y<sub>i</sub>''), we write this as
::<math>F(x_i+\Delta x,y_i+\Delta y) \approx F_i + \frac{\part}{\part x}F_i\cdot\Delta x + \frac{\part}{\part y}F_i\cdot\Delta y.</math>
:The least value for {{mbox|(Δ''x'')<sup>2</sup> + (Δ''y'')<sup>2</sup>}} for which the right-hand side can vanish, which provides an estimate for ''e<sub>i</sub>''<sup>2</sup>, is then given by
::<math>(\Delta x)^2 + (\Delta y)^2 = \frac{F_i^2}{\frac{\part}{\part x}F_i^2 + \frac{\part}{\part y}F_i^2}\,.</math>
:So for the weights for the next iteration, you can use then
::<math>w_i = (\frac{\part}{\part x}F_i^2 + \frac{\part}{\part y}F_i^2)^{-1}\,.</math>
:Since the value being inverted can become arbitrarily small and even vanish, you must exercise caution not to make this numerically unstable, and put limits on the size of the weights. &nbsp;--[[User talk:Lambiam|Lambiam]] 08:49, 21 February 2008 (UTC)

== Rationalising Surds ==

I was going over some of my notes and i tried this one but my answer isnt the same as in the book.. im not sure what im doing wrong<br>
Rationalise the denominator<br>
<math>\frac{1{}}{{\sqrt5 - \sqrt7}}</math> <br>
<math>=\frac{1{}}{{\sqrt5 - \sqrt7}}</math> <math>*\frac{{\sqrt5 + \sqrt7}}{{\sqrt5 + \sqrt7}}</math> <br>
<math>=\frac{{\sqrt5 + \sqrt7}}{{-2}}</math>
<br>[[User:Kingpomba|Kingpomba]] ([[User talk:Kingpomba|talk]]) 11:26, 19 February 2008 (UTC)

:Looks fine to me and quick calculator check confirms your answer. Could also be written as <math>\frac{{-\sqrt5 - \sqrt7}}{{2}}</math> or <math>-\left(\frac{{\sqrt5 + \sqrt7}}{{2}}\right)</math>. What does your book say ? [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 11:47, 19 February 2008 (UTC)

it says:
<math>\frac{1{}}{{2}}</math>
<math>(\sqrt5 + \sqrt7)</math>
(hmm i got a different answer on paper and i understand how the 1/2 thing works i guess typing it out on wikipedia helped me solve it, well cheers anyway =] [[User:Kingpomba|Kingpomba]] ([[User talk:Kingpomba|talk]]) 11:57, 19 February 2008 (UTC).
:Are you sure that's what it says? There should be a minus sign in front, shouldn't there? --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 12:54, 19 February 2008 (UTC)

:Here's a quick sanity check: 5 < 7, so sqrt(5) < sqrt(7) (by the properties of the square root), and hence sqrt(5) - sqrt(7) < 0. Thus the denominator of the original fraction is negative, meaning the whole fraction is negative. [[User:ConMan|Confusing Manifestation]]<small>([[User talk:ConMan|Say hi!]])</small> 23:47, 19 February 2008 (UTC)

= February 20 =

== zeros of a periodic function ==

Is there any way to find an <math>x</math> which solves the equation

<math>\frac{1}{2}+\frac{1}{4} \left( \cos(a x)+ \cos(b x) \right)=0 </math>

for any arbitrary <math>a</math> and <math>b</math>? I know that some value of ''x'' will make both <math>ax</math> and <math>bx</math> equal to an odd multiple of <math>\pi</math> but can't think of a way to find this value. I know that the answer may lie in recasting the equation in the form

<math>\frac{1}{2}+\frac{1}{2} \left( \cos(\frac{a-b}{2}x) \cos(\frac{a+b}{2} x) \right)=0 </math>

and in this case know that some value of x makes this product of cosine terms equal to negative one, but again can't think of how to find this x value. Can this be solved analytically or must I resort to numerical calculation (which would be very unsatisfying). Thank you very much for your assistance. <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/128.223.131.21|128.223.131.21]] ([[User talk:128.223.131.21|talk]]) 00:21, 20 February 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->

:If the combined function is periodic, then a/b is a rational number, so after rescaling x, you can assume a and b are relatively prime integers. Then I believe x=pi is a solution if both a,b are odd, and there is no solution if one of a or b is even. [[User:JackSchmidt|JackSchmidt]] ([[User talk:JackSchmidt|talk]]) 01:16, 20 February 2008 (UTC)
::To explain JackSchmidt's answer a bit: since (for <math>x\in\mathbb R</math>) <math>|\cos x|\le1</math>, the only way to have <math>\cos x+\cos y=-2</math> is to have <math>\cos x=\cos y=-1</math>. So <math>ax=(2n+1)\pi,bx=(2m+1)\pi</math>, so <math>\frac ab=\frac{2n+1}{2m+1}</math> and the simplest form of <math>\frac ab</math> must have both numbers odd. When that condition is satisfied, there is some smallest integer <math>k\ni\{ak,bk\}\sub\mathbb I</math>; ''k'' is the common denominator for ''a'' and ''b''. Any <math>x=(2l+1)k\pi</math> with integer ''l'' solves the equation. --[[User:Tardis|Tardis]] ([[User talk:Tardis|talk]]) 16:20, 20 February 2008 (UTC)

== ''[[Donald in Mathmagic Land]]'' ==

Two questions about the above-named 1959 Walt Disney film. (Question 1) In the film, a character incorrectly states the value of pi. Does anyone know how a Disney film that was designed to be a mathematics educational film for children (and presumably had math consultants working on it) could possibly contain such an error? How would that error slip by unnoticed? (Question 2) With regard to that error, someone stated (in a blog) that it was not really an error, since "the value of pi has changed so much since 1959". That cannot possibly be true, can it? I am sure that we have become enlightened about the accurate values of many digits of pi over the course of thousands of years of history ... but not since 1959, correct? Any ideas? Thanks. ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 04:10, 20 February 2008 (UTC))

: Pi is an irrational number meaning that its' decimal representation will have and infinite amount of digits. Given the fact that we can never calculate an infinite amount of digits it is the case that new digits have been calculated since 1959. Of course this does not mean the the value of pi has changed, just the precision with which one can write it. Perhaps this is what 'someone' was reffering too? Any errors in the calculation of digits of pi since 1959 would, i suspect, occur at least several thousand (being conservative here) digits out so it would in fact be an error. I have no input on how the error actually occured. <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/74.242.224.136|74.242.224.136]] ([[User talk:74.242.224.136|talk]]) 04:55, 20 February 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->

: The error could very well have been caused by something as simple as the voice actor getting lost while reading the digits. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 05:00, 20 February 2008 (UTC)

Thanks. Let me follow-up. I should have made this clearer. (Though, remember, we are dealing with a Disney children's video.) First ... the value of pi was recited to, perhaps, 15 or 20 decimal places ... certainly, no more than 20. So, since 1959, nothing has "changed" in that early chunk of the number - correct? Second ... regarding the voice actor flub. Certainly, that is a possibility. I guess my point was ... is not that an "inexcusable" error (that would call for a retake ... or, at the very least, a dubbed edit in post-production), given that it is an education video, and a math one to boot ( ... as opposed to, say, some character misstating the digits of pi on an inconsequential TV episode of ''Seinfeld'') ...? Thanks. ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 05:16, 20 February 2008 (UTC))

: [[Pi]] was known to 527 digits by the end of the 19th century, and to 2037 digits by 1949 (a decade earlier than the film was made). Our article on [[Donald in Mathmagic Land]] says that the bird only recites "the first few digits" of pi. The error was not due to pi not being known accurately enough in 1959. [[User:MrRedact|MrRedact]] ([[User talk:MrRedact|talk]]) 05:25, 20 February 2008 (UTC)

:: Probably the producers didn't consider it important. If the voice actor flubbed, either no one noticed or no one thought it was worth it to rerecord the line just to be pedantic. The character reciting pi is basically a throw-away gag anyway. They got the first few digits right (out to maybe eight or ten places, if I remember correctly), and that's certainly more than anyone really needs. The purpose of the film is not to teach children the digits of pi but to introduce them to some general mathematical concepts. —[[User:Bkell|Bkell]] ([[User talk:Bkell|talk]]) 06:12, 20 February 2008 (UTC)

Yes, I agree with all that is said above. However, as an ''education'' video --- I am not sure that being "pedantic" is a bad thing ... quite the contrary, I'd assume. I will also assume that Disney's multi-zillion dollar fortune could easily afford any "expensive" retakes. Finally, mathematicians are nothing, if not precise. I can't imagine a mathematician letting that glaring error slide. A film producer, yes ... a mathematician, nah. ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 06:56, 20 February 2008 (UTC))

: I agree completely. This is just a symptom of a much more general problem. Very few people care about spreading misinformation, and very many then wonder how come people are so misinformed. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 10:45, 20 February 2008 (UTC)

:: What a succinct -- yet woefully accurate -- synopsis, Meni. Bravo! ([[User:Joseph A. Spadaro|Joseph A. Spadaro]] ([[User talk:Joseph A. Spadaro|talk]]) 16:20, 20 February 2008 (UTC))
:As Bertrand Russell appears to have written: 'PEDANT—A man who likes his statements to be true.' [[User talk:Algebraist|Algebraist]] 10:55, 21 February 2008 (UTC)

== Predicate logic ==

I have to show, using a transformational proof (logical equivalence and rules of inference) that the following two premises are a contradiction:


:1. <math>\neg \exists x [ ((Q(x) \and R(x)) \or (Q(x) \and \exists y P(y)) ]</math>

:2. <math>\exists x [ ((Q(x) \and R(x)) \or (Q(x) \and \forall y P(y)) ]</math>


Now these two statements look quite similar because they were actually two more complex statements I tried to "whittle down" into a similar form in order to see where I could take it. They almost contradict one another apart from the <math>\exists y P(y)</math> part in 1. versus the <math>\forall y P(y)</math> part in 2.

Can you offer me a suggestion for manipulating these statements further to show a clear contradiction? My first line of thought would be to show that the conjunction, <math>\and</math>, of the two statements is false but I get bogged down in symbols. Perhaps there is a more elegant way using inference rules, I'm not sure. [[User:Damien Karras|Damien Karras]] ([[User talk:Damien Karras|talk]]) 13:39, 20 February 2008 (UTC)

:Start by consulting '''[[De Morgan's laws]]''', including the ones for quantifiers, if you're not familiar with them. Then you should be able to make use of the fact that <math>(\forall x\,A(x))\and(\exists x\,B(x))\rightarrow\exists x\,A(x)\and B(x)</math>. Also, it may not be strictly necessary, but consider what it means to say that <math>\exists x\,A(y)</math>. --[[User:Tardis|Tardis]] ([[User talk:Tardis|talk]]) 16:34, 20 February 2008 (UTC)

::The rwo premises are contradictory if (and only if) (2) implies the negation of (1). You will have to use somehow, directly or indirectly, a rule that says that <math>\forall y P(y)</math> implies <math>\exists y P(y)</math>. If you have a logic in which the domain of predicate ''P'' can be empty, so that this implication does not hold, while the domain of the predicates ''Q'' and ''R'', from which variable ''x'' assumes its values, is not necessarily empty, the two premises are not contradictory: take for ''Q'' the constant always-true predicate and for ''R'' the always-false predicate; the premises then simplify to <math>\neg \exists y P(y)</math> and <math>\forall y P(y)</math>. I don't know the precise rules of the you are allowed to use, but the logical connectives <math>\and\,\!</math> and <math>\or\,\!</math>, as well as existential quantification, are all "monotonic" with respect to implication, so that
:::<math>\exists x [ ((Q(x) \and R(x)) \or (Q(x) \and \forall y P(y)) ]\quad\rightarrow\quad\exists x [ ((Q(x) \and R(x)) \or (Q(x) \and \exists y P(y)) ]</math>
::is a consequence of
:::<math>\forall y P(y) \quad\rightarrow\quad \exists y P(y).</math>
::&nbsp;--[[User talk:Lambiam|Lambiam]] 09:58, 21 February 2008 (UTC)

::::Thanks for the response both, I will look into what you have said. In the meantime let it be known that P, Q and R share the same domain. [[User:Damien Karras|Damien Karras]] ([[User talk:Damien Karras|talk]]) 13:55, 21 February 2008 (UTC)

== There are no countably infinite [[σ-algebra]]s ==

Hoping someone can help me spot the holes in my argument. ;)

Suppose <math>\mathcal{S}</math> is a countably infinite σ-algebra over the set ''X''. If we can show that <math>\mathcal{S}</math> contains an infinite sequence of sets <math>E_1 \subset E_2 \subset \ldots</math> or <math>F_1 \supset F_2 \supset \ldots</math>, then the sequence of differences <math>E_1, (E_2-E_1), \ldots</math> or <math>\left(F_1 - \cup_{n > 1} F_n\right), \left(F_2 - \cup_{n > 2} F_n\right), \ldots</math> will be a countably infinite collection of pairwise disjoint sets <math>\{D_1, D_2, \ldots\}</math>, and the map <math>\{n_1, n_2, \ldots\} \mapsto \cup_{k\geq 1} D_{n_k}</math> will be an injection from the power set of '''N''' into <math>\mathcal{S}</math>.

Let <math>\mathcal{S}</math> be partially ordered under inclusion. We may assume that <math>\mathcal{S}</math> contains no infinite ascending [[Total order|chain]] <math>E_1 \subset E_2 \subset \ldots</math>, for if it does this gives us what we wanted.

The set <math>\mathcal{S}_1 = \mathcal{S} - \{\emptyset, X\}</math> has a maximal element ''F''<sub>1</sub> by [[Zorn's lemma]]. It follows that the only elements of <math>\mathcal{S}_1 - \{F_1, X-F_1\}</math> are subsets of ''F''<sub>1</sub> and their complements; in particular this set contains infinitely many subsets of ''F''<sub>1</sub>. The collection <math>\mathcal{S}_2</math> of these subsets cannot contain an infinite ascending chain, so has a maximal element ''F''<sub>2</sub>. It follows that the only elements of <math>\mathcal{S}_2 - \{F_2, F_1-F_2\}</math> are subsets of ''F''<sub>2</sub> and their complements relative to ''F''<sub>1</sub>. Proceeding in this way yields an infinite descending chain <math>F_1 \supset F_2 \supset \ldots</math>. [[User:merge|&nbsp;&mdash; merge]] 16:36, 20 February 2008 (UTC)

:I think you have confused [[maximal element]] with [[greatest element]]. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 19:46, 20 February 2008 (UTC)

Meni's right -- your last "it follows that" is wrong. The result is right, though. Hint: You don't need Zorn's lemma; the hypothesis that the sigma-algebra is countably infinite already gives you a bijection between the sigma-algebra and the natural numbers. Do induction along that. --[[User:Trovatore|Trovatore]] ([[User talk:Trovatore|talk]]) 20:08, 20 February 2008 (UTC)

:I had confused myself, although not about that--sorry! I'll definitely try what you said, but I've also tried to fix the above--any better? [[User:merge|&nbsp;&mdash; merge]] 21:08, 20 February 2008 (UTC)

Revised version at [[#σ-algebra redux|σ-algebra redux]] below. [[User:merge|&nbsp;&mdash; merge]] 13:26, 21 February 2008 (UTC)

== Summing 1^1 + 2^2 +3^3 ..... + 1000^1000 ==

I'm trying to improve my mathematics skills by doing the problems at Project Euler, but have hit a stumbling block with problem 48: (http://projecteuler.net/index.php?section=problems&id=48

I need to find the last 10 digits of 1^1 + 2^2 +3^3 ..... + 1000^1000

I've read the wikipedia page on [[Geometric_progression]] , but I want to do <math>\sum_{n=1}^{1000} n^n</math> rather than <math>\sum_{n=1}^{1000} r^n</math> (i.e. I don't have a constant value r)

I'm not so much looking for an answer, just what techniques or terminology I should be reading up on. Pointers welcomed!

[[User:Lordelph|Lordelph]] ([[User talk:Lordelph|talk]]) 16:56, 20 February 2008 (UTC)

:The key point is that you're looking for the last 10 digits, not the whole number (which is enormous). Think about which numbers contribute what to the last ten digits. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 17:14, 20 February 2008 (UTC)

:I don't ''think'' there is a mathematical shortcut for this. But Project Euler is as much about programming as it is about mathematics, so you could take a brute force approach. To calculate the last 10 digits of 999^999, for example, start with 999; multiply it by 999; just keep the last 10 digits; repeat another 997 times and you are done. You only need to work with interim results of up to 13 digits, so its not even a [[bignum]] problem. I guess you end up doing around half a million integer multiplications altogether, but I don't think that will take very long. In the time it's taken me to write this, someone has probably already programmed it. [[User:Gandalf61|Gandalf61]] ([[User talk:Gandalf61|talk]]) 17:27, 20 February 2008 (UTC)

::Actually even the ultimate brute force approach of computing the whole 3001-digit sum will be more than fast enough on a modern computer. My 2004 laptop took a negligible fraction of a second to evaluate <code>sum [n^n | n <- [1..1000]]</code> in [[Glasgow Haskell Compiler|GHCi]]. They should've gone up to 1000000^1000000. -- [[User:BenRG|BenRG]] ([[User talk:BenRG|talk]]) 19:24, 20 February 2008 (UTC)
::I've seen similar problems where there has been a shortcut, I can't spot one for this problem, though. It's a trivial programming exercise, though, so I can't see why they would have set it. I can see a few possible ways to optimise the code, but there's really no need (for example, 999^999=(990+9)^999, expand that out using the binomial expansion and each term will have a 990^n in it, which has all 0's for the last ten digits for all but the first 10 terms, so you can ignore all but those terms - probably not much quicker for 999^999 (you need to calculate the coefficients, which won't help), but could be for 999999^999999). --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 19:52, 20 February 2008 (UTC)
:::Many thanks for pointers, problem solved [[User:Lordelph|Lordelph]] ([[User talk:Lordelph|talk]]) 20:37, 20 February 2008 (UTC)

:On a slow computational platform, this can be somewhat sped up as follows. The recursive algorithms for [[exponentiation by squaring]] works in any [[ring (mathematics)|ring]], including the ring '''Z'''/n'''Z''' of [[modulo arithmetic]]. So in computing n<sup>n</sup>, all computations can be done modulo 10<sup>10</sup>. And if n is a multiple of 10, n<sup>n</sup> reduces to 0 modulo 10<sup>10</sup>, so 10% of the terms can be skipped. <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[User:Lambiam|Lambiam]] ([[User talk:Lambiam|talk]] • [[Special:Contributions/Lambiam|contribs]]) 11:13, 21 February 2008 (UTC)</small><!-- Template:Unsigned --> <!--Autosigned by SineBot-->

== Resistance ==

These are more questions of physics than maths but considering the overlap between the two, and how this ref desk is much more specific than the science one, I'll ask them here.

I know that the formula for the overall resistance of two resistors in parallel is <math> \frac{1}{R_t} = \frac{1}{R_1} + \frac{1}{R_2}</math>. So if you have two fifty ohm resistors in parallel, the total resistance is 25 ohms. What I don't understand is how the total resistance can be less than that of either resistor; it doesn't make any sense to me.

Also, if you have the below setup but R1 is just a wire, how would you calculate the total resistance of the circuit, ignoring internal resistance?

[[Image:Resistors in series and parallel.svg|A diagram of three resistors, two in parallel, which are in series with the other]]

Many thanks, [[Special:Contributions/92.1.70.98|92.1.70.98]] ([[User talk:92.1.70.98|talk]]) 18:07, 20 February 2008 (UTC)
:It's actually very simple intuitively. Resistance measures how hard it is for electrons to move from one place to another. If there are two resistors in parallel, the electrons have 2 ways to choose from, thus travel is easier. The analogy is a mass of people trying to cross a narrow corridor - they will have a much easier time if there are two parallel corridors.
:Any resistor network can be solved using [[Ohm's law]] (<math>V=IR</math>) and [[Kirchhoff's circuit laws|Kirchhoff's current law]] (the sum of currents at every point is 0). This one is simpler because it's just two resistors in a series, where the second is composed of two resistors in parallel. Thus the equivalent resistance is <math>R_3+\frac{R_1R_2}{R_1+R_2}</math>.
:There are many Wikipedia articles from which you can learn more about this - [[Resistor]] might be a good start. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 18:35, 20 February 2008 (UTC)

::Well, Meni beat me to it. But here it is. First of all, the total resistance decreases when you are talking about two resistors in PARALLEL not in series. In series, you get exactly what you think that you should get. The total resistance is just the sum. In parallel, you can think of it like this, you have two branches, so the current going in splits up in the branch so the energy loss in each branch is smaller than what it should have been. But then the current adds up again when the branches meet. In series, the entire current has to go through both of the resistors, so the loss is greater. As for the picture, first you calculate the combined resistance of R1 ad R2 as resistors in parallel (call it R12) which gives you <math>R_{12}=\frac{R_1 R_2}{R_1+R_2}</math> and then you simply treat R3 as a resistor in series with the combined resistor R12 and you get that the total resistance of the circuit is <math>R=R_3+R_{12}=R_3+\frac{R_1 R_2}{R_1+R_2}</math>.[[User:A Real Kaiser|A Real Kaiser]] ([[User talk:A Real Kaiser|talk]]) 18:39, 20 February 2008 (UTC)

:::OK the explanation for why the resistance is less in parallel is helpful but I think you both missed the bit about R1 being just a wire, not a resistor (it was the best picture I could find lying around on WIkipedia). Using the equation for resistors in parallel, it would make the resistance of the parallel section 0 (assuming that a wire has no resistance). I would interpret this as meaning that all current goes through the wire and none goes through the resistor. Is that right? Thanks [[Special:Contributions/92.1.70.98|92.1.70.98]] ([[User talk:92.1.70.98|talk]]) 18:45, 20 February 2008 (UTC)

::::That would be an idealised situation. Nothing really has 0 resistance, so R<sub>1</sub> would be very small, but it would be non-zero. This would mean that the total resistance over R1 and R2 was almost 0, since R2's contribution would be negligible. -''[[User:Mattbuck|mattbuck]]'' <small>([[User talk:Mattbuck|Talk]])</small> 19:24, 20 February 2008 (UTC)
:::::Still, in the limit where <math>R_1 \to 0</math>, there will be no current going through R2 (this has nothing to do with ''interpretation'', it's just a calculation). Assuming we want the current to go through R2, the extra wire is a [[short circuit]]. -- [[User:Meni Rosenfeld|Meni Rosenfeld]] ([[User Talk:Meni Rosenfeld|talk]]) 19:32, 20 February 2008 (UTC)

== Random calculus question ==

A friend of mine asked me to help him solve the following question, and I'm not a math major by any means. So, any help would be appreciated. :) [[User:Zidel333|Zidel333]] ([[User talk:Zidel333|talk]]) 19:40, 20 February 2008 (UTC)

*[1+1/N] ^ (N+1/2), prove that it is always increasing from zero to infinity.

:It will help to try to prove something that is true: that function is always decreasing for <math>N\in(0,\infty)</math>. Its limit at large ''N'' is [[e (mathematical constant)|e]], as can be seen immediately from that article. The normal procedure is to evaluate the function's [[derivative]] and show that it is negative for all positive ''N''. However, the algebra involved is non-trivial; perhaps some information is missing? --[[User:Tardis|Tardis]] ([[User talk:Tardis|talk]]) 20:07, 20 February 2008 (UTC)

::I'm sorry, that's all the info I have from my friend. If he tells me more, I'll add it to the discussion. Thanks for your help so far, far better than what I could have come up with. :) [[User:Zidel333|Zidel333]] ([[User talk:Zidel333|talk]]) 20:12, 20 February 2008 (UTC)
::As it's "N" not "x", I would assume N is ranging only over the integers, so taking the derivative isn't necessary. You can either show that f(n+1)-f(n)<0 or f(n+1)/f(n)<1 for all n. The latter is probably easier. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 22:22, 20 February 2008 (UTC)
:::Hint: Perhaps rewriting the sequence as exp[(N+1/2)*log(1+1/N)] can help you (sorry, I'm not comfortable with LaTeX). --[[User:Taraborn|Taraborn]] ([[User talk:Taraborn|talk]]) 10:33, 21 February 2008 (UTC)

== Sum ==
How would you work out, for j and k ranging over the integers, the sum of (j+k)^-2? [[User:Black Carrot|Black Carrot]] ([[User talk:Black Carrot|talk]]) 20:36, 20 February 2008 (UTC)
:Well, the term for ''j''=''k''=0 is going to be a problem :-) --[[User:Trovatore|Trovatore]] ([[User talk:Trovatore|talk]]) 20:50, 20 February 2008 (UTC)
:But assuming you really meant the ''positive'' integers, the sum diverges. For a fixed ''j'', the sum over all ''k''>0 of (''j''+''k'')<sup>&minus;2</sup> is Ω(1/''j''). --[[User:Trovatore|Trovatore]] ([[User talk:Trovatore|talk]]) 20:53, 20 February 2008 (UTC)
:(Edit conflict) Assuming you mean positive integers, since all integers doesn't make sense, as Trovatore points out, observe that for a fixed j, and varying k, j+k varies over all the integers, so
:<math>\Sigma_{j,k\in N}(j+k)^{-2}=\Sigma_{j=1}^n(\Sigma_{k=1}^nk^{-2})</math>
:Now, the inner sum is clearly greater than 0, and summing an infinite number of non-zero constants gives you infinity (or, strictly speaking "doesn't converge"). So, unless I've missed something, the series doesn't converge. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 21:00, 20 February 2008 (UTC)
::Correction: For fixed j, varying k, j+k varies over all integers ''greater than j'', I was thinking of k varying over all integers, rather than just positive ones... it doesn't change the conclusion, though - the series still diverges. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 22:19, 20 February 2008 (UTC)

::The statement that "summing an infinite number of non-zero constants gives you infinity" is very often not true, even assuming you're limiting yourself to positive constants. For example, <math>\Sigma_{j=1}^\infty 2^{-j}=1</math> . See the [[Taylor series]] for e<sup>x</sup> or tan x as a couple other examples. [[User:MrRedact|MrRedact]] ([[User talk:MrRedact|talk]]) 01:50, 21 February 2008 (UTC)
:::None of those examples are constants. --[[User:Tango|Tango]] ([[User talk:Tango|talk]]) 12:08, 21 February 2008 (UTC)

== Integral Question ==
Hi I've got an integral question which i have the answer for but i don't understand why it works. <br />
The question is:
If f(x) is continuous on [0; ¼], show that:
<math>\lim_{n\rightarrow \infty} \int^{\pi}_{0}|sin\ nx|f(x)\ dx = \frac{2}{\pi} \int^{\pi}_{0} f(x)\ dx </math>
<br />
I've got it into this form:
<math> \lim_{n\rightarrow \infty} \sum^{n}_{k=1} \int^{ \frac{k \pi}{n} }_{ \frac{(k-1) \pi}{n} } | sin\ nx| f dx </math>
<br />
The next step i have written is:
<math> \sum^{n}_{k=1} f(\xi nk) \int^{ \frac{k \pi}{n} }_{ \frac{(k-1) \pi}{n} } | sin\ nx| dx </math><br />
But i don't understand how to get to that step. It doesnt help that my lecturer makes the odd mistake now and again.
Can somebody explain how to get between these steps and how to complete the rest of the question. Thanks for any help.
[[Special:Contributions/212.140.139.225|212.140.139.225]] ([[User talk:212.140.139.225|talk]]) 23:00, 20 February 2008 (UTC)

:In the one-but-last formula, write ''f''(''x'') instead of just ''f''. I think the last formula should be something like
::<math>\lim_{n\rightarrow \infty} \sum^{n}_{k=1} f(\xi_k) \int^{ \frac{k \pi}{n} }_{ \frac{(k-1) \pi}{n} } | sin\ nx| dx ,~\mathrm{where}~\tfrac{(k-1) \pi}{n} < \xi_k < \tfrac{k \pi}{n},</math>
:which is justified by the [[first mean value theorem for integration]]. &nbsp;--[[User talk:Lambiam|Lambiam]] 11:39, 21 February 2008 (UTC)

= February 21 =

== Quick question about log convexity ==

I've read the article on [[power series]], and it mentions that for more than one variable, the domain of convergence is a log-convex set instead of an interval.

But what is a log-convex '''set''' here ? I mean, how do we take the log of a set ? Surely the set can contain negative values for example...

Thanks. -- [[User:Sam Derbyshire|Xedi]] ([[User talk:Sam Derbyshire|talk]]) 02:13, 21 February 2008 (UTC)

:Sorry, I have no idea what they could mean by log-convexity of a set. The multi-variable stuff was [http://en.wikipedia.org/wiki/Power_series?diff=next&oldid=3844867 added] in June 2004, and the log-convex comment was [http://en.wikipedia.org/wiki/Power_series?diff=next&oldid=6838232 made] in Oct 2004. It does not appear to have been touched since then. I'll ask the author about it.
:The domain of convergence is a union of polydisks, but I think perhaps it need not be a polydisk. Some reasonably elementary notes are at [http://www.ipfw.edu/math/Coffman/linx4.html Adam Coffman's website], specifically his research notes on [http://www.ipfw.edu/math/Coffman/pdf/sernotes.pdf Notes on series in several variables]. It includes the polydisk result, as well as the continuity, and differentiability of functions defined by a series, and includes the nice "recentering" result familiar for one complex variable allowing analytic continuation. [[User:JackSchmidt|JackSchmidt]] ([[User talk:JackSchmidt|talk]]) 04:25, 21 February 2008 (UTC)

== Natural Logs ==

I'm being asked to evaluate natural logs and I'm getting very confused. One problem I'm having particular trouble with is lne(-x/3)

Could anyone please help explain to me how to solve problems like these and how to determine how to get started?

Thanks, anon. <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/66.76.125.76|66.76.125.76]] ([[User talk:66.76.125.76|talk]]) 03:53, 21 February 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->

:What is lne(-x/3) ?
:
:Is it Log[ Exp[-x/3] ] ?
:or is it Log[-x/3] where Log is Log based e.
:[[Special:Contributions/202.168.50.40|202.168.50.40]] ([[User talk:202.168.50.40|talk]]) 04:34, 21 February 2008 (UTC)

:: ln is usually a shorthand for log<sub>e</sub> --[[User:PalaceGuard008|PalaceGuard008]] ([[User_Talk:PalaceGuard008|Talk]]) 05:07, 21 February 2008 (UTC)
* <em>y</em> = log(-<em>x</em>/3)
* e<sup><em>y</em></sup> = -<em>x</em>/3
* <em>x</em> = -3e<sup><em>y</em></sup>
--[[User:Wj32|wj32]] <sup>[[User talk:Wj32|t]]/[[Special:Contributions/Wj32|c]]</sup> 05:16, 21 February 2008 (UTC)

:If the question is about {{mbox|ln ''e''<sup>−x/3</sup>}}, what can you say in general about {{mbox|ln ''e''<sup>A</sup>}}? &nbsp;--[[User talk:Lambiam|Lambiam]] 12:05, 21 February 2008 (UTC)

== is math the same as logic? ==

Is math the same as logic, or why not.

In other words, is there math that isn't logical, but just evaluates truths, for example "experimenting" with numbers to find out "facts" but not using logic to show that these must be necessarily true. After all, the other sciences don't rely on their findings to be NECESSARILLY true, just that they happen to be true... so which is math? <small>—Preceding [[Wikipedia:Signatures|unsigned]] comment added by [[Special:Contributions/79.122.42.134|79.122.42.134]] ([[User talk:79.122.42.134|talk]]) 10:12, 21 February 2008 (UTC)</small><!-- Template:UnsignedIP --> <!--Autosigned by SineBot-->
:You might be interested in [[logicism]] and [[experimental mathematics]]. [[User talk:Algebraist|Algebraist]] 10:43, 21 February 2008 (UTC)
:You might also be interested in [[David_Hilbert#Formalism|David Hilbert's project]] to formalize mathematics.--[[User:Droptone|droptone]] ([[User talk:Droptone|talk]]) 12:45, 21 February 2008 (UTC)

== Moment ==

Suppose you have a ladder leaning against a wall, which makes an angle θ with the ground, and a man, who can be treated as a particle, stands a distance l up the ladder. Now his weight will obviously be acting downwards and so working to work out the moment produced, you would have to resolve his weight vector to find the component of it that acts perpendicular to the ladder.

My question is, if you used Pythagoras or trig to determine his perpendicular distance from the ladder's point of contact with the ground to the line of action of the weight vector and then multiplied that by his weight, would that give you the correct value of the moment? Cheers in advance [[Special:Contributions/92.3.49.42|92.3.49.42]] ([[User talk:92.3.49.42|talk]]) 12:45, 21 February 2008 (UTC)
:Unless I've misunderstood, yes. What I tend to do is extend the "arrow" of the force such that the perpendicular goes through the point you are trying to resolve against, then it's a simple case of force times distance from point. <span style="font-family: Tahoma; font-size: 8pt;">[[User:x42bn6|<b>x42bn6</b>]] <span style="font-size: 7pt;">[[User talk:x42bn6|Talk]] [[Special:Contributions/x42bn6|Mess]]</span></span> 13:02, 21 February 2008 (UTC)

== σ-algebra redux ==

A revised version of [[#There are no countably infinite σ-algebras|There are no countably infinite σ-algebras]], hopefully closer to being correct?

'''Lemma'''. If <math>\mathcal{S}</math> is an infinite [[Field of sets|algebra]] over a set X, [[Partial order|partially ordered]] by [[Inclusion (set theory)|inclusion]], then <math>\mathcal{S}</math> contains an infinite ascending [[Total order|chain]] <math>a_1 < a_2 < \ldots</math> or an [[infinite descending chain]] <math>b_1 > b_2 > \ldots</math>.

''Proof'': Let <math>\mathcal{S}_1 = \mathcal{S} - \{X\}</math>. If <math>\mathcal{S}_1</math> has a chain with no [[upper bound]], then that gives us what we wanted. Otherwise <math>\mathcal{S}_1</math> has a [[maximal element]] ''b''<sub>1</sub> by [[Zorn's lemma]]. If <math>x \in \mathcal{S}_1</math> and <math>x \not\leq b_1</math> then <math>b_1 < x \cup b_1</math> so <math>x \cup b_1 = X</math> by maximality, and therefore <math>X - x \leq b_1</math>. That means there are infinitely many subsets of ''b''<sub>1</sub> in <math>\mathcal{S}_1</math>.

Let <math>\mathcal{S}_2</math> be that collection of subsets, minus ''b''<sub>1</sub> itself. Then <math>\mathcal{S}_2</math> has a maximal element ''b''<sub>2</sub>, and so again contains infinitely many subsets of ''b''<sub>2</sub>. Inductively we obtain an infinite descending chain <math>b_1 > b_2 > \ldots</math>.

'''Corollary'''. Every infinite algebra contains an infinite collection of [[pairwise disjoint]] sets.

We just take the sequence of differences of elements of the chain.

'''Corollary'''. There are no [[Countable set|countably infinite]] [[σ-algebra]]s.

An infinite σ-algebra is an infinite algebra, and by the above has an infinite subcollection <math>\{D_1, D_2, \ldots\}</math> of pairwise disjoint sets. The map <math>\{n_1, n_2, \ldots\} \mapsto \cup_{k\geq 1} D_{n_k}</math> is then an [[Injective function|injection]] from the [[power set]] of '''[[Natural number|N]]''' into the σ-algebra.

[[User:merge|&nbsp;&mdash; merge]] 13:58, 21 February 2008 (UTC)

Latest revision as of 00:05, 18 December 2024

Welcome to the mathematics section
of the Wikipedia reference desk.
Select a section:
Want a faster answer?

Main page: Help searching Wikipedia

   

How can I get my question answered?

  • Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
  • Post your question to only one section, providing a short header that gives the topic of your question.
  • Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
  • Don't post personal contact information – it will be removed. Any answers will be provided here.
  • Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
  • Note:
    • We don't answer (and may remove) questions that require medical diagnosis or legal advice.
    • We don't answer requests for opinions, predictions or debate.
    • We don't do your homework for you, though we'll help you past the stuck point.
    • We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.



How do I answer a question?

Main page: Wikipedia:Reference desk/Guidelines

  • The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
See also:


December 4

[edit]

How much is this

[edit]

37.162.46.235 (talk) 11:00, 4 December 2024 (UTC)[reply]

1 for n even, 0 for n odd. For see Grandi's series. --Wrongfilter (talk) 11:18, 4 December 2024 (UTC)[reply]
I hope this is not homework. Note that (for finite ) this is a finite geometric series.  --Lambiam 21:51, 4 December 2024 (UTC)[reply]


December 6

[edit]

Is there anything that would prevent peforming Weil Descent on binary curves of large characteristics ?

[edit]

The ghs attack involve creating an hyperlliptic curve cover for a given binary curve. The reason the attack fails most of the time is the resulting genus grows exponentially relative to the curve’s degree.

We don’t hear about the attack on finite fields of large characteristics since such curves are already secure by being prime. However, I notice a few protocol relies on the discrete logarithm security on curves with 400/500 bits modulus resulting from extension fields of characteristics that are 200/245bits long.

Since the degree is most of the time equal to 3 or 2, is there anything that would prevent creating suitable hyperelliptic cover for such curves in practice ? 2A01:E0A:401:A7C0:28FE:E0C4:2F97:8E08 (talk) 12:09, 6 December 2024 (UTC)[reply]

December 7

[edit]

Mathematical operation navigation templates

[edit]
RDBury is right, this discussion belongs at Wikipedia talk:WikiProject Mathematics
The following discussion has been closed. Please do not modify it.

If anyone with some mathematical expertise is interested, I'd appreciate some additional input at Talk:Exponentiation#funny table at end. The question is whether our articles on various mathematical operations could use a navigational template (aka "{{Navbox}}"). Our Exponentiation article tried to use {{Mathematical expressions}} for this purpose, but it doesn't really work. I've created {{Mathematical operations}} as a potential alternative, but the categorization and presentation I've created is probably naïve. (The whole effort may or not be worth it at all.) —scs (talk) 00:36, 7 December 2024 (UTC)[reply]

Wikipedia talk:WikiProject Mathematics is a better forum for this kind of thing, since it's focused on Wikipedia's mathematical articles. --RDBury (talk) 04:07, 7 December 2024 (UTC)[reply]
@RDBury: Excellent point. Thanks. —scs (talk) 13:49, 7 December 2024 (UTC)[reply]

December 8

[edit]

For each positive integer , which primes are still primes in the ring ?

[edit]

For each positive integer , which primes are still primes in the ring ? When , is the original integer ring, when , is the ring of Gaussian integers, when , is the ring of Eisenstein integers, and the primes in the Gaussian integers are the primes , and the primes in the Eisenstein integers are the primes , but how about larger ? 218.187.66.163 (talk) 04:50, 8 December 2024 (UTC)[reply]

A minuscule contribution: for the natural Gaussian primes and are composite:
So is the least remaining candidate.  --Lambiam 09:00, 8 December 2024 (UTC)[reply]
It is actually easy to see that is composite, since is a perfect square:
Hence, writing by abuse of notation for we have:
More in general, any natural number that can be written in the form is not prime in This also rules out the Gaussian primes and  --Lambiam 11:50, 8 December 2024 (UTC)[reply]
So which primes are still primes in the ring ? How about and ? 220.132.216.52 (talk) 06:32, 9 December 2024 (UTC)[reply]
As I wrote, this is only a minuscule contribution. We do not do research on command; in fact, we are actually not supposed to do any original research here.  --Lambiam 09:23, 9 December 2024 (UTC)[reply]
Moreover, is also a perfect square. (As in the Gaussian integers, the additive inverse of a square is again a square.) So natural numbers of the form are also composite. This further rules out and A direct proof that, e.g., is composite: There are no remaining candidates below and I can in fact not find any larger ones either. This raises the conjecture:
Every prime number can be written in one of the three forms and
Is this a known theorem? If true, no number in is a natural prime. (Note that countless composite numbers cannot be written in any of these forms; to mention just a few: )  --Lambiam 11:46, 9 December 2024 (UTC)[reply]
I'll state things a little more generally, in the cyclotomic field . (Your n is twice mine.) A prime q factors as , where each is a prime ideal of the same degree , which is the least positive integer such that . (We have assumed that q does not divide n, because if it did, then it would ramify and not be prime. Also note that we have to use ideals, because the cyclotomic ring is not a UFD.) In particular, stays prime if and only if generates the group of units modulo . When n is a power of two times an odd composite, the group of units is not cyclic, and so the answer is never. When n is a prime or twice a prime, the answer is when q is a primitive root mod n. If n is 4 times a power of two times a prime, the answer is never. Tito Omburo (talk) 11:08, 8 December 2024 (UTC)[reply]
For your , and are the same, as well as and , this is why I use instead of . 61.229.100.34 (talk) 20:58, 8 December 2024 (UTC)[reply]
Also, what is the class number of the cyclotomic field ? Let be the class number of the cyclotomic field , I only know that:
  • for (is there any other such )?
  • If divides , then also divides , thus we can let
  • For prime , divides if and only if is Bernoulli irregular prime
  • For prime , divides if and only if is Euler irregular prime
  • for (is there any other such )?
  • is prime for (are there infinitely many such ?)
Is there an algorithm to calculate quickly? 61.229.100.34 (talk) 21:14, 8 December 2024 (UTC)[reply]

Can we say anything special about every pair of functions f,g, satisfying f(g(x))=f(x) for every x?

[edit]

Especially, is there an accepted term for such a pair?

Here are three simple examples, for two functions f,g, satisfying the above, and defined for every natural number:

Example #1:

f is constant.

Example #2:

f(x)=g(x), and is the smallest even number, not greater than x.

Example #3:

f(x)=1 if x is even, otherwise f(x)=2.
g(x)=x+2.

2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 09:31, 8 December 2024 (UTC)[reply]

One way to consider such a pair is dynamically. If you consider the dynamical system , then the condition can be stated as " is constant on -orbits". More precisely, let be the domain of , which is also the codomain of . Define an equivalence relation on by if for some positive integers . Then is simply a function on the set of equivalence classes (=space of orbits). In ergodic theory, such a function is thought of as an "observable" or "function of state", being the mathematical analog of a thermodynamic observable such as temperature. Tito Omburo (talk) 11:52, 8 December 2024 (UTC)[reply]
After you've mentioned temprature, could you explain what are f,g, as far as temprature is concerned? Additionally, could you give another useful example from physics for such a pair of functions? 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 19:49, 8 December 2024 (UTC)[reply]
This equation is just the definition of function g. For instance if function f has the inverse function f−1 then we have g(x)=x. Ruslik_Zero 20:23, 8 December 2024 (UTC)[reply]
If f is the temperature, and g is the evolution of an ensemble of particles in thermal equilibrium (taken at a single time, say one second later), then because temperature is a function of state, one has for all ensembles x. Another example from physics is when is a Hamiltonian evolution. Then the functions with this property (subject to smoothness) are those that (Poisson) commute with the Hamiltonian, i.e. "constants of the motion". Tito Omburo (talk) 20:33, 8 December 2024 (UTC)[reply]
Thx. 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 10:43, 9 December 2024 (UTC)[reply]
Let be a function from to and a function from to Using the notation for function composition, the property under discussion can concisely be expressed as An equivalent but verbose way of saying the same is that the preimage of any set under is closed under the application of  --Lambiam 08:54, 9 December 2024 (UTC)[reply]
Thx. 2A06:C701:746D:AE00:ACFC:490:74C3:660 (talk) 10:43, 9 December 2024 (UTC)[reply]

IEEE Xplore paper claim to acheive exponentiation inversion suitable for pairing in polynomial time. Is it untrustworthy ?

[edit]

I just found https://ieeexplore.ieee.org/abstract/document/6530387. Given the multiplicative group factorization in the underlying finite field of a target bn curve, they claim to acheive exponentiation inversion suitable for pairing inversion in seconds on a 32 bits cpu.

On 1 side, the paper is supposed to be peer reviewed by the iee Xplore journal and they give examples on 100 bits. On the other side, in addition to the claim, their algorithm 2 and 3 are very implicit, and as an untrained student, I fail to understand how to implement them, though I fail to understand things like performing a Weil descent.

Is the paper untrustworthy, or would it be possible to get code that can be run ? 2A01:E0A:401:A7C0:152B:F56C:F8A8:D203 (talk) 18:53, 8 December 2024 (UTC)[reply]

About the paper, I agree to share the paper privately 2A01:E0A:401:A7C0:152B:F56C:F8A8:D203 (talk) 18:54, 8 December 2024 (UTC)[reply]

December 9

[edit]

If the Mersenne number 2^p-1 is prime, then must it be the smallest Mersenne prime == 1 mod p?

[edit]

If the Mersenne number 2^p-1 is prime, then must it be the smallest Mersenne prime == 1 mod p? (i.e. there is no prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p) If p is prime (no matter 2^p-1 is prime or not), 2^p-1 is always == 1 mod p. However, there are primes p such that there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p:

but for these primes p, 2^p-1 is not prime, and my question is: Is there a prime p such that 2^p-1 is a prime and there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p?

  • If 2^11-1 is prime, then this is true, since 2^11-1 is == 1 mod 31 and 2^31-1 is prime, but 2^11-1 is not prime
  • If 2^23-1 or 2^67-1 is prime, then this is true, since 2^23-1 and 2^67-1 are == 1 mod 89 and 2^89-1 is prime, but 2^23-1 and 2^67-1 are not primes
  • If 2^29-1 or 2^43-1 or 2^71-1 or 2^113-1 is prime, then this is true, since 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are == 1 mod 127 and 2^127-1 is prime, but 2^29-1 and 2^43-1 and 2^71-1 and 2^113-1 are not primes
  • If 2^191-1 or 2^571-1 or 2^761-1 or 2^1901-1 is prime, then this is true, since 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are == 1 mod 2281 and 2^2281-1 is prime, but 2^191-1 and 2^571-1 and 2^761-1 and 2^1901-1 are not primes
  • If 2^1609-1 is prime, then this is true, since 2^1609-1 is == 1 mod 3217 and 2^3217-1 is prime, but 2^1609-1 is not prime

Another question: For any prime p, is there always a Mersenne prime == 1 mod p? 220.132.216.52 (talk) 19:03, 9 December 2024 (UTC)[reply]

Neither question is easy. For the first, relations would imply that the integer 2 is not a primitive root mod p, and that its order divides for the prime q. This is a sufficiently infrequent occurrence that it seems likely that all Mersenne numbers could be ruled out statistically, but not enough is known about their distribution. For the second, it is not even known if there are infinitely many Mersenne primes. Tito Omburo (talk) 19:23, 9 December 2024 (UTC)[reply]
I found that: 2^9689-1 is the smallest Mersenne prime == 1 mod 29, 2^44497-1 is the smallest Mersenne prime == 1 mod 37, 2^756839-1 is the smallest Mersenne prime == 1 mod 47, 2^57885161-1 is the smallest Mersenne prime == 1 mod 59, 2^4423-1 is the smallest Mersenne prime == 1 mod 67, 2^9941-1 is the smallest Mersenne prime == 1 mod 71, 2^3217-1 is the smallest Mersenne prime == 1 mod 97, 2^21701-1 is the smallest Mersenne prime == 1 mod 101, and none of the 52 known Mersenne primes are == 1 mod these primes p < 1024: 79, 83, 103, 173, 193, 197, 199, 227, 239, 277, 307, 313, 317, 349, 359, 367, 373, 383, 389, 409, 419, 431, 443, 461, 463, 467, 479, 487, 503, 509, 523, 547, 563, 587, 599, 613, 647, 653, 659, 661, 677, 709, 727, 733, 739, 743, 751, 757, 769, 773, 797, 809, 821, 823, 827, 829, 839, 853, 857, 859, 863, 887, 907, 911, 919, 929, 937, 941, 947, 971, 977, 983, 991, 1013, 1019, 1021 220.132.216.52 (talk) 20:51, 9 December 2024 (UTC)[reply]
Also,
but none of these primes p has 2^p-1 is known to be prime, the status of 2^(2^89-1)-1 and 2^(2^107-1)-1 are still unknown (see double Mersenne number), but if at least one of them is prime, then will disprove this conjecture (none of the 52 known Mersenne primes are == 1 mod 2^61-1 or 2^127-1), I think that this conjecture may be as hard as the New Mersenne conjecture. 220.132.216.52 (talk) 20:55, 9 December 2024 (UTC)[reply]
Also, for the primes p < 10000, there is a prime q < p such that 2^q-1 is also a Mersenne prime == 1 mod p only for p = 73, 151, 257, 331, 337, 353, 397, 683, 1321, 1613, 2113, 2731, 4289, 4561, 5113, 5419, 6361, 8191, 9649 (this sequence is not in OEIS), however, none of these primes p have 2^p-1 prime. 220.132.216.52 (talk) 02:23, 10 December 2024 (UTC)[reply]

December 10

[edit]

More on the above conjecture

[edit]

Above I posed:

Conjecture. Every prime number can be written in one of the three forms and

If true, it implies no natural prime is a prime in the ring .

The absolute-value bars are not necessary. A number that can be written in the form is also expressible in the form

It turns out (experimentally; no proof) that a number that can be written in two of these forms can also be written in the third form. The conjecture is not strongly related to the concept of primality, as can be seen in this reformulation:

Conjecture. A natural number that cannot be written in any one of the three forms and is composite.

The first few numbers that cannot be written in any one of these three forms are

They are indeed all composite, but why this should be so is a mystery to me. What do and which appear later in the list, have in common? I see no pattern.

It seems furthermore that the primorials, starting with make the list. (Checked up to )  --Lambiam 19:23, 10 December 2024 (UTC)[reply]

Quick note, for those like me who are curious how numbers of the form can be written into a form of , note that , and so . GalacticShoe (talk) 02:20, 11 December 2024 (UTC)[reply]
A prime is expressible as the sum of two squares if and only if it is congruent to , as per Fermat's theorem on sums of two squares. A prime is expressible of the form if and only if it is congruent to , as per OEIS:A002479. And a prime is expressible of the form if and only if it is congruent to , as per OEIS:A035251. Between these congruences, all primes are covered. GalacticShoe (talk) 05:59, 11 December 2024 (UTC)[reply]
More generally, a number is not expressible as:
  1. if it has a prime factor congruent to that is raised to an odd power (equivalently, .)
  2. if it has a prime factor congruent to that is raised to an odd power
  3. if it has a prime factor congruent to that is raised to an odd power
It is easy to see why expressibility as any two of these forms leads to the third form holding, and also we can see why it's difficult to see a pattern in numbers that are expressible in none of these forms, in particular we get somewhat-convoluted requirements on exponents of primes in the factorization satisfying congruences modulo 8. GalacticShoe (talk) 06:17, 11 December 2024 (UTC)[reply]
Thanks. Is any of this covered in some Wikipedia article?  --Lambiam 10:06, 11 December 2024 (UTC)[reply]
All primes? 2 is not covered! 176.0.133.82 (talk) 08:00, 17 December 2024 (UTC)[reply]
can be written in all three forms:  --Lambiam 09:38, 17 December 2024 (UTC)[reply]
I don't say it's not covered by the conjecture. I say it's not covered by the discussed classes of remainders. 176.0.133.82 (talk) 14:54, 17 December 2024 (UTC)[reply]
Odd prime, my bad. GalacticShoe (talk) 16:38, 17 December 2024 (UTC)[reply]

Assume p is 3 mod 4. Suppose that (2|p)=1. Then where . Because the cyclotomic ideal has norm and is stable under the Galois action it is generated by a single element , of norm .

If (2|p)=-1, then the relevant ideal is stable under and so is generated by , of norm . Tito Omburo (talk) 14:43, 11 December 2024 (UTC)[reply]

December 11

[edit]

Unique normal ultrafilter

[edit]

So I'm supposed to know the answer to this, I suppose, but I don't seem to :-)

"Everyone knows" that, in , Gödel's constructible universe relative to an ultrafilter on some measurable cardinal , there is only a single normal ultrafilter, namely itself. See for example John R. Steel's monograph here, at Theorem 1.7.

So I guess that must mean that the product measure , meaning you fix some identification between and and then say a set has measure 1 if measure 1 many of its vertical sections have measure 1, must not be normal. (Unless it's somehow just equal to but I don't think it is.)

But is there some direct way to see that? Say, a continuous function with such that the set of fixed points of is not in the ultrafilter no singleton has a preimage under that's in the ultrafilter? I haven't been able to come up with it. --Trovatore (talk) 06:01, 11 December 2024 (UTC)[reply]



December 15

[edit]

What is the cause of this paradox?

[edit]

I recently completed a calculus term, in which one of the last units involving how much one aspect of an object was changing in relation to time at a certain point, given the rate of change of another aspect. Many specific questions could be analyzed as a right triangle with one leg (the x) remaining constant and the other leg (the y) growing at a specified rate. When it came time to solve for the value of the dz/dt (the rate of the hypotenuse’s growth with respect to time) at a certain point, it ended up as less than the provided dy/dt. Here’s an illustration:

The x is the distance from me to a tower. This remains constant.

The y is the distance from the tower to a flying bird.

The dy/dt is the speed at which the bird is flying from the tower.

The z is my distance from the bird.

In this illustration, the distance between me and the bird is increasing at a slower rate than the speed at which the bird itself is flying. What is the cause of this paradox? Primal Groudon (talk) 19:43, 15 December 2024 (UTC)[reply]

I do not see any paradox here. Ruslik_Zero 20:30, 15 December 2024 (UTC)[reply]
If the bird is between you and the tower (0 ≤ y < x), the distance between you and the bird is even decreasing: dz/dt < 0. By the time it flies right overhead (y = x), the distance is momentarily stationary: dz/dt = 0. After that, it increases: dz/dt > 0. This rate of increase will asymptotically approach dy/dt from below as the bird flies off into an infinite distance.  --Lambiam 00:34, 16 December 2024 (UTC)[reply]
I think the issue here is that even though the rate of change of z is less than the rate of change of y, z never actually becomes less than y. You can see this graphically, for example, by comparing the graphs of y=x and y=√(x2+1). The second graph is always above the first graph, but the slope of the first graph is x/√(x2+1), which is always less than 1, the slope of the first graph. But this is typical behavior when a graph has an asymptote. As a simpler example, the slope of 1/x is negative, but the value never goes below 0 (at least for x>0). Similarly, the slope of x+1/x is always less than 1, but the value of x+1/x is always greater than x (again, for x>0). The graph of y=√(x2+1) is one branch of a hyperbola having y=x as an asymptote, and this looks very much like the x>0 part of y=x+1/x. In general the difference in rates of change can imply that that two quantities get closer and closer to each other, but this does not mean they ever become equal. This phenomenon is, perhaps, counterintuitive for many people, but the math says it can happen anyway. I don't know if this rises to the level of a paradox, but I can see that it might be concerning for some. --RDBury (talk) 09:39, 16 December 2024 (UTC)[reply]
For x > 0, the graph of y=√(x2+1) looks even more like that of y=x+1/(2x). For example, when x = 5, √(x2+1) = 26 ≈ 5.09902 is approximated much more closely by 5.1 than by 5.2.  --Lambiam 18:35, 16 December 2024 (UTC)[reply]


December 18

[edit]