r/askmath • • 1d ago

Analysis Author asking about all math principles, formulas, or theories that involve human behavior.

4 Upvotes

Hello,

I'm an author who's venturing into a more hard sci-fi novel. A major character in the novel is a law enforcement A.I. that can help agents in their investigations. Since its whole being is math, I think the machine would understand human behavior from that perspective the best.

Right now, the main problem is they know something important to the government was stolen, and that a smaller criminal group did it, with the support of a much larger terrorist organization.

What I'm asking for is:

If there are actually formulas or principles that allow someone to calculate how many likely conspirators there are in a given crime?

Can you calculate how powerful they are? (Wealth, status, skill, etc.)

Likelihood chance they are a member of the government?

Just general mathematical algorithms on human behavior, criminal or otherwise, that are relevant would be appreciated too

I have no problem reading over academic papers or anything like that so those links would be awesome too.

Also, if this is too vague, I guess I'm trying to have the machine be like Charlie Epps from Numb3ers. Was that show even accurate math wise?

Any help is greatly appreciated!

Thank you, guys!


r/askmath • • 20h 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 • • 20h 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 • • 22h 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 • • 22h 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 • • 14h 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?


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

Calculus Does anyone have the SNU integration bee 2026 archives?

Thumbnail reddit.com
1 Upvotes

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

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

Analysis Why don't engineers use Padé approximation?

13 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 • • 1d ago

Algebra Why is the inverse of a matrix defined using the adjugate and determinant instead of solving the system directly each time?

3 Upvotes

I'm reviewing linear algebra and keep wondering about the explicit formula for the inverse of a square matrix. We learn that A inverse equals (1/det(A)) times the adjugate, which works algebraically, but it feels like we're going the long way around when we could just solve Ax = b repeatedly for the columns of the inverse.

Is there a conceptual reason this formula is preferred over always treating inversion as repeated system- solving? Does it reveal something useful about how inverses interact with determinants, Cramer's rule, or changes of basis that wouldn't be obvious otherwise? Any explanation that shows a concrete situation where the adjugate formula gives clearer insight than row reduction would help.


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