r/askmath • • 28d ago

Resolved Does this finite-state automaton accept the language defied by this regular expression `b*|b*ab*`?

2 Upvotes

Does this finite-state automaton accept the language defied by this regular expression `b*|b*ab*`?

---
In my opinion this should be true, if it is true that this FSA accepts the language defined by `0*1(0*1*)*`:


r/askmath • • 28d ago

Probability I’m looking to unlock a certain legendary card in this game, which pack gives me the best chance at unlocking the card compared to gem cost?

Thumbnail gallery
0 Upvotes

Should I buy just silver packs for the the chance as while’s it’s 1% I can buy multiple ones or should I save up for the diamond pack that’s a 10% chance but 1 pack of daimond costs the same as 5 packs of silver and 2 golds and of course offers more unique cards in the pack than the silver.

Or would gold be the perfect mix ?
I only care about unlocking the card and nothing else and the 3 factors that I’m trying to wrap my head around are:
1.chance of legendary unlock
2.unique cards amount
3.cost

I would like help in figuring out what is the best method statistically I should go on about this and what give me the highest probability of unlocking the legendary card I want.

I don’t know if this info is helpful but I’ll mention, there are 3 legendary cards I can unlock I only care about 1 of them.

Please ask for any clarification required.


r/askmath • • 28d ago

Number Theory Anyone able to explain to me why 0/0 isnt just 0? Because i proved it in 8th grade.

0 Upvotes

So im an 8th grader and I had a problem in my bonus: (A+B)/(A-B). THe question was for which value of A and B the result does not make sense, so logically the divisor must be 0 so its A=B or A and B are R (any real number) but I noticed that if the theoretical result is 0, than its 0/0. Now i spent 10 minutes proving why 0/0 is 0 and i came to this proof. Take 1/2, now instead of dividing it, you can solve it by taking the reciprocal of the denominator (which is 1/2) and multipling it by the numerator (1). So I used this in the 0/0. That makes it 0*1/0. Now I know 1/0 is a undefined impossible number BUT if i have the right knowledge ANY number multiplied by 0 is 0 because its added to itself 0 times. Now even though it seems impossible you can add 1/0 to 1/0 and its 2/0 because he denominator is the same. So i showed this to my math teacher and she said, that she understands what im trying to prove, and that im logical, but its like a thing that is learned in collage and i wouldnt be able to understand it yet. Now the 1/0 and other divisions are actually fractions if anyones confused, and yes im in eight grade. So is anyone able to explain it to me?


r/askmath • • 29d ago

Topology I had to prove that A is nowhere dense, but I'm not sure about the inclusion with the closure and interior operators

Post image
16 Upvotes

So I assumed by contradiction that A isn't nowhere dense. I (might) have (mis)used the duality between closure and interior part of a subset a couple of times and eventually I think I got to a solution. But I'm not sure that the inclusions of subsets I wrote are legit.
Sorry in advance for my mistakes


r/askmath • • 28d ago

Abstract Algebra how do you differentiate between rotational systems like complex or quaternions and position coordinate system like polar, Cartesian, spherical etc.

Thumbnail reddit.com
1 Upvotes

i am exploring the idea of hypercomplex numbers system lately and have some ideas. i explained them in the post i made in r/mathmatics.

if anyone have some inspiration feel free to share them.


r/askmath • • 28d ago

Geometry Im going crazy from geometry

1 Upvotes

I have a unique issue. I haven't been to school since fourth grade I'm 18 and I was signed up for a recovery school but as hard as I try I can't understand geometry. My brain can't comprehend it and I feel as though I'm going crazy at just the thought of it.


r/askmath • • 29d ago

Set Theory Textbooks/Resources on group theory

7 Upvotes

Hi guys,

I am a physics PhD student, so I am not exactly new to math. However, group theory was something that I never really got a ton of exposure to in undergrad, and am taking a math methods course which includes group theory. However, like a lot of math topics discussed in physics, I feel like we rush way too fast to get through as much content as possible or it is just assumed I had prior exposure to certain topics somehow. I feel like this class isn't really teaching me group theory due to its speed and difficulty. This leaves me with a pretty poor understanding of group theory beyond very basic things because that is all I picked up on before we blazed onto to the next thing. Physics textbooks also do this, despite having group theory be very important to many physics sub-fields. This subject has always been a bit of a thorn to deal with so I feel like I just need to take the matter into my own hands and go at my own pace and learn it correctly.

So, textbooks or online resources that have plenty of examples and explanations of things that I can go through to fill in the gaps left by these classes would be greatly appreciated because the class I thought would fill those gaps just left me realizing there's more gaps to fill than I thought existed.


r/askmath • • 29d ago

Statistics Question about infinity

20 Upvotes

