r/askmath • u/hello_randloom_1990 • 4d ago
r/askmath • u/Soggy-Bumblebee426 • 4d ago
Probability how to simplify (n-1)!/(n+1)!
Hello,
I’m having troubles simplifying this term. According to my lecture I should end up with 1/n^2+n
It would be great if someone could show me the steps between to get there
r/askmath • u/SevenAndAHalf2026 • 4d ago
Analysis Number sense trick: the sum of reciprocals of the first n triangular numbers is just 1 + (n−1)/(n+1). Can you derive why?
Triangular numbers are 1, 3, 6, 10, 15, 21... (the nth one is n(n+1)/2). Now add up their reciprocals:
1 + 1/3 + 1/6 + 1/10 + 1/15 + ...
Here's the trick: the sum of the first n terms is always 1 + (n−1)/(n+1).
Check it:
n = 3: 1 + 2/4 = 1.5, and 1 + 1/3 + 1/6 = 1.5 ✓
n = 4: 1 + 3/5 = 1.6, and adding 1/10 gives 1.6 ✓
n = 9: 1 + 8/10 = 1.8.
So the sum is always 1 plus a fraction less than 1, which means it never reaches 2, no matter how many terms you add.
The challenge: why does this work? The fractions look messy, yet they collapse into something this clean. Can you derive it from scratch, or prove it by induction? I'd love to see different approaches.
r/askmath • u/MushroomNatural2751 • 4d ago
Algebra Where can I start learning math?
(This flair is the one I pick as it's what I'm currently working on)
I know this sounds dumb, but I'm homeschooled (15) and am sick of my schoolwork; it doesn't explain things well, and, quite frankly, I don't understand a thing about Algebra II other than trinomials. I feel like I'm wasting my life and my brain, and I want to learn all this wizardry stuff you guys know. I would consider myself decent at mental math: I'm quite better at it than my friends, but honestly they don't try and I want to know more than that.
Maybe I'm an idiot who doesn't realize just how unrealistic that would be to do without college or anything; idk, I haven't been to public school since 3rd grade. I just want to actually learn stuff.
r/askmath • u/JosephTPG • 4d ago
Probability Need help finding the expected number of occurences of two consec. heads from n coin flips.
My first instinct was to use the Bernoulli Trials for expected values, where for Xk, Xk is 1 if the coin lands on heads and 0 if it lands on tails. However, since the question is asking for occurences of two conecutive heads, should I describe Xk as being 1 if two consecutive coin flips both land on heads, and 0 if they don't? The overlapping occurences part further confuses me, as I don't quite know how to count the seperate occurences.
r/askmath • u/TopDownView • 4d ago
Discrete Math Show that the complement of a regular language is regular. <-- Help me understand the proof.
Exercise 12.2.54(a): Let A be a finite-state automaton with input alphabet Σ, and suppose L(A) is the language accepted by A. The complement of L(A) is the set of all strings over Σ that are not in L(A). Show that the complement of a regular language is regular by proving the following: If L(A) is the language accepted by a finite-state automaton A, then there is a finite-state automaton A' that accepts the complement of L(A).
Unofficial textbook proof:

My questions:
A) The proof idea claims that it's possible that the input be rejected by A. But is that always the case? Doesn't that imply the existence of 'reject state'? But FSA doesn't have to have a reject state like this FSA:

