nhaliday + calculation   55

Hyperbolic angle - Wikipedia
A unit circle {\displaystyle x^{2}+y^{2}=1} x^2 + y^2 = 1 has a circular sector with an area half of the circular angle in radians. Analogously, a unit hyperbola {\displaystyle x^{2}-y^{2}=1} {\displaystyle x^{2}-y^{2}=1} has a hyperbolic sector with an area half of the hyperbolic angle.
nibble  math  trivia  wiki  reference  physics  relativity  concept  atoms  geometry  ground-up  characterization  measure  definition  plots  calculation  nitty-gritty  direction  metrics  manifolds 
november 2017 by nhaliday
Power of a point - Wikipedia
The power of point P (see in Figure 1) can be defined equivalently as the product of distances from the point P to the two intersection points of any ray emanating from P.
nibble  math  geometry  spatial  ground-up  concept  metrics  invariance  identity  atoms  wiki  reference  measure  yoga  calculation 
september 2017 by nhaliday
Introduction to Scaling Laws

Galileo’s Discovery of Scaling Laws: https://www.mtholyoke.edu/~mpeterso/classes/galileo/scaling8.pdf
Days 1 and 2 of Two New Sciences

An example of such an insight is “the surface of a small solid is comparatively greater than that of a large one” because the surface goes like the square of a linear dimension, but the volume goes like the cube.5 Thus as one scales down macroscopic objects, forces on their surfaces like viscous drag become relatively more important, and bulk forces like weight become relatively less important. Galileo uses this idea on the First Day in the context of resistance in free fall, as an explanation for why similar objects of different size do not fall exactly together, but the smaller one lags behind.
nibble  org:junk  exposition  lecture-notes  physics  mechanics  street-fighting  problem-solving  scale  magnitude  estimate  fermi  mental-math  calculation  nitty-gritty  multi  scitariat  org:bleg  lens  tutorial  guide  ground-up  tricki  skeleton  list  cheatsheet  identity  levers  hi-order-bits  yoga  metabuch  pdf  article  essay  history  early-modern  europe  the-great-west-whale  science  the-trenches  discovery  fluid  architecture  oceans  giants  tidbits 
august 2017 by nhaliday
The Earth-Moon system
nice way of expressing Kepler's law (scaled by AU, solar mass, year, etc.) among other things

nibble  org:junk  explanation  trivia  data  objektbuch  space  mechanics  spatial  visualization  earth  visual-understanding  navigation  experiment  measure  marginal  gravity  scale  physics  nitty-gritty  tidbits  identity  cycles  time  magnitude  street-fighting  calculation  oceans  pro-rata  rhythm  flux-stasis 
august 2017 by nhaliday
Kelly criterion - Wikipedia
In probability theory and intertemporal portfolio choice, the Kelly criterion, Kelly strategy, Kelly formula, or Kelly bet, is a formula used to determine the optimal size of a series of bets. In most gambling scenarios, and some investing scenarios under some simplifying assumptions, the Kelly strategy will do better than any essentially different strategy in the long run (that is, over a span of time in which the observed fraction of bets that are successful equals the probability that any given bet will be successful). It was described by J. L. Kelly, Jr, a researcher at Bell Labs, in 1956.[1] The practical use of the formula has been demonstrated.[2][3][4]