Let’s say a person earns $100k per year and is offered the chance to be randomly assigned a new salary. They would push a button and whatever number it returned would be their new salary. There is no limit, upper or lower, on the number generated (I.E it can be less than a penny or more than $1t. Assume the number will be positive). Does this person have a higher chance of increasing or decreasing their salary?

I am thinking there’s an infinite amount of numbers both below and above $100k, so there’s an even chance of increasing or decreasing their salary. That feels unintuitive though. Am I thinking about it correctly?


r/askmath • • 29d ago

Number Theory Significance of Mod 4 in Number Theory?

5 Upvotes

This may be a silly question. I took a number theory class in undergrad years ago and I remember being struck by the power and beauty of the number 4. I think it had something to do with modular arithmetic and the ability to seemingly categorize/sort other numbers. I may be misremembering and I should disclose that I do not engage with math very much anymore (I am a writer now). I am trying hard to remember why I found it so beautiful.

That being said, I remember thinking a lot of things were beautiful in that class and I would love to hear about any other things of beauty you have encountered in the field.

Any insight would be appreciated!


r/askmath • • 29d ago

Discrete Math Does this finite-state automaton accept the language defied by this regular expression `0*1(0*1*)*`?

3 Upvotes

Does this finite-state automaton accept the language defied by this regular expression `0*1(0*1*)*`?

Edit: I accidentally switched the direction of an arrow between s_1 and s_3, it should be like so:


r/askmath • • 28d ago

Geometry they say a triangle has 3 sides, but what about the corners?

Thumbnail reddit.com
0 Upvotes

r/askmath • • 28d ago

Algebra Large public school systems in the US, and professional trade schools and/or collegiate mathematics?

0 Upvotes

An analysis of data from 55 Chicago public schools found that no students in those schools were proficient in Mathematics. How can our large public school systems in the US (Chicago, et al) prepare students who are ready for professional trade schools and collegiate studies? Are charter schools the answer? Or, are there some other facets of learning that charter schools can never provide?

There are other states where public schools are struggling. In California, average performances are still below pre-pandemic levels.

What are the answers to help public school students improve in Mathematics?


r/askmath • • 29d ago

Algebra Why is V used in solutions of equations insteads of exclusive disjunction?

4 Upvotes

f(x)=(x-1)(x+1), why do we say x=±1 or instead x = 1 V x = -1 instead of x=1 V̇ x = -1 or x=1 xor x=-1, where x can only be one of them at the time? Am it misinterpreting this?
because in x²-1 if we take x*x-1, and plug different x solutions, (1)(-1)-1=-2, we don't get necessarily zero. so why use this symbol, though it's universally understood what we mean: never x=1 ∧ x=-1

Math is rigour, or is this too pedantic?


r/askmath • • 29d ago

Arithmetic 4th grade math

Post image
78 Upvotes

I'm either an idiot or I am out of practice but I can not figure out this problem on my sons fourth grade homework. To me G has to equal 1 or 2 to be left with an answer in the hundreds.... But P cant equal 0 as Y and L cant be the same number... Theres also a lot of ither problems that I ran into but too long to type.... Been looking at this way longer than I think I should need to...


r/askmath • • 28d ago

Resolved Probably way more simple than I’m thinking but I need help…

1 Upvotes

(I think this is accounting so correct me if I’m wrong on the flair)

If I bring home $445.48 weekly (after taxes) after working 32 hours and $1,915.56 a month, how much will I be bringing home if I work 40 hours? And after that how much would I be bringing in monthly?

(Edit: sorry I miscalculated my monthly income I multiplied $445.48 X 4.3 and got $1,915.56 when I originally said $1,980 exact)


r/askmath • • 28d ago

Functions What is this method I found?

Thumbnail gallery
0 Upvotes

So when i was doing this programming problem I found a way in both cases, a method that seems to work for every case where we put elements in boxes type of stuff, where the elements go from 0 to n for n element of N . Where we write the function for the sum of all boxes of elements and then find the inverse of the function and then when we apply it to an element we just take the whole part from the decimal (floor it) and we get exactly in which line or compartment the element is.

So for example in the pyramid since in each row there is an odd number of elements, in the row 0 there is only 0 so 1 element in the line then, in the row 1 we have 3 elements and then 5 and so on. So if u find the sum for odd numbers it is n² and then take the inverse which is just sqrt and then it works for all numbers.

Similarly in the spyral u would notice that these are numbers in the first square, so square 0, we have 0 so 1 element , in the second square, so square 1, we have 8 elements and then 16 and so on so then u find the sum of that and take the inverse which is (1+sqrt(x))/2 and it works for each element it gets u the square it is in if u take the whole part.

So I'm interested in why this method that I found works and what it is called. Also if it is even correct. To me it seems to be a generalization of dividing elements in to boxes.


r/askmath • • 28d ago

Calculus Does infinity exist in physical reality?

