Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 80.216.1.161 (talk) at 18:52, 11 February 2012 (→‎Using mod (i.e. remainder after division) on complex numbers: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:


February 3

Isosceles right triangle

I want to make an isosceles right triangle of a certain area. Let us say I want to make an isosceles right triangle with an area of 100 square units. How can I determine the lengths of the legs of that triangle? Thank you. Bus stop (talk) 01:54, 3 February 2012 (UTC)[reply]

An isosceles right triangle is half of a square. So what square would have area 2 x 100 = 200? The side of the square would be square root of 200 = 14.14..., and that would be the length of the legs of the triangle. Bubba73 You talkin' to me? 02:00, 3 February 2012 (UTC)[reply]
Wow—you are right. That is great. Thank you very much. Bus stop (talk) 03:05, 3 February 2012 (UTC)[reply]

Can I ask another question? I believe this is a Trapezoid of some sort. I want it to have an area of 100 square units. The base must be 10 units in length. The two vertical lines form right angles with the base. The other two interior angles are 45 degrees and 135 degrees. How can I determine the lengths of the two vertical lines? Thank you. Bus stop (talk) 17:50, 3 February 2012 (UTC)[reply]

Call the shorter of the two lines x, and draw the horizonal line across at the top of x. That is also 10 units long. The triangle above is a 45-45-90 and thus as 10 for the vertical side as well, which means that it is exactly half the square 10 on a side, which means an area of 50. This means the bottom rectangle also has an area 50 which means that x is 5 (and the longer one is 15). Essentially your diagram is that of a square 10 on a side with the triangle cut off gotten from connecting center top with the center left and then rotating that triangle around the center top.Naraht (talk) 18:27, 3 February 2012 (UTC)[reply]
Thank you. I think I understand you. Just to be sure, I've plugged my own numbers in, using numbers actually applicable to a project I'm working on. I've replaced 100 sq. units with 52.5 sq. units, and I've replaced a base length of 10 units with a base length of 7 units. Using these numbers I conclude that the shorter vertical (the one you designated x) will be 4, and that the longer vertical will be 11. Would that be correct? Thanks. Bus stop (talk) 00:32, 5 February 2012 (UTC)[reply]
That is correct. You can always check your answer by calculating the area of the shape using the lengths you found. Widener (talk) 03:45, 5 February 2012 (UTC)[reply]
Thanks. I actually did check it. I found 28 square units for the lower rectangle and 24.5 square units for the upper triangle. Added together that gets me to my intended 52.5 square unit area. I guess I still wasn't sure I did it right. I hope you won't mind if I ask another question. Here goes:
In reference to this diagram, how can I determine the placement of line A-B, which separates two trapezoids which each have an area of 52.5 square units? I know that the top trapezoid has a "roof" of 8 units. I also know that the bottom trapezoid has a "floor" of 22 units. And I also know that the distance from "roof" to "floor" is 7 units. Triangle X-Y-Z has two 45 degree angles and one 90 degree angle—and again—I know that the distance from Y to Z is 7 units. What I want to know is where to place line A-B so that my two resulting trapezoids will each contain 52.5 square units of area. Thanks for any help that can be offered. Bus stop (talk) 04:38, 5 February 2012 (UTC)[reply]
The length of AB is a function of its height h above the floor of the trapezoid. Since the angle is 45 degrees, the length of AB is equal to (Can you see why this is the case?). The area of the lower trapezoid is therefore . We want to find the value for h for which the area is 52.5. Solving for h gives 2.72 as an approximate solution. Do you know how to solve quadratic equations? Widener (talk) 05:27, 5 February 2012 (UTC)[reply]
I don't know how to solve quadratic equations. I can understand that the length of AB is a function of its height above the floor. I don't really understand why the length of AB is equal to 22 - 2h, in which h is the height of AB above the floor. I see that there are Quadratic Equation calculators online, but I doubt that I would know how to use them. I'm glad that you gave me the answer! I will use 2.72. I guess I can assume that measuring from the top down would yield a distance of 4.28 to AB. That is certainly precise enough. Lives are not at stake. I am only making a painting (but an important painting). Thanks a lot for your assistance! Bus stop (talk) 08:15, 5 February 2012 (UTC)[reply]
The exact solution is ; if you want a more precise answer then you can round that off to whatever precision you desire. There is a formula for solving quadratic equations like this one. If you draw a vertical line from the point A down to the floor, you form a new right angle triangle with side length h. Because the angle is 45 degrees, the other side of that triangle also has length h. You can do the same for point B. You will notice that the length of the floor is equal to the length of AB + the two lengths of length h. That's why 22 = AB + 2h i.e. AB = 22 – 2h. Widener (talk) 09:19, 5 February 2012 (UTC)[reply]
I do now grasp why AB = 22 - 2h. In my last post I said that I did not understand that, but I do understand that now.
I don't think I can solve this yet on my own. But let me ask you a question. In solving for h you arrived at an answer of 2.72. In my diagram I indicated that from the "roof" of the top trapezoid to the "floor" of the bottom trapezoid was a height of 7. That would imply that the height of the "roof" above line AB was 4.28. I am wondering: is it is possible to check that the area of the upper trapezoid is 52.5? Bus stop (talk) 12:13, 6 February 2012 (UTC)[reply]
Do you know how to calculate the area of a trapezoid? Widener (talk) 13:49, 6 February 2012 (UTC)[reply]
Wow—you are right. It works. The top trapezoid is also 52.5! The area of the rectangle is 4.28 x 8 = 34.24. The area of the two triangles is 4.28 x 4.28 = 18.32. Added together gets me to my 52.5. But how did you figure out that h = 2.72? That math still escapes me. Thanks for prodding me into thinking about calculating the area of the upper trapezoid. Bus stop (talk) 14:14, 6 February 2012 (UTC)[reply]
What part of my explanation did you not understand? Widener (talk) 22:37, 6 February 2012 (UTC)[reply]
The first thing that I encounter that I don't understand is this: . Bus stop (talk) 23:40, 6 February 2012 (UTC)[reply]
Do you mean, you don't understand why that equality holds, or you don't understand why it is equal to the area of the lower trapezoid? The formula for calculating the area of a trapezoid can be found in the article trapezoid (the formula is quite easy to derive using the method you described above, or by splitting the trapezoid into two triangles). Here, a=22-2h, b=22. Widener (talk) 00:46, 7 February 2012 (UTC)[reply]
I understand this: . This is the formula for finding the area of this trapezoid. To find the area of a trapezoid we add together the lengths of the two parallel sides and divide the result by two. We then multiply that result by the perpendicular distance between those two parallel sides (h). It is the subsequent expressions that perplex me. Actually I even understand that: . But I don't understand how one gets to the next two expressions in your post above. And finally I don't understand how one eventually computes that h = 2.72. Bus stop (talk) 23:02, 7 February 2012 (UTC)[reply]
Both steps use the distributive property of multiplication. Finding the solution involves solving the quadratic equation (which is equivalent to ) and there are several ways you can do that; see quadratic equation. In this quadratic equation, Widener (talk) 00:12, 8 February 2012 (UTC)[reply]
I'm sorry to get off-topic but let me ask you this: Is the ratio between 2.72 and 4.28 going to be the same in all arrangements that are like these two trapezoids? These are two trapezoids that share a base. The legs are at a 45 degree angle to the bases. I think the legs can be thought of as one continuous straight line. The areas of both trapezoids are equal. Would there be a ratio, of the heights of each trapezoid to one another, that applies in all such arrangements? Bus stop (talk) 00:44, 8 February 2012 (UTC)[reply]
No, it won't. Only if the top and bottom of the trapezoid are in the ratio 8 : 22. Widener (talk) 06:46, 8 February 2012 (UTC)[reply]

Computing values for the Riemann zeta function

How does one compute values of the Riemann zeta function? Widener (talk) 06:16, 3 February 2012 (UTC)[reply]

It depends. For Re(x)>1, you could use the standard series. In the critical strip, Euler-Maclaurin formula is the oldest and probably the simplest, though the convergence rate is too slow to make it useful in practice. Isolated values for large Im(x) may be computed using Riemann-Siegel formula. To compute blocks of values simultaneously, one uses Odlyzko–Schönhage algorithm.--Itinerant1 (talk) 11:36, 3 February 2012 (UTC)[reply]

PARTIALLY resolved?

According to Hilbert's problems, Hilbert's sixth problem is "partially resolved". If you look at one of the sources, the title is "There is no axiomatic system for the quantum theory". It can be found here: http://arxiv.org/abs/0711.3130 Since quantum theory is a subset of physics in general, doesn't this provide a complete disproof for there being a solution to Hilbert's sixth problem? Widener (talk) 06:42, 3 February 2012 (UTC)[reply]

I'm no expert on this topic, but at a brief glance, Nagata's remarks on whether there's an axiomatic system don't appear to make a lot of sense. He seems to be claiming the quantum theory is self-contradictory. I don't understand why he concludes from that that the theory has no axiomatic system, rather than more straightforwardly concluding that the quantum theory is false. Is anyone here familiar with Nagata's work, or at least with his reputation, and can comment on how well this work is received? --Trovatore (talk) 06:49, 3 February 2012 (UTC)[reply]
I'm a little concerned about whether Nagata's papers should be considered reliable sources. For one thing, the "International Journal of Theoretical Physics" isn't exactly a top-notch journal. But that aside, the same journal published an apparent refutation of Nagata's paper: Comments on "There is no axiomatic system for the quantum theory" [MR2565160]. Internat. J. Theoret. Phys. 50 (2011), no. 6, 1828–1830. I think that the Nagata references should be removed from our article on Hilbert's problems, and the table should be changed back to indicate that the problem is not resolved. Sławomir Biały (talk) 14:42, 5 February 2012 (UTC)[reply]
It sounds like you are right. Widener (talk) 07:06, 7 February 2012 (UTC)[reply]


February 5

/3

If I can trisect an angle, why can't i accurately divide a piece of paper into 3 equal parts with no instruments of measurement?--92.25.103.212 (talk) 01:18, 5 February 2012 (UTC)[reply]

Can you trisect an angle? Haga's theorem in Mathematics of paper folding shows how to divide a line in three just using paper. Later in that article there is a bit on trisecting an angle. Dmcq (talk) 01:22, 5 February 2012 (UTC)[reply]

Name of 0

Is it nought, ought, zero, nothing, nil or O?--92.25.103.212 (talk) 01:32, 5 February 2012 (UTC)[reply]

It is nada or zilch. Oops I see 0 (number) doesn't mention nada. ;-) Dmcq (talk) 01:35, 5 February 2012 (UTC)[reply]
Yes. --COVIZAPIBETEFOKY (talk) 03:41, 5 February 2012 (UTC)[reply]
Only a few of those are used in math, though, and some are used in different fields of math than others. StuRat (talk) 04:51, 5 February 2012 (UTC)[reply]
As an Australian I use the expression "bugger all" a bit. I treat it as meaning a very small amount, but a colleague argued that it meant nothing. Maybe it's a variation on Sweet Fanny Adams, sometimes abbreviated to SFA, which could stand for "Sweet f... all", and sometime said without the "Sweet". HiLo48 (talk) 04:59, 5 February 2012 (UTC)[reply]
Don't forget love for tennis players. And American sports reports sometimes call it zip.    → Michael J    21:44, 7 February 2012 (UTC)[reply]
As L. Neil Smith put it, zero is the ultimate round number. --Trovatore (talk) 22:14, 7 February 2012 (UTC)[reply]

Reduced residue systems

Let r1, ..., rn be a reduced residue system modulo m, where n = φ(m). I'm trying to show that r1k, ..., rnk is a reduced residue system mod m if and only if gcd(k,n) = 1. The "if" component is easy enough, but it's the "only if" component that's stumping me. I'm looking for a solution which does not involve group theory, since this question comes before the introduction of groups in my textbook. Thanks in advance for the help. —Anonymous DissidentTalk 10:13, 5 February 2012 (UTC)[reply]

Let's see. If gcd(k,n) is not equal to 1 then there is some s less than n such that sk is a multiple of n. And we know that rin = 1 modulo m for each residue ri. So risk = 1 modulo m for each residue ri, and so each rik is an sth root of 1 modulo m. But 1 can only have at most s distinct sth roots modulo m, and we know that s is less than n ... so what does this tell us about the values of rik mod m ?
An example: take m=7 so n=6, and take k=4, so gcd(k,n)=2. If the ri are [1,2,3,4,5,6] then the values of ri4 modulo 7 are [1,2,4,4,2,1] so there only 3 distinct values of ri4 modulo 7. Gandalf61 (talk) 12:07, 5 February 2012 (UTC)[reply]
That's a great approach. I got up to noticing that each rik would have to be an sth root of 1 modulo m, but I didn't know how to show that leads to problems: I thought cases like m = 8, with ri2 = 1 (mod m) for all coprime ri, would mean I'd have to examine certain cases. Thanks for the insight. —Anonymous DissidentTalk 13:10, 5 February 2012 (UTC)[reply]
I've just realised there may be a flaw in your argument: Why must 1 have at most s s-th roots (mod m)? For example, there are 4 roots of x2 = 1 (mod 12). —Anonymous DissidentTalk 22:37, 5 February 2012 (UTC)[reply]


February 6

Max Quad Area

How do I calculate the maximum area of a real quadrilateral given sides a, b, c, and d. The diagonals p and/or q are the variables. While we're at it, how about the minimum area as well. Thanks, hydnjo (talk) 00:05, 6 February 2012 (UTC)[reply]

The area is given in quadrilateral. Try the formula with the two opposite angles when they add up to two right angles - that gives a cyclic quadrilateral.. Dmcq (talk) 00:27, 6 February 2012 (UTC)[reply]
Umm... How do I calculate the maximum area of a convex quadrilateral given sides a, b, c, and d. The diagonals p and/or q are the variables. This isn't homework. hydnjo (talk) 03:33, 6 February 2012 (UTC)[reply]
Use Bretschneider's formula. Looie496 (talk) 04:01, 6 February 2012 (UTC)[reply]
@Looie496: Can't use as the interior angles are variable along with the diagonals. hydnjo (talk) 19:03, 6 February 2012 (UTC) [reply]
And as for max and min when you have sides A, B, C, and D and can arrange them in any order, there aren't many ways to arrange the sides, so try them all. I get three ways to arrange them, with the rest being mirror reflections and or rotations of one of those three (and thus with the same area):
ABCD
ABDC
ACBD
ACDB mirror and rotation of         ABDC
ADBC mirror and rotation of                ACBD
ADCB mirror and rotation of  ABCD
BACD mirror and rotation of         ABDC
BADC mirror and rotation of  ABCD
BCAD mirror and rotation of                ACBD
BCDA            rotation of  ABCD
BDCA            rotation of         ABDC
BDAC            rotation of                ACBD
CABD            rotation of         ABDC
CADB mirror and rotation of                ACBD
CBAD mirror and rotation of  ABCD
CBDA            rotation of                ACBD
CDAB            rotation of  ABCD
CDBA mirror of                      ABDC
DABC            rotation of  ABCD
DACB            rotation of                ACBD
DBAC mirror and rotation of         ABDC
DBCA mirror of                             ACBD
DCAB            rotation of         ABDC
DCBA mirror of               ABCD

StuRat (talk) 04:51, 6 February 2012 (UTC)[reply]
@StuRat: Assume sides a, b, c, and d are successive and of arbitrary length. hydnjo (talk) 19:03, 6 February 2012 (UTC) [reply]
There is a formula using p and q in the quadrilateral article but you are far better off looking at the angles in the formula pointed at above and ignoring p and q and just consider that the cos is squared so always positive or zero. Dmcq (talk) 09:12, 6 February 2012 (UTC)[reply]
@Dmcq: I understand that the maximum area is achieved when the quadrilateral with successive sides a, b, c, and d of arbitrary length is arranged to be a cyclic quadrilateral. I just don't know how to make angle ab + angle cd = 180º (or angle bc + angle da = 180º). Also, assume a convex quadrilateral. hydnjo (talk) 19:03, 6 February 2012 (UTC)[reply]
Well consider stretching out one diagonal as far as one can, then one side or the other of the diagonal forms a straight line, the angles at the end must be less than two right angles as a triangle is formed (or equal in which case an infinite radius circle goes through the points as they form a line). Then try doing the same with the other diagonal, since the other angles are now less than two right angles there must have been a point where each pair was two right angles. Dmcq (talk) 19:39, 6 February 2012 (UTC)[reply]
OK, got it. First find the area of the cyclic quadrilateral using Brahmagupta's formula and then find the interior angles from:
area = 1/2 (ab + cd) sin(angle ab). Thanks for your help. hydnjo (talk) 20:17, 6 February 2012 (UTC)[reply]

Category theory homework problem - subobject classifier and showing a morphism is self-inverse

Hello all, I'm working on the following Topos/Category Theory problem: you'll have to forgive me for my inability to LaTeX commutative diagrams, but I have in mind a commutative rectangle here composed of 2 commutative squares side by side, with both commutative squares being pullbacks. I'm really struggling with this one so if you think you can help please do.


Let be a category with finite limits and a subobject classifer , "True" map (where is the terminal object) and let be a monomorphism in . By considering the pullback square of and , which pulls back to an object and morphism and the unique morphism say, and the pullback square of morphisms and to some object (and the composite of these 2 pullback squares, 'joined' by ), show that is the identity morphism: .


I hope that made some sense, apologies if not. Now I've spent a while playing around with morphisms to try and get somewhere with this but I haven't managed anything so far and I was hoping you might be able to help: I've got an extremely hard problem sheet to hand in and i'm having trouble with a number of the questions so I'd be very grateful for any thoughts you could give whatsoever. Really, so far the only ideas I have are to use the fact that the 'composite' of 2 pullbacks in the way I've described is also a pullback square, and to use the fact that the 'subobject classifier property' applies to all monomorphisms, therefore we could apply the property to to find some unique corresponding morphism to get a third pullback square and then perhaps use that somehow, but otherwise I've really been unable to make progress. Could anyone please help? I'm trying to learn this subject so I would be very grateful for hints rather than answers (but please don't be too vague as I'm finding the problem rather difficult! :)) - many many thanks in advance, Totenines99 (talk) 00:23, 6 February 2012 (UTC)[reply]

