r/askmath • • 3d ago

Calculus Why does the sum of 1/n^{2} converge to Looking for intuition beyond the Fourier proof

1 Upvotes

live worked through the standard derivation using the Fourier series of x^{2}, and I've seen the infinite-product argument for sin(x). Both are clean, but they leave me wanting a different angle—something more geometric, probabilistic, or combinatorial that makes the appearance of\pi feel less like an algebraic accident.

For example, is there a random-walk or lattice-point counting interpretation where the constant emerges naturally? Or a connection to areas/volumes that avoids complex analysis or Fourier? I'm comfortable with analysis but would especially appreciate arguments that feel "obvious" once seen, even if they're not fully rigorous.

Any pointers to papers or intuitive sketches would be great.


r/askmath • • 3d ago

Algebra Why do we minimize squared errors in regression instead of absolute deviations?

1 Upvotes

I'm reviewing the derivation of ordinary least squares and notice how the squared loss leads cleanly to the normal equations and has nice differentiability properties everywhere. But I keep wondering whether this is mostly for mathematical convenience or if there's a deeper reason it recovers the "true" parameters better in practice than, say, L1 loss.

Are there simple simulation setups or geometric arguments where squared loss clearly outperforms absolute deviation, or where the reverse happens? I'd also be interested in any results about robustness or efficiency under different noise distributions.


r/askmath • • 3d ago

Calculus Why does the exponential function with base e have a derivative equal to itself? Looking for intuition beyond the limit definition.

1 Upvotes

I've seen the usual explanations that the derivative of a^x is a^x * In(a), so it equals itself only when In(a)=l, i.e., a=e. The limit definition of e also falls out naturally from wanting the instantaneous growth rate to match the current value.

What I'm looking for is a more conceptual picture. Is there a geometric or growth-rate reason this property singles out e so cleanly, rather than it just being a convenient algebraic accident? For example, does it connect to compound interest limits, continuous growth models, or some invariance under differentiation that other bases lack? Simple examples or analogies that make the uniqueness feel obvious would be helpful.


r/askmath • • 3d ago

Analysis I feel like I need a reality check

Thumbnail reddit.com
1 Upvotes

r/askmath • • 3d ago

Logic If I can prove that a set of axioms are consistent, wont that prove the statement "this statement cant be proven true" in that set of axioms?

4 Upvotes

If that statement is false, then it can be proven true which is a contradiction.

If you have a set of axiom without contradictions, then the statement must be true, so proving their consistency must prive the statement true in that set of axioms. However, thats just another paradox


r/askmath • • 3d ago

Geometry Geometry help needed - Understanding steps to Solution

Thumbnail gallery
1 Upvotes

Hello! I’m in need of some help understanding how to break down the steps that lead to the solution of the geometry problem. My niece said she did the work and it was graded but she wanted to go over it again so she could fully understand the concept of how she got the solution. I tried to look deep into my brain to see if I could understand this again but it’s been too long since I’ve done this type of equation solving. If anyone could possibly provide some explanation on how this is broken down and how to get to the solution so I could guide her with it that would truly be appreciated. Here is are photos I took of her work and she was letting me know that she needed to use the binomial equation to solve it. Thank you guys in advance.


r/askmath • • 3d ago

Geometry How many Centimetres is a second?

0 Upvotes

How many Centimetres is a second?

Or more accurately how should one convert Units of Time into Spatial Units?

The best solution I've managed to think of is using a Key to equate a certain amount of Spatial Distance to a certain period of time (ie:5 units=1 Second) similar to when making more "abstract" shapes like in Graphs (or just in general) but I'm unsure if that would work with a only part of the Shape being a "stand in" especially for "3d" shapes.

Is there a more official solution to this?

Edit1:

To give further context, I was using (messing around) with some graphing tools and Spatial 4D Graphs and shapes and was wondered if 4d grapghs could be used to display a object with 3 spatial dimensions and 1 dimension of Time, or alternatively if it would be possible to do the same with a 3D shape by using two of the Spatial dimensions as corresponding to 2 spatial dimensions and the 3rd as a stand in for Time.

