r/askmath • • 3h ago

Calculus Debate between my friends

2 Upvotes

On my multi homework we had a question:

True or false: The length of gradient f(0,0) is the maximal directional derivative |Duf(0,0)| among all unit vectors u

Then we started debating about whether it’s possible to have a function in which all the partial derivatives are defined but the function is not differentiable. Like if it’s not well approximated by a tangent plane at that point? Like the tangent lines aren’t coplanar? How does that work?


r/askmath • • 15h ago

Number Theory Made a random Collatz type puzzle late at night (calling it The Blind Twin Conjecture) and every number upto a million falls into just 3 weird loops??

13 Upvotes

So I was bored and messing around trying to invent a simple number puzzle thats actually hard to prove, and ended up with something really strange. Putting it here to see if anyone can break it with a counterexample or tell me if this already exists somewhere.

The rule is super simple. Take any whole number bigger than 1. If its a prime number, replace it with (the number + next prime after it + 1). If its not prime, just divide it by its smallest prime factor. Keep repeating.

For example if you start with 17 (prime), next prime is 19, so 17 + 19 + 1 = 37. Still prime, so it keeps jumping through 5 primes in a row (17, 37, 79, 163, 331) before finally hitting 669 and getting divided back down.

I ran a small python script checking every single number from 2 upto 1,000,000. Not a single number escaped to infinity, and literally every single one fell into one of just 3 loops:

  1. 3 to 9 and back to 3 (weirdly only 141 numbers out of a million landed here)
  2. a 10 step loop: 17, 37, 79, 163, 331, 669, 223, 451, 41, 85 and back to 17 (around 32.4% of all numbers)
  3. a 13 step loop: 13, 31, 69, 23, 53, 113, 241, 493, 29, 61, 129, 43, 91 and back to 13 (around 67.6% of all numbers)

Even 700,001 shot all the way up to 44,801,245 before crashing back down into one of the loops. Also becase (prime + next prime + 1) is always odd for odd primes, it doesnt just get divided by 2 right away like other puzzles.

So my question is, does every number really end up in these 3 loops only, or is there a hidden 4th loop sitting somewhere past a million (or a number that climbs forever)? If anyone runs it higher and finds a 4th loop please drop it in the comments!

Edit: using u/trasla's shortcut (just jumping straight to the largest prime factor) I tested everything upto 1 billion plus spot checks at 1 trillion and 1 quadrillion, still 0 new loops and 0 escapes! Plot twist though: I actually found the first prime >= 5 that hits the 3 and 9 loop hiding way out at 102,945,566,047,297 (plus next prime 102,945,566,047,351 + 1 = 3^30), and the next one isnt until 3^79. Kinda wild lol.


r/askmath • • 4h ago

Resolved is the sum of all real numbers between 0 and 1 greater than the sum of natural numbers?

0 Upvotes

Is the sum of all real numbers between 0 and 1 greater than the sum of natural numbers? If we add all positive real numbers between 0 and 1, what would the result be? Can their sum be considered greater than the sum of natural numbers?For example, if we also take into account numbers that are infinitely close to zero and become progressively smaller, how would their total sum be defined?Is this idea mathematically correct? If so, is it an axiom or a theorem? What mathematical reasoning supports it?


r/askmath • • 7h ago

Arithmetic Is there a way to solve "Point Allocation" style problems without brute force

1 Upvotes

I don't know if they already have a name, but the type of problem I'm talking about is where you have some number of points, and there are some number of options each with their own point cost, and you're figuring out how many ways there are. Kinda like combinations, but some options take up multiple slots, if that makes sense

The exact problem I'm doing right now is how many ways are there to spend exactly 14 points, where there are 4 different options that cost 1 point each, 14 different options that cost 2 points each, & 4 different options that cost 4 points each, where order doesn't matter & duplicates are allowed, but I don't just want the option to that exact problem, I want to know how to do them in general


r/askmath • • 22h ago

Number Theory So, if the lean program gives positive results, that means we have surely proved Riemann Hypothesis right?

15 Upvotes

