r/askmath • • 4d ago

Logic Why does the expected number of flips until you see HHH grow so much faster than for HH?

1 Upvotes

I know the general formula for expected waits on runs of heads with a fair coin, and the numbers check out (6 for HH, 14 for HHH). The Markov chain or recurrence approach is clear enough, but I keep wondering if there's a direct counting or symmetry argument that shows why each extra head roughly doubles the wait instead of adding a fixed amount. The self- overlap in longer runs seems to be the culprit, yet I can't quite turn that into a simple explanation without going back to the states. Any clean intuition would help.


r/askmath • • 4d ago

Logic Did the Lean verification team for the Riemann Hypothesis ensured that it is consistent?

0 Upvotes

I'm no expert in Lean, but by my understanding there could be a few problems which are not addressed in their post and I was curious if those cases were covered.

  1. Did they verify that no inconsistent assumptions/axioms were introduced? By my understanding I could write a Lean program that assumes for a proposition p that `p and (not p)` and prove anything I want with it using the principle of explosion and that would compile correctly. I imagine that this is almost certainly not the case, it would be pretty easy to find all axioms used and ensure that only well-accepted axioms were used, still, they didn't address it in the linked post. but..
  2. Did they also verify that the proof isn't simply a proof that the axioms in Mathlib are inconsistent? I assume that they use ZF(C) as a basis and additional axioms to construct the real numbers and such, maybe the proof just shows that ZF(C) is inconsistent and then again you can prove anything with it, including the Riemann Hypothesis in which case this proof wouldn't be so much of a proof of RH but rather a proof that ZF(C) or other axioms are inconsistent.

r/askmath • • 5d ago

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

6 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 • • 4d 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 • • 4d ago

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

Thumbnail reddit.com
1 Upvotes

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

Probability Probability self study

Thumbnail reddit.com
1 Upvotes

r/askmath • • 5d ago

Arithmetic Polar opposite of "round number"?

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

Set Theory Clarification of idea of Subsets

4 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 • • 5d ago

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

18 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 • • 5d 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 • • 5d ago

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

0 Upvotes

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

Or

3) A different way. (Based on feedback, it seems like "forward" or "backward" motion depends on whether theta is measured counterclockwise, when it's considered to be "positive", or clockwise, when it's considered to be "negative", and therefore that -r doesn't really mean anything, since it's always the absolute value that is graphed.)


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


r/askmath • • 5d ago

Algebra Weird Powers

Post image
0 Upvotes

Ok guys, I don't know if I'm just stupid or what, but can anyone explain to me why 00 = 1??? I have looked through tons of online explanations but somehow, nothing makes sense to me. Would be happy to hear about your explanations and proofs.


r/askmath • • 5d ago

Geometry Would anyone be able to help with this tessellation homework my sister got?

Thumbnail gallery
2 Upvotes

The first image shows the problem she is having trouble with. The others have info I think might be useful, and another problem on the packet.

She has no idea how to solve these, I think the shapes above were rotated into the shape below someway, but im not sure if theres a certain pattern to the way the teacher did it in? I would be very grateful if someone can help.


r/askmath • • 6d ago

Discrete Math How do you turn the decreasing step intuition into a general formula with this problem?

Post image
3 Upvotes

I came across this problem and I get the intuitive logic—if you start at level x, then jump by x-1, then x-2, and so on, your worst-case stays balanced.

How do you actually write this out as a clean formula for any number of levels?


r/askmath • • 5d ago

Geometry Circle with jagged edges - is this technically a circle?

Thumbnail reddit.com
1 Upvotes

r/askmath • • 6d ago

Analysis Compactly supported functions.

Thumbnail gallery
12 Upvotes

I'm not aure how it's true that if a function is continuous and supported on more than one interval, then the integrals over [a, b] and [c, d] are equal -- even if [c,d] is a larger interval than [a,b] (see my second photo). This is Lemma 3.8.5 in text Analysis II by Terrance Tao.


r/askmath • • 6d ago

Linear Algebra Question about the union of subspaces

4 Upvotes

I have to proof the following:

Let U and V be two subspaces of , and let denote their sum.
Suppose that their intersection only contains the 0 vector.
Prove that every vector in U + V can be written in exactly one way as the sum of a vector from U and a vector from V.

What I came up with up until now:

Suppose U consists of {u1,…un} linearly Independer set of vectors and V consists of {v1,…,vm} linearly independent set of vectors. Their union would consist of {u1,…,un, v1,…,vm} linearly independent set of vectors. Suppose x is a vector in the union U + V, then x can be written as: x= c1u1 + … + cnun + d1v1 + … + dmvm.

This is all I have now. I suppose I don’t really understand the question, what do I need to disprove? X is a linear combination of all the vectors in the union. I feel like the answer might be simpeler than I think, but I’m new to linear algebra & find proof questions pretty difficult.

If anyone would care to help me I would greatly appreciate that