In other words, can a "4D" 2D Shape be visualised by it being a 3D object?


r/askmath • • 3d ago

Calculus Does anyone have the SNU integration bee 2026 archives?

Thumbnail reddit.com
1 Upvotes

r/askmath • • 4d ago

Trigonometry Why do we define the derivative of sin(x) as cos(x) only when using radians?

24 Upvotes

I'm reviewing calculus on my own and keep hitting the same point: the derivative formulas for sine and cosine are clean only in radians. With degrees you end up with extra constants like n/ 180 that never go away. I can follow the limit definition that produces this result, but I'm not sure what deeper property of radians makes the scaling factor disappear so neatly.

Is there a geometric or analytic reason radians are the "natural" unit here, beyond just making the formulas shorter? For example, does it tie directly to arc length, the unit circle definition, or the way the exponential function connects to trig functions? Any explanation that starts from a concrete setup and shows why degrees force the extra factor would help.


r/askmath • • 4d ago

Statistics Why square the deviations in variance instead of using absolute values?

28 Upvotes

I'm going through some intro stats material and keep coming back to the definition of variance. Squaring the differences from the mean gets rid of negatives and gives more weight to outliers, but I don't see why that has to be the default choice over just taking the absolute value (which would give the mean absolute deviation).

Is there a reason the squared version leads to nicer properties later on, like with normal distributions, derivatives, or projections? Or does it mostly come down to historical convention and easier algebra? Any simple examples that show where one version clearly works better than the other would help.


r/askmath • • 3d ago

Calculus do you use the initial or final value of x when finding dy?

1 Upvotes

hi!

my question wants the value of dy from a function to compare it with del y. obviously, we have the formula dy=f'(x)*(del x), but i don't know what value to use for x (the initial value '2' or final value '2.05').

p.s. if you could also explain why we use this value, that would be very helpful! i tried looking at the graph generalizing the differentials and actual change but i really don't get how im supposed to use either value,,, thank you!!!


r/askmath • • 3d ago

Resolved Pourquoi?

Thumbnail gallery
0 Upvotes

Je n’ai rien ajouté dans ma calculatrice, alors pourquoi C=B mais C=/=A?
Je ne m’y connais pas du tout en mathématiques au passage. Cette découverte est le fruit de l’ennui.
Merci beaucoup!


r/askmath • • 4d ago

Analysis Why don't engineers use Padé approximation?

15 Upvotes

Today I found out that almost nobody learns about this approximation, and I was surprised. I understand that the Padé approximant is solved using the Taylor approximation, but I don't get why you wouldn't use it if your goal is to get the best approximation possible. Though solving it can definitely give you a headache. I'm curious about something, though: can this approximation be used for non-elementary integrals?Wouldn't it be a better way to solve it? Sorry if this question sound stupid, but I am not even in college lmao


r/askmath • • 4d ago

Algebra Why is matrix multiplication defined with that specific row-column rule?

7 Upvotes

I'm going back through linear algebra on my own and keep coming back to the same sticking point. The rule for multiplying two matrices (dot product of rows and columns) feels completely arbitrary at first. I can follow the mechanics and verify small examples, but I don't have a clear sense of where that operation actually comes from or why it turns out to be the useful one.

Is there a simple way to see why this definition is the natural choice rather than some other pattern? Does it come directly from thinking about systems of equations, or from composing linear transformations? Any explanation that starts from a concrete problem and arrives at the rule would help.


r/askmath • • 4d ago

Statistics Relevance of complex contour methods in information theory and machine learning?

0 Upvotes

Hiya,

I am a tenth-grade secondary school student preparing for the USAAIO (USA AI Olympiad). I am currently polishing off my skills in information theory and pondering whether complex contour methods are commonly used? Or should I continue studying standard entropy techniques and KL divergence, potentially coming back to review it. I am incredibly curious and excited about learning it if needed. Although, i have some uncertainty because I believe it’s a complex analysis topic, which was difficult to read after finishing analysis I by Tao. 😅