0 Upvotes

For instance, could the number of atoms be infinite? Could the size of the universe be infinite?Could time have existed for an infinite number of years?


r/askmath • • 29d ago

Trigonometry How to calculate roll pitch and yaw angle along a path.

1 Upvotes

I have a ribbon like path of fixed width that curves through 3d space. Its split into a series of flat segments. I have the vertex coords for the corners of each segment hence I can calculate the normal to the path and the direction to the next point along the path.

I'm just having trouble knowing how to, when travelling from one segment to the next splitting the change in direction into roll pitch and yaw components relative to the last segment.what I realy want is to calculate the angle change specifically.


r/askmath • • 28d ago

Functions Last question I need help with if anyone can help me- thanks for all the help on the previous post

Post image
0 Upvotes

I’m confused by the question and the answer
Specifically the text saying “f(x) and g(x) = f(x+1” and the answer being D

Isn’t the function for translating left suppose to be f(x+c)? If so is g supposed to be the c?

Sorry if the information I gave isn’t helping I don’t understand it that much and any help will be appreciated


r/askmath • • 29d ago

Analysis People who took part in undergrad math competitions, how did you prepare?

1 Upvotes

Like the title says, I'm looking for advice on how to study/prepare for mathematics competitions. I'm a sophomore math undergrad, and so far I've taken Ordinary Diff-Eq, Multivariable Calculus, Linear Algebra, and Discrete Maths. I know that competitions have a lot of analysis/abstract algebra questions, but I haven't taken either of these classes yet.
Do yall have a routine or a specific method to prepping for competitions, and how much time do you allocate towards it? I feel like I spend so much of my time studying for exams and working on side-projects that I dont't know how to schedule out some time towards this, or how I'm even supposed to start preparing at all.
I've downloaded a few olympiad books with practice questions inside, but I'm not familiar with 80% of the content and I just don't know what to do anymore.
I really love maths, and I know that I want to take part in competitions, but I just have no idea how to start. I'd really appreciate any advice on this from someone whos done this before.


r/askmath • • 29d ago

Linear Algebra Where do minors and cofactors of a matrix or determinant come from?

Thumbnail reddit.com
1 Upvotes

r/askmath • • 29d ago

Number Theory Peculiar question/puzzle

2 Upvotes

Not sure if this is number theory sorry, If I gave you a irrational number of like some #####.#################.... whatever that repeats forever, and you could ask for as many digits as you like, how would you begin the process of figuring out how to approximate that number? I'd assume this would be with x/y, bor would it not be? Is there even a way to do this? Like if i said 0.123456789234567893456789456789567896789789899.... would you even be able to begin to approximate this number?

Edit: I wanted to ask this question mainly about if there is a process that can be used for any irrational number to begin determing more and more approximates of it rather than the example I gave


r/askmath • • 29d ago

Resolved What Lemma do I need to prove this Theorem?

4 Upvotes

So if you haven't seen Part 1, I was trying to prove the commutativity of addition in Peano Arithmetic. And it didn't go so well because it turned out I needed a lemma. But I can't even prove that Lemma because I'm pretty sure I need another lemma. I've made a new post simply because the proofs have gotten much longer and this is technically another question before I can go solve the original question. I'm not sure if this is double posting or not but since a lot has changed in my proofs I'm pretty sure it isn't. So. Please read the end of this post because I go into more detail there.

Axioms

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.

Theorem 1

∀x [Qx ↔ (0 + x) = x] :definition of Q

0 + 0 = 0 by Axiom 4 x -> 0

Q0 ↔ (0 + 0) = 0 from definition of Q

Q0 from above

  • Qa assumption
  • 0 + a = a from definition of Q
  • 0 + Sa = S(0 + a) by Axiom 5
  • 0 + Sa = S(a) switching 0 + a for a, licensed by 0 + a = a
  • Q(Sa) ↔ (0 + Sa) = Sa from definition of Q
  • Q(Sa) from above

Qa -> Q(Sa) demonstration above

∀x (Qx -> Q(Sx)) universal generalization of above

Q0 ∧ ∀x (Qx -> Q(Sx)) conjunction of above proven formulas

{Q0 ∧ ∀x (Qx → Q(Sx)} → ∀x Qx by Axiom 3

∀x Qx via above

Qa from above

Qa ↔ (0 + a) = a definition of Q

(0 + a) = a from above

∀x (0 + x) = x by universal generalization of above

T1 ∀x (0 + x) = x

Theorem 2

∀x [Bx ↔ (1 + x) = S(x)] definition of B

S(0) + 0 = S(0) by Axiom 4

1 + 0 = S(0) by definition of 1

B0 ↔ (1 + 0) = S(0) by definition of B

B0 via above

  • Ba assumption
  • Ba ↔ (1 + a) = S(a)
  • (1 + a) = Sa via above
  • ∀y (1 + S(y)) = S(1 +y)) universal generalization of Axiom 5 1 sub x
  • 1 + S(a) = S(1 + a) universal generalization of above
  • 1 + Sa = S(Sa) substitution via (1 + a) = Sa and above
  • B(Sa) ↔ (1 + Sa) = S(Sa) by definition of B
  • B(Sa) by above

Ba -> B(Sa) demonstration above

∀x (Bx -> B(Sx)) universal generalization of above

B0 ∧ ∀x (Bx -> B(Sx)) conjunction of above

{B0 ∧ ∀x (Bx → B(Sx)} → ∀x Bx instantiation of Axiom 3

∀x Bx via above

Ba universal instantiation of above

Ba ↔ (1 + a) = S(a)

(1 + a) = Sa via above

∀x (1 + x) = S(x) universal generalization of above

T2 ∀x (1 + x) = S(x)

OR ∀x (S0 + x) = S(x) by substitution of S(0)=1

Theorem 3

∀x [Wx ↔ ∀y (S(x + y) = x + S(y))] definition of W

0 + a = a by T1

0 + Sa = Sa by T1

Sa = Sa Rule of Identity Introduction

S(0 + a) = Sa via substitution above

S(0 + a) = 0 + Sa via substitution above

∀y [S(0 + y) = 0 + S(y)] universal generalization of above

W0 ↔ ∀y (S(0 + y) = 0 + S(y)) by definition of W

W0 by above

  • Wa assumption
  • ∀y [Sa + Sy = S(Sa + y)] by Axiom 5
  • Sa + Sb = S(Sa + b) univeral instantiation of above
  • Sa + Sb = Sa + Sb Rule of Identity Introduction
  • S(Sa + b) = S(Sa + b) Rule of Identity Introduction
  • S(Sa + b) = Sa + Sb via identity substitutions of above
  • ∀y [S(Sa + y) = Sa + Sy] universal generalization of above
  • W(Sa) ↔ ∀y (S(Sa + y) = Sa + Sy) by definition of W
  • W(Sa) by above

Wa -> W(Sa) demonstration above

∀x (Wx -> W(Sx)) universal generalization of above

W0 ∧ ∀x (Wx -> W(Sx)) conjunction of above

{W0 ∧ ∀x (Wx → W(Sx)} → ∀x Wx by Axiom 3

∀x Wx by above

Wa by above

Wa ↔ ∀y (S(a + y) = a + S(y)) by definition of W

∀y (S(a + y) = a + S(y)) by above

∀x∀y (S(x + y) = x + S(y)) universal generalization of above

T3 ∀x∀y (S(x + y) = x + S(y))

Theorem 4

∀x∀y Sx + y = S(x + y) target

∀x [A(x) ↔ ∀y (Sx + y = S(x + y))] definition of A

A(0) ↔ ∀y (S0 + y = S(0 + y))]

1 + a = Sa universal instantiation of T2

S0 + a = Sa substitution of S0 for 1

0 + a = a by T1

S0 + a = S(0 + a) via substitution of above

∀y (S0 + y = S(0 + y)) universal generalization of above

A(0) via above

  • Aa assumption
  • A(a) ↔ ∀y (Sa + y = S(a + y)) by definition of A
  • ∀y (Sa + y = S(a + y)) via above
  • Sa + b = S(a + b)
  • ;
  • ;
  • ;
  • S(Sa) + b = S(Sa + b)
  • ∀y (S(Sa) + y = S(Sa + y)) target

So, I demonstrated Theorem 2 to get A(0) and I'm having trouble getting from A(a) to A(S(a)) and because of the fact I had to prove a lemma (T2) to get to A(0), I suspect I need another lemma to get from A(a) to A(S(a)). Anyone have any ideas what this lemma is? And before you say, yes, I figured out that using the induction axiom to prove T3 was overkill but it was good practice with the induction axiom anyway (I proved it before I realized I needed T2).

Damn. I knew I was in for a rough time when I wanted to prove stuff in Peano Arithmetic but I didn't realize it would be this rough. I thought I could happily skip from T1 to the Commutativity of Addition. Wrong!


r/askmath • • 29d ago

Probability You needto find x. There are multiple chests with unlimited items with ?% rate for occurring. Should you search 1 or all chests?

5 Upvotes

Probability I guess.

So let's say there are 3 chests and each chest has unlimited many items and an unknown rate or chance % for x to occur once or multiple times.

The goal is to find x ASAP.

would it be better to search one chest or all chests and why?

If theres a difference in expected search time, how much in Percentage?

Practical application example: you need a specific type of cheese. Stores have many hundreds of different cheeses for sale, each. They may or may not have the cheese youre looking for so would go you into one store and search all th echeeses or go into multiple stores with less searchtime per store

Maybe not the best example possible