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:

July 13

edit

Given the results from powers of tau in the trusted setup ceremony ; the verifying and the proving key, how can I find the point [f] resulting from the trusted setup in Groth16 ?

edit
Moved to the Computing section of the Reference desk —  --Lambiam 13:36, 16 July 2024 (UTC)Reply

July 15

edit

Next Julian period

edit
Moved to the Science section of the Reference desk —  --Lambiam 13:24, 16 July 2024 (UTC).Reply

July 16

edit

In SageMath, how to use GF() on a very large finite field ?

edit
Moved to the Computing section of the Reference desk —  --Lambiam 13:37, 16 July 2024 (UTC)Reply


July 18

edit

Functions whose every derivative is positive growing slower than exponential

edit

Is there any smooth function with the following two properties:


 , i.e. the nth derivative of f is strictly positive for every x and n.

  for every b > 1. The hard case is when b is small.


Functions like   (for a > 1) are the only ones I can think of with the first property, but none of them has the second property because you can always choose b < a. So I am asking whether there is any function with the first property that grows slower than exponential.

120.21.218.123 (talk) 10:09, 18 July 2024 (UTC)Reply

Wouldn't any power series with positive coefficients that decrease compared to the coefficients of the exponential do? The exponential is  , so e.g.   should do the trick. The next question is whether you can find a closed-form expression for this or a similar power series. --Wrongfilter (talk) 13:02, 18 July 2024 (UTC)Reply
Good thinking. It is of course the case that the first property holds for any power series where all coefficients are positive. Plotting on a graph, I think your specific example doesn't satisfy the second property, but others where the coefficients decrease more rapidly do. 120.21.218.123 (talk) 13:26, 18 July 2024 (UTC)Reply
           --Lambiam 13:45, 18 July 2024 (UTC)Reply
A half-exponential function will satisfy your requirements. Hellmuth Kneser famously defined an analytic function that is the functional square root of the exponential function.[1]  --Lambiam 14:04, 18 July 2024 (UTC)Reply

References

  1. ^ Hellmuth Kneser (1950). "Reelle analytische Lösungen der Gleichung   und verwandter Funktionalgleichungen". Journal für die reine und angewandte Mathematik. 187: 56–67.
A variant of Wrongfilter's idea that I think does work:
 
(taking   to be  ).
Numerical evidence suggests that   One might therefore hope that   would also work. However, its second derivative is negative for    --Lambiam 22:20, 20 July 2024 (UTC)Reply
And some higher derivatives are negative for even larger values of x. The eighth derivative is negative for  , for instance. 120.21.79.62 (talk) 06:48, 21 July 2024 (UTC)Reply
The fourteenth derivative is negative for  . That's as high as WolframAlpha will let me go. 120.21.79.62 (talk) 06:54, 21 July 2024 (UTC)Reply
Yes, shifting the graph along the x-axis by using   won't help.  --Lambiam 11:46, 21 July 2024 (UTC)Reply

July 21

edit

If the sum of the first m factorial numbers is equal to the sum of the first n positive integers

edit

If the sum of the first m factorial numbers is equal to the sum of the first n positive integers, i.e. 1! + 2! + 3! + … + m! = 1 + 2 + 3 + … + n, then (m,n) = (0,0), (1,1), (2,2), (5,17), right? 220.132.216.52 (talk) 20:30, 21 July 2024 (UTC)Reply

The triangular numbers, modulo 19, are reduced to one of 10 possibilities: 0, 1, 2, 3, 6, 7, 9, 10, 15 and 17. The sum 1! + 2! + 3! + ... + m!, for m > 17, modulo 19, is reduced to 8. Therefore no further factorial sums are triangular.  --Lambiam 22:19, 21 July 2024 (UTC)Reply
I looked at mod 7 with about the same result. The left hand side is 5 for m≥6 and the right hand side can never be 5. So you only have to check m from 1 to 5. (Btw, I would count 0! = 1 as a factorial number, so the sums of factorials would be 1, 2, 4, 10, 34, ... . (sequence A003422 in the OEIS)) --RDBury (talk) 22:28, 21 July 2024 (UTC)Reply
Wrote up a quick MATLAB script to find numbers which can be used as modulos to show that the list is finite, it starts:  . Obviously if a number appears in the list then all its positive multiples do too. The list of nontrivial numbers starts   GalacticShoe (talk) 03:01, 22 July 2024 (UTC)Reply

July 22

edit

Computing the centre of a triangle...

edit

(On math section as it's a geometric/trig problem essentially)

In CSS, color-mix() takes 2 Params.. However I have colors to mix that take 3 or more params.

Whilst with 2 params you can do a simple linear interpolation, based on the weights of the 2 params, I wasn't sure how it could be done for 3.

One approach I had considered was (at least for an RGB blend) is to compute the centrepoint of a triangle in 3D space, where the 3 points of the triangle are the three colors. However that would assume equal weights of each color, I figured

So for a given "triangle" defined by (r1,g1,b1),(r2,g2,g2), (r3,b3,g3) and a mix ratio of w1:w2:w3  compute the centroid(?) of the triangle representing the blended color. ?

Alternatively is there a different math/geometrical technique that is used in actual computer graphics work?
ShakespeareFan00 (talk) 17:18, 22 July 2024 (UTC)Reply

I don't have an actual computer graphics answer, but the interpolation method still works for three points, simply take the weighted sum of points assuming   (if not, then just define new values   which do add to  .) In other words, you can just take   (or, more concisely,  .) GalacticShoe (talk) 17:45, 22 July 2024 (UTC)Reply
Thanks. I thought I was thinking along the right lines..
In case you are wondering why I asked -s:Page:The_color_printer_(1892).djvu/55 ShakespeareFan00 (talk) 17:52, 22 July 2024 (UTC)Reply
The weighted average makes sense for additive colour mixing, but the colour resulting from pigment mixing is not so easily determined. For example, the colours   and   are complementary. Their sum in RGB colour models is   and their average is  , as grey as it gets. However, mixing red and green paint gives more of a brown colour.[1] A colour model that is more likely close to that of The Color Printer is the RYB colour model. If the pigments are fully opaque, the subtractive model is adequate, but generally pigments are not fully opaque.  --Lambiam 21:22, 22 July 2024 (UTC)Reply

This is something I actually did! Back in the '80s, I was consulting for a company called ImageSet. One of our specialties was tools to allow people to take the equivalent of screenshots on MSDOS (using a TSR program), and then convert them to matching colors to be printed. We used trilinear interpolation to achieve the desired colors, if I remember right. It was a ridiculous amount of precision, especially considering that every CRT user adjusted the brightness etc. to their own favored wrong colors. --jpgordon𝄢𝄆𝄐𝄇 17:06, 27 July 2024 (UTC)Reply

July 23

edit

Abel's reciprocity relation

edit

Do we have an article that covers Abel's reciprocity relation for differentials of the third kind? Tito Omburo (talk) 18:37, 23 July 2024 (UTC)Reply

Google Books and Google Scholar searches for "Abel's reciprocity relation" do not yield any results,[2][3] so is this perhaps better known under a different name?  --Lambiam 21:22, 23 July 2024 (UTC)Reply
I've seen it called the "first reciprocity law", but that's a bit non-specific. Tito Omburo (talk) 22:31, 23 July 2024 (UTC)Reply
In this book I find a treatment of "The Reciprocity Theorem" for "Abelian differentials of the second and third kind", and in this one one of what is called "the reciprocity law for differentials of the first and third kinds". I'm only vaguely familiar with the first principles of differential geometry; the limited preview afforded by Google Books does not allow me to understand the notation and see how these two theorems, which superficially look rather different, are related. Both are apparently related to "Abel's theorem" on sums of integrals of certain types of function. We appear to treat only a very simple application of the latter theorem under the name "Abel's identity", so I am afraid the answer to your question is negative.  --Lambiam 09:29, 24 July 2024 (UTC)Reply

Type of curvature?

edit

Where   (polar radius of curvature {RoC}) and   is the normal RoC, what is   (especially the vertex latitude,  )? Since it involves   it would suggest a type of curvature, rather than RoC—?
Likewise with geocentric latitude,  , there is   (with   being the geocentric radius).
This is based on   (so, technically, isn't N the geographic prime vertical RoC and R, besides being the geocentric radius, is also the geocentric prime vertical RoC?). -- Kaimbridge (talk) 18:43, 23 July 2024 (UTC)Reply

The ratio   can be rewritten as   where   is the eccentricity of the ellipsoid. Eccentricity is a dimensionless quantity, also when the radii   and   are expressed using units of length such as kilometres or miles, and so is this ratio. At the poles ( ) it equals   and at the equator ( ) it equals   If the radii are dimensioned lengths, then so is curvature; its dimension is then the inverse of length. Therefore there is no plausible way to interpret this dimensionless ratio as a form of curvature.  --Lambiam 21:05, 23 July 2024 (UTC)Reply
But I thought the root definition of curvature is that its radius is its inverse, and anything else, here b', is just a modifier.
What about the idea of   and   being different prime vertical RoC (in the case of the foundational, parametric   latitude, the prime vertical RoC is just  )? -- Kaimbridge (talk) 03:57, 24 July 2024 (UTC)Reply
I do not understand what you are asking. A geometric interpretation of these quantities? Indeed, the radius of curvature is the inverse of the curvature; my point was that if one is dimensioned, so is the other, while the ratio about which the question appeared to be is inherently dimensionless, so it cannot be some type of curvature. I also do not understand what you mean by "just a modifier". It is the prime-vertical radius of curvature at the pole, which you proceed to divide by that at at geodetic latitude    --Lambiam 08:17, 24 July 2024 (UTC)Reply
By "just a modifier", I mean   prime-vertical curvature, so b' is a modifier of that curvature.
Okay, so what about   in this situation? Would   in   be considered the geocentric prime vertical RoC?
In terms of purpose/context,   and   are used (as vertex latitudes   and  ) in the geographic and geocentric (respectively) calculation of geodetic distance (rather than the usual   based, parametric calculation, which has a neutral value,  ), all using the same, iteratively found, geodetically adjusted longitude difference ( ). -- Kaimbridge (talk) 06:54, 25 July 2024 (UTC)Reply
A radius of curvature at a given spot is the radius of an osculating circle. It can be viewed as a vector from the centre of that circle to the given spot. If the direction of this RoC, viewed as a vector, is the vertical direction, it is a vertical RoC. (If, moreover, the plane of the osculating circle is perpendicular to the meridian through the given spot, so it intersects the ellipsoid along the east–west direction, it is the local prime-vertical RoC.) Unless the ellipsoid is a sphere, the geocentric radius at any other spot than the poles or equator, viewed as a vector from the centre to that spot, is not in the vertical direction, so it is not the radius of a locally osculating circle and it is not particularly meaningful to interpret it as either vertical or as a RoC, let alone both.  --Lambiam 10:41, 25 July 2024 (UTC)Reply


July 26

edit

I joined the X and Y axes together. What Wikipedia page already mentions the concept?

edit

I had / have this fairly rather long blabbersome brilliant idea. My question is since there is no way that I, with a rather low IQ, could come up with something "new", then my idea certainly must be merely a rehash of some ideas already mentioned on several Wikipedia pages, in fact probably just a sentence on just one page. But which one(s)? Thanks. Jidanni (talk) 04:56, 26 July 2024 (UTC)Reply

Your page is cumbersome to follow, but if I'm correct in interpreting it, you are essentially proposing the use of a pairing function or Hilbert curve. It is not possible to continuously reduce dimension in this manner (more precisely, 1D and 2D space are not homeomorphic). It would help if you would more rigorously formulate the function you are proposing rather than merely using examples.--Jasper Deng (talk) 06:22, 26 July 2024 (UTC)Reply
Wikipedia defines "pairing function" only for natural numbers, but below I use the term for (not necessarily unique) functions wrapping up two values (not necessarily integers) into a single one of the same type.
Letting   stand for the unit interval   the Hilbert curve can be described as a function   Input one number   output   a pair of numbers. This function is surjective, which implies that there exists an inverse pairing function   Being an inverse means that when   we have   Function   is also continuous, but it is not injective. Many output pairs are reached several times; for example,   So the inverse is not unique.
Numbers in   can be written in base 2; for example,     and   This expansion is not unique:   We can view these binary expansions as infinite sequences   The function   given by   interprets a binary expansion as a real number. This function   is continuous and surjective, just like function   before, so it has an inverse. But, as before, function   is not injective, so the inverse is not unique. However, by convention, it has a "canonical" inverse: other than   the only possible expansion of   in the domain of   avoid sequences ending in an infinite stream of  s.
Now, using   we can define a bicontinuous pairing function   such that
 
This means that we can give a "canonical" definition for   by using   and its canonical inverse:
 
The function   can be described in the form of a 4-state finite-state automaton that gobbles up two streams of bits and produces a single stream of bits. It takes two bits at a time, one from each of the two input streams, and outputs two bits on the output stream.
I suspect that the "brilliant idea" is akin to this way of pairing   and   I expect the idea is well known, but perhaps only as folklore, and I doubt that it is described or even hinted at in Wikipedia mainspace.  --Lambiam, edited 10:51, 28 July 2024 (UTC) (originall 11:11, 26 July 2024 (UTC))Reply

July 27

edit

Data estimation with excessive log functions

edit

In health care, I noticed that many estimation algorithms make extensive use of log functions. For example, the ASCVD 10-year risk estimation from "2013 ACC/AHA Guideline on the Assessment of Cardiovascular Risk" sums up a coefficient times the log of age, a coefficient times the log of total cholesterol, a coefficient times the log of HDL, etc... It is a set of coefficients, each multiplied by the log of an attribute. Is this type of function or algorithm the result of a specific type of data modeling? It looks to me like they took a sample data set and correlated the log of each attribute, one at a time, to the outcome and produced a coefficient that represents how correlated the log of that attribute is in the sample set. But, I'm just guessing and I'd prefer to know how this type of function is actually produced. 75.136.148.8 (talk) 10:54, 27 July 2024 (UTC)Reply

I'm not familiar with how this estimator was devised, but model building is an art, especially in cases where the data is noisy and the causal processes are poorly understood. Social scientists routinely use purely linear regression models, because that is what they were taught as students, it is the default model of R, which many use, and everyone else in their field does this. When a variable (independent or dependent) can only assume positive values, it cannot have a normal distribution. This is an indication that pure linear regression may not be the best approach when devising an estimator. So then it is good practice to use a data transformation that makes the observed distribution more normal. I don't know if this is why they did what they did. Another possibility is that they just computed the correlation coefficients and saw they were higher when using a logarithmic scale.  --Lambiam 11:52, 27 July 2024 (UTC)Reply

Are there other triangular numbers with all digits 6?

edit

6, 66, 666 are all triangular numbers, are there other triangular numbers with all digits 6? 218.187.67.217 (talk) 16:42, 27 July 2024 (UTC)Reply

These correspond to solutions of the Diophantine equation  
 
 
 
For each solution, the number   is an all-6 triangular number.
I don't expect any further solutions, but neither do I see an argument exhibiting that they cannot exist. The weaker requirement   has four solutions for   for each given value of   corresponding to the final digits   For example, for   they are   The polynomials in   in the rhs of the Diophantine equation are irreducible. It seems that considerations based on modular arithmetic are not going to give further help.  --Lambiam 19:59, 27 July 2024 (UTC)Reply
The discriminant of the quadratic is  . This needs to be a perfect square for there to be a solution, so we need   for some integer k. Since   will get "closer" to being an even perfect square as p approaches infinity, I heuristically wouldn't expect more than a finite amount of solutions to exist.--Jasper Deng (talk) 03:34, 28 July 2024 (UTC)Reply
This gives yet another way of phrasing the problem. Define the recurrent sequence   by:
 
It goes like this:
 
The first four values are squares. Will the sequence ever hit another square?  --Lambiam 10:05, 28 July 2024 (UTC)Reply

July 28

edit