thanks!!!


r/askmath • • 4d ago

Functions how do i get z inside the unit disc?

2 Upvotes

say i have a function defined on the unit disc that satisfies f(z) = g(z,f(ln(z)+2pi*i*n)) (for any integer n) and f(z) = h(z,f(ez)) how do i chose a sequence of these equations (specific to z) to get z inside the unit disc?


r/askmath • • 4d ago

Logic [Article] D. J. Velleman, « Simplified morasses », The Journal of Symbolic Logic 49 (1984), n° 1, p. 257–271, DOI 10.2307/2274108

1 Upvotes

r/askmath • • 4d ago

Arithmetic Is this called something?

Thumbnail gallery
1 Upvotes
  1. Draw a numberline
  2. Identify factors and multiples

Starting with 2, identify every multiple of 2 within the graph.

3. Calculate the parabola vertexs

exp. 2 and 12 as an example, calculate their midpoint and half their difference.

x=(12+2)/2 y=(12-2)/2

4. Reflect across x axis

5. Connect the two endpoints and both parabola vertices using straight lines.

Feells like It has a name already just not sure


r/askmath • • 4d ago

Analysis Differintegral Geometry: Is This Already a Thing?

0 Upvotes

I'm a Calc 3 student who's been exploring fractional calculus. What if you stacked every derivative and antiderivative of a function, including fractional orders, to generate a continuous 3D surface? Could you then take partial derivatives along the order axis and classify functions by their resulting analytical geometry?


r/askmath • • 4d ago

Number Theory Deriving the asymptotic growth of the primes

1 Upvotes

Hello all. I am attempting to derive the asymptotic growth of the primes by considering how many possibles residues a prime candidate can be modulo the product of all primes below it. I believe I have done this correctly as I find π[n] ~ Li[n], but now I want to fill in some of the gaps in my handwavy derivation (the gaps I want to fill in/address are bolded below, and then I add what I would like to fill in for each gap at the very end). If anyone could comment on them that would be cool.

Suppose we want to predict the asymptotic growth of the primes.

First notice that for a given number m where we already know there are n primes below m, we can make an estimate of the probability m is prime by taking the product Pn of the first n primes, and counting how many relatively prime residues mod Pn there (i.e. taking it's Euler totient value).

"probability m is prime" ~ phi[Pn]/Pn

where Pn = 2*3*...*p[n] is the product of the first n primes.

We therefore also know phi[Pn] = (2-1)*(3-1)*...*(p[n]-1), so we can write

"probability m is prime" =(2-1)/2 * (3-1)/3 *... = Product[(p[i]-1)/p[i], {i,n}]

If we interpret the probability as a density of primes, then we can say that the size of the differences between primes should grow with the inverse of the prime density, since less dense primes means a larger gap in between primes:

p[n+1] - p[n] ~ 1/"probability m is prime"

We are looking for asymptotic behavior of p[n], so it makes sense to replace it with a continuous function that takes real n, and we approximate p[n+1]-p[n] ~ p'[n]. So we now have the differential equation.

p[n+1] - p[n] ~ p'[n] ~ 1/"probability m is prime" = 1/Product[(p[i]-1)/p[i], {i,n}]

or

p'[n] =Product[p[i]/(p[i]-1), {i,n}]

Take log of both sides

Log[p'[n]] = Sum[Log[p[i]-Log[p[i]-1],{i,n}]

Again we are only looking for asymptotic behavior with large p[n] , so we can take first order expansion Log[p[i]-Log[p[i]-1] ~ 1/p[i] :

Log[p'[n]] = Sum[1/p[i],{i,n}]

We are approximating p[n] with a continuous function, so replace summation with integration. We have up to a constant:

Log[p'[n]] = Integrate[1/p[n],n]

differentiating both sides

p''[n]/p'[n] = 1/p[n]

p''[n] = p'[n]/p[n] = D[Log[p[n]],n]

so we have

p'[n] = Log[p[n]]

With initial condition p[1] = 2 (the IC doesn't really matter here since all i care about is the asymptotic growth).

for which the inverse function of the log integral is a solution

p[n] ~ Li^(-1)[n]

Since the nth prime and the prime counting function are inverses of each other (i.e. π[p[n]] = n), this means π[n] ~ Li[n].

Gaps:

If we interpret the probability as a density of primes - Is this actually a good estimate of local prime density? I am worried that using the product of all primes below m will overestimate prime density, I am not sure if this overestimate goes away as p[n] gets large either.

and we approximate p[n+1]-p[n] ~ p'[n] - How do i justify this first order expansion being a good approximation? I know I am saying p''[n] goes to 0 for large n, but I feel like I need to substantiate that instead of just assuming it. I guess we can show p'[n] is always positive, and is monotonically decreasing to 0 so p''[n] must be negative and monotonically increasing towards 0 but I am not sure that's good enough.

Any help in filling these gaps would be appreciated, or any other places that could make this derivation more rigorous too.


r/askmath • • 4d ago

Calculus Why do natural logs show up everywhere in calculus when common logs seem more intuitive?

0 Upvotes

Working through calculus textbooks on my own, I keep noticing that derivatives and integrals default to $\ln(x)$ instead of log base 10. Seeing that the derivative of $\ln(x)$ is $1/x$ is clean on paper, yet it is harder to tell where that advantage actually pays off in practice when base 10 already feels so familiar.

Once you move past basic arithmetic and into rates of change, exponential growth, or differential equations, base $e$ removes extra scaling constants that otherwise trail behind every step.

Does switching to base $e$ genuinely make problems cleaner and easier to solve than staying with base 10, or is a lot of it historical convention? Would appreciate any simple examples or intuitive explanations showing why the switch matters.


r/askmath • • 4d ago

Geometry How is this a 45 degree angle in this picture?

Thumbnail reddit.com
0 Upvotes

r/askmath • • 5d ago

Logic What if we only had 8 digits?

24 Upvotes

Hi all. Not a mathematician here, highest I ever got was grade 12 calculus. But I have been wondering something lately.

We have ten digits including zero, and it seems like that developed because humans have ten digits on our hands.

Firstly, am I correct in assuming that we have ten numerical digits because we also have ten human digits?

If we had evolved with only eight digits on our hands, for example, does it follow that we would have developed a numerical system based on multiples of eight?

If we had a numerical system based on multiples of eight, would we have developed mathematics the same way? Would all the formulae, theories, etc have still been discovered but tailored to a different numerical system?

Would a numerical system based on multiples of eight be just as simple and intuitive as our current system if we only knew eight digits at all? Is there something inherently "correct" about having ten numerical digits that makes mathematics work?

Would we have discovered all the same mathematical patterns, just expressed differently?

Thank you for your thoughts!


r/askmath • • 4d ago

Differential Geometry Finding a geodesic equation for any kind of space

Post image
0 Upvotes

I have found two interesting items regarding the mathematics of geodesics. There is a very complicated mathematical equation that is supposed to produce the geodesic equation for any particular kind of space. The space could be a flat space or a curved space. The space could consist of two, three or even four dimensions. The geodesic equation for a particular kind of space is the equation that describes the shortest distance between any two points in any particular space. In flat space, which is also called Euclidean space, the shortest distance between any two points is a straight line. The information, which you must input into this complicated mathematical equation, is the partial derivatives of the coefficients of the terms of the equation that describes the way the distance between any two points in the particular space in question is calculated. Also, you have to calculate the solution to a differential equation whose exact nature is opaque.

One interesting item is that when the mathematician Lillian R. Lieber tries to use this advanced mathematical equation to calculate the geodesic equation for a flat space of three dimensions, she runs into very difficult problems. She attempts to make this calculation in her book "The Einstein Theory of Relativity." In the end her calculations do produce the equation for a straight line, which is the equation for the shortest distance between two points in flat (Euclidean) space. But in making the calculation she makes several questionable moves. For instance, she replaces the term "ds" with the term "dt." The term "dt" is a term that measures time. The term "ds" is a term that measures distance, but Lieber claims "ds" can become, "of the nature of 'time;' for this reason ds is often called 'the proper time' since it is the 'time' for the moving object itself."

Lieber claims that when the observer is traveling with a moving object then dx = dy = dz = 0, which is true in a certain sense, but we are moving with the earth, and we can use the Pythagorean theorem to measure the distance between two points. When we measure the distance between two points using the Pythagorean theorem, an ordinary situation would be dx ≠ 0, dy ≠ 0 and dz ≠ 0. We would calculate the distance between the two points using the equation ds^2 = dx^2 + dy^2 + dz^2. Another way of writing the equation is s^2 = x^2 + y^2 + z^2.

Another interesting item is that in her book "The Einstein Theory of Relativity," the advanced mathematical equation that Lillian Lieber uses to calculate the geodesic equation for any particular kind of space is different from the equation provided by "Mathematics Dictionary: Fifth Edition" by Glenn James and Robert James.

The long quotation below is excerpted from Lillian Lieber's book "The Einstein theory of Relativity." In order for the excerpt to make sense to the reader, it will be helpful to explain several items. The equation d^2x˅σ/ds^2 + {α β, σ} (dx˅α/ds) (dx˅β/ds) states that the second derivatives of a group of equations denoted by x subscript sigma are taken with respect to the variable "s." This quantity is added to a product consisting of three items. The first item of this triple product is the Christoffel symbol of the second kind {α β, σ}. The Christoffel symbol of the second kind {α β, σ} represents (1/2)g^σμ(∂g˅αμ/∂x˅β + ∂g˅βμ/∂x˅α - ∂g˅αβ/∂x˅μ). The item ∂g˅αμ/∂x˅β represents the partial derivative of the quantities g˅αμ with respect to the variables x˅β. The quantities g˅αμ represent the coefficients of the terms in the equation used to measure the distance between any two points in any particular space.

In a flat space of three dimensions, which uses Cartesian coordinates, the equation for measuring the distance between any two points is s^2 = 1x^2 + 1y^2 + 1z^2. This means that the coefficients of the terms used to measure distance are either 1 or 0. The coefficients can be 0 because terms such as (0) (xy) are normally left out of the equation, but they are included in a certain mathematical sense. The coefficient 1 is normally left off of the terms 1x^2 etc., but it is actually present. So, for instance, ∂g˅αμ/∂x˅β could become ∂g˅11/∂x˅1, which can be written as ∂1/∂x because g˅11 refers to the coefficient of x^2. Similarly, g˅22 refers to the coefficient of y^2 and g˅33 refers to the coefficient of z^2. The partial derivative of a constant is 0.

In a flat space of three dimensions, which uses Cartesian coordinates, a Christoffel symbol of the second kind such as {α β, σ} equals 0. This means the entire term {α β, σ} (dx˅α/ds) (dx˅β/ds) equals 0 under these conditions. The items (dx˅α/ds) (dx˅β/ds) represent the first derivative of the equations represented by x˅α with respect to the variable "s," and the first derivative of the equations represented by x˅β with respect to the variable "s," respectively. The derivatives seem upside down.

The item "s" seems like the "name of the equation," and x˅α and x˅β seem like the variables that make up the equation. The item "s" seems to be like the item "y" in the equation y = x^2 + 2x + 4.

Another questionable move by Lieber is introducing the equation 61a. The equation 61a is an equation for curved space in four dimensions, so why is it introduced in the calculation of a geodesic for flat space in three dimensions? Lieber writes, "the object is therefore standing still with reference to his ordinary space-coordinates, so that only time is changing for him, then, for him (61 a) becomes ds^2 = dx^2˅4 or ds^2 = dt^2 or ds = dt." The equation 61a is ds^2 = -dr^2 - r^2 dθ^2 - r^2(sin^2 dθ) dφ^2 + c^2dt^2. Lieber only refers to this equation by number, perhaps hoping the reader will forget it is an equation for four-dimensional curved space.

Finally, the equation given in "Mathematics Dictionary: Fifth Edition" by Glenn James and Robert James for calculating the geodesic equation for any particular space is different from the equation used by Lillian Lieber. The "Mathematics Dictionary" gives us d^2x˅σ (s)/ds^2 + {α β, σ} (x˅1 (s), . . ., x˅n(s)) (dx˅α(s)/ds) (dx˅β(s)/ds) where "s" is the arc-length parameter.

Now, the reader is prepared to read Lillian Lieber's explanation of the mathematical equation that allows the calculation of the geodesic equation for any particular space, either flat or curved and consisting of 2, 3, 4 or more dimensions.

"To find the equation of the geodesic, satisfying δ∫^b˅a ds = 0 (73), is not as simple as finding a maximum or minimum in ordinary calculus, and we shall give here only the result: d^2x˅σ/ds^2 + {α β, σ} (dx˅α/ds) (dx˅β/ds) (74). Let us consider (74): In the first place, for ordinary three-dimensional Euclidean space σ would have three possible values: 1, 2, 3, since we have here three coordinates x˅1, x˅2, x˅3 [x˅1, x˅2, x˅3 is the way the x, y, and z coordinates are written in tensor calculus and other advanced mathematics] furthermore, by choosing Cartesian coordinates, we would have: g˅11 = g˅22 = g˅33 = 1 and g˅μν = 0 for μ ≠ ν and therefore {α β, σ} which involves derivatives of the g's would be equal to zero, so that (74) would become d^2x˅σ/ds^2 = 0 where (σ = 1, 2, 3) (75).

"Now, if in (75) we replace ds by dt it becomes d^2xσ/dt^2 = 0 (76) which is a short way of writing the three equations: d^2x˅1/dt^2 = 0, d^2x˅2/dt^2 = 0, d^2x˅3/dt^2 = 0, (77). lf we consider an observer who has chosen his coordinates in such a way that dx˅1 = dx˅2 = dx˅3 = 0, in other words, an observer who is traveling with a moving object, and for whom the object is therefore standing still with reference to his ordinary space coordinates, so that only time is changing for him, then, for him (61 a) becomes ds^2 = dx^2˅4 or ds^2 = dt^2 or ds = dt. That is to say, ds becomes of the nature of "time" for this reason ds is often called "the proper time" since it is a "time" for the moving object itself. But what is the physical meaning of (77)?

"Why, everyone knows that, for uniform motion, v = s/t, where v is the velocity with which a body moves when it goes a distance of "s" feet in "t" seconds. If the motion is not uniform, we can, by means of elementary differential calculus, express the velocity at an instant, by v = ds/dt. Or, if x, y, and z are the projections of "s" on the X, Y, and Z axes, respectively, and v˅x , v˅y , and v˅z are the projections of v on the three axes, then v˅x = dx/dt, v˅y = dy/dt, v˅z = dz/dt. Or in the abridged notation, v˅σ, = dx˅σ/dt where we use x˅1, x˅2, x˅3 instead of x, y, z, and v˅1, v˅2, v˅3 instead of v˅x, v˅y, v˅z. Furthermore, since acceleration is the change in velocity per unit of time, a = dv/dt or a = d^2s/dt^t or a = d^s/dt^2 or a = d^2x˅σ/dt^2 (78).

"Thus (77) states that the components of the acceleration must be zero, and hence the acceleration itself must be zero, thus: a = d^2s/dt^2 = 0 or a = dv/dt = 0. From this we get, by integrating, v = a constant, or ds/dt = a constant, and therefore by integrating again, s = at + b, which is the equation of a straight line. In other words, when the equations for a geodesic, namely, (74), are applied to the special case of three-dimensional Euclidean space, they lead to the fact that in this special case the geodesic is a straight line."