The Kelly Criterion is to bet a predetermined fraction of assets and can be counterintuitive. In one study,[5][6] each participant was given $25 and asked to bet on a coin that would land heads 60% of the time. Participants had 30 minutes to play, so could place about 300 bets, and the prizes were capped at $250. Behavior was far from optimal. "Remarkably, 28% of the participants went bust, and the average payout was just $91. Only 21% of the participants reached the maximum. 18 of the 61 participants bet everything on one toss, while two-thirds gambled on tails at some stage in the experiment." Using the Kelly criterion and based on the odds in the experiment, the right approach would be to bet 20% of the pot on each throw (see first example in Statement below). If losing, the size of the bet gets cut; if winning, the stake increases.
nibble  betting  investing  ORFE  acm  checklists  levers  probability  algorithms  wiki  reference  atoms  extrema  parsimony  tidbits  decision-theory  decision-making  street-fighting  mental-math  calculation 
august 2017 by nhaliday
[1705.03394] That is not dead which can eternal lie: the aestivation hypothesis for resolving Fermi's paradox
If a civilization wants to maximize computation it appears rational to aestivate until the far future in order to exploit the low temperature environment: this can produce a 10^30 multiplier of achievable computation. We hence suggest the "aestivation hypothesis": the reason we are not observing manifestations of alien civilizations is that they are currently (mostly) inactive, patiently waiting for future cosmic eras. This paper analyzes the assumptions going into the hypothesis and how physical law and observational evidence constrain the motivations of aliens compatible with the hypothesis.


simpler explanation (just different math for Drake equation):
Dissolving the Fermi Paradox: http://www.jodrellbank.manchester.ac.uk/media/eps/jodrell-bank-centre-for-astrophysics/news-and-events/2017/uksrn-slides/Anders-Sandberg---Dissolving-Fermi-Paradox-UKSRN.pdf
Overall the argument is that point estimates should not be shoved into a Drake equation and then multiplied by each, as that requires excess certainty and masks much of the ambiguity of our knowledge about the distributions. Instead, a Bayesian approach should be used, after which the fate of humanity looks much better. Here is one part of the presentation:

Life Versus Dark Energy: How An Advanced Civilization Could Resist the Accelerating Expansion of the Universe: https://arxiv.org/abs/1806.05203
The presence of dark energy in our universe is causing space to expand at an accelerating rate. As a result, over the next approximately 100 billion years, all stars residing beyond the Local Group will fall beyond the cosmic horizon and become not only unobservable, but entirely inaccessible, thus limiting how much energy could one day be extracted from them. Here, we consider the likely response of a highly advanced civilization to this situation. In particular, we argue that in order to maximize its access to useable energy, a sufficiently advanced civilization would chose to expand rapidly outward, build Dyson Spheres or similar structures around encountered stars, and use the energy that is harnessed to accelerate those stars away from the approaching horizon and toward the center of the civilization. We find that such efforts will be most effective for stars with masses in the range of M∼(0.2−1)M⊙, and could lead to the harvesting of stars within a region extending out to several tens of Mpc in radius, potentially increasing the total amount of energy that is available to a future civilization by a factor of several thousand. We also discuss the observable signatures of a civilization elsewhere in the universe that is currently in this state of stellar harvesting.
preprint  study  essay  article  bostrom  ratty  anthropic  philosophy  space  xenobio  computation  physics  interdisciplinary  ideas  hmm  cocktail  temperature  thermo  information-theory  bits  🔬  threat-modeling  time  scale  insight  multi  commentary  liner-notes  pdf  slides  error  probability  ML-MAP-E  composition-decomposition  econotariat  marginal-rev  fermi  risk  org:mat  questions  paradox  intricacy  multiplicative  calculation  street-fighting  methodology  distribution  expectancy  moments  bayesian  priors-posteriors  nibble  measurement  existence  technology  geoengineering  magnitude  spatial  density  spreading  civilization  energy-resources  phys-energy  measure  direction  speculation  structure 
may 2017 by nhaliday
A sense of where you are | West Hunter
Nobody at the Times noticed it at first. I don’t know that they ever did notice it by themselves- likely some reader brought it to their attention. But this happens all the time, because very few people have a picture of the world in their head that includes any numbers. Mostly they don’t even have a rough idea of relative size.

In much the same way, back in the 1980s,lots of writers were talking about 90,000 women a year dying of anorexia nervosa, another impossible number. Then there was the great scare about 1,000,000 kids being kidnapped in the US each year – also impossible and wrong. Practically all the talking classes bought into it.

