r/askmath • • 2h ago Popcorn

Probability Calculating the odds of the Undertale's "Mettaton Multicolor Tile Puzzle" being feasable?

Post image
9 Upvotes

hello! this is a rather strange but also interesting question I have asked myself before and never got to dive into it because it seems like a lot. I'll organise the text body to make it more easily understandable.

--------------------------------------------------------------------------------------------------------------

What is the puzzle about? (for those who haven't seen or played the game/want to be certain)

this is introduced in the game as a completely randomised puzzle with as many possibilities as there are colour combinations. It is made up of a 7 by 6 grid of coloured squares who all have a different function when stepped on them, the goal being to reach the other side. Here are their functions :

Red : completely impassable

Pink : no effect at all (free spot)

Green : no effect at all (in the game it's an excuse to made the protag fight a boss but objectively they don't do anything)

Yellow : "electrified" the player, pushing them back to the last square they were standing on (basically an impassable obstacle like the red tiles)

Orange : free to step on, also makes the player smell like oranges

Purple : sliding tiles, once stepped on the character will slide to the next tile

Blue : water tiles, can be freely stepped on UNLESS :

- the character smells like oranges (will act like red tiles - explained by the orange smell being a trigger for piranhas to attack)

- the blue tile is orthogonally adjacent to a yellow tile in which case the blue tile will be a solid wall as well (explained by the yellow tile turning the water "electrified")

is it also worth mentioning that if you slide into water (from a purple to a blue tile) while smelling like lemons, you'll hit the water, get sent back and slide across the purple tile. Basically the water doesn't just make the player stop, it goes back across the purple tile to the previous tile (before the purple tile)

COLOURS ASIDE : as shown in the image, the entrance is on the 3rd row to the left, and the whole right side is the exist IF NOT for the very top tile (which isn't an exit since it is blocked by the "machine" you can see.

--------------------------------------------------------------------------------------------------------------

Now the biggest issue I see is pretty simple, this is a LOT.

I'm quite unsure how exactly I would even begin to calculate anything and I'm afraid I haven't taken math seriously enough to take all the variables into consideration.

Is it first of all possible to calculate the odds of the puzzle being completable? If so, how long would it take? Any type of help (or thoughts) would be appreciated, I'll answer to the best of my abilities and be happy to discuss it!


r/askmath • • 6h ago

Probability Say we gave everyne in the world a pair of six-sided dice. Every say at a set time evryone rolls their dice and whoever rolls doubles 3 days in a row gets send to prison, However! If someon IN prison rolls doules they get to leave. When will the prison population reach a stable point?

11 Upvotes

And what will that point be?


r/askmath • • 3h ago

Trigonometry How is this question not impossible?

Post image
6 Upvotes

This is a question about half angle formulas. With the pythagoran theorem, you can figure out that cos(A) = โ…˜. Using the half angle formula FOR cosine, yields 3/sqrt10 (or 3 sqrt10/10). I only got it right because it gave me the same question after I saw the answer. Can someone tell me whether I'm dumb & wrong or if the problem is incorrect? The "correct" answer is only plausible if you use a half angle formula for sine, but the question clearly asks you to find cos.

edit: nvm y'all I'm a fucking fool ๐Ÿ˜•

thank you for the help!!!


r/askmath • • 3h ago

Algebra Is this performative? Or do I just not understand it

Thumbnail gallery
5 Upvotes

What do these numbers actually mean?


r/askmath • • 14m ago

Probability Why does it take on average 6 flips to see HH but only 4 to see HT with a fair coin?

2 Upvotes

I was working through the classic waiting-time problem for pairs in coin flips and got the usual results:

expected flips until HT is 4, until HH is 6. The state-machine approach (start -> H -> absorb, with the extra self-loop on H for HH) is straightforward, but I'm wondering if there's a cleaner intuition for why the same two outcomes have different expectations. The symmetry feels like it should make them equal, yet the overlap in HH creates that extra wait. Any non- Markov explanation or simple counting argument would be helpful.


r/askmath • • 11h ago

Number Theory Somone explain why adding one 0 between 1,1 and its exponent 10, (1,1 to the power of 10) gives one more accurate decimal of e? Also please explain it easily, cause im a 14 year 8th grader.

12 Upvotes

To start from the begining, I saw a SAT math problem like 1,001 to the power of 1000 vs soem other number like which is bigger. After putting it into my calcualtor, i noticed it was similar to eulers number e. Then for some reason, I noticed that if you add one more 0 to the zeros in 1,001, and add one more zero to the exponent 1000, you get 1,0001 to the power of 10000. The interesting thing is that it always gives one more decimal of e. For example 1,0000001 to the power of 10000000 is 2.7182816925, accurate to 6 decimal places. Now how is it even connected to e? Thats the hardest part i cant understand. Also, pelase explain it a bit easily, I know im an understanding 8th grader in math, but I dont know what that sigma or lim does. Also sorry, i posted it beafore i understood i wrote it weirdly. it should be 1,01 to the power of 100 instead of 1,1 to the power of 10, it just wanted to show the nubmer we are adding the 0 inside.


r/askmath • • 9h ago

Functions Ciel(ln(ciel(e^n))) = n+1

7 Upvotes

So I'm reading this leasure math book called "Professor Stewart's casebook of mathematical mysteries" and he presents the equality without proof (pg 127)

Ciel(ln(ciel(e^n))) = n+1 where n is a whole number.

EDIT: WHOOPS, I meant that n is a positive integer, not whole number

I have used Wolfram to confirm through n=20, but it won't go higher.

ciel(x)>=x so Ciel(ln(ciel(e^n))) >= n so it can only be n, n+1, n+2 etc.

My first thought was to rewrite ciel(e^n) as e^n + w where 0<=w<=1. Now we can examine ln(e^n+w) my intention was to show that the impact of w isn't enough to push the final calculation up to n+2, but I couldn't get further.

It's of note that because n is a whole number and e is irrational e^n is also irrational. This implies that e^n is strictly less than ciel(e^n). A similar argument applies to ln(n). So I believe I have shown that the original expression is strictly greater than n.

Ciel(ln(ciel(e^n))) > n

But I can't seem to prove that it's not n+2 or more.

Of course, because e and ln are inverses, it makes intuitive sense that the expression would be โ‰ˆn. And since I showed that it is strictly greater than n and it can only be a whole number, n+1 is the only real option. But approximating isn't proving. It seems like there might be some value of n that causes both ciel functions to cause the result to = n+2.

Any help is appreciated. Thanks :)


r/askmath • • 6h ago

Probability Why does Monty opening a particular door change the probabilities when he has a preference?

Thumbnail reddit.com
3 Upvotes

r/askmath • • 12m ago

Algebra Really like high school algebra. What higher level math is similar?

1 Upvotes

I am re-learning math from the ground up. I find that I really love doing high school level algebra. I want something to look forward to in my mathematical journey, so is there an โ€œif you like X, youโ€™ll like/love Z!โ€ but for math? If you like algebra, youโ€™ll love [blank]. I know it will be years before I reach higher level math but I still want something to get excited about.

What I like about high school algebra is solving for x, and balancing out equations. I wish there was a job where you did algebra all day long. Itโ€™s like solving puzzles.


r/askmath • • 58m ago

Geometry Why does the graph of y = xAx have a minimum around x=0.3679?

0 Upvotes

I was playing around with y = xAx for positive reals (rewritten as eA{x x}) and noticed the minimum seems to sit right around l/e. Plugging in x=0.367879 gives roughly 0.6922, and the derivative I worked out is zero there. Is this just a coincidence from the e in the exponent, or is there a nicer way to see why the min has to occur exactly at l/e without differentiating? Any geometric or limiting argument would be appreciated.


r/askmath • • 4h ago

Logic Advice for a high school junior doing Putnam; how do I not get cooked

Thumbnail reddit.com
0 Upvotes

r/askmath • • 8h ago

Resolved Trying to figure out how much of a prescription pen i can use for less than 5k a year and i dont trust my process

Post image
2 Upvotes

i have a 5k cost limit through my insurance for weight loss pens, Zepbound in this case. Attached is the click counting method where i'm getting my numbers from, for what it's worth (last number in the columns)

this is what i have come up with, the second step has me confusing myself immensely: -6.7 doses per pen. -52.143 weeks in a year divided by 6.7 doses per pen is 7.78 weeks in a year...???? -624.29CAD per pen means 4,856.97CAD per year

like i cant even really pinpoint if i did something wrong or not atp. but i know im not good at math and usually i do calculations several times if its important but right now im looking at this like ????


r/askmath • • 9h ago

Arithmetic Polar opposite of "round number"?

2 Upvotes

I understand that "round" is a relative term when applied to integers: 55 is rounder than 52 but not as round as 60. But is there a standard or semi-stamdard term that serves as the polar opposite, like "600 is a round number, but 543 is a (jagged? sharp? spiky?) number"?

advTHANKSance


r/askmath • • 6h ago

Trigonometry What's the connection between a tangent line and the tangent trig ratio?

1 Upvotes

Likewise, what's the connection between a secant line and the secant trig ratio?

A tangent line is the derivative of a function. A secant line connects two points of a function. But I don't see the connection between those lines and their respective trig ratios.


r/askmath • • 8h ago

Probability Probability self study

Thumbnail reddit.com
1 Upvotes

r/askmath • • 10h ago

Resolved Exercise 12.3.5: Prove: For each integer `k>=1`, each k-equivalence class is a subset of a (k-1)-equivalence class. <-- Is my proof correct?

1 Upvotes

Exercise 12.3.5: Prove: For each integer k>=1, each k-equivalence class is a subset of a (k-1)-equivalence class.

Proof:

Let k>=1.

Assume not. That is, suppose there exists some k-equivalence class that is not a subset of any (k-1)-equivalence class.

We will use Theorem 12.3.1 to construct a k-equivalence class from (k-1)-equivalence class.

Let S be the set of states of an automaton, let s be any state in S, let [s]_R_{k-1} be a (k-1)-equivalence class of s, and let t be any state in [s]_R_{k_1}.

So, we have t R_{k-1} s.

By the conditions of Theorem 12.3.1, we have t R_k s.

So, t is a state in [s]_R_k.

But then [s]_R_k is a subset of [s]_R_{k-1} and this contradicts our assumption.

Therefore, each k-equivalence class is a subset of a (k-1)-equivalence class.

QED

---

Is my proof correct?

---

Theorem 12.3.1:

Theorem 12.3.1

r/askmath • • 17h ago

Set Theory Clarification of idea of Subsets

3 Upvotes

Hello, my professor stated that for any set A that is a subset of any set B, we can state that A is an element of B.

I don't think this statement is justifiable to be true in any means. May I ask you to confirm it?

Added note: to clarify, she specified that "A" and "B" are the sets, not elements "a" and "b" and it came from a mini quiz, I have shown it on my comment


r/askmath • • 1d ago

Number Theory Why does the media explain the Riemann hypothesis as "a pattern in the prime numbers"?

12 Upvotes

And why are mathematicians agreeing with that description when talking to non-mathematicians? I would say that it's the prime number theorem that describes a pattern in prime numbers. It's my understanding that the Riemann hypothesis is more about the deviation from that pattern than the pattern itself. Am I missing something or is it really just too difficult to explain in layman's terms any other way?

One example here

https://youtu.be/uAUpWHG8VLE?t=23


r/askmath • • 19h ago

Geometry Sommes nous en 4d

2 Upvotes

C'est une supposition purement logique, mais je n'ai aucune idรฉe de si elle est fonctionnelle... J' ai remarquรฉ que du point de vue d'un รชtre 2d, son champ de vision, sa perception du monde est une droite, donc un plan 1d. Puisque nous voyons en 3d, sommes nous dans une dimension supรฉrieure sans nous en rendre compte ?(puisque l'on verrait n-1 dimension ?)

On pourrait aussi dire que nous sommes en 4 dimensions mais que la 4e est le temps, รฉtant donnรฉ que l'on ne le voit pas, mais est ce que รงa compte comme dimension au sens spatial ou non ? Et finalement, bien que je demande beaucoup de questions, quel serait le point de vue d'un รชtre 5d incluant la dimension temporelle ?

J'espรจre que quelqu'un saura me rรฉpondre.(Dรฉsolรฉ si je suis un peu vague, mes connaissances ร  propos des dimensions spatiales/temporelles sont approximatives)


r/askmath • • 11h ago

Number Theory can Riemann hypothesis tell, with complete mathematical certainty, where the next prime will be?

0 Upvotes

r/askmath • • 1d ago

Pre Calculus directional motion on polar graphs

2 Upvotes

(click on post to see image)

Which of the following is the right way of thinking about directional motion on polar graphs?

  • When the radius is decreasing (in this case, from 3 to -3), motion is backwards.
  • When the radius is increasing (in this case, from -3 to 3), motion is forwards.

Or

2)

  • When the radius is positive, motion is forwards
  • When the radius is negative, motion is backwards

r/askmath • • 1d ago

Game Theory (i think) How do you calculate the optimal strategy for a chance based game without brute-force based approximation?

2 Upvotes

Take the following game ruleset as an example:

  1. You have 10 turns to try and get as many points as possible, and you start off with 2 points.
  2. On the first turn, you are given 2 options to choose from: either raise your total points to the power of 1.1 or to the power of 1.5.
  3. Each time you choose an option, the odds of it being offered decreases by 10% and the other unchosen option increases by 10%, such that the sum of the odds is always 100%.
  4. Each percentage has its own independent chance of showing up, so it is possible that you are offered both, one, or no options to choose from.

Here is what an example game might look like (based off of one of my own simulations):

TurnStarting OddsOptions OfferedChoiceTotal Points
1Guaranteed Both^1.1, ^1.5^1.12.14
240% / 60%^1.1, ^1.5^1.12.31
330% / 70%^1.1, ^1.5^1.12.52
420% / 80%^1.5 only^1.53.99
530% / 70%^1.1, ^1.5^1.14.58
620% / 80%^1.5 only^1.59.81
730% / 70%^1.5 only^1.530.72
840% / 60%^1.5 only^1.5170.31
950% / 50%NoneDead turn170.31
1050% / 50%^1.1, ^1.5^1.52,222.56

As someone with a programming background, my first instinct would be to create and run hundreds of thousands of simulations, where there are different sets who each have their own different rule choices for what to pick and how, and then see which sets had the best results. However, if the game were to have an astronomically large number of turns, trying to brute force your way through this computationally wouldn't be very efficient at all.

So the main thing I want to know is: How can you deduce what the optimal strategy is for getting the most points on average without brute-force based approximation? In this game, you have to factor in both how powers stack one after another as well as weighing your odds of what will usually be offered and what won't, so I can't imagine that there is a super clean way of solving this.


r/askmath • • 20h ago

Arithmetic Help trying to prove a theorem in Peano Arithmetic

1 Upvotes

Hello! I'm trying to prove x = z โ†” x + y = z + y in Peano Arithmetic. I'll show my progress so far after a list of the Axioms, Definition, and Theorems I'm operating with.

Axiom 1 โˆ€x ยฌS(x)=0

Axiom 2 โˆ€xโˆ€y (S(x)=S(y) โ†’ x=y)

Axiom 3 โˆ€P [ {P0 โˆง โˆ€x (Px โ†’ P(S(x))} โ†’ โˆ€x Px ]

Axiom 4 โˆ€x (x + 0 = x)

Axiom 5 โˆ€xโˆ€y (x + Sy = S(x + y))

Axiom 6 โˆ€x (x * 0 = 0)

Axiom 7 โˆ€xโˆ€y (x * Sy = (x * y) + x)

Definitional Schema: S(0) = 1, S(1) = 2, S(2) = 3, etc.

T1 โˆ€xโˆ€y (ยฌx=y โ†’ ยฌSx=Sy)

T2 โˆ€x ยฌS(x)=x

T3 โˆ€x (ยฌx=0 โ†’ โˆƒy (x=S(y) โˆง โˆ€z (x=S(z) โ†’ y=z)))

T4 โˆ€x (0 + x) = x

T5 โˆ€x (1 + x) = S(x) AKA โˆ€x (S0 + x) = S(x)

T6 โˆ€xโˆ€y (S(x + y) = x + S(y))

T7 โˆ€xโˆ€y (Sy + x = S(y + x))

T8 โˆ€xโˆ€y x + y = y + x

T9 โˆ€xโˆ€yโˆ€z (x + y) + z = x + (y + z)

T10 โˆ€x (0 * x) = 0

T11 โˆ€x 1 * x = x AKA โˆ€x S0 * x = x

T12 โˆ€xโˆ€y Sy * x = (y * x) + x

T13 โˆ€xโˆ€y x * y = y * x

T14 โˆ€xโˆ€y (x = y + x โ†” y = 0)

Proof so Far:

โˆ€x[Tx โ†” โˆ€yโˆ€z (x = z โ†” x + y = z + y)] Definition of T

  • 0 = a assumption
  • b = b by identity rule of introduction
  • 0 + b = b by Theorem 4
  • 0 + b = b via identity substitution of above
  • 0 + b = 0 + b via identity substitution of above
  • 0 + b = a + b via identity substitution of above

0 = a โ†’ 0 + b = a + b via above

  • 0 + b = a + b assumption
  • 0 + b = b by Theorem 4
  • b = a + b via identity substitution of above
  • โˆ€y (b = y + b โ†” y = 0) by Theorem 14
  • b = a + b โ†” a = 0 via universal elimination of above
  • 0 = a via above

0 + b = a + b โ†’ 0 = a via above

0 = a โ†” 0 + b = a + b via above

โˆ€z (0 = z โ†” 0 + b = z + b) via universal generalization of above

โˆ€yโˆ€z (0 = z โ†” 0 + y = z + y) via universal generalization of above

T0 โ†” โˆ€yโˆ€z (0 = z โ†” 0 + y = z + y) by definition of T

T0 via above

  • Ta assumption
  • Ta โ†” โˆ€yโˆ€z (a = z โ†” a + y = z + y) by definition of T
  • โˆ€yโˆ€z (a = z โ†” a + y = z + y) via above
  • โˆ€z (a = z โ†” a + b = z + b) by universal elimination of above
  • a = c โ†” a + b = c + b by universal elimination of above
  • l
  • Subproof Sa = c assumption
  • Subproof c + b = c + b by rule of identity introduction
  • Subproof Sa + b = c + b by identity substitution of above
  • Sa = c โ†’ Sa + b = c + b via above
  • l
  • Subproof Sa + b = c + b assumption
  • Subproof
  • l
  • Sa = c โ†” Sa + b = c + b

So Sa = c โ†” Sa + b = c + b is where I need to get to - the rest of the proof from there is elementary. I've already proved that Sa = c โ†’ Sa + b = c + b, all I need now is proving Sa + b = c + b โ†’ Sa = c. And I have no clue where to start. Anyone have any ideas?


r/askmath • • 1d ago

Geometry Tricky geometry problem

Thumbnail gallery
2 Upvotes

What are the dimensions of the spout of the kettle if it were laid out flat as a 2d shape? My intuition is a triangle shape with curved sides but I have no idea how to work out the dimensions.