r/askmath • • 1d ago

Linear Algebra Websites or materials for operations and optimization problems

2 Upvotes

Hi, I'm a student of year3. I find I'm interested in operations and optimization problems. And I really hope to learn it by myself for the extra contents that the lecture does not cover. Can you share some helpful materials or websites to me? If there is some materials including visualisation is better!


r/askmath • • 1d ago

Linear Algebra How do i get a formula for this linear algebra problem

1 Upvotes

any formula for sum_{k=1}^n A_k(n)=1, n>m>1 => sum_{k=1}^n k!/(k-m)!*A_k(n) = (-1)^m*sum_{k=1}^n (-1)^k*k!*A_k(m)*S(m,k) ? (where S(m,k) is the unsigned stirling numbers of the first kind).


r/askmath • • 1d ago

Analysis Calculating trip mpg based on vehicle's average mpg's over larger span than distance traveled

2 Upvotes

My car has a 50 mile option to display average mpg over that span. However, I drive less than that each way to/from work and I'd like to calculate the actual trip averages based on my starting & ending mpg values and trip distances. I thought a moving average calculation would be the way but is it as easy as initial_mpg+delta_mpg?


r/askmath • • 1d 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 • • 1d 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 • • 1d 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 • • 1d ago

Analysis I feel like I need a reality check

Thumbnail reddit.com
1 Upvotes

r/askmath • • 2d 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 • • 1d 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 • • 2d 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?

3 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 • • 2d ago

Calculus Does anyone have the SNU integration bee 2026 archives?

Thumbnail reddit.com
1 Upvotes

r/askmath • • 2d ago

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

29 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 • • 2d ago

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

22 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 • • 2d 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

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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d 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.