Does an adjective exist to describe this situation?

Hello,

Is there an adjective to describe a planar entity that can expand infinitely along both dimensions of the plane it's contained within? (For example, a planar square that could hypothetically have infinite width or height would be such an entity.) All I can think of is "unbounded", which isn't sufficiently impressive-sounding for my purposes.

Any suggestions would be appreciated!

Hiram J. Hackenbacker (talk) 14:21, 6 February 2012 (UTC)[reply]

Unbounded is probably the answer. See articles about 'Unbounded <something>', especially Unbounded set. --CiaPan (talk) 15:07, 6 February 2012 (UTC)[reply]
you might also use infinite, although this means an object which actually is infinite, while unbounded denotes one that may be arbitraily large, but not necessarily infinite --CiaPan (talk) 15:10, 6 February 2012 (UTC)[reply]
I wouldn't suggest "unbounded" for this- the unit square seems to have the property you describe, but it is certainly bounded. But really I don't have any idea what exactly your property really means. Does a triangle in the plane have your property? What's an example of a set in the plane without this property? Staecker (talk) 17:08, 7 February 2012 (UTC)[reply]
I should have been a bit more specific - I was thinking of a dynamic entity, i.e., one with dimensions that can change (for example, as a function of time) existing on an unbounded plane. A square or a triangle with static dimensions would not possess the property in question, while one that could increase its planar dimensions in an unconstrained way (possibly reaching a point at which it would occupy an infinite area on its resident plane) would. Such an entity is purely theoretical (at least, as far as I know), but I'm curious as to whether there's a way to describe it that's a bit more precise than simply saying that it can expand in an unbounded fashion within the plane on which it lies. I think "unbounded" may end up being the best choice of adjective, but I was hoping there might be a more interesting term from topology or one of the more esoteric fields of mathematics. Hiram J. Hackenbacker (talk) 00:45, 8 February 2012 (UTC)[reply]