You might think that the people at the top are different – but with a few exceptions, they’re just as clueless.
west-hunter  scitariat  commentary  discussion  reflection  bounded-cognition  realness  nitty-gritty  calculation  fermi  quantitative-qualitative  stories  street-fighting  mental-math  being-right  info-dynamics  knowledge  hi-order-bits  scale  dysgenics  drugs  death  coming-apart  opioids  elite  ability-competence  rant  decision-making 
may 2017 by nhaliday
Beta function - Wikipedia
B(x, y) = int_0^1 t^{x-1}(1-t)^{y-1} dt = Γ(x)Γ(y)/Γ(x+y)
one misc. application: calculating pdf of Erlang distribution (sum of iid exponential r.v.s)
concept  atoms  acm  math  calculation  integral  wiki  reference  identity  AMT  distribution  multiplicative 
march 2017 by nhaliday
More on Multivariate Gaussians
Fact #1: mean and covariance uniquely determine distribution
Fact #3: closure under sum, marginalizing, and conditioning
covariance of conditional distribution is given by a Schur complement (independent of x_B. is that obvious?)
pdf  exposition  lecture-notes  stanford  nibble  distribution  acm  machine-learning  probability  levers  calculation  ground-up  characterization  rigidity  closure  nitty-gritty  linear-algebra  properties 
february 2017 by nhaliday
Relationships among probability distributions - Wikipedia
- One distribution is a special case of another with a broader parameter space
- Transforms (function of a random variable);
- Combinations (function of several variables);
- Approximation (limit) relationships;
- Compound relationships (useful for Bayesian inference);
- Duality;
- Conjugate priors.
stats  probability  characterization  list  levers  wiki  reference  objektbuch  calculation  distribution  nibble  cheatsheet  closure  composition-decomposition  properties 
february 2017 by nhaliday
probability - How to prove Bonferroni inequalities? - Mathematics Stack Exchange
- integrated version of inequalities for alternating sums of (N choose j), where r.v. N = # of events occuring
- inequalities for alternating binomial coefficients follow from general property of unimodal (increasing then decreasing) sequences, which can be gotten w/ two cases for increasing and decreasing resp.
- the final alternating zero sum property follows for binomial coefficients from expanding (1 - 1)^N = 0
- The idea of proving inequality by integrating simpler inequality of r.v.s is nice. Proof from CS 150 was more brute force from what I remember.
q-n-a  overflow  math  probability  tcs  probabilistic-method  estimate  proofs  levers  yoga  multi  tidbits  metabuch  monotonicity  calculation  nibble  bonferroni  tricki  binomial  s:null 
january 2017 by nhaliday
cv.complex variables - Absolute value inequality for complex numbers - MathOverflow
In general, once you've proven an inequality like this in R it holds automatically in any Euclidean space (including C) by averaging over projections. ("Inequality like this" = inequality where every term is the length of some linear combination of variable vectors in the space; here the vectors are a, b, c).

I learned this trick at MOP 30+ years ago, and don't know or remember who discovered it.
q-n-a  overflow  math  math.CV  estimate  tidbits  yoga  oly  mathtariat  math.FA  metabuch  inner-product  calculation  norms  nibble  tricki 
january 2017 by nhaliday
Bounds on the Expectation of the Maximum of Samples from a Gaussian
σ/sqrt(pi log 2) sqrt(log n) <= E[Y] <= σ sqrt(2) sqrt(log n)

upper bound pf: Jensen's inequality+mgf+union bound+choose optimal t (Chernoff bound basically)
lower bound pf: more ad-hoc (and difficult)
pdf  tidbits  math  probability  concentration-of-measure  estimate  acm  tails  distribution  calculation  iidness  orders  magnitude  extrema  tightness  outliers  expectancy  proofs 
october 2016 by nhaliday
Doomsday rule - Wikipedia, the free encyclopedia
It takes advantage of each year having a certain day of the week, called the doomsday, upon which certain easy-to-remember dates fall; for example, 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February all occur on the same day of the week in any year. Applying the Doomsday algorithm involves three steps:
1. Determination of the anchor day for the century.
2. Calculation of the doomsday for the year from the anchor day.
3. Selection of the closest date out of those that always fall on the doomsday, e.g., 4/4 and 6/6, and count of the number of days (modulo 7) between that date and the date in question to arrive at the day of the week.