I mean, given that probably the author coded hypothesis and thesis of the theorem correctly, is it sufficient to wait for someone running the problem and giving the output?

Sorry for my bad english


r/askmath • • 3h ago

Resolved Can someone explain what is with p=np?

0 Upvotes

I know it is from the prof of the prof of the Reimann hypothesis, but idk what are these numbers. Are they constant or variables with in a parameter? I don't need a fool explanation, just what are they and why they are so important.


r/askmath • • 10h ago

Probability Can someone help me calculate a probability?

Thumbnail reddit.com
0 Upvotes

r/askmath • • 2h ago

Arithmetic Why is 0 ÷ 5 = 0, but 5 ÷ 0 is undefined?

Thumbnail reddit.com
0 Upvotes

r/askmath • • 15h ago

Statistics Math question about my commute :)

2 Upvotes

This is my first post, so sorry in advance :)

I live at point H, which is exactly a 7-minute walk from two train stations, Station A and Station B.

The three points form a right-isosceles triangle, with H as the 90° angle. Stations A and B are connected by the train line, which forms the hypotenuse.

The train travels along the route in this order:

A → B → C → D → E ...

Some additional information:

Trains arrive every 10 minutes.

The train travels at 20 mph.

It stops at each station for 50 seconds.

My destination is Station D.

Walking to either Station A or Station B takes exactly 7 minutes.

The train takes 2 minutes to travel from station A to B after leaving the station

The question:

Would it be more efficient to walk to Station A, which is earlier on the train route, or Station B, which is closer to my destination?

More specifically, does boarding at Station A give me any advantage in terms of the probability of catching a train, or is Station B mathematically the better choice since I have the same walking time but a shorter journey aboard the train?

Is there a mathematical way to determine which station is optimal?

Also, I've simplified the above problem a tad.

During rush hour, two trains run on the track. One only stops at station A, C, E, G, etc, wheras the other only stops at stations B, D, F, H, etc (it should be noted that both train 1 and 2 arrive at my destination, but they go express in my neighborhood).

The same rules apply to them, meaning that Train 1 arrives at station A every ten minutes, and Train 2 arrives at station B every ten minutes.

Does this change the outcome of the problem?

Hopefully I can make my commute more efficient :)

my idea for solving is written below

I was thinking that it might be possible to make a sort of algorithm for solving it. Essentially If the train arrives at Station A everyday at 810, and station B every day at 813, then it may be possible to input the time at which I leave my house into the algorithm. IE: If I leave my house at 8:01 how long would I have to wait for the train at station A or B? By doing this for every possible time I leave my house at between 6 and 9 am, it might be possible to determine what the better station is on the whole. I'm a high schooler, so I have no idea how to actually do that, or if that's even the right way of solving the problem :) please let me know what you think


r/askmath • • 17h ago

Number Theory Forgotten name of theory

3 Upvotes

Hi all,

A few months ago my friend showed me this famous equation or theorem that had something to do with a specific number (I think it had four digits in it) and it could be divided a number of times but it would always end up with the same number no matter what order the digits went in. Or something like that. Maths is not my strong suit so I'm sorry I can't remember any more details than that. I'm not even sure if my vague description of it makes sense!

But by chance, does anyone know what this thing I'm talking about is called? I think from memory it was known by the name of the person who discovered it.

Thanks in advance!


r/askmath • • 17h ago

Probability Probability of Pi Being a Palindromic Truncation?

3 Upvotes

If the digits of pi are infinite, is it statistically possible for there to be a digit at which the digits afterward are such of the previous digits but reversed all the way back down to ...51413? I know a lot of things are possible with infinity but I wonder if this is or no. Like if it went 3.14151413 but much longer. Rounded of course, given it's irrational. A friend of mine suggested a 1 in 4.5*10^-314000000000000 chance but not sure if that's accurate or not.


r/askmath • • 18h ago

Linear Algebra I am not good at math (seeking advice)

3 Upvotes

I come asking for some advice!

I am a university student studying English literature as my major and math as my minor. Math is a struggle for me, and I have a couple inklings as to why.