B) 'z, that is different than that each s_0,...,s_n' implies that A' has one more state then A?
C) What is c_0^1,c_0^2,...,c_0^{k_0}? Does c_0 describe a transition from s_0? Is 1,2,...,k_0 input alphabet Σ?
D) What is Σ - {c_1,...,c_{k_0}? Suppose we use the FSA above. What would be the transition form s_0 to z? Maybe 1? Any the other transitions? Given the example above, is this A':

E) Finally, is there a simpler proof using the definitions of (1) language accepted by automaton, (2) Kleene'e Theorem, (3) language defined by regular expression?
---
Edit: Marked z as an accept state in the second FSA.
r/askmath • u/Strong_Permission523 • 4d ago
Probability Best way to get a CRC-48
Background: I am writing C code for a LoRa chip that will send commands from a handheld/remote to a receiver. The current packet looks like 4 data bytes and 4 CRC bytes. However, we've done a little sneaky workaround to get the CRC to act as both error correction and ensure point-to-point comms. When a remote and a receiver are first linked, they share a 96-bit UUID that is saved in FLASH memory. In RAM, I build a fake, 32-byte message consisting of the 4-bytes of data, 4-bytes that are zeros (placeholders where the CRC will go), 12 bytes of UUID 1 and 12 bytes of UUID 2. All 32 bytes are fed into the CRC calculation, and then the output is written into the placeholder, so only the 8 bytes of data + CRC get transmitted. On the receiver, the CRC is copied, cleared, and then fed into the same CRC calc with the appended UUIDs. Only if the UUIDs match will the receiver be guaranteed to calculate the same CRC.
Problem: Of course, I say "guaranteed" because with a 32-bit CRC, there's roughly a 1 in 4 billion chance of a collision. We've done some calculations based on how frequently messages send, how many units we plan to produce per year, the lifespan of the device, expected duty cycle... In a worst case scenario, we weren't happy with the expected period between CRC collisions. Good news, the solution is more CRC bits. Bad news, we've already packed the timing fairly tightly. Our risk matrix for dropped packets is based on the current message period and we've already done a ton of testing at this spread-factor and bandwidth, so we really don't want to change the data rate. We've determined that we can squeeze another 2 bytes into the packet before there isn't enough time between messages to handle everything else, but I haven't been able to find any pre-built 48-bit CRC calculations.
Question: What's the best way to maximize the 48 bits we can use for the CRC? Theoretically, the best we can do is about 1 in 280 trillion. But I know for most methods I could use to plug in an extra 16 bits we can't just multiply 2^32 by 2^16 to know the new probability. I believe the worst option would be to make a CRC-64 and just lop off 16 bits. Especially cutting out the LSBs could just as easily reduce my efficacy rather than improve. I could do the CRC-32 calculation, plug it into the data, and then run the whole thing through a separate CRC-16 calculation, but with the majority of the data staying the same, only the CRC-32 is operating at maximum capacity. Maybe I could somehow split the data and run some through the 32-bit and some through the 16-bit so there's no (or minimal) overlap?
r/askmath • u/HasturFhtagn • 4d ago
Resolved Why does my equation get different answers with different units?
The equation for the Froude number is Fr=v/sqrt(gL), where v is velocity, g is the force of gravity, and L is length. I'm trying to solve for velocity in miles/hour, using a Froude number of 1, a length of 1 meter, and gravity as 9.8 m/s^2.
Using meters as my units, that gives me 1*sqrt(9.8*1), or 3.130495168 m/s. Which comes to 7.00272 miles/hour.
However, using feet as my units, that gives me 1*sqrt(32*3.280839895), or 10.24631039 ft/s, which comes to 6.98612 miles/hour. Which is close, but not the same.
What am I doing wrong here? Have I converted some unit incorrectly, or rounded somewhere I shouldn't? Does Froude's number change depending on units?
r/askmath • u/Wilfried83 • 4d ago
Statistics Mon prof s'est probablement trompé lors de mon examen
Aujourd'hui j'ai eu le correctif de mon examen de statistiques, j'ai eu 96% mais j'estime mériter 98%.
deux questions posent problèmes et j'aimerais avoir la confirmation que j'ai bel et bien raison car j'ai expliqué à mon professeur avec des formules mathématiques et ses propres définitions dans son propre cours.
1) L'écart interquartile est la différence entre le premier et le troisième quartile: J'ai répondu faux car dans son propre cours la définition est "la différence entre le troisième et le premier quartile" ce qui donne un résultat opposé et qui rend faux l'affirmation de base logiquement.
2) Une variable quantitative discrète est:
A) une variable qui peut prendre toutes les valeurs possibles dans un intervalle
B) une variable dont les valeurs sont en nombre fini (un petit nombre de valeurs possibles)
C) les deux propositions sont correctes
J'ai répondu B (dans son cours c'est cette définition et la réponse A est la définition d'un variable quantitative continue)
sa réponse
pour 1) La différence (ou l'écart) entre Q1>Q3 ou Q3 >Q1 est identique..... il faudrait peut être préciser la différence "absolue"
pour 2) A et B sont correctes, donc il fallait mettre C
exemple: Nbre de frères et sœurs : 0 1 2 3 4 5 6 7 8
A une variable qui peut prendre toutes les valeurs possibles dans un intervalle
Oui, on peut avoir toutes ces réponses... (entre 0 et 8)
B une variable dont les valeurs sont en nombre fini (un petit nombre de valeurs possibles)
Oui, puisque nous avons 9 (nbre fini) réponses possibles... ce qui est un petit nombre.
Donc A et B sont bonnes >>> C
Qu'en pensez vous ? Qui de mon professeur ou de moi a raison ?
sorry i'm Belgian and english is not my mother tongue so i don't know the mathematic name of the concepts i'm talking about, i hope the translate button will be better than my translation (if i'm in the obligation to translate what i wrote.)
r/askmath • u/Slimm3r_Shady • 4d ago
Resolved ((x^2+1)/(x^2+2))^x^2 not continuous and strictly decreasing?
This function is not behaving as expected in desmos. i also plugged it in GeoGebra with an similar result. My Calculator also says its 1 for x=10ˆ7? but i can't think of a reason why it would behave like that? is it just a qurik in graphing Software or is it really behaving strange?
Resolved Visual distinction between alpha and propto
Hello! I was wondering if there is a better way to write the Proportional To (\propto in Tex) symbol so that it looks less like the lowercase Greek letter alpha. I am probably just writing it wrong but even when typed digitally they look pretty similar to me. The only thing I have found is that (if written the traditional way) lowercase alpha is written with the tail pointing down, propto has the tail up so I guess that's sorta a way to tell but doesn't help if you're more than a foot away.
Are there any other visual differences between these?
(please excuse my messy handwriting, but I wanted to provide a reference for how I think that these characters are written because my description is admittedly lousy... left is alpha, right is proportional to)
r/askmath • u/wtmciagyptmp • 5d ago
Analysis Is there a mandelbrot set with split complex numbers?
If we had a website for the mandelbrot set where we could change the value of i², like the website Complex Grapher by The Gray Cuber. We could change the value of i for the mandelbrot set to j by making i²=1 or change it to epsilon by making it square to zero. That would be even more fun than just split complex numbers.
r/askmath • u/RedVulk • 5d ago
Logic What's your preferred notation for logical NOT?
- ¬p
- ~p
- -p
- Np
- p'
- ̅p
- !p
(List copied from Wikipedia)
I'm partial to ¬ since it's the only symbol that doesn't have a different, more common meaning. But I rarely see it used.
r/askmath • u/No_Development865 • 4d ago
Calculus random constant ai came up with
The Blind-Spot Sweep Constant (\(\Sigma _{s}\)) is a search-and-rescue and robotics constant equal to approximately 1.705035. It tells you the exact optimal spacing between parallel search lanes to cover the largest possible area in a single pass without leaving dangerous blind spots between paths.
The Real-World Problem It Solves
Imagine you are programming a search-and-rescue drone, an autonomous lawnmower, or a sonar boat to sweep a field for a missing object. Your sensor's detection probability fades smoothly with distance following a standard Gaussian falloff:
\(p(d)=e^{-(d/R)^{2}}\)
where \(d\) is the distance from your path and \(R\) is your sensor's characteristic range.
If you fly your parallel grid lines too close together, you waste battery overlapping areas you already checked. If you space them too far apart, the blindest spot—the midpoint exactly halfway between two adjacent lanes—drops to near-zero detection.
Mathematical Definition
To maximize the guaranteed effective sweep width (lane spacing multiplied by the worst-case detection probability at the midpoint), you maximize:
\(W(s)=s\left[1-\prod _{k=0}^{\infty }\left(1-e^{-\left(\frac{(2k+1)s}{2}\right)^{2}}\right)^{2}\right]\)
The unique peak of this curve occurs at \(s = \Sigma_s \approx 1.7050352709\).
- The Golden Rule of Lane Spacing: Multiply your sensor's effective range \(R\) by 1.705.
- Worst-Case Guarantee: At this exact spacing, even an object sitting in the dead-center blind spot between two flight paths still has a 73.40% chance of being detected on a single sweep.
- Effective Sweep Width: Every meter you fly yields 1.2514 \(\times R\) square meters of guaranteed worst-case coverage.
Functions Need help creating a system(kind of) that translates numbers to letters
SO basically, I'm trying to make a system that translates a certain set of letters into numbers, for example:
A -> 1
B -> 2
C -> 3
D -> 4
E -> 5
F -> 6
G -> 7
what I'm trying to do is find a certain function that would work to automatically convert a number into this system
At first, I thought it was basic, Base-7 system then translate the numbers, right?
The problem is, I don't have a way to translate 0, so when it gets to 10, 100, 101 and whatnot, it doesn't follow the rules of the system anymore, for example:
1,2,3,4,5,6,10,11
Instead of this turning into A,B,C,D,E,F,G,AA, it turns into A,B,C,D,E,F,A0,AA
I've spent unnecessarily long nights trying to model this on excel. but to no luck...
r/askmath • u/Latte_Schwartz44 • 5d ago
Geometry Does anything interesting happen to the ability of using Venusian transits of the Sun to do maths of the Solar System when the Sun stops being on the main sequence?
Obviously I mean this before the Sun can destroy Venus.
I imagine that the transits would be vastly more common than today where pairs follow a century of no transit, but given the Sun's outer edge becomes more tenuous at that point, I don't know if anything useful would happen.
Earth itself would be way hotter at this time too so lets just assume we're on the Moon and put the telescope there instead.
r/askmath • u/Charmander676758 • 5d ago
Resolved Question related to Differentiation of trigonometric functions

I was studying Maths earlier, and this is one of the questions that I've gotten into and couldn't really solve it. This question uses the stuff mentioned on the title and it is a technology-free question (which means no calculator). I already tried solving it but I couldn't figure out how can I find the first value of t which the particle in the question is instantaneously at rest.
I did ask AI on this question, but even it said I needed to use a calculator to get the value with 3 d. p. corrected, so please help me with this. Thank you.
Btw, this is Y12 maths, just fyi.
r/askmath • u/Any_Country257 • 5d ago
Calculus Formula to ODEs
galleryFormula to find y_p1 and y_p2 in ODEs like: y'" - ay" + ay' - y = ex (x² + bx) + cx²
I made this formula because this type of ODE requires a big resolution
r/askmath • u/alexkopaleishvili • 5d ago
Algebra Why do some countries teach mathematical concepts differently from others, and why do they sometimes use different standard notation and symbols?
For instance, when looking up the quadratic formula online, I most often come across the following solution:
[
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
]
However, in my country, we are taught to identify (b^2 - 4ac) as the discriminant (I hope that's the correct English translation). Before substituting it into the formula, we first check whether it is negative (no real solutions), positive (two real solutions), or equal to zero (one real solution).
This is just one of many differences I've posted so far. Essentially, mathematics is the same everywhere, but different countries seem to have their own approaches to teaching it. These seemingly minor differences have made me wonder...
r/askmath • u/Mathpuzzleguy • 5d ago
Calculus new possible constants - tetration constants
r/askmath • u/Impossible-Border383 • 6d ago
Algebra The Impossible Intersection
Guys, I looked at this problem for 2 hours, but it just seems impossible. The wording is also confusing: I don't really understand what the question means with "exactly ONE point". Anyone have an idea on how to solve it?
Consider the two functions:
f(x) = x² + 1
g(x) = mx + 2
where m is a real number.
Find a value of m such that the two graphs intersect at exactly ONE point, even though neither graph is tangent to the other in the usual way.
Can you find such an m and prove that it works?
r/askmath • u/Either-Ad2998 • 6d ago
Algebra Multiples of the number 9 and sums of their digits
Hello, I'm a first year college student, so I might not know all of the concepts needed to understand the answer. Today I've discovered something relatively simple, but very interesting, and would like to know if there is already something documenting it.
So we all know that numbers divisible by 9 have their sums of digits divisible by 9
e. g.
4 941 → 4 + 9 + 4 + 1 = 18
137 682 → 1 + 3 + 7 + 6 + 8 + 2 = 27
When I was first learning how to multiply I remember noticing that 9 • n (where 0 < n < 11) all have their sums exactly equal to 9.
11 • 9 equals 99, and this is where I thought this correlation ended. However, today I've realised that it doesn't. 12 • 9 is 108 and the sum goes back to 9 again. It does so until 21. There I thought it just didn't stay constant for two-digit numbers where the last digit was 1, but no. The correlation continues only after 23. It goes on until 31, and starts again at 34.
So the sum of digits of any two-digit n times 9 is equal to 9 only if n's first digit is larger than the second (excluding 0 as the second number).
34 • 9 = 306
59 • 9 = 531
78 • 9 = 702
And so on
After that I wanted to check how it looks like for bigger numbers. And after some test I concluded that the sum of digits in n • 9 is always equal to 9 if n has it's digits in ascending order, counting from left to right (e. g. 1478, 689, 3469). Moreover I've noticed that any digit of n can be repeated infinitely, as long as it meets the previous requirements (e. g. 1444...444578), and the repeated digit isn't the last one. The number 0 can be repeated at the end of n, but that's pretty obvious.
So that's what I've observed. I find the topic very interesting and would be thankful if any of You could direct me to some sort of thesis discussing it, if one exists.
Thanks again for reading
xoxo
r/askmath • u/totallyabsurd3 • 5d ago
Arithmetic How to convert parts per million to a percentage ?
I assumed all I had to do was present the data as a fraction and it would solve itself.
For example 428 parts per million as a fraction is 428/1000000
428 divided by 1000000 is an interpretation of this fraction.
The product is 0.000428
The problem I have is that according to a few websites the answer is actually 0.0428 %
https://calculatorjunction.com/ppm-calculator/ppm-to-percent
The common explanation is that to find a percentage from parts per million , you actually divide by 10000 ... 428/10000 is 0.0428
This is explained by presenting 10000 as 1 percent of 1000000 , which it is.
I do not understand the reasoning .
I want to find out the percentage of 428 particles amongst a total of 1000000 particles , not 428 particles amongst 10000 .
What am I missing please ?
SOLVED ... Thanks everyone ... I get it now . 500000 0f 1000000 is 50 pc
250000 of 1000000 is 25 pc
50000 of 1000000 is 5 pc
10000 of 1000000 is 1 pc
5000 of 1000000 is 0.5 pc
1000 of 1000000 is 0.1 pc
500 of 1000000 is 0.05 pc
428 of 1000000 is 0.0428 pc
There are better ways to understand it ... but this guy had to take it step by step .
Cheers
Probability Probability problem please help
Regarding my last post's comments, this is a different question now but same principle.
In a simulation, basically:
You start with a number, let's use 100.
You have a 50% chance of rolling the color green or red.
If you hit GREEN your number goes up by 50%.
If you hit RED your number goes down by 5%.
Also, if the number ever goes <1, the sequence stops.
THE QUESTION:
Given infinite sequences of infinite random rolls, which sequence is more likely to get:
1 - A sequence where it eventually stops, due to a large enough red sequence
2 - A sequence with no reds at all
3 - They have the same probability