This technique applies to both the Gregorian calendar A.D. and the Julian calendar, although their doomsdays are usually different days of the week.

Easter date: https://en.wikipedia.org/wiki/Computus
*When is Easter? (Short answer)*
Easter Sunday is the first Sunday after the first full moon on or after the vernal equinox.

*When is Easter? (Long answer)*
The calculation of Easter is complicated because it is linked to (an inaccurate version of) the Hebrew calendar.


It was therefore decided to make Easter Sunday the first Sunday after the first full moon after vernal equinox. Or more precisely: Easter Sunday is the first Sunday after the “official” full moon on or after the “official” vernal equinox.

The official vernal equinox is always 21 March.

The official full moon may differ from the real full moon by one or two days.


The full moon that precedes Easter is called the Paschal full moon. Two concepts play an important role when calculating the Paschal full moon: The Golden Number and the Epact. They are described in the following sections.


*What is the Golden Number?*
Each year is associated with a Golden Number.

Considering that the relationship between the moon’s phases and the days of the year repeats itself every 19 years (as described in the section about astronomy), it is natural to associate a number between 1 and 19 with each year. This number is the so-called Golden Number. It is calculated thus:

GoldenNumber=(year mod 19) + 1

However, 19 tropical years is 234.997 synodic months, which is very close to an integer. So every 19 years the phases of the moon fall on the same dates (if it were not for the skewness introduced by leap years). 19 years is called a Metonic cycle (after Meton, an astronomer from Athens in the 5th century BC).

So, to summarise: There are three important numbers to note:

A tropical year is 365.24219 days.
A synodic month is 29.53059 days.
19 tropical years is close to an integral number of synodic months.]

In years which have the same Golden Number, the new moon will fall on (approximately) the same date. The Golden Number is sufficient to calculate the Paschal full moon in the Julian calendar.


Under the Gregorian calendar, things became much more complicated. One of the changes made in the Gregorian calendar reform was a modification of the way Easter was calculated. There were two reasons for this. First, the 19 year cycle of the phases of moon (the Metonic cycle) was known not to be perfect. Secondly, the Metonic cycle fitted the Gregorian calendar year worse than it fitted the Julian calendar year.

It was therefore decided to base Easter calculations on the so-called Epact.

*What is the Epact?*
Each year is associated with an Epact.

The Epact is a measure of the age of the moon (i.e. the number of days that have passed since an “official” new moon) on a particular date.


In the Julian calendar, the Epact is the age of the moon on 22 March.

In the Gregorian calendar, the Epact is the age of the moon at the start of the year.

The Epact is linked to the Golden Number in the following manner:

Under the Julian calendar, 19 years were assumed to be exactly an integral number of synodic months, and the following relationship exists between the Golden Number and the Epact:

Epact=(11 × (GoldenNumber – 1)) mod 30


In the Gregorian calendar reform, some modifications were made to the simple relationship between the Golden Number and the Epact.

In the Gregorian calendar the Epact should be calculated thus: [long algorithm]


Suppose you know the Easter date of the current year, can you easily find the Easter date in the next year? No, but you can make a qualified guess.

If Easter Sunday in the current year falls on day X and the next year is not a leap year, Easter Sunday of next year will fall on one of the following days: X–15, X–8, X+13 (rare), or X+20.


If you combine this knowledge with the fact that Easter Sunday never falls before 22 March and never falls after 25 April, you can narrow the possibilities down to two or three dates.
tricks  street-fighting  concept  wiki  reference  cheatsheet  trivia  nitty-gritty  objektbuch  time  calculation  mental-math  multi  religion  christianity  events  howto  cycles 
august 2016 by nhaliday