Abstract concepts, humanities, arts, philosophy, emotional knowledge, are things that come quite easy to me. By this I mean, I think I am almost wired to comprehend concepts like this with a pretty extreme level of depth.

The only way I can describe math is that it's like I'm trying to comprehend the world and patterns in a language I am not familiar with. So, when I look at an equation (that is fundamentally connected to the overall system), I need to translate it in my head to "English" or more "emotional" logic. And this translation itself, requires my full attention to do so. Meaning, if a question requires me to be able to comprehend the entire system at the same time, I simply can't, because I can only focus on one concept at a time.

Picture a tree with many branches. To solve the issue, I need to realize a connection between a node on branch #1 and a node on branch #4. If this is a humanities/emotional problem, it's like I'm processing the entire tree and it's branches simultaneously, the entire tree is glowing. So it's easy. However, if this was math, it's like the tree is in French! If I focus on branch #1, it glows (I'm trying to translate this mathematical language/logic into something I understand). However once I shift my attention to branch #4 and start making sense of that one, branch #1 stops glowing. So I can't make the connection between the node on branch #1 and branch #4 because I can't grasp the depth of both at the same time.

This has gotten me a bit frustrated, because I can swear what it feels like to really, deeply understand something; this is how I feel in humanities classes. The whole system, the dependency between hundreds of things simultaneously; if you bring the value of x down, what happens to y,z,a,b and everything else. I was a strong biology student at the time, because I think biology relies on a lot of this dependency when considering systems.

However, I just know I just don't get it when it comes to math. But at the same time, it doesn't make sense to me why. Because I think my "intellectual strength", for a lack of a better word, is being able to register the dependencies between many many things simultaneously.

At some point I considered the fact that I might have dyscalculia. But I feel like that's a bit extreme, because I feel like I can get by with day-to-day math requirements just fine... but that might be because I'm well practiced. I also have a tendency to continuously make calculation errors and just write things down wrong? Which also might just be normal!

I'm not sure what to do! I'm wondering if there is advice from anybody, as I'm currently rocking a 27% in my linear algebra class WHOOOPPS.

Thank you!


r/askmath • • 20h ago

Geometry Simple proof that the maximum number of equidistant points in n-dimensional euclidean space is n+1

4 Upvotes

Is there a high school level proof that the largest simplex in n-dimensional Euidean space is n+1? For example that in 2D you cannot have more than 3 equidistant points (equilateral triangle) and in 3D it's 4 (a tetrahedron).


r/askmath • • 16h ago

Pre Calculus Is this math problem too tough for a 9-year-old?

0 Upvotes

My kid is really good at math, but this particular question seems a bit much for a nine-year-old, doesn't it? I gave it a shot myself (math isn't really my strong suit), but I'm hitting a wall here. Does anyone have any insight?


r/askmath • • 1d ago

Pre Calculus How would you answer kids when they ask you these Math Qs?

10 Upvotes

"How are we ever going to use prime numbers when we're in the working world?"

"How are we ever going to use i, the square root of -1?

"How are we ever going to use 3 x 3 Matrices in real life?"

"We're not planning to be rocket scientists in life...... and who even knows whether THEY need it for their daily jobs in rocket-making."

"You're making us know the formula for an Ellipse, but when are we ever going to use it in real life? I mean, I don't envision myself using the word 'Elliptical', unless I am a Mathematician or something?"

(I've put this under Precalculus, but maybe it belongs somewhere else....... hopefully not under the trash can, that is.)

thank you


r/askmath • • 1d ago

Algebra Idk why I did this

Thumbnail gallery
3 Upvotes

Are vietas formula and newtons sun really the only way to solve these in a realistic way??


r/askmath • • 1d ago

Number Theory What's a good analogy for the RH situation?

10 Upvotes

As a mathematician, I'm expecting friends and family to ask me how I feel about this apparent RH proof by LLM. I know basically how I feel -- not surprised it's true, willing to accept that the proof is legit, but deeply frustrated that it happened this way.

That last part, however, is likely to be hard for outsiders to understand. I'm trying to think of a good analogy in other disciplines. So far, the best I've got is chess: imagine if an LLM had proven that, say, the Sicilian Defense is a loss for Black. It's not the end of chess, you can just play other openings, and it would be really interesting to know for sure how this one turns out with best play. But it would certainly dampen human enthusiasm for the game if one of our best strategies got settled for us, and it would be devastating for the chess masters who specialized in that opening and had devoted years of study to it. They would even (and I'm not saying this is completely fair) feel picked on, wonder why this company had just waltzed in and stomped on their lives' work -- essentially for clout.

