r/funmath • u/neonoir • May 16 '15
r/funmath • u/edmikey • Jun 26 '14
An animated video I made about random math stuff
r/funmath • u/gmsc • Jun 19 '14
How to calculate a post's upvotes and downvotes, now that Reddit hides them
Reddit recently changed a posts score display so that upvotes and downvotes are no longer displayed. Only the score in points and the percentage that liked it are now displayed.
What happens if you want an idea of how many upvotes and downvotes were given to a particular post? Math to the rescue!
Starting from the math in GoodGuyPiero's post, I simplified the formula in Wolfram|Alpha. In the formula I developed, s=score (in points), p=percent liked (as a number from 0 to 100), and the formula returns d=downvotes and u=upvotes.
Imagine a post which has a score of 3,196 points that 79% liked (stolen from GoodGuyPiero's example). We'd set this formula up in Wolfram|Alpha with s=3196 and p=79.
In this paticular case, Wolfram|Alpha returns the answer: d=1157, p=79, s=3196, u=4353. Since you set p and s in the formula, you can ignore them. Since u=4353 and d=1157, this tells you that the post received roughly 4,353 upvotes and 1,157 downvotes (the actual totals may differ by 1 or 2 votes, but it's still accurate)!
r/funmath • u/zfolwick • Apr 21 '14
Alison’s Triangle- it'd be fun to make an html5 page that users could rotate the triangle.
r/funmath • u/gmsc • Mar 07 '14
The polar plot of the base e logarithm is shaped like an e
r/funmath • u/gmsc • Nov 21 '13
Estimation success story!
A friend of mine, who likes to challenge me with mental math problems (calendar dates, etc.) ran across this 2011 Business Insider article, and wanted to challenge my estimation skills with the problem in the article.
He asked me, "Assuming we start with $1, and compound it at 4.5% per year for 3,000 years, about how much money would you have?" (Plenty, but I would be too old to enjoy it!)
He mainly wanted to see how close I could get to the correct answer.
I knew a few things right away - the answer is a question of scale, so logs are going to be handy, and it's a question of growth, so e (2.718281828459045...) will be involved. As a matter of fact, the problem basically boils down to e.045 x 3000.
Here's how I tackled the problem:
I started by figuring out the exponent. 4.5% of 3000 is the same as 45% of 300, which I knew right away was 135, so now the problem is e135.
I've memorized a few base 10 logs to 3 decimal places, and have done mental calculations with base logs before, so I knew enough to turn that problem into 135 x log10(e), or 135 x 0.434, which will give me the log of the answer.
When calculating problems like this, I multiply the decimal times 1000 to make things easier for myself, so now I'm calculation 135 x 434.
I break this down and multiply from left to right: 135 x 400 = 54,000, 135 x 30 = 4,050, added to previous total gives 58,050, 135 x 4 = 540, added to previous total gives 58,590.
Having multiplied by 1,000 in step 3, I divide by 1,000 to get 58.59. This is the log of the answer.
Obviously, the mantissa is 58, which translates to 1058. What number has a log of 0.59, though? Well, the log of 4 is 0.602, and 0.59 is quite close, so I guessed it's the log of 3.9.
After all this figuring, I said, "The answer should be somewhere around 3.9 times 1058 dollars!"
My friend said, "Not bad! According to the article, you got much closer than the experts!" He pointed out the following paragraphs in the article:
In fact, not one of these potential experts came within one billionth of 1% of the actual number, which is approximately 10 raised to the 57th power, a number so vast that it could not be squeezed into a billion of our Solar Systems.
Go on, check it.
Ok, I got within a factor of 10, while most of these anonymous experts were much farther away. That just means they didn't invite geeks like me.
Now the article never starts with its exact starting assumptions, so I asked my friend to see how close my answer was to the problem I calculated.
He fired up Wolfram Alpha, I had him enter e0.045 x 3000 and hit return. The result was 4.26339 x 1058, so my friend was astounded how close I came. Since I seemed to be muttering random numbers most of the time, it also bewildered him.
Here are a few sites and videos that really helped me conceptualize problems like these in the first place:
http://betterexplained.com/articles/using-logs-in-the-real-world/
http://www.youtube.com/watch?v=N-7tcTIrers (Vi Hart's new logarithm video)
http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/
http://www.nerdparadise.com/math/tricks/base10logs/
http://www.fermiquestions.com/tutorial#subsec-Problem-Types-Exponentiation
TL;DR Using well-known math shortcuts, I was able to calculate $1 compounded yearly at 4.5% for 3,000 years, and get an answer within 10% of the right answer in under 2 minutes!
r/funmath • u/gmsc • Feb 24 '13
How to use mental math to find out whether any given number from 1 to 1,000 is prime
r/funmath • u/zfolwick • Jan 31 '13
(x-post) How I explained square roots to a 5 y/o
This is a great one. I can use pennies to make squares up to 7 or something and move the square into a line to show how fast things blow up under the squaring function.
r/funmath • u/zfolwick • Jan 28 '13
The uses of the Trachtenberg method
The Trachtenberg method consists of 11 different rules based upon some basic high-school level algebraic observations about numbers made by Jakow Trachtenberg while he was a prisoner in a Nazi death camp during WW2. Some people seem to think that it's simply a bunch of stupid rules that really have nothing to do with each other, and that really get in the way of the rote memorization of one's times tables. These people don't think that learning methods of multiplying basic numbers instead of rote memorization of these numbers is an effective use of children's time. I believe they're wrong.
But not because I'm a "methods man".
I believe they're wrong because teaching mathematics is about inspiration; I believe that inspiration should be drawn from as many sources as possible, and as far as that goddamn times table is concerned... I'm a graduate of one of the top 15 math departments in North America and I still can't keep 8 * 7 or 9 * 6 straight in my head- Not without resorting to the Trachtenberg method (at least a little bit).
You see, I was never very good with memorizing small inane pieces of trivia. In fact I once forgot my own name as well as my birthday (although several relatives and the "miracle" of facebook have never failed to remind me). So could imagine my mental anguish at the thought that much of my days and nights would be devoted towards memorizing the same damn 9x9 table, and wondering why the hell I needed to memorize the 11 and 12 times tables.
The truth is I've never used them. None of it. Before the Trachtenberg method came along and inspired me to take up arithmetic as a hobby, I couldn't have cared less. But something happened to me when I learned about the Trachtenberg method- I got excited about arithmetic! I learned that mathematics sometimes contains surprising new ways to get from one place to the next, and that multiplication (and, it turns out, division) have many different methods to performing the operation.
The Trachtenberg method cannot supplant rote memorization (nor should it- it's important to memorize the first 9x9 table), however for many who lack only inspiration to set them on the journey down the rabbit hole of mathematics, the Trachtenberg method may be exactly what they are looking for. They may also be helped along via the Egyptian multiplication method, or the russian peasant method, or the japanese sticks method. The point is not that they learn a method, but rather that they learn their times tables, and I believe that the Trachtenberg method, as well as those methods described are inspirational because they teach that there are many paths to mathematical enlightenment, and it is up to the student and the teacher to choose the one most suited to the child's sensibilities. Furthermore, the Trachtenberg method may be applied equally well to multiplying exceedingly large numbers by a single digit.
These are results that are tangible to the student, and make them useful in the real world. Sure, at the single-digit level they serve only as crutches, but they are important ones. They do nothing to hamstring the student's mathematical ability, and they require less mental effort than your daily crossword puzzle. As soon as the child has memorized their single digit multiplications the method may be dispensed with, the framework discarded (or not, depending upon the childs abilities and needs) and they can be free to pursue greater levels of numeracy using the multiplication operation. The point is that any student can learn these methods (only 7 at the most out of necessity) in less time and with greater ease than current methods, and not be useless if their mathematical maturity progresses no further.
So let's not hide ourselves on the arrogant presumption that we're doing anybody any favors by taking the inspiration out of arithmetic, and by making it a royal pain in the ass. Let's explore the beauty of the many paths, and see just how deep this rabbit hole goes.
r/funmath • u/zfolwick • Jan 19 '13
Approximating square roots under 1,000
Sometimes it's useful to approximate square roots. I personally prefer to use the following mental method for getting really close to square roots under 1,000:
Memorize the first 31 squares. The largest square under 1,000 is 312, which is 961. You should already know the first 9 squares from gradeschool, and the rest can be memorized pretty easily.
Remember this fact: the distance between a square and the the next bigger square is 2 * n + 1, where n is the number whose square is closest to the number you're trying to root.
The square root has three parts: the whole number and a fraction which has a numerator and denominator.
The whole number is just the closest square root that won't go over (so 680's closest square root without going over is 26).
The numerator is just the distance between the square of the whole number (26 in this case), and the number we're trying to root (680): in our case 262 is 676, so 680 - 676 = 4. 4 is the numerator.
The final part is the 2 * n + 1 that I told you to remember. n is 26, so we just double that and take one smaller: 2 * 26 = 52, and one more is just 51.
So the square root of 680 is just 26 2/51.
I'm sure a link to a visual explanation exists... but I'll have to talk about the theory elsewhere. but still... cool no?
r/funmath • u/briantria • Mar 08 '23
I created a Math game focusing on MDAS. I designed it for kids so you might find it too easy. Any feedback is appreciated.
r/funmath • u/QuiteRadical • Jul 19 '22
I'm a former mathphobe attempting to expand his horizons. Super Mario Quadratics gives me hope.
r/funmath • u/EebamXela • Dec 22 '20
How tall must a parabola be in order to roll and completely flip over? (Made in Blender 2.91)
This question was posed to me by u/Xane256 in a comment to a post I made about rolling parabolas.
I haven't yet worked out the precise height. Still trying to figure out how. But I know it's just a little bit less than 5.4
Oh and please don't hate on me for my poor Blender skills. Literally just started using it today.
r/funmath • u/homemademathematics • May 19 '20
ANIMAL CROSSING MATH!!!!!!!!!
I have created a video that looks at the math behind the game Animal Crossing for Nintendo Switch! My using proportional relationships, we can find out how much each item is worth in materials, and use that to find a way to make MORE BELLS FASTER! Check it out! :)
r/funmath • u/[deleted] • Oct 15 '17
Use your phone camera to find distance to far objects.
We came up with a way to find the distance to an object using your camera phone and some algebra! Explained here.
You can use it on cars, planes, or anything really.
What do you think?
r/funmath • u/gmsc • Dec 06 '16
Fence Work (Ingenious proof of expressing a number n as 2^(n-1) sums)
r/funmath • u/Jupalinio • Sep 18 '15
How we calculated the google rugby character to be 6.5 years old and a slow runner (prehaps)
Today, we were greeted with the google doodle marking the start of the 2015 rugby world cup. (https://www.google.com/doodles/rugby-world-cup-2015-opening-day)
To pass some time at work* we decided to see what (rough) calculations we could perform based on the image. These are not exact, but we enjoyed them none the less.
Firstly, we needed to get a frame of reference. We see the character is carrying a rugby ball. On the image, the size of the ball is 30px (pixels). A regulation ball size is between 28 and 30cm. Let's assume a ball size of 30cm, as this makes the maths easier (making 1px == 1cm)
The character's height was measured to be 117px (therefor, 117cm... or 3ft 10inches for those working in old money)
Assuming that the character's height is strictly average for their age, this would make them 6.5 years old, based on the 50th centile from data collected by the Royal College of Paediatrics and Child Health. (http://www.rcpch.ac.uk/child-health/research-projects/uk-who-growth-charts/uk-growth-chart-resources-2-18-years/school-age)
Now, that's all well and good, but this character is running... we needed to know how fast!
In order to do this, we needed to know the viewing perspective so we can work out how much distance is covered in a single stride. To achieve this, we used the thickness of the character's foot when nearest the viewer and again when away from the viewer (6cm and 5cm, respectively). The leg, while fully extended, measures in at 20cm. Therefore we can use trig' to work out the angle of perspective... which comes in at 4 degrees.
Carrying this on, the character's stride can be calculated by measuring the height of the grass in the near plane (15cm) and the height of the grass in the far plane (7cm) and (using trig' again) applying the 4 degree viewing angle to give us a stride length of 114cm.
Finally, we timed between strides, giving us 0.63 seconds between strides. This means that the character's speed was 1.8 m/s. Meaning if he ran for 24 hours, he would cover a 156.342km (97.146 miles)
As I said, this was rough maths and a bit of fun, what do you think?
Sincerely, a pair of software engineers from England!