bundles : mathngproblem-solving

related tags

ability-competence  accretion  accuracy  acm  additive  aggregator  aging  ai  algorithms  AMT  analysis  anthropic  app  applications  approximation  architecture  arrows  article  atoms  bayesian  behavioral-gen  being-right  benchmarks  betting  big-peeps  binomial  biodet  bits  bonferroni  boolean-analysis  bostrom  bounded-cognition  britain  calculation  calculator  caltech  canon  characterization  chart  cheatsheet  checklists  christianity  civilization  closure  cocktail  coming-apart  commentary  comparison  composition-decomposition  computation  computer-vision  concentration-of-measure  concept  constraint-satisfaction  convexity-curvature  cool  course  curvature  cycles  data  data-science  database  death  decision-making  decision-theory  definition  density  differential  direction  dirty-hands  discovery  discussion  distribution  drugs  duality  dynamic  dynamical  dysgenics  early-modern  earth  econotariat  education  elite  embodied  energy-resources  enhancement  entropy-like  error  essay  estimate  europe  events  examples  existence  exocortex  expectancy  experiment  explanation  exposition  extrema  faq  fermi  fluid  flux-stasis  foreign-lang  fourier  games  genetics  geoengineering  geometry  giants  gotchas  graphs  gravity  ground-up  guide  gwern  harvard  hci  heuristic  hi-order-bits  higher-ed  history  hmm  hn  howto  hsu  ideas  identity  idk  IEEE  iidness  info-dynamics  information-theory  init  inner-product  insight  integral  interdisciplinary  intricacy  invariance  investing  ios  iron-age  jargon  knowledge  latent-variables  latex  learning  lecture-notes  lectures  lens  lesswrong  let-me-see  levers  linear-algebra  linearity  liner-notes  list  live-coding  longevity  machine-learning  magnitude  manifolds  marginal  marginal-rev  math  math.CA  math.CO  math.CV  math.FA  mathtariat  measure  measurement  mechanics  mediterranean  mental-math  meta:prediction  metabuch  methodology  metrics  mit  ML-MAP-E  mobile  models  moments  monotonicity  monte-carlo  multi  multiplicative  navigation  neurons  news  nibble  nitty-gritty  norms  notation  objektbuch  oceans  ocr  ocw  old-anglo  oly  operational  opioids  optimization  orders  ORFE  org:biz  org:bleg  org:edu  org:junk  org:lite  org:mat  organization  oscillation  outliers  overflow  p:null  p:whenever  paradox  parsimony  pdf  personal-finance  philosophy  phys-energy  physics  plots  poast  population-genetics  positivity  pre-ww2  preimage  preprint  priors-posteriors  pro-rata  probabilistic-method  probability  problem-solving  proofs  properties  psychometrics  puzzles  q-n-a  qra  quantitative-qualitative  questions  quiz  ranking  rant  rat-pack  rationality  ratty  realness  reference  reflection  relativity  religion  retention  rhythm  rigidity  risk  ryan-odonnell  s:**  s:null  scale  scaling-up  science  scitariat  SDP  search  selection  series  SIGGRAPH  signum  simulation  skeleton  skunkworks  slides  social  software  space  spatial  speculation  spock  spreading  stanford  startups  stat-mech  stats  stirling  stories  street-fighting  structure  study  submodular  symmetry  tails  tcs  tcstariat  technology  temperature  the-classics  the-great-west-whale  the-trenches  the-world-is-just-atoms  thermo  thinking  threat-modeling  tidbits  tightness  time  todo  tools  top-n  tricki  tricks  trivia  tutorial  tutoring  twitter  ui  unit  usa  video  visual-understanding  visualization  war  waves  west-hunter  wiki  wild-ideas  worrydream  xenobio  yoga  👳  🔬 

Copy this bookmark: