Jump to content

Wikipedia:Reference desk/Mathematics: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎What algorithm?: chromatic polynomial
→‎Proof: new section
Line 370: Line 370:


:Graph coloring does seem to be the simplest way to solve this. Look into [[chromatic polynomial]], which can be computed by hand for smallish graphs once you learn the recurrence relation for it. &mdash;&nbsp;Carl <small>([[User:CBM|CBM]]&nbsp;·&nbsp;[[User talk:CBM|talk]])</small> 13:00, 29 January 2010 (UTC)
:Graph coloring does seem to be the simplest way to solve this. Look into [[chromatic polynomial]], which can be computed by hand for smallish graphs once you learn the recurrence relation for it. &mdash;&nbsp;Carl <small>([[User:CBM|CBM]]&nbsp;·&nbsp;[[User talk:CBM|talk]])</small> 13:00, 29 January 2010 (UTC)

== Proof ==

If you were asked to prove that the square root of 2 is an irrational number, how would it be done? [[Special:Contributions/198.188.150.134|198.188.150.134]] ([[User talk:198.188.150.134|talk]]) 13:02, 29 January 2010 (UTC)

Revision as of 13:02, 29 January 2010

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:



January 22

Weaker versions of Fermat's Last Theorem

Andrew Wiles proved that Fermat's Last Theorem is true, i.e. that for the equation , there are no solutions where a, b, c and n are all natural numbers and n is greater than 2. What if we weaken the preconditions? If we allow at least one of a, b, and c to be any positive real, then it is trivially true that has solutions, because it reduces to checking whether is a positive real, and such a positive real always exists. But what if we say that a, b, and c have to be natural numbers, but n can be any positive real? What can we say about what solutions exist for what values of n? JIP | Talk 07:04, 22 January 2010 (UTC)[reply]

For all natural numbers (a, b, c) such that c > a and c > b and c < a + b there exists a real number n such that . I've discovered a lovely little proof of this, but this edit window is too small to contain it. Dragons flight (talk) 08:04, 22 January 2010 (UTC)[reply]
Let me try: ⊿. --Stephan Schulz (talk) 08:25, 22 January 2010 (UTC)[reply]
:-) Nice actually you don't need c<a+b (for real numbers 0<a≤b<c or 0<c<a≤b there exists a unique real n; if 0<a≤c≤b no such real n exists). --pma 09:49, 22 January 2010 (UTC)[reply]
63+73>83 but 64+74<84, so there is a solution with a=6, b=7, c=8, and n somewhere between 3 and 4.--RDBury (talk) 13:35, 22 January 2010 (UTC)[reply]
I don't have a proof but just thinking it through I'm sure there's an infinity of a solution for n: take e.g. the above and double all the numbers. The solution will be the same but you can also modify a, b and c to get a slightly different equation with a different solution. Rinse and repeat with ever bigger numbers. There should be equations with solutions and so values for n. But there are real numbers in any interval, so an n picked at random will not be a solution. I don't know if you can say anything about the values for n other than this. --JohnBlackburnewordsdeeds 13:49, 22 January 2010 (UTC)[reply]
Strictly speaking there are at least real numbers in any interval. AndrewWTaylor (talk) 14:15, 22 January 2010 (UTC) [reply]
The homogeneity of the equation suggests an alternative proof to the one which (I assume) Dragons flight had in mind. Show that for any real u, v such that 0 < u < 1 and 0 < v < 1 there is a real w > 0 such that . Then take u = a/c and v = b/c. Gandalf61 (talk) 14:31, 22 January 2010 (UTC)[reply]
If w = 0 then . The limit as w→+∞ is 0. So by continuity there is a value of w between 0 and +∞ where the expression =1. There are only countably many choices for u and v so the number of possible values for w is countable. In particular Fermat's last theorem says w can't be an integer greater than 3. It probably wouldn't be hard to show the possible ws are dense in some interval though. So even though you can't have w=3 you could get w arbitrarily close to 3.--RDBury (talk) 18:04, 22 January 2010 (UTC)[reply]
A variation on these lines: for a given positive integer n it's not hard to find countably many solutions in positive integers x,y,z of the Diophantine equation x1/n+y1/n=z1/n. But can we characterize all solutions? In particular, is it necessary that x,y,z are perfect n-th powers? --84.220.119.131 (talk) 22:58, 22 January 2010 (UTC)[reply]

Bounds

Let us assume that a(t) and b(t) are, over ]0,∞[, both real valued and infinitely differentiable functions of the variable t. Furthermore, let us assume that the function c(t) is defined by c(t) = a(t) / b(t). Now, let us assume that the limit of c(t) as t tends towards positive infinity is k, where k is a positive real number. What can we say about a(t) and b(t)? What can we say about anything? Fly by Night (talk) 18:42, 22 January 2010 (UTC)[reply]

What sort of things do you want to say? We can say, for example, that b is eventually nonzero (that's the only constraint on b alone, though) and that a and b are eventually of the same sign. Algebraist 18:48, 22 January 2010 (UTC)[reply]
I wanted something more substantial than that. If we have two non-zero integers, say a and b, then we can form the number a/b. The integers cross the integers form a quotient space, namely the rational numbers: we say that (a,b) is in the same class as (c,d) if and only if ad = bc. Is their some kind of classification of pair of functions given a limit of their quotient? Fly by Night (talk) 19:05, 22 January 2010 (UTC)[reply]
There might be two equivalence relations. Define A(b, k) the set of functions which have limit k when divided by b, define B(a, k) the set of functions which have limit k when multiplied by a. My guess is that for every k, for every triplett of functions b, x, y it is true that: x in A(b, k) and y in A(b, k) => B(x, k) = B(y, k). Then B(A(b, k), k) could be an equivalence class for b. Maybe k is also irrelevant, so we get the class "all functions with similar limit behaviour as b". I don't know if that is actually true, but it sounds interesting and superficially plausible. —Preceding unsigned comment added by 80.226.1.7 (talk) 15:45, 23 January 2010 (UTC)[reply]

Simplify by substituting t=1/x because an infinite t is more confusing than a zero x. Pick an arbitrary positive continuous function C(x) with C(0)=k. Pick an arbitrary positive continuous function B(x). Define A(x)=B(x)C(x). All you can say is that limx→0A(x)/B(x)=k. Bo Jacoby (talk) 22:25, 22 January 2010 (UTC).[reply]


January 23

Finding a surface on which integrals of multiple functions are 0

Given a set of N linearly independent functions on some bounded simply-conected 2D surface , under what conditions does there exist another surface on which the integrals of all are 0?

does not need to be connected.

I wrote a simple program to find given , and the results indicate that it is sufficient that all are continuous functions that change sign somewhere on . I know this is not a necessary condition, but I am most interested in knowing if this condition is indeed sufficient. 83.134.167.153 (talk) 08:32, 23 January 2010 (UTC)[reply]

Not sure what you're up to but it sounds like you want to look at Orthogonal functions. Dmcq (talk) 15:57, 23 January 2010 (UTC)[reply]
I don't think just changing sign is sufficient. For example if f1 is strictly greater than f2, then it won't work. Rckrone (talk) 17:30, 23 January 2010 (UTC)[reply]


By the Lyapunov convexity theorem the set is a closed convex set in , and (in fact, as a consequence) the same holds if you also prescribe or for a given number c. Therefore, if you are ok with a measurable subset s of S instead of an open set s, you have the following necessary and sufficient condition: there exists such a measurable subset s, say with if and only if there are measurable sets with such that some convex combination of the vectors in vanishes. If you really need s to be a surface (that is, an open subset of S since S itself is a surface) then you need the analogous Lyapunov convexity theorem, that I think is still true and existing somewhere there out, especially if are continuous. pma. --84.220.118.69 (talk) 18:17, 24 January 2010 (UTC)[reply]


January 24

Query on an online document - subgroups of A5

Hi all,

I was just wondering if anyone could explain to me briefly the logic behind a part of this link:

http://docs.google.com/viewer?a=v&q=cache%3Aw82TetVc1DEJ%3Awww.rose-hulman.edu%2Fmathjournal%2Farchives%2F2009%2Fvol10-n1%2Fpaper4%2Fv10n1-4pd.pdf+subgroups+of+A5+order+20&hl=en&gl=uk&sig=AHIEtbSsrQJRFZfAaRS7cE25dmdwlG9dFg

On page 5 of 7, around 2 thirds of the way down the page, it says with regards to A5, 'If there were a subgroup H of order 15 or 20, letting A5 act on the coset space G/H would give a nontrivial homomorphism φ : A5 → S3 or φ : A5 → S4. The kernel of φ in either case would be a proper nontrivial normal subgroup of A5, hence no such H exists.'


Now, how do we know that the homomorphism would necessarily be nontrivial for indexes of 3 or 4, but not for index 5 or 6, say? I can't see where the argument falls down in the step between 3 and 4, other than the fact that we can actually find a group of order 12 in A5? I presume there's a nicer way to show where the argument falls apart, without having to actually exhibit the order-12 group. Why is it that the homom. would necessarily be non-trivial for |A5:H|=3,4 but not 5 or 6?

Many thanks,

Typeships17 (talk) 03:15, 24 January 2010 (UTC)[reply]

It's still nontrivial for 5, but then you just get a homomorphism into S5, which can be (and is) injective. The problem is that S3 and S4 are smaller than A5, so the homomorphism can't be injective, so the kernel can't be trivial. Since the homomorphism is necessarily nontrivial (because the action on the coset space is clearly transitive), the kernel can't be A5 either, so it must be a proper nontrivial normal subgroup, which of course doesn't exist. Algebraist 03:21, 24 January 2010 (UTC)[reply]
In general this argument shows that a simple group G of order less more than n! can't have a subgroup of index n. Slightly more thought shows that this holds if G just has order less more than n!/2. Algebraist 03:24, 24 January 2010 (UTC)[reply]
You mean a simple group of order *greater* than n! can't have a subgroup of index n > 1. In fact, a non-alternating simple group with a subgroup of index n (n large enough) has order bounded above by n^(c*log(n)). By comparison, n! is larger than (n/e)^n. JackSchmidt (talk) 07:50, 24 January 2010 (UTC)[reply]
That's nice. Is the proof amenable to brief explanation? Algebraist 15:00, 24 January 2010 (UTC)[reply]
I don't know if the "full" result is easy to explain, but there are some improvements to n!/2 that probably make a lot of sense. They eventually lead to the simple estimate that G cannot have order more than 4^n, which is better than 4^( c * n log(n) ) = n!/2, but worse than 4^( c*log(n)*log(n) ) = n^(c*log(n)) that I mentioned. A result of (Bochert 1889) shows that not only can you divide by 2, you can divide by the larger ((n+1)/2)! instead. Burnside's book apparently has one of the earlier versions, where you divide by a few more primes than just 2. This is mentioned in the paper (Manning 1915) which divides by a whole lot of primes, and might actually make a significant asymptotic difference. Basically it comes from looking at how Sylow subgroups can act; Sylows are small, and group orders are the product of their Sylows. A more advanced version of this is in (Praeger & Saxl 1980) which again uses bounds on the Sylows, splitting the primes into cases like Manning did, but using more modern estimates. They give the 4^n version.
  • Bochert, Alfred (1889), "Ueber die Zahl der verschiedenen Werthe, die eine Function gegebener Buchstaben durch Vertauschung derselben erlangen kann", Mathematische Annalen, 33 (4): 584–590, doi:10.1007/BF01444035, ISSN 0025-5831, MR 1510562
  • Manning, W. A. (1915), "On the order of primitive groups. II", Transactions of the American Mathematical Society, 16 (2): 139–147, doi:10.2307/1988714, ISSN 0002-9947, MR 1501006
  • Praeger, Cheryl E.; Saxl, Jan (1980), "On the orders of primitive permutation groups", The Bulletin of the London Mathematical Society, 12 (4): 303–307, doi:10.1112/blms/12.4.303, ISSN 0024-6093, MR 0576980
I don't remember an easy textbook like treatment of it, but I think results along these lines are discussed in Dixon-Mortimer. I'd check if Burnside's version is interesting and accessible. Let me know if you find an interesting and readable account; "subgroups of simple groups are ridiculously small" is one of my favorite themes to get across. JackSchmidt (talk) 17:27, 24 January 2010 (UTC)[reply]

College question: What material do I need to have a firm grasp on?

I am entering a college algebra course (some people call it pre-calculus) in a few weeks and I would like to know what prior material (Alg 1 & 2) I need to have a firm grasp on in order to make a smooth transition and be successful. I have never been very good at math but I am tremendously hard working. A list of topics or any advice would greatly appreciated. Thank you. —Preceding unsigned comment added by 161.165.196.84 (talk) 04:46, 24 January 2010 (UTC)[reply]

I recently ranted about College Algebra on -- maybe it was the science refdesk? Anyway, here's my perspective, as someone who's taught the course several times.
College Algebra (at least at the institution where I taught it) does not really go very far beyond Algebra I & II; it just does the same material faster. There are a few little wrinkles sometimes introduced, but I think they're fairly worthless (stuff like Dirichlet's Law of Signs or something like that).
My typical student was a lot like you've described yourself — never had a lot of success in math classes but willing to work very hard. This couldn't help but endear the students to me; they were very likable.
But unfortunately they were working hard in the wrong way. They preferred to memorize for an hour rather than think for five minutes. The outcome was usually not all that good.
My advice is not to do it that way. Put some effort into figuring out what's going on. If you don't understand what's going on, getting to where you do should be your priority over memorizing the recipes. Once you understand them, the recipes are pretty much obvious; you no longer need to memorize them.
Now, I should say that I'm not necessarily advising you how to get the best grade here. In the long run, this approach should get you the best grades too, but if this is the last math class you ever intend to take, then it's possible it won't "kick in" in time. So take it for what it's worth.
But if you actually want to get something out of the class, beyond checking off a general-ed requirement, then my way is really the only way. --Trovatore (talk) 05:04, 24 January 2010 (UTC)[reply]
Thank you for the response. I prefer your method due to the fact that it should afford me the greatest degree off success in my future calculus classes. When you say to "think for 5 minutes" what exactly do you mean? Can you explain to me the "right" thought proccess when confronted with a problem? Again, thank you for the help. —Preceding unsigned comment added by 161.165.196.84 (talk) 06:28, 24 January 2010 (UTC)[reply]
Obviously, the thought processes vary from problem to problem. I would suggest going over a similar problem that someone else has solved (I'm sure your lecturer will go over some, make sure you take detailed notes if they aren't provided). You then need to make sure you really understand what they did and why. If you really understand why they solved that problem like that, then you will find it easy to adapt the method to your problem. It is important that you understand the underlying theory, as well as how to solve problems. Make sure you really understand the definitions (working out how the definition works in extreme or trivial situations helps with that) and the statements of any results. Understanding the proofs also helps but, unless they are liable to come up in the exam (check that), you don't need to be able to reproduce them (often that just involves memorising the clever trick that is used - there usually is one - and that isn't useful for anything other than reproducing that proof). --Tango (talk) 07:10, 24 January 2010 (UTC)[reply]


Expanding on what Tango said, there is no single "right way to think", which is what makes it fun. Except of course when you're not getting anywhere; in that case it's what makes it painful. Maybe the most important thing to remember is, if the way you're thinking about it doesn't seem to be leading anywhere, try something else — and don't give up. The problems they give you at this level are all solvable. Sooner or later you'll hit on something.
Then try to remember the clarifying insight for next time.
I don't know how helpful these remarks really are — learning to think is a lifelong endeavor, and it's not realistic that I can help you much at that in a few lines. My encouragement to you is simply to actually do it. Use whatever you've already learned about how your thinking process works, and build on that. It gets more effective the more you do it, and the more you do it in a specific arena. Unfortunately most students, at least in the US, have not been exposed much to the idea that thinking is something that's actually required or even useful in a math class; you need to break out of that mindset. Best wishes for success; it can really be done. --Trovatore (talk) 07:37, 24 January 2010 (UTC)[reply]

I really don't understand US maths education... You're doing a pre-calc course at college? In the UK, if you are going to learn calculus, you do so aged 16/17. --Tango (talk) 07:10, 24 January 2010 (UTC)[reply]

U.S. students definitely have the opprotunity to take higher math courses while still in HS, I just chose not to..... unfortunately, I am now making up for it in college. —Preceding unsigned comment added by 161.165.196.84 (talk) 07:34, 24 January 2010 (UTC)[reply]
I'd answer your question for advice another way. The pre-requisites for such a course are limited. The best thing you could do would be to start on the textbook for the course a little early, and then just try to stay a leap ahead of the instructor.Julzes (talk) 08:30, 24 January 2010 (UTC)[reply]

You are under the misconception that there is one, and only one right way to think mathematically. Mathematics subsumes infinitely many different ways of thinking, and in fact the sorts of ways of thinking in existence will never be known. If otherwise, at one point in time everything about mathematics would be known, and this is of course impossible. It is therefore extremely important to appreciate that you will have to invent new ways of thinking should you pursue mathematics furthur. In fact, whatever you choose to study in the future, you will have to discover your own answers; neither your lecturer, nor even the most intelligent person in the world (not that one exists) can give you an answer to everything.

In any case, given the level of mathematics you are studying at present, you are not expected to invent new ways of thinking; ways unknown to all professional mathematicians. Nonetheless, it does help to develop your own ways of thinking; only you know those ways of thinking that result in maximal productivity for you. As a specific example, I would note that even after many years of experience in mathematical thinking, I occassionally find that I am thinking "too hard"; by this I imply thinking in a manner which gives one many original intuitions useful elsewhere but not effective in the context of the idea he/she is investigating. Thus, the best piece of advice I can offer you with regards to mathematical thinking is: "Think simply but abstractly" (you will learn the intended meaning of this "phrase" with time).

On another note, there are many ways in which you can "master" your precalculus course. Firstly, it is always useful to at least attempt to solve worked examples given in your book before (thoroughly) examining their solutions. This way, even if your attempts at the solutions result in failure, you will have some idea about the worked example making it easier to comprehend later on. Secondly, do not work too hard; if you are confident that you have a firm grasp of the material given in one chapter (that is, that you can solve a variety of textbook exercises without necessarily being able to solve them all), move on to the next chapter. Then, if time permits, you can return to solve any remaining exercises in previous chapters before the "final exam". By maintaining your workload at a minimum, you will remain interested in the course, and this is perhaps the most important factor in achieving good grades.

Lastly, specifically in response to your question, you should be comfortable around solving basic algebraic equations, factoring low degree polynomials, and perhaps, if possible, visualizing the graphs of basic polynomials. It is also useful to be familiar with trigonometry (trigonometric functions), but that very much depends on the content of your course. To summarize, do not be concerned if you cannot stick exactly to my advice; with time you will appreciate different ways of learning, and the advice I have given you now will become clear. Hope this helps. --PST 12:38, 24 January 2010 (UTC)[reply]

A big thank you to all who replied!!!! your information is as helpful as it is inspirational. Finally, does anyone know of any good online resources (preferably FREE) that provide math instruction and/ or tests to keep the skills I have aquried fresh? Thanks again! —Preceding unsigned comment added by 161.165.196.84 (talk) 11:53, 26 January 2010 (UTC)[reply]

Factoring Polynomials

Is there a general method for substituting a polynomial (in one variable) into another so as to get a factorable result? In particular, I'm interested in whether the assumption of Schinzel's hypothesis H allows the claim that for any p the ratio of the largest to smallest prime factors of np+1 may be made arbitrarily close to 1. For p=2 and p=3, it's not difficult to get a desired factorization into irreducible polynomials (which can be prime, by the hypothesis). Whether something of the same kind can be done with larger p is what I'm after specifically, but of course I'd like to know the general answer if there is one. I'm not quite sure where to look it up.Julzes (talk) 04:55, 24 January 2010 (UTC)[reply]

Just in the simplest case after the ones mentioned, I guess I'd like quartic Q(x) such that P(Q(x)), P(x)=x^4-x^3+x^2-x+1, factors into four quartics.Julzes (talk) 05:02, 24 January 2010 (UTC)[reply]

Actually, Q wouldn't need to be quartic, and I wouldn't generally expect Q to have the same or a lower degree than P. The only thing needed is to get the same number of factors as the degree of P and for the leading terms--coefficient and degree--of the factors to be equal.Julzes (talk) 08:46, 24 January 2010 (UTC)[reply]

Complex icosidodecahedra

Are these polyhedra?

4 T C 05:42, 24 January 2010 (UTC)[reply]

Yes. The clue is in the name - if it ends with "hedron" then it is a polyhedron (you don't get monohedrons - I suppose it would be another name for a solid polygon, but you never hear them called that). A polyhedron is a 3D shape made up of lots of flat faces (poly=many, hedron=faces). --Tango (talk) 07:14, 24 January 2010 (UTC)[reply]
Wouldn't a solid polygon be a dihedron as it has a top face and a bottom face? ;-) But anyway, since I made the articles from Mathworld, I still don't get where the faces are in these polyhedra. 4 T C 07:23, 24 January 2010 (UTC)[reply]
Yes, it could be a dihedron too. It depends on your exact definition - dealing with degenerate cases always tests just how good your definition is! --Tango (talk) 08:04, 24 January 2010 (UTC)[reply]
The first one just looks like an ordinary icosahedron to me; I don't see where the "dodeca" part comes in. --Trovatore (talk) 07:28, 24 January 2010 (UTC)[reply]
After some checking on MathWorld, it seems like the first one is a compound of an icosahedron and a great dodecahedron. That could be where the "dodeca" part comes in. 4 T C 07:37, 24 January 2010 (UTC)[reply]
I don't see a dodecahedron there, do you? Of course it's the dual of the icosahedron, so I suppose you can visualize a dodecahedron connecting the centers of the faces, but that's a bit strained — there's no obvious dodecahedron in the pic. --Trovatore (talk) 07:43, 24 January 2010 (UTC)[reply]
A big problem, yes. Actually, I meant great dodecahedron not a Platonic dodecahedron, but still we have the same problem: you can only see the icosahedron. Maybe someone could edit the picture to make this clearer. 4 T C 07:51, 24 January 2010 (UTC)[reply]
And in case you were wondering, I don't see a dodecahedron either. 4 T C 07:52, 24 January 2010 (UTC)[reply]
The shape shown in the picture is just an icosahedron. Presumably, if one could examine the actual 3-D model, then one would be able to see the more complex polyhedron with the dodecahedron inside. The picture needs clarification. Dbfirs 07:57, 24 January 2010 (UTC)[reply]

(undent) Or perhaps doing some rerendering. Actually, what really would help is to draw the icosahedron in wireframe, thus exposing the (solid) great dodecahedron inside. 4 T C 08:00, 24 January 2010 (UTC)[reply]

And the problem holds for the second one too. It's supposed to be a compound of a great icosahedron and a small stellated dodecahedron, but the picture is just a small stellated dodecahedron. The "wireframe solution" should also work here. 4 T C 08:02, 24 January 2010 (UTC)[reply]
Oops, no it doesn't. The "wireframe solution" would give the same problem in reverse - you would now see the other polyhedron in the compound, and just that. Has anyone got any ideas to resolve these issues? 4 T C 08:04, 24 January 2010 (UTC)[reply]
Something seems very sinister about polyhedra with coincident edges and vertices. Can they really be considered polyhedra after all? 4 T C 08:05, 24 January 2010 (UTC)[reply]
They're definitely not what I've ever thought of as polyhedra. The polyhedron page laments that there's no clear definition. I think I would at least require a polyhedron to be a compact C0 2-manifold. I was going to add "injectively immersed in 3-space" but I suppose a triangulation of the Klein bottle ought to count as a polyhedron. --Trovatore (talk) 08:11, 24 January 2010 (UTC)[reply]
Could you please explain what a "compact C0 2-manifold" is? I don't know much about manifolds... 4 T C 08:12, 24 January 2010 (UTC)[reply]
It means that at every point, locally, it has to look like Euclidean 2-space. So for example having three faces joining at the same edge is ruled out, because any neighborhood of a point on the edge would have a flap coming off it. --Trovatore (talk) 08:15, 24 January 2010 (UTC)[reply]
Incidentally, how can a manifold not be C0? Doesn't C0 just mean it is a topological space? --Tango (talk) 08:24, 24 January 2010 (UTC)[reply]
Right. The point of specifying C0 is to clarify that I'm not interested in the differential structure. --Trovatore (talk) 08:26, 24 January 2010 (UTC)[reply]
These two polyhedroids (since you don't think they're polyhedra anymore), have four faces at an edge - are they still compact C0 2-manifolds? 4 T C 08:31, 24 January 2010 (UTC)[reply]
No, unless I'm missing something. --Trovatore (talk) 08:42, 24 January 2010 (UTC)[reply]

(undent) Thought so, but can't figure out why. 4 T C 08:44, 24 January 2010 (UTC)[reply]

No. Basically, you should be able to smoothly deform a polyhedron into a sphere (or, I suppose, a torus, Klein bottle, etc., but normally it's a sphere). You need to be able to deform in so, at any given point, it is nice and flat around it. There is no way of making a point where more than two faces meet flat. --Tango (talk) 08:49, 24 January 2010 (UTC)[reply]
OK, thanks for the great explanation. I see now - such "polyhedroids" have different Euler characteristics depend on how you consider the edges. 4 T C 09:06, 24 January 2010 (UTC)[reply]
The edges and vertices are fine. It's the faces that trouble me - I've never seen a polyhedron where the faces intersect each other, other than at an edge. I would consider the intersection of two faces to be an edge, by definition, really. Your articles describe them as "generalised polyhedra", which seems reasonable to me (I haven't come across the term before, but it makes sense). An article, generalised polyhedron, would be good, though. It seems that the definition of a polyhedron is generalised by allowing more than two faces to meet at an edge and allowing faces the intersect away from edges. --Tango (talk) 08:20, 24 January 2010 (UTC)[reply]
Then take a look at the dodecadodecahedron - some points and lines where the faces intersect are not true vertices and edges. 4 T C 08:28, 24 January 2010 (UTC)[reply]
Oh, yes, there are some edges meeting each other away from vertices, as well. I haven't noticed that. --Tango (talk) 08:49, 24 January 2010 (UTC)[reply]
How about rendering the outer polyhedron with 50% transparency? --Tango (talk) 08:20, 24 January 2010 (UTC)[reply]
Now that's a great idea! How about, then, chopping up the faces of the outer polyhedron until you can only see thin rectangles running along the edges? 4 T C 08:28, 24 January 2010 (UTC)[reply]
Most 3D graphics programs can do transparency themselves, the faces would just look slightly see-through. --Tango (talk) 08:49, 24 January 2010 (UTC)[reply]

(undent) But apart from these sticky issues, there are still more: how do you define the vertex figure for such a polyhedron? The Euler characteristic shows that they're compounds - one element in both of them has chi = -6 and the other has chi = 2. You can figure out that both polyhedra (cid and gacid) have chi = -4 and -6 + 2 = -4. But that only holds if you don't merge coincident edges and vertices. 4 T C 08:36, 24 January 2010 (UTC)[reply]

Oh dear. There's yet another problem: do these polyhedra have duals? Let's just call them the small complex icosidodecacron and the great complex icosidodecacron like the uniform polyhedra. And - well - if they had duals, what would they look like? 4 T C 08:41, 24 January 2010 (UTC)[reply]
Without having given it much thought, I would think the dual of a compound would be the compound of the duals. That will most likely be just as messy as the originals, but if we accept the original as existing, we should accept the dual as existing too. --Tango (talk) 08:51, 24 January 2010 (UTC)[reply]
By your definition, the dual of cid would be a compound of a small stellated dodecahedron with its stellation core - a dodecahedron - in the centre. Darn, coincident edges and vertices again. Then the dual of gacid would be a compound of a great dodecahedron with a great stellated dodecahedron outside it, completely swallowing it up - the duals are just as messy as the originals. 4 T C 08:54, 24 January 2010 (UTC)[reply]
Well, cid's dual looks like gacid, and gacid's dual looks like a great stellated dodecahedron. (Not sure if I should tell all of you this, but I generated gacid as cid's dual here, as you couldn't see the inside. Looks like Stella uses Tango's definition.) 4 T C 08:56, 24 January 2010 (UTC)[reply]
Who's Stella? I didn't define anything, I just naively applied the standard definition of the dual of a polyhedron - the definition still works in this weird world we're discussing, it just gets an equally weird result. --Tango (talk) 08:59, 24 January 2010 (UTC)[reply]
This is Stella. ;-) Sorry for not being clear about that. 4 T C 09:04, 24 January 2010 (UTC)[reply]

(undent) For completeness, here are some freshly baked dual images. However they suffer from the same problems!

4 T C 13:05, 24 January 2010 (UTC)[reply]

And could they be considered uniform? They satisfy the requirements, but something seems strange. 4 T C 08:45, 24 January 2010 (UTC)[reply]
MathWorld says yes - but I'm not sure. 4 T C 09:20, 24 January 2010 (UTC)[reply]
There really is something very sinister about these two polyhedra. I wonder if there are any more like them? 4 T C 08:45, 24 January 2010 (UTC)[reply]
Well, their duals of course. There are a lot - say, a dodecahedron with an interior great stellated dodecahedron, or a compound of a cube, an octahedron, and a cuboctahedron. 4 T C 09:20, 24 January 2010 (UTC)[reply]
Now I'm not even sure they're compounds, as no compound has such coincident edges and vertices. 4 T C 08:51, 24 January 2010 (UTC)[reply]
I don't think it really matters - you get the same problems with other compounds, so excluding this case form being a compound doesn't seem to gain much. --Tango (talk) 08:55, 24 January 2010 (UTC)[reply]
I meant excluding cases where all vertices and edges coincide. This excludes these two but leaves all the other uniform compounds intact. 4 T C 09:02, 24 January 2010 (UTC)[reply]

Whoever wrote Polyhedral compound seems to think you can have polyhedra that aren't 2-manifolds. Those pictures certainly aren't of 2-manifolds, and the first line says they are polyhedra. --Tango (talk) 08:55, 24 January 2010 (UTC)[reply]

While you can have polyhedra with chi > 2 that aren't compounds (like the great disnub dirhombidodecahedron), something is wrong with the article in my opinion. Oh well, that's what you get for having no proper definition of a polyhedron. 4 T C 08:58, 24 January 2010 (UTC)[reply]

These things are weird. Weird, weird, weird. 4 T C 09:10, 24 January 2010 (UTC)[reply]

So weird we'd better shove them under the rug! 4 T C 09:21, 24 January 2010 (UTC)[reply]
An interesting debate as to Euler characteristics and what consitutes a polyhedron is to be found in Lakatos' book Proofs and refutations. Tinfoilcat (talk) 12:52, 24 January 2010 (UTC)[reply]
Very interesting - there's even an image of a great stellated dodecahedron on the cover. (That is, if it isn't a great complex icosidodecacron.) 4 T C 12:57, 24 January 2010 (UTC)[reply]
Until Stella (software) was mentioned, in my naivety I assumed that the pics were of physical models, possibly copper-foil stained glass nicely soldered and with spherical bumps of gilt solder at the vertices - now that would be craftsmanship.→86.132.233.255 (talk) 13:39, 24 January 2010 (UTC)[reply]
If only I could really do that... ;-) 4 T C 08:12, 25 January 2010 (UTC)[reply]

January 25

Cryptography

I can't figure this out. Can someone else decrypt it?

9 ka 1f 2c 1t g1 sj g3 ni aa hm a2 ub dh g2 y6 1d8 ug 18q m3 dq 1i5 m6 18x 1fz 1bc ep 1e 1e g1 4r 1i kd uc g5 qq 43 p7 9b 5e f3 ce qt km 18n 16s

--J4\/4 <talk> 18:24, 25 January 2010 (UTC)[reply]

It is not possible to decrypt without knowing the key and encryption/decryption algorithm. More info is needed. 78.101.208.18 (talk) 20:48, 25 January 2010 (UTC)[reply]

I think he wants someone to codebreak (you know, like the NSA). --75.50.49.11 (talk) 22:57, 25 January 2010 (UTC)[reply]

Differential equation

I was given a differential equation to solve: 3y'=5y^(2/5) or something, over the domain -infinity to infinity. We're also given than y(-1)=2 and y(4)=32...but how can this be? Solutions are of the form y=(x+C)^(3/5), so there would have to be two different C values for x=-1 and x=4. Now I know that, if say x=0 is not allowed, the domain is split in two an each part of the domain gets a seperate C value...but why would this apply to this case here? —Preceding unsigned comment added by 173.179.59.66 (talk) 19:09, 25 January 2010 (UTC)[reply]

Your solution isn't one for that DE, and you should only need one initial condition for a first-order equation. Are you stating the problem correctly? (It's worth noting that your DE is autonomous; that's the source of the form.) --Tardis (talk) 20:21, 25 January 2010 (UTC)[reply]
(ec) First note that the solution you wrote is not correct (have you checked it?). To find a solution, try the ansatz y(x):=c|x|αsgn(x) (which simply writes cxα in case α is a negative integer) and determine c and α plugging y(x) it into the equation. But first go and check the equation you were given: I bet it was 3y'=5|y|2/5, with the absolute value. Since the equation is autonomous (no x appears in it), y(x-a) is also a solution, for any real a. Not only: you may take y(x)=0 in some interval [a,b] and attach to it solutions of the above form for x>b and x<a vanishing at a and respectively b (check that such a function satisfies the ODE at any real x). For your problem, take a=-1 and b=4. You may be confused because the initial value problem for this equation does not have unicity, but note that the Cauchy-Lipschitz-Lindelöf-Picard-&c.. unicity theorem does not apply, because the RHS lacks the Lipschitz condition. pma.--84.220.118.69 (talk) 20:22, 25 January 2010 (UTC)[reply]

Step by step:

Another solution is

so the general solutions can be written

using the Iverson bracket for notation, and assuming that

.

Bo Jacoby (talk) 18:05, 26 January 2010 (UTC).[reply]

Topological Group Question

I'm having trouble figuring out this exercise: If G is a compact topological group, and g is in G, let A = {g0, g1, g2,... }. Show that the closure of A is a subgroup of G. This is problem 3 in section 15 of Bredon's Topology and Geometry (p. 55).

I'm trying to show that g-1 is in the closure of A and then I think the rest should be pretty straight forward. Since G is compact, the sequence g0, g1, g2,... has to have a subsequence that converges, but I can't figure out how to prove that there's one that converges to g-1. Rckrone (talk) 23:57, 25 January 2010 (UTC)[reply]

Maybe just show the closure K satisfies gK=K. gK ⊆ K since a subsequence times g is still a subsequence. K ⊆ gK, because a convergent subsequence doesn't change its limit when you remove g^0, and so a convergent subsequence (minus at most one term) divided by g is still a convergent subsequence. JackSchmidt (talk) 01:18, 26 January 2010 (UTC)[reply]
For showing K ⊆ gK, wouldn't you also need to show that g0 is in gK (which is equivalent to showing g-1 is in K)? I think what you did is not dependent on G being compact, and the property doesn't necessarily hold when compactness is removed. Rckrone (talk) 01:32, 26 January 2010 (UTC)[reply]
As far as equivalence goes, yes of course, that's how logic works. I show something equivalent to what you want is true, so what you want is true. What I did is very much dependent on K being compact, otherwise why would K have any points besides A in it? In other words, where do all the convergent subsequences come from? JackSchmidt (talk) 01:49, 26 January 2010 (UTC)[reply]
I think you misunderstood my objection. You did not show that g0 is in gK, which is the crux of the problem. Rckrone (talk) 04:40, 26 January 2010 (UTC)[reply]
(ec)The proposition is false if you don't assume compactness, so it must be used somehow. First, eliminate the case where A is finite since then g is finite order. Then by compactness, let x be a limit point. Let gni be a subsequence that converges to x. It shouldn't be hard to show that the set gni-nj (i>j) has 1 as a limit point. So 1 is a limit point of A and from there is trivial to show that g-1 is a limit point of A. I think that will work as an outline at least.--RDBury (talk) 01:46, 26 January 2010 (UTC)[reply]
The problem I have is that if gni and gnj are "close" I don't know that implies that gni-nj and 1 are "close". For example suppose in R that gn = 1/n. Obviously that's not a group, but I'm not sure what about a topological group makes something like that not happen. Rckrone (talk) 02:28, 26 January 2010 (UTC)[reply]
Multiplying by g−nj is a homeomorphism. Algebraist 02:33, 26 January 2010 (UTC)[reply]
Note that a topological group is a uniform space, and that "x and y are close" exactly means that xy-1 is close to 1. --pma 09:15, 26 January 2010 (UTC)[reply]
Sorry if this is just me being dense, but I'm not sure what to do with that. Say I have some open neighborhood U of 1. I want to show that there's some gm in U (m>0). So I try to show that there's some i and j, i<j such that gi(U) contains gj. One way that came to mind was to argue that the gi(U)'s covered the closure of A. But I don't how to show that. Rckrone (talk) 03:16, 26 January 2010 (UTC)[reply]
Ok I think I got it. For any neighborhood U of 1 you can find a symmetric open subset of U, call it V. For any point x not A but in the closure of A, there is a subsequence that converges to x, so there's a gn in x(V) so y = x-1gn is in V. gn = xy so gny-1 = x. y-1 is also in V, so x is in gn(V). That shows that the gi(V)'s and therefore the gi(U)'s cover the closure of A, which is compact, so there's a finite subcover. Then for all open U around 1, there's some gj in gi(U) with j>i, so gj-i is in U. So there's a subsequence that converges to 1, and from that a subsequence that converges to gn for each n<0. Thanks for the nudges. Rckrone (talk) 04:19, 26 January 2010 (UTC)[reply]
Just a small detail: since G is not assumed to be first countable, it may fail to be sequentially compact. I'd like more your proof rephrased this way: for any nbd U of the identity there exists n≥0, such that ggn ∈U. This can be written as gn ∈ g-1 U, and reads exactly : g-1 belongs to the closure of A. (any nbd of g-1 meets A) pma. --84.220.118.69 (talk) 08:05, 26 January 2010 (UTC)[reply]
That makes sense but I'm confused about sequential compactness. If a space is compact, then any net has subnet that converges. Isn't a sequence a net? So wouldn't any sequence in a compact space have a convergent subsequence? Obviously I'm doing something wrong. Rckrone (talk) 06:27, 27 January 2010 (UTC)[reply]
A sequence is a net, yes. But a subnet of a sequence is not necessarily a sequence. — Emil J. 12:35, 27 January 2010 (UTC)[reply]
Ok, I'll have to look into that more carefully. Thanks. Rckrone (talk) 17:46, 28 January 2010 (UTC)[reply]

January 26

Inverse Trigonometric Identity Prove

Hello. How would you prove ? Thanks in advance. --Mayfare (talk) 02:11, 26 January 2010 (UTC)[reply]

Take the tangent of both sides. The lhs can then be evaluated using the tangent angle addition formula; you should get after canceling tans with arctans. Let the messy expression inside arccos be X, and define θ=arccos(X), or X=cos(θ). Then use . You know sec(θ)=1/X. A bunch of messy algebra confirms that the rhs equals the lhs. --COVIZAPIBETEFOKY (talk) 02:30, 26 January 2010 (UTC)[reply]

I like your proof. Do we have to apply tangent on both sides since that would be crossing the left and right sides? --Mayfare (talk) 02:54, 26 January 2010 (UTC)[reply]

You always have to do the same thing to both sides, otherwise the two sides would no longer be equal. --Tango (talk) 04:32, 26 January 2010 (UTC)[reply]
Alternative geometric approach: draw a right angled triangle PQR with base 1 and height m. Using same base but going in opposite direction (i.e. "down" instead of "up", draw a right angled triangle PQS with base 1 and height n. You now have a triangle PRS with sides PR = √(1+m2), PS = √(1+n2) and RS = m+n. The angle opposite side RS is arctan(m)+arctan(n). Now apply the cosine rule. Gandalf61 (talk) 14:28, 26 January 2010 (UTC)[reply]

Cross ratio equal to 1/2tan^2 of spherical distnce

Hi all,

I wasn't sure whether to ask this here or not, I was hoping to sort it out myself but after 4 days thinking about it and so far had no such luck, it's clear that I'm not going to make any further progress without a little help - I don't think I can quite get my head around the geometry that's in play.

If u,v correspond to points P, Q on , and d denotes the angular distance from P to Q on , show that is the cross ratio of the points , taken in an appropriate order (which you should specify). (The star denotes complex conjugation - I'm not sure how to do the 'bar' in latex!)

Now I'm useless at geometry, but if I recall correctly, would correspond to the stereographic projection of the point (-P), right? And likewise with v - other than that however, I really can't see a smart way to do this. I certainly don't want to try all 6 permutations of the 4 points and see what pops up on the cross ratio, but at the same time I can't see intuitively where the could have come from in order to try and work out how to take the cross ratio to get the desired result. I'm aware that the angle between the 2 points P and Q is equal to d, but I can't seem to work anything out in the complex plane rather than the sphere. Please help!

Many thanks in advance! Mathmos6 (talk) 04:22, 26 January 2010 (UTC)[reply]

Cross-ratio is a projective invariant i.e. it is unchanged by projective transformations. So you can rotate to place u and v at convenient points without changing the cross-ratio. For example, you can place u at the origin and v at a point x on the real axis. Then -1/u* is at infinity, -1/v* is at -1/x, and the cross-ratio is -x2 (I think). Gandalf61 (talk) 11:38, 26 January 2010 (UTC)[reply]

I was wondering...

Is there a set numbers considered as the infinitesimal set? --Neptunerover (talk) 07:09, 26 January 2010 (UTC)[reply]

No. You can talk about the subset of infinitesimals within some number system, but that's all. An infinitesimal is a number that, however many times you add it to itself, will never give a result greater than 1 (or any other finite number). What infinitesimals exist will depend on what number system you are working in. In all the commonly used systems (ie. subsets of the complex numbers) the only infinitesimal is 0 (which is usually explicitly excluded when talking about infinitesimals). --Tango (talk) 07:43, 26 January 2010 (UTC)[reply]
I was thinking of within the set of rational numbers. --Neptunerover (talk) 07:55, 26 January 2010 (UTC)[reply]
If you wish to see concretely an infinitesimal among rationals, call it x and just add it to them as a tascendental extension. You'll find the ordered field of rational functions Q(x), where the order is such that 0<x<q for any positive rational q, and in general for two elements, f<g means that f<g as functions in a right neighborhood of 0.--pma 09:28, 26 January 2010 (UTC)[reply]
Thank you. That darn f of x stuff is the semester I had an algebra teacher who taught straight out of the textbook, which lost me from the beginning. I don't believe those books are intended to make sense on there own, otherwise there would be no need for the class. --Neptunerover (talk) 09:41, 26 January 2010 (UTC)[reply]
One should emphasise: that is among rationals, not within rationals. Q(x) is not a subset of Q. Zero is the only infinitesimal within the rationals. --Tango (talk) 10:00, 26 January 2010 (UTC)[reply]
More emphasis than that would be aragoto style. --pma 11:20, 26 January 2010 (UTC)[reply]

Normed Spaces

I want to find out the largest c such that where is the standard basis of endowed with the standard norm. How should I proceed? I am interested in the general way of finding out such a c in case of arbitrary bases or normed spaces. Thanks.-Shahab (talk) 08:41, 26 January 2010 (UTC)[reply]

I assume you want c independent from α1 and α2. So you want to compare the L1 and L2 norms in R2. Use the Cauchy-Schwarz inequality with the two vectors (1,1) and (α1, α2):
1| + |α2|=1|α1| + 1|α2| ≤ (12 + 12)1/2(|α1|2 + |α2|2)1/2=21/2 (|α1|2 + |α2|2)1/2. Recall that the CS inequality is an equality whenever the two vectors are linearly dependent (here it means |α1|=|α2|); this tells you that c:=2-1/2 is the largest. To compare two Lp norms use analogously the Minkowski inequality. In general, the problem of computing the best constant of a normed space embedding may be a very hard problem in the calculus of variations. --pma 09:05, 26 January 2010 (UTC)[reply]
Can you elaborate on why c:=2-1/2 is the largest part, not on equality in CS iff vectors are LD but how you use this to conclude that c:=2-1/2 is the largest. I intutively understand it but I am having trouble deriving it rigorously. Thanks for the rest.-Shahab (talk) 10:25, 26 January 2010 (UTC)[reply]
You want the largest c with the property that: for all and there holds The number has this property; any number larger than has not, because the property fails when tested with (1,1).
We can also say it in another way: since the inequality is trivially satisfied for (α1, α2)=(0,0), you may forget about (0,0) and ask it just for all (α1, α2)≠(0,0). You may then divide the RHS by the positive quantity and if you think a little you see that what you are looking for is exactly the greater lower bound of the numbers among all (α1, α2)≠(0,0). Here, we even have a minimum, which is reached by (1,1). --pma 11:03, 26 January 2010 (UTC)[reply]
Thanks. It's all clear now. Have a nice day-Shahab (talk) 11:10, 26 January 2010 (UTC)[reply]

A loxodromoid?

Maybe you do have more specialists here? In the Reference desk of the Finnish Wikipedia we got a question like this; I translate it here:
"Does a loxodrome have a 2D counterpart (or is it even possible for it to have such one)? A spiral is very similar, indeed, but, on a circle, its other end crosses the circumference while a loxodrome is wholly located on the surface of a sphere turning towards the poles of it."
I suppose, this is a matter of the qualities of the polarities of a sphere and a circle? --Watsimous (talk) 17:42, 26 January 2010 (UTC)[reply]

There is a generalization here (if you speak French as well as English and Finish), but it's a loxodrome defined on surfaces other than a sphere, not a loxodromic surface. It may be possible to invent something like that but question is whether anyone has seriously proposed it as a useful concept and studied it. Mathcurve.com is, imo, pretty complete with this type of thing so if it isn't there the answer is probably no.--RDBury (talk) 20:02, 26 January 2010 (UTC)[reply]
The only thing I can think of would be to omit, say, y from the parametric equations for a normal loxodrome; then it will trace a sinusoidal path within a circle and terminate at two opposite points. That's assuming that your correspondent means by a "2D counterpart" a loxodrome-like curve within the circle instead of on the sphere, rather than a 2-manifold based on the loxodrome. --Tardis (talk) 21:33, 26 January 2010 (UTC)[reply]
Thank you, guys! As far as I understand, these answers are pretty much complete. --Watsimous (talk) 18:42, 28 January 2010 (UTC)[reply]

January 27

Calculating the area of a triangle while on a coordinate system

Say there are three points on a cartesian coordinate system that form a triangle. What is the formula that would express the area? The normal 1/2*base*height doesn't seem like it would apply here and Triangle#Using_coordinates is too advanced. My programming professor linked to this site as a hint but I fail to see how that helps. Angles are not known and how is it possible to add two points together? 198.188.150.134 (talk) 07:48, 27 January 2010 (UTC)[reply]

Heron's formula gives the area in terms of the length of sides and the semi-perimeter (half the total). You can find the length of each side by using Pythagoras' theorem, especially this section on each pair of co-ordinates. If your points are in 3-D space, you need to extend the Pythagoras formula (just square the x-difference, y-difference and z-difference, add them together, and take the square root for the length of that side). Dbfirs 08:02, 27 January 2010 (UTC)[reply]
You can link to a section using internal links. Also, your link doesn't work because the | character is extraneous in external links. -- Meni Rosenfeld (talk) 08:22, 27 January 2010 (UTC) [reply]
Thanks, I've corrected this. It worked in "popup" but I hadn't tried clicking! Dbfirs 00:59, 28 January 2010 (UTC)[reply]
Triangle#Using_coordinates isn't "too advanced", it just covers several different cases and uses determinant notation to write it more compactly. The formula you need (if the triangles are in a 2D plane) is
where is the absolute value of t. -- Meni Rosenfeld (talk) 08:16, 27 January 2010 (UTC)[reply]
Thank you, you guys are awesome! I love Wikipedia!! 198.188.150.134 (talk) 08:24, 27 January 2010 (UTC)[reply]

Effective procedure

What's the effective procedure used to determine if an expression is legal in proposition/first order logic? I don't mean decidability, just mechanically checking whether a random expression is a wf. Money is tight (talk) 09:35, 27 January 2010 (UTC)[reply]

Well, the details would depend on the details of your syntax. In practice people rarely bother making those completely precise anyway. But once you do, it's a tedious but not difficult programming exercise in whatever computer language you happen to know. I don't think anyone's going to want to write out the details here, and it's not likely to be any easier for anyone else than it is for you. --Trovatore (talk) 09:39, 27 January 2010 (UTC)[reply]
Actually, come to think of it, there is more to be said if you're really interested in the details. Whole books have been written on parsing — is The Dragon Book a bluelink? Also, surely we have an article on context-free grammar and Backus-Naur form. --Trovatore (talk) 09:43, 27 January 2010 (UTC)[reply]
"The Dragon Book" isn't a bluelink, but "Dragon Book" is. 131.111.248.99 (talk) 15:51, 27 January 2010 (UTC)[reply]
Not to mention the parsing article, in particular parsing#Types of parser and subsequent sections. — Emil J. 11:16, 27 January 2010 (UTC)[reply]
Thanks for your answers. I'm a bit confused about the semantics part of propositional/first order logics. I never thought clearly about them until now. For example if we just use 'not' and 'material implication' as the connectives in truth functional propositional calculus, it's certainly intuitively clear how each wf can be assign a truth value with regard to a given interpretation. However the way we can construct a wf is not unique, so it annoys me at the back of my mind that the history of constructing a wf matters in defining it's truth value (two different constructions can give the same wf). I'm sure this is not possible, but don't know how to prove it. I think a wf can be more faithfully represented as a parse tree (uniquely), but I don't know exactly how. Money is tight (talk) 07:45, 28 January 2010 (UTC)[reply]
Well-formed formulas are uniquely readable (they are given by an unambiguous context-free grammar), that's one of the key requirements on any sensible definition thereof. How to prove that depends on details of the definition. Generally, if the syntax involves brackets, such as in
F ::= pn | ¬F | (F → F)
the proof is a straightforward matter of counting the brackets. If the definition uses bracket-free notation, as in
F ::= pn | ¬F | →FF
it is slightly more complicated, the key step in the proof is to show that no formula is a proper initial substring of another formula. It used to be good manners that introductory books on logic included a proof of unique readability of its formulas, but many authors nowadays choose to sweep it under the rug. — Emil J. 11:48, 28 January 2010 (UTC)[reply]
Enderton's book does have a full proof of unique readability. For those who don't know: this means that each formula has a unique corresponding parse tree. The definition of the truth value of a formula in a particular structure is by induction on the structure of the parse tree of the formula.
An elegant solution for a more advanced book is to define a formula as a (type of) finite tree, rather than a (type of) finite string. This definition bypasses the entire parsing issue, makes it clear how to do a proof by induction on formulas, and makes it easy to generalize to infinitary formulas. — Carl (CBM · talk) 12:46, 28 January 2010 (UTC)[reply]
... or to circuits. — Emil J. 13:06, 28 January 2010 (UTC)[reply]

Thanks to you both! My book just defines wfs using the standard recursion (which is to me totally ambiguous), although it does provide a more rigorous formulation using sequences (but the sequence constructing a given wf need not be unique hence my question). Can you tell me the name of Enderton's book? Money is tight (talk) 23:44, 28 January 2010 (UTC)[reply]

It's A Mathematical Introduction to Logic, ISBN 0-122-38452-0, homepage. It's not my absolute favorite textbook, but it is better than many. Nice points including being clearly written and being modern enough not to not use outdated terminology. — Carl (CBM · talk) 23:59, 28 January 2010 (UTC)[reply]

Three little geometry puzzles

Some geometry puzzles I came across:

  1. There is a triangle ABC with a triangle DEF inside it. Apart from the fact that D is on AB, E is on AC and F is on BC, you know nothing else. Now the question is, what is ?
  2. There is a triangle DAB where C is a point on line DB and E is to the left of B, beyond A. A line is drawn from A to C. Given that BC = CA = DA, you're supposed to prove that angle DAE is three times angle CBA.
  3. Triangle PQR is isosceles with PQ = PR. S is along PQ and K is along QR. A line is drawn from S past K to T, which is on the extension of line PR. Given that RT = KR, you're supposed to prove that angle PST is three times angle RTK. 4 T C 13:41, 27 January 2010 (UTC)[reply]
OK, figured out the second one (finally!). Two more left. 4 T C 13:52, 27 January 2010 (UTC)[reply]
Hmmm, in the first one they said "you know nothing else". Which means the answer isn't dependent on the angles in the triangles, or else they would have provided the angles. So you can assume the angles are whatever you like! If I assume the triangles are equilateral, the answer shoots into your face: 180 degrees. 4 T C 14:04, 27 January 2010 (UTC)[reply]
But is that allowed? 4 T C 14:05, 27 January 2010 (UTC)[reply]
Well anyway, only the last one is still a problem. 4 T C 14:07, 27 January 2010 (UTC)[reply]
I'm pretty certain the 1st problem you've given cannot be solved. I just draw the diagram, worked out the angle for the same case as you (and I don't get 180°, but rather get 210° - ∠BDC is 90°), but realised that if you change the shape to e.g. make it isosceles with AC shorter or longer the answer is different. I stopped trying to solve them at that point.
And I've put back in your original questions and replies, as without them mine makes no sense; and more generally if you post questions and solutions here they are meant to be shared with other readers and editors, so I would say it's impolite even to remove even your own questions once answered. --JohnBlackburnewordsdeeds 14:21, 27 January 2010 (UTC)[reply]
Re. last problem, There's no guarantee that T will be on the same side S on the line KS as you say it will be. To me that invalidates the problem right there.--RDBury (talk) 16:48, 27 January 2010 (UTC)[reply]
If you assume that T is where you're expecting it to be, so R is between P and T, then let b = angle KTR = angle TKR. Then angle PRQ = 2b = angle PQR. Angle QKS = b so angle PSK = 3b, Q.E.D.--RDBury (talk) 17:11, 27 January 2010 (UTC)[reply]
I've just worked out that if T is not where you expect it to be, so P is between T and R, then angle angle PST is three times angle RTK - 180 degrees. So the problem should really be to show that angle PST is three times angle RTK up to a multiple of pi.--RDBury (talk) 17:25, 27 January 2010 (UTC)[reply]
1. The first one has answer: anything between zero and full circle (360°). If vertex B is close to C, E is somewhere in the middle of AC line (not close to its endpoints) and D is close to A then all three terms in your sum are close to 0°. On the other hand, if A is close to BC, then ∠BDC is close to a straight angle (180°), and if D and F are both close to B, then ∠AED+∠CEF is close to 180°, so the whole sum is close to 360°. --CiaPan (talk) 08:14, 28 January 2010 (UTC)[reply]
3. Let γ = ∠RTK = ∠RKT = ∠SKP, β = ∠TRK, ε = ∠QRK and φ = ∠RPQ.
From the sum of angles in the triangle RTK: β = π–2γ and its supplementary angle is ε = π–β = 2γ.
From the sum of angles in PQR: φ = π–2ε = π–4γ.
Finally from the sum in SKP: ∠PST = π–φ–γ = π–π+4γ–γ = 3γ, q.e.d. --CiaPan (talk) 15:52, 28 January 2010 (UTC)[reply]

sequence space

Consider the sequence space of all complex sequences with the metric . Let M be an infinite set. Suppose that M is compact(By compactness only sequential compactness is to be understood regardless of it implying the open cover definition in metric spaces). I wish to show that there are numbers such that for all we have . How should I proceed. Thanks-Shahab (talk) 15:09, 27 January 2010 (UTC)[reply]

Fix k. If there is no such , you can find x0, x1, x2, ... in M such that for every natural number n. Then you can apply sequential compactness. — Emil J. 15:39, 27 January 2010 (UTC)[reply]
Ah yes. Thanks. Now how do I go about proving the converse-Shahab (talk) 16:01, 27 January 2010 (UTC)[reply]
What do you mean by converse? If M is a set such that there exists numbers such that etc., then in general M need not be closed, let alone compact. — Emil J. 17:55, 27 January 2010 (UTC)[reply]
Can you give an example of such an M (and M has to be infinite). This is an unsolved question in my book, so either I am missing something here, or there is a misprint.-Shahab (talk) 18:28, 27 January 2010 (UTC)[reply]
For example, let M = {xn | n = 1, 2, 3, ...}, where ξ1(xn) = 1/n, and ξk(xn) = 0 for k ≥ 2. You can take γ1 = 1, γk = 0 for k ≥ 2. However, the sequence {xn} converges to the zero function, which is outside M, thus M is not closed. For another example, the set of all sequences x such that |ξk(x)| < 1 for every k is not closed either, by a similar argument. — Emil J. 18:53, 27 January 2010 (UTC)[reply]

Smooth structures (manifolds)

Resolved

I am doing a homework problem where I am supposed to show a collection of 2 charts defines a smooth structure on S^n, the n-sphere. The 2 charts are just the sphere minus the north pole and the sphere minus the south pole. Any way, I think I am done but I just need help in understanding. I showed that the two charts are smoothly compatible. But, a smooth structure needs a maximal atlas. This is probably not maximal, right? I do have a theorem that tells me that every smooth atlas is contained in a unique maximal smooth atlas. So, in reality, what is true is that these 2 charts form a smooth atlas though not a smooth structure by themselves. However, they are contained in some unique smooth structure. Is this correct?

Yes, this is not maximal, and yes, it is contained in a unique maximal one.

Also, when this theorem says a "unique maximal smooth atlas", does this mean there is one unique maximal atlas for each manifold that has a smooth atlas? Or does it mean there is a unique one specific to the smooth atlas in question? That is, could a manifold have two different maximal atlases? Thanks. StatisticsMan (talk) 15:26, 27 January 2010 (UTC)[reply]

The second: a smooth atlas A is included into a unique maximal altas B, which is just the set of all charts φ compatible with A (that is, such that A ∪{φ} is still a smooth atlas. But there can be two non-compatible atlases A and A' on the same set M: and they will give rise to different smooth structures). So the existence of the largest super-atlas B containing A is quite obvious. The role of B is just a simple way to attach canonically an atlas to the smooth manifold M. Otherwise you should define a differentiable structure as a "class of compatible atlases", which would make the definition more abstract and heavier. However, all the information about the differentiable structure is already encoded in the atlas A, and in fact you can do everything with A (including the definitions of the tangent bundle, of smooth maps, &c). BUt note that in fact the first you wrote is also true: a smooth manifold by definition has already some defined smooth structure, so there is a unique maximal atlas etc; a manifold can't have two maximal atlas by definition, but a set can - and thay may even be topologically compatible.

And, the next part of the question asks me to show it is the same smooth structure as in some example. This just means I need to show they are smoothly compatible, right? In reality, this other atlas is not a smooth structure either but what it means is that they are both contained in the same unique maximal smooth atlas? StatisticsMan (talk) 15:36, 27 January 2010 (UTC)[reply]

Yes, you have to show that the new charts are compatible. Then, saying that A "is (or is not) a smooth structure" is just a matter of language -because you just defined a differentiable structure as a maximal atlas. So , yes, but you can well say " A defines a smooth structure". --pma 21:30, 27 January 2010 (UTC)[reply]
Okay, thanks. I think it makes more sense now. StatisticsMan (talk) 22:47, 27 January 2010 (UTC)[reply]

Another triangle problem

The triangle problems above make me wonder about a geometry problem that I never solved:

Given 3 points in XY space, you define a triangle. Given three more lengths, you define the radius of three circles. Do all three circles fit inside the triangle without overlapping each other or the sides of the triangle? They can touch, but not overlap. You cannot put a circle inside of a circle.

I can brute-force a solution to this, but is there an elegant geometry solution? -- kainaw 17:34, 27 January 2010 (UTC)[reply]

is there information missing from this problem? the reason I ask is that if you are talking about arbitrary, unfixed radii, then (obviously) you can make the radii arbitrarily small and fit three circles (or as many as you like), but if you are talking about arbitrary, fixed radii there's no general answer - it would depend on the relationship of the the given radii to the length of the sides and the angles of the triangle. --Ludwigs2 18:51, 27 January 2010 (UTC)[reply]
I said that you are given 3 points and 3 radii. They are not adjustable. The question is: once you have 3 points and 3 radii, will the circles fit inside the triangle? -- kainaw 20:59, 27 January 2010 (UTC)[reply]
The obvious necessary condition for the circles fitting is that none of the radii can be larger than the inradius. If you assign each radius to one corner of the triangle, you can find the criterion that has to be satisfied pairwise among the three radii to make things fit. Just brute forcing it ra/tan(α/2) + rb/tan(β/2) + 2(rarb)1/2 ≤ c, where α, β, γ are the angles at A, B, C respectively. There's probably a nicer way to express that. Satisfying those two sets of conditions should be necessary and sufficient if I'm not mistaken. Rckrone (talk) 20:16, 27 January 2010 (UTC)[reply]
That was my initial solution, but consider a very long triangle (ie: sides 1, 10000 and slightly more than 10000 (the other side)). It is possible to have three circles placed such that their centers form a straight line inside the triangle, but they do not fit into the three corners. Because I thought of an exception to the 3-corners solution, I assumed that there would be more and more and more exceptions and I gave up on the problem. I only just remembered it because of the triangle question above. -- kainaw 21:02, 27 January 2010 (UTC)[reply]
An interesting side question is for a given triangle what are the radii of the three circles that are mutually tangent and each tangent to two sides of the triangle? Rckrone (talk) 20:22, 27 January 2010 (UTC)[reply]

How to build an ellipse?

Hey, I'm trying to build an ellipse using two concentric circles and an arbitrary radius of the larger circle. I've already tried some other methods of doing this, like taking the perpendicular to the major axis at a random point on the circle, and taking a parallel to the major axis through the same radius' intersection with the smaller circle. The locus of that intersection based on the random point on the larger circle gives me an ellipse tangent to both circles at the extrema. What I'd like to find is some way to prove that that actually is an ellipse, perhaps parametrically. I've tried doing some things with c=square root(a^2-b^2) when c = the distance between the foci and a is the major axis and b is the minor axis. I've been able to locate the foci geometrically. Any help would be appreciated! --Fbv65edeltc // 20:10, 27 January 2010 (UTC)[reply]

Have you looked at ellipse? Centre to focus is sqrt(a^2 - b^2) if a is your big circle radius and b your small circle radius. Also the ellipse is the locus of x,y satisfying (x^2/a^2) + (y^2/b^2) = 1 . -- SGBailey (talk) 23:16, 27 January 2010 (UTC)[reply]

January 28

Golden Ratio

What is the closest rational number to the golden rectangle?

Also express this in a fraction.174.3.98.236 (talk) 00:51, 28 January 2010 (UTC)[reply]

It doesn't exist; there are rational numbers arbitrarily close to the golden ratio (as is the case with any real number). However, "best rational approximations" with minimal denominators can be derived from the continued fraction of the number, which turn out to be the ratio of successive Fibonacci numbers in the case of the golden ratio. --COVIZAPIBETEFOKY (talk) 00:58, 28 January 2010 (UTC)[reply]
Precisely, F2n/F2n-1 < φ < F2n+1/F2n, and F2n+1/F2n - F2n/F2n-1 = 1/F2nF2n-1 --84.220.118.69 (talk) 08:27, 28 January 2010 (UTC)[reply]
Plausible rational approximations include (amongst many others) 2, 1.6, 1.62, 1.618, 1.6180, 1.61803, 1.618034 etc. How much precision do you want? -- SGBailey (talk)
Oh yes 2/1, 16/10, 162/100, 1618/1000, 16180/10000, 161803/100000, 1618304/1000000. -- SGBailey (talk) 12:35, 28 January 2010 (UTC)[reply]
Decimal fractions p/q like this will only give an approximation with error roughly 1/q. As others noted above, the best rational approximations are ratios of successive Fibonacci numbers, which have error of order 1/q2. — Emil J. 12:48, 28 January 2010 (UTC)[reply]

Reversion to the mean

What is the technical difference between reversion to the mean and regression to the mean? The pdf by Samuels (1991) linked towards the base of the regression to the mean article distinguishes between the two. Could anyone explain please, in layperson's language, what the difference is? Thanks 89.242.92.249 (talk) 13:52, 28 January 2010 (UTC)[reply]

I only have access to the first page from where I am, but it looks to me like he's just making a moderate generalization: regression towards the mean means that the expected value of a second instance of a random variable is closer to the mean than the given value of the first instance of that random variable; reversion (as he wants to define it) would mean that the expected value of a second instance of a random variable is closer to the mean than the expected value of the first instance of that random variable. note the italics. If I'm correct in what he's getting at, that doesn't strike me as unreasonable, but it also doesn't strike me as a well-established way of looking at things. --Ludwigs2 18:55, 28 January 2010 (UTC)[reply]

NP definition

I was rereading the NP and NP-Complete pages again. If a solution requires polynomial time but exponential space, it is NP, correct? The pages make it clear that exponential time is NP, but not exponential space. -- kainaw 16:49, 28 January 2010 (UTC)[reply]

Space is always bounded by time, an algorithm working in polynomial time cannot use more than polynomial space. Exponential time is not included in NP (or so we hope), it is the other way round. The only known (and only presumed valid) inclusions between these classes are that NP is included in PSPACE (polynomial space), which in turn is included in EXP (exponential time), which is included in EXPSPACE (exponential space). — Emil J. 17:11, 28 January 2010 (UTC)[reply]
I do not see the justification for the claim that space is always bounded by time. The time to access space in a non-parallel system is bounded by time. However, deterministic Turing machines are commonly parallel. So, increasing parallelism will increase space without increasing time. -- kainaw 17:32, 28 January 2010 (UTC)[reply]
A parallel machine can only increase the space:time ratio by a constant, which isn't enough to allow a problem to have polynomial time and exponential space, which differ by more than a constant. --Tardis (talk) 17:41, 28 January 2010 (UTC)[reply]
Not really, parallel machines usually studied in complexity theory allow for non-constant number of processors. — Emil J. 18:09, 28 January 2010 (UTC)[reply]
Hm. OK; I was thinking of a parallel machine not in terms of complexity theory (where of course various allowed scalings of processor count with problem size make sense) but in terms of implementing a normal Turing machine with a (real, fixed) parallel system. Thanks for the correction. --Tardis (talk) 19:29, 28 January 2010 (UTC)[reply]
First, get your terminology straight. Polynomial time without further qualification always means deterministic non-randomized sequential polynomial time. If you want polynomial time in some parallel model, you have to explicitly say so. Now, a polynomial time parallel algorithm with polynomially many processors uses only polynomial space, and can be simulated by a polynomial time sequential algorithm, so it is in P (and a fortiori NP). A polynomial-time algorithm using superpolynomially many processors may take you outside NP. The exact strength depends on the parallel computation model, but in models obeying the parallel computation thesis, the problems solvable in parallel polynomial time (which automatically implies at most exponentially many processors and thus at most exponential space) comprise exactly PSPACE, i.e., coincide with problems solvable sequentially in polynomial space. PSPACE contains NP, and is believed to be strictly larger. — Emil J. 18:09, 28 January 2010 (UTC)[reply]
Everything I've read on NP states that it is based on a Turing machine is assumed to be parallel. Many of the P algorithms depend on the parallelism of the Turing machine. I don't see how there would be confusion when using the notation NP and P in the original question. I assumed it implies that I am discussing NP (complexity) and not some random concept of polynomial time. -- kainaw 18:16, 28 January 2010 (UTC)[reply]
You misunderstand the basic definitions then. P and NP are defined in terms of sequential Turing machines. — Emil J. 18:22, 28 January 2010 (UTC)[reply]
Perhaps Kainaw is confusing non-determinism with parallelism: non-deterministic machines are kinda-sorta-like parallelism in their many worlds (instead of lucky guess) interpretation. But that parallelism, despite its indefinite number of allowed PEs, is much affected by its restriction to effectively random branching. --Tardis (talk) 19:29, 28 January 2010 (UTC)[reply]
I just don't see "sequential" in NP (complexity). Further, many of the algorithms in P that I've read use more than one tape in the machine. So, they are running more than one tape in parallel. It is possible that they are parallel versions of the more accepted serial algorithm, but it leads me to assume that NP is defined as simply requiring a Turing machine, not a serial (or sequential) Turing machine. -- kainaw 23:24, 28 January 2010 (UTC)[reply]
Multi-tape Turing machines are equivalent to the single-tape variety under (merely) a polynomial reduction; for complexity analysis (which is always in the limit of large problem size), the only parallelism that counts is the kind EmilJ mentioned where the number of processors is allowed to increase (in some fashion) with the size of the input. The phrase "sequential Turing machine" is rarely used because, for a fixed machine that can't scale its tape count with the input size, it makes no difference. --Tardis (talk) 23:53, 28 January 2010 (UTC)[reply]
So the claim that started this all, "space is bounded by time", really means "space in a fixed machine is bounded by time." That makes a lot more sense. It also explains that an algorithm that requires exponential space will require exponential time, which is what I was looking for. Regardless of how parallel the machine is (in Turing machines, that means it has multiple tapes), exponential space will require exponential time. -- kainaw 01:45, 29 January 2010 (UTC)[reply]

j-invariant

I'm working on a proof showing the j-invariant is a bijection of the standard fundamental domain and the Riemann sphere. I see that the j-invariant has a simple pole at infinity. Does a simple pole at infinity always imply that the function sends infinity to infinity? StatisticsMan (talk) 18:39, 28 January 2010 (UTC)[reply]

The statement that f has a pole at infinity means that f(z) tends to infinity as z tends to infinity. So if we continuously extend f to a function defined at infinity, then the extended function must send infinity to infinity. Algebraist 18:43, 28 January 2010 (UTC)[reply]

January 29

Why is the perimeter of a spherical triangle less than 2 pi?

Hi all - my question is pretty much as in the title: why is it that, assuming we take the shorter of the 2 arc lengths between any 2 points on S^2, the perimeter of any given spherical triangle is strictly bounded above by ? I tried using Gauss-Bonnet (overkill?) but to no avail. I've managed to prove the triangle inequality which is fairly trivial, if that's any use!

Thanks very much, Delaypoems101 (talk) 00:51, 29 January 2010 (UTC)[reply]

perhaps I'm misreading what you're asking, but it seems to me that (on a sphere with radius of 1), the largest possible triangle would be where all three vertices line up along a diameter of the sphere - the triangle turns into a circle, and would thus have a perimeter of 2π. --Ludwigs2 01:06, 29 January 2010 (UTC)[reply]

I guess my point is that I'm wondering how to actually show that that construes the largest possible triangle - for example, a triangle with one point 'A' at the north pole and 2 antipodal points on the equator would also have perimeter length pi+pi/2+pi/2=2pi, though I would consider these degenerate cases since 'A' isn't really a vertex and I'm not sure 3 collinear points is considered a triangle on the sphere - how would I go about showing that for any side lengths a, b, c, of a non-degenerate spherical triangle, we have a+b+c < 2pi? (Rather than saying 'this case looks like it should be a maximum, and has perimeter 2pi, hence any other triangle probably has a smaller perimeter than that'?) Thanks for all responses, Delaypoems101 (talk) 04:29, 29 January 2010 (UTC)[reply]

Here's one way with coordinates that is not pretty. The distance d between points A and B on the sphere staisfies cos(d) = A.B, and since we are requiring 0 ≤ d ≤ π where cosine is strictly decreasing, if the dot product is smaller then the distance is larger. For arbitrary points A and B, we can let A be (1, 0, 0) and B be (x, y, 0) with y ≥ 0 without loss of generality. For any point C = (u, v, w), let C' = (u, -(v2+w2)1/2, 0). A.C = A.C' and B.C ≥ B.C'. So the perimeter of ABC is ≤ that of ABC' and ABC' is a triangle with points on a great circle so has perimeter ≤ 2π. Rckrone (talk) 05:03, 29 January 2010 (UTC)[reply]

Is there a (in some sense) mathematically optimal strategy for unique bid auctions, eg. a Nash equilibrium strategy? Has any work been done on optimal strategies in real-life unique bid auctions? -- The Anome (talk) 01:02, 29 January 2010 (UTC)[reply]

Is it likely you will participate in one in the near future? I found one reference for this type of action, a Danish company doing an iPod promotion.--RDBury (talk) 01:51, 29 January 2010 (UTC)[reply]
No, my interest is currently entirely hypothetical; it just seems like a perfect subject for auction theory. There certainly seem to be a lot of these things: see http://www.google.com/search?q=unique+bid+auction -- The Anome (talk) 01:59, 29 January 2010 (UTC)[reply]

Update:An earlier version of the article suggests that there can't be any deterministic optimal strategy, as if more than one player uses it, they will all select the same bid, and thus all lose, therefore contradicting the premise. However, I can't see any reason for a probabilistic strategy not to exist. -- The Anome (talk) 02:16, 29 January 2010 (UTC)[reply]

OK, there does seem to be some academic literature on this topic: see for example http://ideas.repec.org/p/cca/wpaper/112.html -- The Anome (talk) 02:20, 29 January 2010 (UTC)[reply]
and this: http://mpra.ub.uni-muenchen.de/4185/ and http://zs.thulb.uni-jena.de/receive/jportal_jparticle_00141919?lang=en, which look like they pretty much answer my question. -- The Anome (talk) 02:28, 29 January 2010 (UTC)[reply]
Thanks for pointing it out, looks to me like a subject that could be developed into a quite interesting article if someone wanted to give it a go. Dmcq (talk) 11:19, 29 January 2010 (UTC)[reply]

Cardinality

I'm taking a computer science course in Discrete Structures. One of the questions is asking about cardinality, which is defined on wikipedia and my text book as the number of elements in a set. Therefore: {x} = 1
{{x}} = 1
{x, {x}} = 2
{x, {x}, {x, {x}}} = 3 but why is this true? shouldn't the answer be 4??
and this one:
{2, {3, 4, 10, {4, 0}, 6, 3}, 6, 12} the answer is listed as 4...but why, that makes no since.

-- penubag  (talk) 08:51, 29 January 2010 (UTC)[reply]

I think what you're really confused about is the notion of "an element of a set". Given some set A and an object x, either (x is an element of A) or . The objects in question can themselves be sets - given sets A and B, it is meaningful to ask whether .
The relation is not transitive. From and it does not follow that .
You can specify a set by describing exactly which objects are its elements. For example, there is a unique set which includes 3, includes 5 and does not include any other object. This set is denoted {3,5}.
Similarly, there is a unique set which includes {3,5} but does not include any other object. This set is denoted { {3,5} }. Note that and , but - when I defined { {3,5} } I explicitly said that any object which is not {3,5} is not an element of { {3,5} }. Obviously 3 is not the same as {3,5}, so 3 is not an element of { {3,5} }.
Now we can go back to cardinality, which is how many different objects are elements of a set. There is exactly one object which is an element of { {3,5} } - this object is {3,5}. Thus, the cardinality of { {3,5} } is 1. Likewise, there are exactly 3 objects in {x, {x}, {x, {x}}}, which are x, {x} and {x,{x}}. There are exactly 4 objects in {2, {3, 4, 10, {4, 0}, 6, 3}, 6, 12} - one of them is 2, another one is {3, 4, 10, {4, 0}, 6, 3}, another is 6 and another is 12. -- Meni Rosenfeld (talk) 09:13, 29 January 2010 (UTC)[reply]
I've been reading up on cardinality for an hour but you explained it very concisely! Thanks very much, I understand it now. -- penubag  (talk) 09:22, 29 January 2010 (UTC)[reply]

ratio inequality

At: http://en.wikipedia.org/wiki/Demographics_of_Australia#Population_growth_rate There appears to be a numerical error in the following section:


As of the end of June 2009 the population growth rate was 2.1%.[7] This rate was based on estimates of:[8]

   * one birth every 1 minute and 45 seconds,
   * one death every 3 minutes and 40 seconds,
   * a net gain of one international migrant every 1 minutes and 51 seconds leading to
   * an overall total population increase of one person every 1 minutes and 11 seconds.

In 2009 the estimated rates were:

   * Birth rate - 12.47 births/1,000 population (Rank 164)
   * Mortality rate - 6.68 deaths/1,000 population (Rank 146)
   * Net migration rate - 6.23 migrant(s)/1,000 population. (Rank 15)

The ratio between: one birth every 1 minute and 45 seconds and a net gain of one international migrant every 1 minutes and 51 seconds is approximately 1:1.06

whereas the ratio between: Birth rate - 12.47 births/1,000 and Net migration rate - 6.23 migrant(s)/1,000 is approximately 1:0.5

Should these ratios not be equal?

I am unable to discern which figures are correct and which is wrong, so am in no position to edit the article, but would like an answer to satisfy my interpretation of the figures or show why I am wrong to expect actual or near equality between the two ratios. —Preceding unsigned comment added by Briandcjones (talkcontribs) 10:55, 29 January 2010 (UTC)[reply]

What algorithm?

Basically, say I had a list of characters in a production, and knew which scenes each character appeared in. Then say I needed to assign actors to characters, with each character only needing one actor, and each actor being able to play any number of characters as long as none of their characters share scenes with each other. Assuming none of the actors need any specific requirements to play each character, how would I find the minimum number of actors required? (Note: I only know discrete maths at A-Level standard - I tried looking at stuff about P and NP and didn't understand, so if you could make your explanation as simple as possible, I'd appreciate it.) Thanks! Anthrcer (click to talk to me) 12:17, 29 January 2010 (UTC)[reply]

Would graph coloring do what you want, with characters at each vertex and 'appears in the same scene' as the edges ? If so there's a section on algorithms.--JohnBlackburnewordsdeeds 12:54, 29 January 2010 (UTC)[reply]
Graph coloring does seem to be the simplest way to solve this. Look into chromatic polynomial, which can be computed by hand for smallish graphs once you learn the recurrence relation for it. — Carl (CBM · talk) 13:00, 29 January 2010 (UTC)[reply]

Proof

If you were asked to prove that the square root of 2 is an irrational number, how would it be done? 198.188.150.134 (talk) 13:02, 29 January 2010 (UTC)[reply]