t-test help please

I'm trying to figure out whether the claim in [1] that white students are more likely to get into Oxford University than black students is justified or not. I created tables where the sample values are either 0 or 1, with sample sizes and success rates as described in the article (for x1, 1089 1s and 2799 0s; for x2, 13 1s and 54 0s). I'm trying to do a one-tailed heteroscedastic unpaired t-test. As my raw data I got:

.

Then I calculated:

using the formulae in [2].

Am I correct so far? And if so, what do I do now? It Is Me Here t / c 15:38, 6 February 2012 (UTC)[reply]

You want to use Pearson's chi-squared test, not Student's t-test. Qwfp (talk) 16:38, 6 February 2012 (UTC)[reply]
Sorry, could you be a little more specific? It Is Me Here t / c 20:45, 6 February 2012 (UTC)[reply]
You have four categories (whites that got in, whites that didn't get in, blacks that got in, blacks that didn't get in) with a certain number of people in each and you want to see if those numbers could plausibly come from a particular distribution (namely, two binomial distributions with the same probability of success). That is what the chi-squared test is for. You need to work out the expected number in each category and compare that to the actual number in each category in the way described in the article Qwfp's linked to. --Tango (talk) 21:07, 6 February 2012 (UTC)[reply]
OK, so I got
O
13 1089
54 2799
E
18.66852 1083.331
48.33148 2804.669
Is that correct? How do I get degrees of freedom and test whether the value is significant? It Is Me Here t / c 12:00, 9 February 2012 (UTC)[reply]
That looks about right. The degrees of freedom is the number of cells (4) minus the number of parameters in your probability distribution that you got from the data (in this case, 3: the probability of someone getting in, the number of white applicants and the number of black applicants), so that's 4-3=1 (there's always 1 degree of freedom for this kind of 2-by-2 contingency table). You test for significance in the same way as for any hypothesis test - look up the critical value for the confidence level you are interested in (it's always a one-tailed test for chi-squared) and compare it to the test statistic you have calculated. If your value is greater than the critical value, you reject the null hypothesis. --Tango (talk) 22:19, 10 February 2012 (UTC)[reply]

Consider the Bayesian approach. See Bayesian inference#Binomial distribution parameter.

The probability for obtaining 1089 out of 1089+2799 is

or

The probability for obtaining 13 out of 13+54 is

or

So

or

Zero is only 0.077307/0.048603=1.59058 standard deviations away from . That is not significant. Bo Jacoby (talk) 00:43, 11 February 2012 (UTC).[reply]

Froda's Theorem Flawed ?

The proof assumes that all points of discontinuity in the interval can be enumerated: Let x1,x2,...xn be the points of discontinuities of f. This assumes that the set of points of discontinuities is countable (since if they can be enumerated with the natural numbers) yet this is exactly what needs to be proven. One cannot assume the theorem is true and claim it shows the theorem is true. A correct proof would be to assume the set of points of discontinuity is not countable and show that this would contradict that f is continuous. If I can either develop or find a proper proof of the theorem I will submit it for review. Feedback would be appreciated. - Noah Vieira — Preceding unsigned comment added by Vieiranoa (talkcontribs) 16:47, 6 February 2012 (UTC)[reply]

It works from that there can only be a finite number of discontinuities greater than a given amount in a monotone function between two points on a closed interval because the monotone function can only change by a finite amount. So for each size the number bigger is countable and you just count the lot in decreasing size order. Dmcq (talk) 19:51, 6 February 2012 (UTC)[reply]
This makes sense, but I was a little confused too. I think that the number of jumps larger than some alpha being finite must have to do with the fact that, for a monotone function, (finite) left and right limits must exist for every point in the domain. Reading over the definition again, I conclude that e.g. Tan(x) is not monotonic on [-pi/2, pi/2]. Is that right? SemanticMantis (talk) 01:11, 7 February 2012 (UTC)[reply]
It is monotonic, but it isn't defined at the ends of that closed interval. The interval being closed is important because it means the function is bounded by the values at the two ends. Dmcq (talk) 11:44, 7 February 2012 (UTC)[reply]
Anyway I thought Froda's theorem didn't depend on the function being monotonic but what's there talks about monotonicity and looks a bit silly. It should talk about essential discontinuities as well where either the left or right limits don't exist - there the ones that can be uncountable. That turns it into a decent sized theorem. So yeah I think something there is flawed. Dmcq (talk) 12:02, 7 February 2012 (UTC)[reply]
The proof that the discontinuities of a monotone function are countable is much easier. Just pick a rational number within each jump. Sławomir Biały (talk) 12:06, 7 February 2012 (UTC)[reply]
True - but that's not the theorem I believe. I just had a look at the talk page to say something like this and somebody else has said it and more nine months ago with no reply. Dmcq (talk) 12:10, 7 February 2012 (UTC)[reply]
I'm not disagreeing. It would be strange to refer to this almost trivial result by a moniker. Sławomir Biały (talk) 12:30, 7 February 2012 (UTC)[reply]

Maple advice

Hi. I'm working on a presentation, and I'd like to make animated graphs. I've only used Maple a little bit, and in looking at the documentation, I'm a bit overwhelmed by my options for making plots. I'd like to describe the graphs I'm trying to create, and see if anyone can suggest the easiest Maple packages to use to do it. If there's another program that would be even easier, I'd be open to that, but I only have until Friday to learn it and make it happen.

The idea is this: I've got a curve in space given by three parametric equations, and a point on the curve.

  1. As two points independently approach my fixed point, the line joining them approaches the tangent line to the space curve at my fixed point.
  2. As three points independently approach my fixed point, the plane containing them approaches the osculating plane to the space curve at my fixed point.
  3. As four points independently approach my fixed point, the spherical surface containing them approaches the osculating sphere to the space curve at my fixed point.

I've got the parametric equations for my space curve already, and I know how I want the sets of 2, 3 and 4 points to approach the fixed point. I know how to write down the equations for all the lines, planes and spheres that I need.

What I don't know is how to make it all happen with Maple, or another user-friendly software package. Can anyone help me with this? Thanks very much in advance for any tips. -GTBacchus(talk) 20:59, 6 February 2012 (UTC)[reply]

Use the animate3d, for example:
with(plots):
animate3d([x,y,x^2+k*y^2],x=-1..1,y=-1..1,k=-1..1);
will give you an animate where k is the parameter. You can add commands like frames=100 to tell Maple how many frames to make, i.e. how slowly to animate:
animate3d([x,y,x^2+k*y^2],x=-1..1,y=-1..1,k=-1..1,frames=100,style=wireframe);

Fly by Night (talk) 17:22, 7 February 2012 (UTC)[reply]

Sums of unit vectors of prime factions of pi?

Consider the set V = (Vp where p is prime and V is the unit vector from 0,0 to (cos(pi/p),(sin(pi/p)). Is the following statement true: The only sum of vectors in Vp (each vector occurs a non-negative number of times) (which go from 0,0 to xt, yt) where xt and yt are rational are the multiples of V2?Naraht (talk) 21:24, 6 February 2012 (UTC)[reply]

It is true. Instead of vectors in R2, consider these objects as complex numbers in the complex plane. Then each Vp represents a primitive 2pth root of unity ζ2p. A rational vector in R2 corresponds to an element of the field Q[i] = Q4). All the elements ζ2p are linearly independent from one another over Q (see cyclotomic field), so there's no non-trivial rational linear combination of them which is contained in Q[i], unless it's just a multiple of ζ4. Rckrone (talk) 03:10, 7 February 2012 (UTC)[reply]
Thanx!Naraht (talk) 21:06, 9 February 2012 (UTC)[reply]

February 7

Trains allegedly haul 1 ton for nearly 500 miles on a gallon. How to calculate?

I saw on a commercial about a rail freight corporation that trains will haul 1 ton of cargo nearly 500 miles on a single gallon of fuel.

Would anyone please demonstrate how this statistic is calculated? Thank you. --70.179.174.101 (talk) 07:41, 7 February 2012 (UTC)[reply]

For one ton of cargo, you'd use:
(MILES TRAVELED)/(GALLONS OF FUEL USED)
However, I suspect that they didn't count the fuel needed to move the train itself:
(MILES TRAVELED)/(GALLONS OF FUEL USED BEYOND THAT FOR EMPTY TRAIN)
If so, then this statistic is rather useless. After all, almost all of the fuel used in a car or plane is also used to move the car or plane itself, and not it's cargo. StuRat (talk) 08:55, 7 February 2012 (UTC)[reply]

The formula used must be

(MILES TRAVELED)×(TONS OF CARGO)/(GALLONS OF FUEL USED)

Bo Jacoby (talk) 10:27, 7 February 2012 (UTC).[reply]

I would expect they mean miles per gallon for tons of cargo and the gallons is total over their whole operation so in fact it is quite a bit better than one might think. Trains have lower air resistance and 'tire' resistance, they go at an even speed for long distances and are quite good at recovering energy when braking, basically a diesel electric locomotive is a huge and extremely efficient Toyoto Prius. Dmcq (talk) 10:34, 7 February 2012 (UTC)[reply]
Diesel-electric trains certainly are efficient, but while the locomotive may employ dynamic braking, power will typically be dissipated in brake grid resistors, not stored in batteries as on a Prius. Electric trains connected to overhead lines or a third rail may return energy to the system during braking. (Freight trains usually try to avoid stop-and-go traffic.) -- ToE 01:24, 9 February 2012 (UTC)[reply]
We do have an article on Hybrid trains, but that are not currently in common use. -- ToE 01:39, 9 February 2012 (UTC)[reply]
Yes it looks like the ones with batteries are only being used in any great number for shunting rather than long haul and one would only get power returned for the others with overhead lines where it would just need an electric train anyway. Dmcq (talk) 02:05, 9 February 2012 (UTC)[reply]
Something else to consider is that trains only move cargo from one train depot to another. Unless your factory is at one depot and customer at another, you will therefore incur additional shipping costs for delivery. StuRat (talk) 10:45, 7 February 2012 (UTC)[reply]

We have an article Fuel efficiency in transportation which may be of some use.--Salix (talk): 17:43, 7 February 2012 (UTC)[reply]

Note that the 185.363 km/l (per short ton) quoted there is 436 mi/gal. -- ToE 01:39, 9 February 2012 (UTC)[reply]
Not too bad but not quite 500 but they must have had a reason for that, I wonder if having better locomotives in shunting yards could have made the difference. I'm not sure if I read it right but it looks to me that for passenger trains something like half the power is used in the passenger cars rather than for driving the train along! Dmcq (talk) 02:05, 9 February 2012 (UTC)[reply]
They might also be talking about movement on straight, level ground, with no accel or decel (so excluding starts and stops). StuRat (talk) 02:19, 9 February 2012 (UTC)[reply]
I'm pretty certain they mean delivered cargo and total fuel for the freight trains over the whole operation. Association of American Railroads: Freight Railroads Help Reduce Greenhouse Gas Emission in 2010 describes what they are doing. Dmcq (talk) 10:31, 9 February 2012 (UTC)[reply]

Angle bisector problem

Can someone help me how to do this? Triangle ABC has AB = 27, AC= 26, BC = 25. Let say I is the incenter point, where all three angle bisectors met. Find BI. Thanks!Pendragon5 (talk) 23:51, 7 February 2012 (UTC)[reply]

ABI is another triangle. Use the cosine rule to find the angles in ABC, divide the angles at points A and B by 2 to get the angles of this new triangle (ABI), then use the sine rule to find the length of BI. Widener (talk) 00:43, 8 February 2012 (UTC)[reply]
Ops forgot to say. No calculator is allowed.Pendragon5 (talk) 01:12, 8 February 2012 (UTC)[reply]
Is this homework? WP:DYOH RudolfRed (talk) 03:19, 8 February 2012 (UTC)[reply]
Nah?? If it is homework then i'm pretty sure i can do it by myself. Why would i not know how to do it unless i was not paying attention in class, which is not my type. If you wonder where this problem comes from then let me tell you it is part of the AMC 12 test, which i just took it today. And they are not easy. Don't try to advise me on whether or not i do my homework. Even if this is my homework, which it is not, so what? You're not helping me that's your choice. I have the right to ask.Pendragon5 (talk) 03:52, 8 February 2012 (UTC)[reply]
Chill out man. The policy of the reference desk is that we don't do people's homework for them. It's not obvious from your question that it's not homework, so RudolfRed asked. How can we know what "your type" is?
As for the question, drop the perpendiculars from the incenter, and you get 3 pairs of congruent right triangles. You can find the inradius from the side lengths with the formula in the article (it's √56). You can solve for the lengths of the remaining legs of the right triangles x,y,z by setting up the three equations x+y = 27, x+z = 26, y+z = 25 and find that y is 13. Then by Pythagorean theorem, BI is 15. Rckrone (talk) 06:02, 8 February 2012 (UTC)[reply]
If you don't know the formula for calculating the inradius, then you can also find it in the following way: The triangles ABI, AIC, and IBC all have height equal to the inradius r and base 27, 26, and 25 respectively. Therefore, their areas are 13.5r, 13r, and 12.5r respectively. The sum of these areas is equal to the area of the whole triangle ABC and is equal to 39r. From Heron's formula (which you should probably memorize) you also know that the area of ABC is so we have which fortunately is all quite easy to do by hand. So clearly the method suggested by Rckrone is the way you're supposed to do it in this case. Widener (talk) 06:42, 8 February 2012 (UTC)[reply]
The no homework policy in my opinion is pretty stupid. What is the different between people who don't know something and people who don't know how to do their homework? This should be the place where everyone gets help regardless of whatever. I don't think people can really exploit this to do homework for them. First of all, homework is not just 1 problem but usually ranging from 10 up to 50 problems. Plus when you asked it here, you're not going to get the answer right the way. You probably have to wait few hours to just get the answer for ONE problem, it would takes forever (i meant they won't have enough time to finish it) for someone to try to do homework base on this. This desk reference can not be exploited as a tool to do someone else's homework anyway even if someone wants to. And I see no problem with helping someone on their homework with 1 or 2 problems. At least give them some direction to head to. So i don't think people here should even bother to ask is this homework because it doesn't do anything good. Plus people can always lie if they want to. The no homework policy here is just useless to be honest.
"You can solve for the lengths of the remaining legs of the right triangles x,y,z by setting up the three equations x+y = 27, x+z = 26, y+z = 25" I don't really understand this part. Can you explain in more details? Which right triangles are you talking about? What segments are you talking about? Name all of them please. And what is x, y, z stand for. By the way, is this base off from angle bisector theorem Pendragon5 (talk) 21:59, 8 February 2012 (UTC)[reply]
Hopefully this diagram makes it clearer: [3] Widener (talk) 00:53, 9 February 2012 (UTC)[reply]
IT IS! Thanks! Anyway i wonder what theorem is that property come from?Pendragon5 (talk) 01:19, 9 February 2012 (UTC)[reply]
What property? Widener (talk) 01:39, 9 February 2012 (UTC)[reply]
The property that enable us to set up three equations like this: x+y = 27, x+z = 26, y+z = 25. Pendragon5 (talk) 03:48, 9 February 2012 (UTC)[reply]
The reason we know that the two segments labelled as having length x both have the same length is that they are the corresponding sides of congruent triangles. We know those two triangles are congruent because they share the same hypotenuse and they have the same angle at vertex A (because the hypotenuse is the angle bisector). Similarly for the segments labelled y and z. Rckrone (talk) 04:22, 9 February 2012 (UTC)[reply]
Oh wow, pretty much common sense.Pendragon5 (talk) 19:20, 9 February 2012 (UTC)[reply]
About the homework policy: First is that people are allowed to ask for help with their homework questions. Reference deskers will guide people in the right direction and help them understand the material. What we won't do is hand out answers so they can get around grasping the material. Second, you are wrong about people being able to exploit the reference desk if we did give out answers. You're assuming that everyone's homework is structured like yours, which is not true. For instance in a college or graduate class, problem sets often consist of far fewer but more difficult proof questions. In some ways the question you asked is much more like these problems than the homework you're used to (although the subject matter is not something you'd typically see a class on). Rckrone (talk) 04:34, 9 February 2012 (UTC)[reply]
I didn't say people can. I meant they can't exploit it even if they want to because of the waiting time needed to received the answer. And of course beside that i agree with your points. That's also my point of view too anyway.Pendragon5 (talk) 19:18, 9 February 2012 (UTC)[reply]

February 8

Problem solving : work backward

How do I solve the problem? In June 2005, a sixth grade class planted a tree in the schoolyard. The tree grew about 3 inched a year. If the tree was 38 inches high in June 2010, about how high was the tree when it was planted? — Preceding unsigned comment added by 67.8.185.89 (talk) 04:16, 8 February 2012 (UTC)[reply]

Start with:
PRESENT HEIGHT = INITIAL HEIGHT + GROWTH
Now subtract GROWTH from both sides:
PRESENT HEIGHT - GROWTH = INITIAL HEIGHT + GROWTH - GROWTH
PRESENT HEIGHT - GROWTH = INITIAL HEIGHT
Now expand GROWTH:
PRESENT HEIGHT - (YEARS OF GROWTH)×(GROWTH PER YEAR) = INITIAL HEIGHT
Now just plug in your values to get the answer. StuRat (talk) 04:50, 8 February 2012 (UTC)[reply]

Time lag in second-order positive feedback

In a second-order positive feedback loop that would produce hyperbolic growth with no time lag, what's the shape of the curve if there's a constant time lag? And what about a time lag that's inversely proportional to the quantity -- does the latter still produce a singularity? NeonMerlin 04:46, 8 February 2012 (UTC)[reply]

Value of infinite limit

I'm having trouble with this, the equation of motion from the free fall article (position as a function of time) for a body falling under gravity but subject to air resistance proportional to the square of velocity:

As t becomes infinite, the equation should become

but I get a -ln2 term appearing. What's wrong?86.174.199.35 (talk) 17:19, 8 February 2012 (UTC)[reply]

It doesn't start going at rerminal velocity immediately so you need y0 adjusted by some constant amount. Dmcq (talk) 17:45, 8 February 2012 (UTC)[reply]
Of course. 86.174.199.35 (talk) 08:28, 9 February 2012 (UTC)[reply]
Actually thinking about it one can have an amount that grew to infinity if it did it slowly enough but that's not what's happening in this case thankfully :) Dmcq (talk) 13:06, 9 February 2012 (UTC)[reply]

February 9

Unique Factorization Domain

Are Z[sqrt(2)], Z[cuberoot(2)], and Z[sqrt(2),cuberoot(2)] unique factorization domains? Black Carrot (talk) 06:43, 9 February 2012 (UTC)[reply]

No. For instance, and . Sławomir Biały (talk) 12:23, 9 February 2012 (UTC)[reply]
But don't and ?
Plus fixed a minus to a + in your bit above hope okay Sławomir. Dmcq (talk) 12:42, 9 February 2012 (UTC)[reply]
Sorry, I was just being stupid. The class number of and is one. So both of rings of integers are UFDs. Sławomir Biały (talk) 13:17, 9 February 2012 (UTC)[reply]
How do you calculate the class number? Black Carrot (talk) 00:03, 10 February 2012 (UTC)[reply]
Well there's articles Ideal class group and class number formula here but if you really want to get into all that I can warn you that entire books have been written on the subject. Dmcq (talk) 09:33, 10 February 2012 (UTC)[reply]

Offsetting an ellipse

It's been a long time since I thought much about geometry, so bear with me, I'm sure this is rather elementary.

I am drawing an ellipse using a rather straightforward function that takes x,y as the center, two radius lengths (a and b), and a rotational angle as its arguments. The ellipse draws perfectly fine under such conditions. For a rotational angle of 0, a ends up being the horizontal radius and b ends up being the vertical radius, like this:

ignore the string
ignore the string

The function spits out a bunch of coordinates (the number depends on how many steps there are, but that isn't very important for this question) that I can then plot on a grid.

Here's the thing. I need to adjust the plotting of the ellipse so that x,y isn't the center, but coincides with one of the edges of the ellipse. So in the above example, I would shift the ellipse over so that what is now -a would be at point C. No problem for a single axis, of course (just offset every x coordinate by a), but how do I do this for arbitrary angles, keeping the -a point in the above ellipse centered on x,y? It smells like trigonometry to me and I'm very rusty on that.

Another way to do this would be to plot the ellipse coordinates at 0 degrees rotation, then rotate the ellipse with the rotational point being one edge of it. But I've no idea how to do those sorts of transformations on a bunch of x,y coordinates.

Any suggestions? --Mr.98 (talk) 17:06, 9 February 2012 (UTC)[reply]

As to rotating points, the general (computer guy, at least) thing is to apply a rotation matrix to each point. Slightly more generally, affine transformations (shears, translations, dilatations, and rotations) can be composed ad-nauseum by taking their corresponding transformation matrices and multiplying them together (in order of application). When applied to a point, the resulting matrix applies all those transformations in one go. So for example if you wanted to rotate something by 0.1 radians about (3,-10). First you'd translate to move the coordinate system so the centre of rotation is at the origin) - so you'd apply the translation matrix for x-3, y+10. Then you'd apply the rotation matrix. And then you'd translate back to where you came from (x+3, y-10). -- Finlay McWalterTalk 20:11, 9 February 2012 (UTC)[reply]
To be a bit more specific, let's say your basic ellipse is given by
then the rotation counterclockwise by θ is
and the translation so the center is at (h, k) is
--RDBury (talk) 21:57, 9 February 2012 (UTC)[reply]
(ec) I remember you do VB, so this may be helpful. Here's R (programming language) code that does what you want:
function(x,y,a,b,theta)
{
  # (x,y) is leftmost intersection of first axis with ellipsis
  # a and b are first and second axes
  # theta is rotation angle of first axis with x axis (in radians, of course)

  pp=seq(0,2*pi, by=0.01); # Note that pp now is an array
  xx= -0.5*a*cos(pp); # xx is an array (minus sign to place first point at left side of origin)
  yy=0.5*b*sin(pp); # and yy is an array

  # do the rotation (of the arrays xx and yy)
  xrot=cos(theta)*xx-sin(theta)*yy;
  yrot=sin(theta)*xx+cos(theta)*yy;

  # translate to make x,y correspond to intersection of first axis with ellipsis
  tx = xrot[1] # Arrays in R are 1-based, tx is first point in xrot
  ty = yrot[1] # Ditto for yrot
  xx = xrot + x - tx # xrot is array, x and tx are scalars
  yy = yrot + y - ty # yrot is array, y and ty are scalars

  # return result
  data.frame(x=xx,y=yy);
}
If you want to try it out in R, create the function using "fix(elip)", and substitute the empty function with the code above. To see the result, after defining the function type
dd=elip(5,90,7,2,0.3)
plot(dd,asp=1) # asp is the aspect ratio
abline(h=90) # horizontal line to highlight the leftmost intersection of first axis with ellipsis
abline(v=5) # ditto vertical line
--NorwegianBlue talk 22:48, 9 February 2012 (UTC)[reply]
Thanks! I will puzzle over this a bit further. --Mr.98 (talk) 20:55, 10 February 2012 (UTC)[reply]

Stationary functions of a functional

What kind of techniques would a mathematician employ when looking for the functions which minimise or maximise the functional given by subject to a constraint of the form Thanks for your help — Preceding unsigned comment added by 129.67.37.224 (talk) 23:57, 9 February 2012 (UTC)[reply]

In general, the techniques for functional optimization problems are those of the calculus of variations. Here you have a quadratic functional on an affine hyperspace, which is unbounded both above and below. Consider where is the given constant for the constraint, and . Then is polynomial in :
Now, if for instance we fix an with and , e.g. , the above quantity is a non-constant affine function of , hence unbounded from above and from below.--pma 08:50, 11 February 2012 (UTC)[reply]

February 10

Minimum area of a quadrilateral

The maximum area has been resolve above at Wikipedia:Reference desk/Mathematics#Max Quad Area which made me curious as to the resolution of the minimum area of a quadrilateral.

Assume a convex quadrilateral with its longest side = a with successive and arbitrary sides = b, c, d and with a < (b + c + d). What would be a method to find the minimum area quadrilateral. hydnjo (talk) 01:41, 10 February 2012 (UTC)[reply]

I don't think there is a minimum. Imagine a really flat trapezoid. Widener (talk) 02:05, 10 February 2012 (UTC)[reply]
If you count degenerate quadrilaterals (and you imply that you can with the condition a ≤ (b + c + d) rather than a < (b + c + d)), then the minimum area is obviously zero. Widener (talk) 02:10, 10 February 2012 (UTC)[reply]
Hmm. Of course, notice that a > (b + c + d) is never possible anyway, so the condition a ≤ (b + c + d) is redundant actually. Widener (talk) 02:12, 10 February 2012 (UTC)[reply]
Yeah, I just added a < (b+c+d) so as to limit discussion about the degenerates (a ≥ (a + b + c) quads and it almost worked ;-) hydnjo (talk) 02:42, 10 February 2012 (UTC)[reply]
Oh, you changed the condition to from a ≤ (b + c + d) to a < (b + c + d). Be aware that it is still possible to create a degenerate quadrilateral which satisfies a < (b + c + d) Widener (talk) 09:15, 10 February 2012 (UTC)[reply]
There's the problem of do you allow self intersecting quadrilaterals, and if so do you count one of the areas as positive and the other negative which would be quite usual in maths so the minimum absolute are would always be zero. Otherwise it looks like the minimum would be give by one of the triangles like a-b,c,d where two adjacent sides were made to coincide. Dmcq (talk) 09:41, 10 February 2012 (UTC)[reply]
If you do use the interpretation which allows negative areas, then a self intersecting quadrilateral will not be convex. Widener (talk) 10:53, 10 February 2012 (UTC)[reply]
Am I misreading your question? Are the lengths a,b,c,d allowed to vary (subject to the conditions you mentioned)? Widener (talk) 10:28, 10 February 2012 (UTC)[reply]
I had thought at first that a was fixed but that b,c,d were allowed to vary (since you used the word "arbitrary" to describe them). Widener (talk) 11:56, 10 February 2012 (UTC)[reply]
I think we need more information. Precisely what is allowed to vary? Widener (talk) 11:00, 10 February 2012 (UTC)[reply]

If you keep all lengths fixed then you get a Four-bar linkage, a little off topic but a fascinating study.--Salix (talk): 11:20, 10 February 2012 (UTC)[reply]

That's assuming that the arrangement of the four sides is also fixed i.e. the only thing which varies is that one angle, in which case you can find the area of the quadrilateral as a function of the angle and then use optimization techniques such as or including basic calculus to find the angle which generates the minimum area, and then use that angle to find the area of the smallest quadrilateral. Widener (talk) 11:47, 10 February 2012 (UTC)[reply]

To review, the sides of the convex quadrilateral are successively a, b, c, and d of arbitrary length where the longest side is side a. Also, a < (b + c + d). In a previous question I learned that the maximum area is when the angles are such as to form a cyclic quadrilateral and then the area and the interior angles can be calculated and expressed in terms of the sides. After that discussion (which satisfied my need to know) I became curious as to the minimum area quadrilateral with the assumption that all of the interior angles are variable so long as the quadrilateral remains convex (no crossovers). Sorry for any confusion about the givens. hydnjo (talk) 22:40, 10 February 2012 (UTC)[reply]

Your use of the phrase "arbitrary length" may be causing some confusion. Are you asking, "Given positive values a, b, c, & d such that a is the largest value and a < (b + c + d), what is the minimum area of a convex quadrilateral whose sides are, in order, a, b, c, & d?"? -- 182.232.144.48 (talk) 03:28, 11 February 2012 (UTC)[reply]
Yes, a much more concise statement than my version - thanks. hydnjo (talk) 13:33, 11 February 2012 (UTC)[reply]

modulo arithmetic

Suppose n is an integer in the range 0-1000 inclusive. Let p, q and r be qual to n reduced modulo 7, 11 and 13 respectively (e.g. if n=20, then p=6, q=9, r=7). I believe that as 7, 11 and 13 are all prime, and 7*11*13=1001, then the combination of (p,q,r) will be unique. Is there a proof of this, other than by trial and error? Also, is there a formula for establishing n given p, q and r?  An optimist on the run! 15:07, 10 February 2012 (UTC)[reply]

Chinese remainder theorem. Gandalf61 (talk) 15:12, 10 February 2012 (UTC)[reply]
Sorry, but that article's way over my head. Is there a simpler answer to this?  An optimist on the run! 18:03, 10 February 2012 (UTC)[reply]
Have you read the section Chinese_remainder_theorem#Finding_the_solution_with_basic_algebra_and_modular_arithmetic? If you can work through that example, then you can solve your own question, and also determine whether it's unique. If you cannot work through that example, we can go from there. SemanticMantis (talk) 21:24, 10 February 2012 (UTC)[reply]
... and specifically for the 7, 11, 13 case, you can find n from p, q and r by calculating
So, for example,
Gandalf61 (talk) 09:15, 11 February 2012 (UTC)[reply]
I've tried working through the example, but floundered at the post where it said "(1/3) (mod 4) = 3 (mod 4)". Can I ask Gandalf how he derived the numbers 715, 364 and -77 in the above example? Thanks.  An optimist on the run! 13:32, 11 February 2012 (UTC)[reply]
For the first coefficient, 715, you want a number that is a multiple of 11 and 13, and leaves a remainder of 1 when divided by 7. To be a multiple of 11 and 13 it has to be a multiple of 11 x 13 = 143. So you can check multiples of 143 in turn:
and that's how you get 715 (you can short-cut the last part a little if you know how to find multiplicative inverses in modular arithmetic). In the same way, the second coefficient has to be a multiple of 7 and 13 and leave a remainder of 1 when divided by 11, so you check the multiples of 91 until you find
and -77 is a multiple of 7 and 11 and leaves a remainder of 1 when divided by 13. Gandalf61 (talk) 13:56, 11 February 2012 (UTC)[reply]
Checking multiples mod 7 of 11×13 in turn, even easier:
11×13 = 4×6 = 24 = 3 mod 7
2×3 = 6 mod 7
3×3 = 9 = 2 mod 7
4×3 = 12 = 5 mod 7
5×3 = 15 = 1 mod 7
Bo Jacoby (talk) 16:16, 11 February 2012 (UTC).[reply]

Greatest Common Divisor of Two Polynomials

What is the difference between finding the greatest common divisor of two polynomials and finding their GCD to some (prime) modulus p? Could I be provided with any references for where to read around the issue? Thanks. 131.111.216.115 (talk) 17:01, 10 February 2012 (UTC)[reply]

Solving the 3-body problem if two of the objects are stationary

The simulation here is of a gravitational system with two fixed sun and one to four movable planets. The values that can be changed are the mass of the first sun, the x position that the first planet starts at, and the number of planets. The starting x value of additional planets is an offset of the starting x value of the first planet. Additional planets do not interact with each other and instead are provided for comparing the differences in paths. I want to know if a 3-body problem with two fixed objects and one movable object can be solved exactly. --Melab±1 20:49, 10 February 2012 (UTC)[reply]

You can't have two fixed objects. What is going to hold them still? They'll fall towards each other. What you can do, is have two objects in circular orbits around their centre of gravity (so they'll look fixed in a rotating reference frame) and then have a third object small enough for the effect of its gravity on the first two objects to be negligible. Then you can solve it reasonably easily. --Tango (talk) 22:37, 10 February 2012 (UTC)[reply]
There's no reason mathematically you can't have two fixed objects, the force on a satellite would just be the sum of the forces from the two objects individually. It may be that there could never be two real fixed objects in space, but that's something for physicists to determine. It appears from the simulation that the solution is chaotic, generally an indication that there is no closed form solution. That could be due to inaccuracies in the simulation though.--RDBury (talk) 23:18, 10 February 2012 (UTC)[reply]
It doesn't make much sense to solve a problem about gravity without taking into account the gravitational attraction between your two largest objects. --Tango (talk) 14:33, 11 February 2012 (UTC)[reply]
I think it is solvable in bipolar cylindrical coordinates. The problem is closely related to that of the electron in a diatomic molecule, and unless I am mistaken this is reasonably well understood. Note that by fixing two of the bodies, it is actually a two-body problem, i.e. there are only two frames relevant to the problem, albeit with an awkward force relating their motion. — Preceding unsigned comment added by 129.67.37.224 (talk) 23:58, 10 February 2012 (UTC)[reply]
If you have the two massive objects (e.g. stars) fixed, is that equivalent to having them in a circular orbit around each other and having the coordinate system rotate? Would that give the correct results? Bubba73 You talkin' to me? 06:29, 11 February 2012 (UTC)[reply]
I don't know what you mean by "the correct results". You can get results that way. The fact that you have a rotating reference frame would be very significant for the results, though. --Tango (talk) 14:33, 11 February 2012 (UTC)[reply]
What I'm saying is, suppose you have two stars of equal mass and they are at a distance and velocity to be in a circular orbit around each other. If you have a coordinate system rotating at that rate, the two stars would be fixed in that coordinate system. Now suppose you add an object to the system that has very low mass compared to the stars. It is easy to calculate the trajectory of the small body in that rotating coordinate system, with the two fixed stars. My question is: does that correspond to what would happen in the real world? Bubba73 You talkin' to me? 15:38, 11 February 2012 (UTC)[reply]

Mercator latitude scaling

Tissot's indicatrix

Let's imagine I have a Mercator projection map centered on the equator and I've drawn a perfect square on it. Let's say that because of the scale of the map, the square is 1" by 1" which corresponds to 1 mile by 1 mile. Now if I get a map of a more northern latitude, and I apply the same 1" by 1" square, but while the 1" of width will still correspond to a mile, the 1" of height now corresponds with a greater value, like 1.25 miles.

What's the general formula to figure out how that 1" square will scale as I go to different latitudes? I've gone over the Mercator page, but math is not my strongest suit, and applying those equations to this specific problem is causing me some difficulty.

I'm using this for Javascript, and I'm not terribly good at translating mathematical formulae into Javascript, so if you could express this in a way that doesn't involve fancy Greek letters, I'd be very grateful... thanks. --Mr.98 (talk) 20:54, 10 February 2012 (UTC)[reply]

It looks like the Gudermannian function article might be of some use to you. See the applications section. Fly by Night (talk) 21:36, 10 February 2012 (UTC)[reply]
Doesn't the fact that the Mercator projection is a conformal map suggest that, for relatively small squares, the distances represented by the sides are equal? -- 182.232.144.48 (talk) 03:43, 11 February 2012 (UTC)[reply]
When I plot a 20mi x 20mi square in Google Maps, the deformation is really palpable, even at straightforward (e.g. non-polar) latitudes. --Mr.98 (talk) 15:14, 11 February 2012 (UTC)[reply]
The width of the map is equal at each latitude, but the actual distance around the sphere is proportional to the cosine of the latitude. If 1" on the map is 1 mile of actual distance at the equator, then at latitude θ, 1" will be cosθ miles. As 182.232.144.48 mentioned, height and width scale equally with the Mercator projection. Rckrone (talk) 05:26, 11 February 2012 (UTC)[reply]

February 11

Using mod (i.e. remainder after division) on complex numbers

I'm currently trying my best to solve a Project Euler problem, and I have a question about using the mod function on complex numbers (i.e. the remainder after the division one, not the traditional "modulus" for complex numbers). One of the lovely things about mod is that it sort of "distributes" over addition and multiplication, right? Like this:

(a+b) mod m = ((a mod m) + (b mod m)) mod m
(a*b) mod m = ((a mod m) * (b mod m)) mod m

(btw, I realize that you usually don't write it like that, like an operator, but I only really have experience in computer science, so forgive my poor math-notation). First off all: this obviously applies when a and b are integers, but it also applies when they are arbitrary reals, right (at least assuming that m is an integer)?

But what if you defined the mod function for complex numbers, so that it applies to both the real and imaginary part? I.e., what if you defined it "complex mod" like this:

z = a + bi
z mod m = (a mod m) + i*(b mod m)

Does those "distributive" properties still hold? I.e., if z and v are complex numbers with the mod-function defined just like I did, is this true?

(z+v) mod m = ((z mod m) + (v mod m)) mod m
(z*v) mod m = ((z mod m) * (v mod m)) mod m

In all these examples, a and b can be arbitrary reals, but m is always a positive integer.

PS. The problem I'm working on is Problem 258, and I think I've almost cracked it. I figured out a way that would work but would take a few hours or so, but since Project Euler has an official "should run in under a minute" policy, I'm trying to figure out a better way to do it rather than just leaving the computer on over night. If anyone is curious, I'd be happy to explain why I need to take mods of complex numbers in order to solve it (or at least why I think I do, I may be completely barking up the wrong tree). 80.216.1.161 (talk) 18:52, 11 February 2012 (UTC)[reply]