Jump to content

Wikipedia:Reference desk/Mathematics

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 77.127.95.225 (talk) at 06:48, 14 September 2017 (→‎From a computational perspective , how do mathematicians succeed proving theorems?). 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:


September 9

Volume of spherical caps and hemispheres....

Hi,

1. I am recalling an old exam question from years ago, which involved spheres. On the side of a spherical ball, place a series of markers indicating various volumes, if the ball is filled with powder. (I am of course ignoring any thickness, or indeed the size of the powder granules. ) The ball is of a given radius. From reading Wikipedia I've already found the article on Spherical caps , but the equation given there seemed to be applicable to caps in distinct hemispheres. Does anyone have a reference to an equation that would give volume in relation to height for the entire sphere?

2. Extending the above does anyone have a reference on how to generalise the spherical cap equation for 'partial' elipsoid shapes, like a bowl. I can draw a diagram if it helps? ShakespeareFan00 (talk) 09:20, 9 September 2017 (UTC)[reply]

For the first question, it appears to me that the volume formulas given by the linked article are valid for a single cap in either hemisphere. In particular,
.
Loraof (talk) 19:49, 9 September 2017 (UTC)[reply]
which for the benefit of those following will re-arranges to :-

solving for h. which isn't as easy as to solve as I remember. (the original question was on an ancient A-level paper IIRC but can't recall the board.).

The next step is naturally solving the cubic equation for various values of V, for which various methods exist see Cubic_function#General_solution_to_the_cubic_equation_with_real_coefficients

Would it be reasonable to post the next steps here or would it be more appropriate to take something like this to Wikiversity?

In respect of 2, I have a very strong feeling a general solution will be at college level. ShakespeareFan00 (talk) 21:51, 9 September 2017 (UTC)[reply]

Sorry, when you said you want "volume in relation to height" I assumed you wanted volume as a function of height. Solving your cubic for height involves an expression in terms of cube roots; since there's only one height that can give a particular volume, the cubic must have only one real root. It's probably not a good idea to go through the solution steps here. Loraof (talk) 00:01, 10 September 2017 (UTC)[reply]
I'll consider taking it over to Wikiversity then. Thanks for the response. ShakespeareFan00 (talk) 08:27, 10 September 2017 (UTC)[reply]
  • Let me revise something I said before. Actually by the discriminant test, there are three real roots, but only one is in the geometrically meaningful range Loraof (talk) 15:55, 10 September 2017 (UTC)[reply]
There is a decent derivation at Sphere#Enclosed volume using disk integration. If you change the limits of integration from (-r to r) to (-r to h-r), then you get the same formula above. For an ellipsoid, you would need to change the disk that you integrate over (example). The closed-form solution for h is incredibly messy, so maybe you didn't remember that part of the problem correctly. C0617470r (talk) 06:42, 10 September 2017 (UTC)[reply]
The elipsoid extension was not part of the original problem, it was an extension I was wanting to look at personally.ShakespeareFan00 (talk) 08:27, 10 September 2017 (UTC)[reply]
Even for the sphere, the cubic is not really solvable, assuming that A-level students aren't required to memorize the general cubic formulas. The formulas aren't hard to apply, just incredibly messy. Here's the solution. C0617470r (talk) 17:45, 10 September 2017 (UTC)[reply]
Thanks for the link and soloution, but Wolfram Alpha's terms are not necessarily compatible with "free" licenses (suppresses desire to have an ideological rant about the need for "open math" :( )ShakespeareFan00 (talk) 10:55, 11 September 2017 (UTC)[reply]
I'd personally consider use of the trignometric solution suggested below. I have a strong feeling that in the original answer to 1. The A-level student would have been expected perhaps to consider the ball as 2 domes, and work from there, by computing the volume of a single 'dome' first and if V was larger than a single one adjust it accordingly. That said I did ask for a general formulae that has been provided. However thanks to the answers given here I've learnt about some math topic I did not at A-level. Congratulations. ShakespeareFan00 (talk) 10:55, 11 September 2017 (UTC)[reply]
And notice that the expression under the square root sign, is negative since V is less than the volume of the entire sphere. Thus the given algebraic expression involves the cube root of a non-real complex number. This is casus irreducibilis. You can get a solution expression only involving real quantities using trigonometric functions—see Cubic function#Trigonometric solution for three real roots. Loraof (talk) 18:00, 10 September 2017 (UTC)[reply]