Chess is still very mathematical in nature, though. Is there a more liberal-artsy analogy anyone can think of? It's tricky because those fields are more subjective; if a company claims their LLM has written the great American novel, nobody has to agree.


r/askmath • • 1d ago

Geometry *Update* Solve for x

Thumbnail gallery
9 Upvotes

Remember this drawing from a few days ago? Well here is the piece in real life! This is one side of a piece of duct that is going in a school actually. So you guys not only taught me something, but you facilitated the learning of others in the process. Thanks a million again, have a great weekend everyone 👍


r/askmath • • 18h ago

Discrete Math Unsolved Maths Riddles

0 Upvotes

Unsolved math's riddle

What do you all think that in our lifetime we would be able to see someone solving The Riemann Hypothesis. Since now AI has come up with multifold computation capability.


r/askmath • • 1d ago

Resolved I need help figuring out the math for the average of a die roll for a tabletop game interaction for my own recreational use. Also I am not sure the correct flair to use.

5 Upvotes

So the question is coming from Dungeons & Dragons 5.5e. The interaction is for the Healer Feat and the Soothing Familar Feat. The Healer Feat makes it so a die rol of a 1 my get re-rolled, the soothing familiar makes it so rolls of 1 or 2 are treated as a 3. So if I am rolling a d6 (six sided die) I know the average is 3.5 with (1+2+3+4+5+6) /6. If my understanding is correct Healer would be:

(3.5+2+3+4+5+6)/6=3.9166

Soothing Familiar would be:

(3+3+3+4+5+6)/6= 4

My question is how do I input them together so that I can have the average if both interactions happen?

It would be the reroll of Healer first and then if the value was a 3, 2, or 1 it counts as 3.


r/askmath • • 1d ago

Number Theory Is it impossible to get a natural number out of a square root, which ends with the digit 7? Or atleast a rational number?

8 Upvotes

Now, 7 alone is a interesting number and i was always interested by it, but on a calcualtor, I found out that i could not find a natural even a rational number that when squared is equal to a number ending with the digit 7. Now atleast I think its impossible, because 7 alone doesnt have a rational square root. Now, i only tested the very first like 20 numbers, but is it really impossible to get a natural number square root out of a nubmer ending with 7? Or atleast rational? I think there might be one out there, cause randomly you get close to a natural number. for example, square root of 67 is almoast 0,17 out of a natural nubmer (8) and square root of 97 is almost 0,15 away from 10, so the closest you land is between 0.15-0.2 from a natural number. What do oyu think is it possible to get a natural nubmer of of a square root of a number ending with 7? Or atleast a rational one?


r/askmath • • 18h ago

Logic Is all math reducible to just A=A? Does math really discover something new?

0 Upvotes

Title. Is math just one series of tautologies and anything can be simply reduced to A=A?


r/askmath • • 1d ago

Resolved What does the breakthrough on the Rienmann Hypothosis mean for mathmatics?

8 Upvotes

As a layperson, I'd only ever heard of this problem in passing as one of the millennium problems. The kind of problem that wouldn't be solved in our lifetimes. But given today's announcement, and assuming it is accepted by the wider math community, what does this mean for mathmatics moving forward?

My (very basic) understanding of the hypothosis is that is a conjecture that says that there is an underlying order to the distribution of prime numbers. So does this proof merely mean that there is indeed an underlying order. Or does it also uncover what that order is and therefore have predictive power for where we will find even larger primes?


r/askmath • • 1d ago

Algebra I made my own learning website ( Math, Collatz Lab ) And also am only 14, so i hope more people can use it, and give me some feedback

Thumbnail reddit.com
0 Upvotes