Let and such that . For the solution is computed by newton iteration: where and . Bo Jacoby (talk) 20:23, 10 September 2017 (UTC).[reply]

Quintic equation problem

Take any quintic integer polynomial equation:

ax^5 + bx^4 + cx^3 + dx^2 + ex + f = 0

...and what you want to know is whether the solutions are related to the integers by a finite number of algebraic operations. (For polynomial degrees 1-4, all solutions are.)

The only requirements I know are that a can't b 0, f can't be 0, and at least one of b through e can't be 0. Any complete list of requirements?? Georgia guy (talk) 14:09, 9 September 2017 (UTC)[reply]

See Quintic function#Solvable quintics. --Deacon Vorbis (talk) 14:20, 9 September 2017 (UTC)[reply]

September 10

Differential equations

I'm having trouble with problems 1c, 1d, 1e, and 2 listed below. I listed 1a and 1b for reference and indented my answers (which are verified as correct). 1e is a multiple-choice question where the first and second answers are verified as incorrect. My previous answers for problem 2 were 6x + 4, 9/4e3x + 3 - 9/4e-x - 1 - 2x, and 9e3/4e3x - 9/4ee-x - 2x, all of which are verified as incorrect (the last two are equivalent).

1a. Verify that the one-parameter family y2 - 2y = x2 - x + c is an implicit solution of the differential equation (2y - 2) * y' = 2x - 1.
Differentiating y2 − 2y = x2x + c with respect to x, we have the following:
2y(y') - 2y' = 2x - 1
(2y - 2) * y' = 2x - 1
1b. Find a member of the one-parameter family in part (a) that satisfies the initial condition y(0) = 1.
y2 - 2y = x2 - x - 1
1c. Use your result in part (b) to find an explicit function(s) y = ϕ(x) that satisfies y(0) = 1.
y(x) =
1d. Give the domain of the function ϕ in interval notation.
 
1e. Is y = ϕ(x) a solution of the initial-value problem? If so, give its interval of definition; if not, explain.
  • Yes, the interval is (−∞, ∞).
  • Yes, the interval is (−∞, 0] ∪ [1, ∞).
  • Yes, the interval is (0, ∞).
  • Yes, the interval is (−∞, 1].
  • No, both functions are solutions of the differential equation, but neither is a solution of the initial-value problem.
2. y = c1e3x + c2ex − 2x is a two-parameter family of the second-order differential equation y'' − 2y' − 3y = 6x + 4, where c1 and c2 are constants. Find a solution of the second-order initial-value problem consisting of this differential equation and the given initial conditions y(−1) = 0 and y'(−1) = 1.
y(x) =

Thanks in advance for any help. 147.126.10.148 (talk) 05:00, 10 September 2017 (UTC)[reply]

For 1c, try to rearrange the equation so that you can apply the quadratic formula to solve for y. For 2, please show what you have tried. Can you find a similar example in your textbook and follow its steps? C0617470r (talk) 06:32, 10 September 2017 (UTC)[reply]
Can you explain what you mean for 1c? 147.126.10.148 (talk) 17:41, 10 September 2017 (UTC)[reply]
For 1c: - there are two explicit solutions. For 1d: if you consider then .
For 2: you have a linear system of two equations:
with obvious solution . So, the solution is . Ruslik_Zero 20:09, 10 September 2017 (UTC)[reply]

Hex tiling average island size

Given an infinite hex grid, what is the average island size for various numbers of random colorings?

Obviously for 1 colour, there is one "island" of infinite size. For 1000 colours, I suspect that the average island size will be just above 1 (maybe 1.001 - wild guess) For 2 colours, it seems likely that locally one colour will form a single island with patches of the other colour islanding inside it (and maybe first colour inside them). I'm not sure what terms to google to find this out. -- SGBailey (talk) 20:08, 10 September 2017 (UTC)[reply]

A related problem is: If a cell being "land" has probability p and being "sea" has probability 1-p, then what is the average island size? It's intuitively clear that for p close the 1 the average size is infinite and for p close to 0 the average size is close to 1. You can ask this for infinite lattices other than the hexagonal one, even higher dimensional ones. The cut-off between infinite and finite average island size is called the Percolation threshold and there has been research on finding its value for various lattices, but afaik little has been done on finding the average size as a function of p (in your case p=1/n) for values less than critical. You might try the references listed in the article, but given the relative youth of the subject I suspect that it will be difficult reading. I'm pretty sure the problem is usually stated in terms of the dual lattice rather than the way you've stated it and you might have to replace p with 1-p, but the general idea should be same. --RDBury (talk) 04:44, 11 September 2017 (UTC)[reply]

For n colours, the probability that a random tile has a given colour is n–1 , and the probability that it has some other colour is 1 – n–1. Each tile has six neighbours. The probability that any tile is insulated is p = (1 – n–1)6 and the probability that it is not insulated is q = 1 – p. The probability that k – 1 tiles are not insulated is qk–1. The mean value of k is Σkqk–1 = (1 – q)–2 = p–2. So the mean size of an island is approximately (1 – n–1)–12. For n = 1000 it is 1.012. Bo Jacoby (talk) 05:21, 11 September 2017 (UTC).[reply]

That reasoning is incorrect for two reasons, though I suspect neither of which will matter a lot for the large-n case.
  1. You treat as independent some probabilities that are not. Take a tile A of a given color. The probability that it is not insulated, i.e. that at least one adjacent tile B is of the same color, is indeed . But then B has probability 0 of being insulated, since A exists. We can easily find there is another tile C with the same color with proba . If we go down the line we have to take into account which tiles touch which one and that is where the hard stuff kicks in.
  2. What this gives is starting from a random tile, what it the average size of the island that includes that tile, not the average size of a random island. Those are different per the bus waiting paradox we don't have an article about, or the closely-related Friendship paradox. Personal story: I was once a member of an association whose members had a characteristic X. They polled members about (among other things) the number of brothers and sisters they had, they found out that the average was higher than national statistics, and speculated in the association's magazine that growing up in large families increased the probability of X. They may have averaged with corrective weights, but more likely averaged all answers without weighting. In which case, they fell prey to the sampling bias that (if the null hypothesis that X was uncorrelated to the number of children) any random family would have an average number of children in the association proportional to the number of children they had, so large families were over-sampled. Put it simply, no member was from a childless family. TigraanClick here to contact me 11:23, 11 September 2017 (UTC)[reply]
  • For large n / small p, one can probably find an approximation to whatever reasonably low order one wishes to find. The zero-th order is that it is unlikely there is a neighbor with the same color, so the answer is 1. At the first order, we consider only adjacent tiles, of which an average of 6p are the same color, so the answer is 1+6p. At the second order, we consider tiles at distance 2; there are 12 such tiles, each with good color with proba p, but even if they are the good color they need to be connected; 6 of them can be connected by a single tile (proba p; not exactly that, because "distance 2 is connected" and "distance 1 is the right color" are not independent events, but that will do at that order) and 6 of them give a choice of two tiles (proba (1-(1-p)^2) = 2p, since keeping a lower order would not be justified considering the other approximations). So the answer at order 2 seems to be 1+6p+18p^2. Going further is beyond my capacities.
Again (cf. above) that is the average size of the island a random tile is connected to, not the average size of a randomly-picked island. TigraanClick here to contact me 11:39, 11 September 2017 (UTC)[reply]
The word "approximately" indicate that the formula is not exact. What is the requested average island size according to your analysis? Bo Jacoby (talk) 13:20, 11 September 2017 (UTC).[reply]
I don't know. But for any finite k one could (theoretically) make such developments to get a formula valid to a approximation (see big O notation if you are not familiar with it). Of course it becomes more and more complex as k increases, but it can be done; the trick is to keep the approximations you make in the high-order terms.
Of course, finding an analytical solution would be better, but sometimes there is none known to humans yet. In some cases physicists get along fine with such developments for a long time (example), so it may be enough for the OP's purposes. TigraanClick here to contact me 16:24, 11 September 2017 (UTC)[reply]
The OP has no use of knowing that his question could theoretically be answered when he gets no such answer. You are challenged to improve my approximate formula. Bo Jacoby (talk) 21:14, 11 September 2017 (UTC).[reply]
Which approximate formula, Bo Jacoby? If you mean the (1 – p)–12 thing you wrote earlier, I think to have proven it wrong (see first answer to your post). And since by how much it is wrong is not controlled, the burden is on you to demonstrate that it works with a better accuracy that may asymptotic development of order 2. TigraanClick here to contact me 10:45, 12 September 2017 (UTC)[reply]
What values does your "asymptotic development of order 2" produce? Bo Jacoby (talk) 11:18, 12 September 2017 (UTC).[reply]
With p=1/1000, 1+6p+18p^2 = 1.006018 (with an uncertainty of order p^3). I am not sure what the correct term is in English at the place where I used "asymptotic development" - maybe Taylor series is better. TigraanClick here to contact me 14:28, 13 September 2017 (UTC)[reply]
Thanks. I think the word is power series. A taylor series is the case where the coefficients are computed by iterated differentiation. (Taylor's theorem). Bo Jacoby (talk) 03:38, 14 September 2017 (UTC).[reply]
For the OP: the field of mathematics you're looking for is percolation theory. But I don't know a more precise pointer for this particular question. (Edit 14:28, 13 September 2017 (UTC): and RDBury got there 12 hours before I did, which somehow I missed -- oops!) --JBL (talk) 16:04, 11 September 2017 (UTC)[reply]

Thank you all - I'll have a look at the link later. FWIW, the question arose as I was playing "Bouncing Balls" where you fire a coloured ball upwards to a slowly descending mass of hexgrid balls. Any island made of 3 or more evaporates and gets you points. If the mass of balls ever touches the ground you lose. Each level seems to have 2+(int((level+1)/2)) different colours and the cluster sizes are much smaller by level 6 than at level 1. I've never made it to level 7. -- SGBailey (talk) 16:32, 11 September 2017 (UTC)[reply]

https://link.springer.com/article/10.1023%2FA%3A1021069209656 Count Iblis (talk) 08:28, 12 September 2017 (UTC)[reply]

September 13

Fractional exponent in discrete modular exponentiation

Can fractional exponents exist in discrete exponential function, both ordinary and modular exponentiation, especially with examples like modular square root, modular cube root etc, where the order of the root n is an 1/n fractional discrete exponent?(Thanks).--82.137.9.243 (talk) 13:36, 13 September 2017 (UTC)[reply]


September 14

Applying the symbol "approaches the limit", ≐.

What exactly does the symbol "approaches the limit", ≐, mean? Say

Does this mean f'(x)≐ or maybe f'(x)= (h≐0)? 166.186.169.75 (talk) 01:38, 14 September 2017 (UTC)[reply]

The limit symbol is part of the expression on the lefthand side of the equation. Put simply, it means "as h gets close 0, the expression within the limit gets close to ". For a precise definition, see our article on limits.--73.58.152.212 (talk) 03:10, 14 September 2017 (UTC)[reply]

From a computational perspective , how do mathematicians succeed proving theorems?

This question might seem ill-defined, but I will try my best. It's known there's a strong connection between the P=NP problem and proving mathematical theorems; verifying a suggested proof is in NP, and if P=NP (with an acceptably small polynomial), there's a fast polynomial algorithm for automatic proving of mathematical theorems. Assuming P!=NP, how come human mathematician succeed in proving so intricate theorems, without resorting to using brute-force to scan all possible strings that are hypothetical proofs? Thanks, 77.127.95.225 (talk) 06:46, 14 September 2017 (UTC)[reply]