费米估算(Fermi Estimate)

What is Fermi Estimate?

In physics or engineering education, a Fermi problem, Fermi quiz, Fermi question, Fermi estimate, order-of-magnitude problem, order-of-magnitude estimate, or order estimation is an estimation problem designed to teach dimensional analysis or approximation of extreme scientific calculations, and such a problem is usually a back-of-the-envelope calculation. - Wikipedia

A Fermi estimate is one done using back-of-the-envelope calculations and rough generalizations to estimate values which would require extensive analysis or experimentation to determine exactly.

back-of-the-envelope calcualtions is a rough calculation, typically jotted down on any scrap of paper such as envelope. It is more than a guess and less than an accurate calculation or mathematical proof. The defining characteristic of back-of-the-envelope is the use of simplified assumptions. -- Wikipedia

Physics is celebrated for its ability to make extremely accurate predictions about tough problems, but accuracy comes with the cost of difficulty in calculations. If the math is too complex to perform, it is usually a good idea to relax demands and accept an approach that is imprecise but can help to forward.

The History of Fermi Estimate

fermi

Fermi is celebrated for his fast and excellent calculations with little or no concrete data. In one well-known example, when the first atomic bomb was detonated during Manhattan Project, Fermi dropped a few scraps of paper as the shock wave from the detonation passed. After some coarse calculation, Fermi estimated the power of the blast from the motion of the scapes as they fell. Fermi's guesstimate of 10 kilotons of TNT was remarkably close to the now-established value of 20 kilotons, even though the estimate was 50% off the actual number.

Fermi believed that the ability to make fast and less accurate calculations was an essential skill for physicists. A good way to solve physics problems - and complex in any line of work - is by coming up with simple shortcuts to make approximate, but meaningful calculations.

What do fermi problems look like in job interviews?

What is the size of market for razors in China? How many trash cans are there in Beijing? How many piano tuners are there in the world? Such non-standard problems are called "Fermi problems", which are very bewildering to many people, at least if we want to guess the answer in one step.

One distinctive feature of the fermi problem is that precision is impossible to achieve quickly, but it's easier to arrive at a fast estimate of the range for the right answer. Before investing a big effort to measure something with precision, problem-solvers can estimate answers approximately - and only then determine if it's essential to do the extra steps to arrive at the accurate answer.

When to use Fermi Estimate?

In real life, especially the business world, many problems are too complicated to give an accurate answer immediately. In analyzing such problems, precision is impossible to achieve quickly, but we can quickly estimate the range of correct answers. Hence before putting much effort into calculating anything with precision, make a rough estimate of the answer, then decide whether it's worth investigating further.

How to solve fermi problem?

  • Based on our common sense, divide the big problem into a number of sub-problems using demographic or geographic features.
  • Make simplified assumptions.
  • Address the divided small problems one by one.

下面以一道案例讲解费米估算:
中国人一年消费多少猪肉?
Most of people are really bad with huge numbers, and thus we need to first decompose the target metric into small components. When decomposing a huge metric, we have two approaches: decompose it by formula or b y some common features, such as gender, age, education, country, etc.

在这,很明显,我们可以先根据计算公式拆解中国一年猪肉的总消费量, 如下:
中国猪肉年总消费量 = 中国平均每人每天猪肉消耗量 \times 一年的天数 (365) \times 中国总人口

中国平均每人猪肉消耗量又可以根据中国人每日的食肉摄入类别进行拆解,因为中国人的蛋白质来源不仅限于猪肉,还有其他的蛋白质类别。
中国平均每人每天猪肉消耗量 = 猪肉消耗占比 \times 中国平均每天肉消耗量

目前,未知的两个参数为percentage of consumption of pork per person per daytotal consumption of meat per person per day. 迅速获得一个精确的数值肯定不可能,所以我们需要根据经验来估计这两个参数。

首先,一个标准的牛排重量为120g-150g,所以午餐和晚餐都摄入一个牛排重量的肉类的情况下,每人每天消耗的肉量大约为240g。当然,我们无法确定是否也有早餐含有肉类的情况,但是根据生活经验,中国人的早餐大部分由鸡蛋和面粉类食物构成。To move forward, 我们这里做一个简单的假设:中国人基本上在中午和晚上会摄入肉类食品。

其次,我们可以将中国每天的肉类摄入量进行拆解,从而大致估计猪肉的消耗占比。如下图

flowchart TD
    id1(中国人的肉类摄入量构成)-->id2(猪肉摄入量)
    id1(中国人的肉类摄入量构成)-->id3(牛羊肉摄入量)
    id1(中国人的肉类摄入量构成)-->id4(鸡鸭肉摄入量)
    id1(中国人的肉类摄入量构成)-->id5(水产)
    id1(中国人的肉类摄入量构成)-->id6(海鲜)
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id3 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id4 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id5 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id6 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
decomposition of meat consumption

这里为们可以make a wild guess about the percentage of pork consumption. 鉴于中国人的主要摄入肉类为猪肉,我们不妨猜测猪肉的消耗占总肉类消耗的50%。因此,可以得出中国平均每人每天的猪肉消耗量大约为:

\text{consumption of pork per person perday} = 240g \times 50\% = 120g

Using the estimate, we can give an approximate answer of the yearly consumption of pork in China:

120g \times 365 \times 1.4\text{billion} = 61320~\text{billion grams}\\ \because \text{1 ton} = \text{907 kilograms} = 1000\times1000\text{ grams} = 1000000\text{ grams} \\ \therefore 61320 \div 1000000 \times 10^{10}=61.32\text{ million tons}

所以,最后估计给出的数值是6132万吨猪肉。网上搜索,新闻里给出的数值为5600多万吨猪肉。我们估计出的数值虽然相差好几百万吨,但是其实已经是一个比较准确的数值。

对于此题,我们还可以从多个不同角度出发,将中国人的猪肉的消耗占比进行进一步的拆解,例如地区和年龄。上述的计算暗含的假设是猪肉的消耗在全中国各地和不同的年龄阶层都一致。所以我们可以练习,如何从这两个角度出发,将指标进行进一步的拆解。

地区

如果从省份的角度划分的话,计算会变得复杂要估计的数字也很多,因为中国总共有34个省级行政区。因此,不妨直接把中国划分成沿海地区,西北地区,和其他,这里的其他就是指非西北和沿海地区。这么划分的理由是,西北地区以牛羊肉为主要蛋白质来源,而沿海地区依靠海鲜。

flowchart TD
    id1(中国人的猪肉摄入量)-->id2(沿海地区猪肉消耗量)
    id1(中国人的猪肉摄入量)-->id3(西北地区的猪肉消耗量)
    id1(中国人的猪肉摄入量)-->id4(其他地区的猪肉消耗量)
    style id1 fill:#f9f,stroke:#333,stroke-width:4px
    style id2 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id3 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    style id4 fill:#bbf,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
pork consumption by regions

沿海地区主要依赖海鲜为生,我们可以猜测猪肉的消耗量占比为20%;同理,西北地区主要食用牛羊,依然可以猜测猪肉的消耗占到20%。而其他地区,以猪肉消耗同时消耗淡水产品,所以我猜测60%。此时,中国的猪肉年消耗量为:

中国年猪肉消耗量 = 西北地区年猪肉消耗量 + 沿海地区猪肉消耗量 + 其他地区猪肉消耗量 \\ 西北地区年猪肉消耗量 = 西北地区每人每天猪肉消耗量 \times 365天 \times 西北地区总人口\\ 沿海地区年猪肉消耗量 = 沿海地区每人每天猪肉消耗量 \times 365天 \times 沿海地区总人口\\ 其他地区年猪肉消耗量 = 其他地区每人每天猪肉消耗量 \times 365天 \times 其他地区总人口\\

很容易发现,未知的参数为西北地区人口,沿海地区人口,和其他地区人口。鉴于西北地区地广人稀,我们肯定猜测较小的数值,而沿海地区和非沿海地区是中国的人口密集区,所以我会猜词一个很大的数值。西北地区大约有1亿人,沿海省份主要包括了:广西,广东,澳门,香港,福建,浙江,江苏,山东和辽宁。鉴于省份不是所有省市靠海,这里我保守猜测沿海地区的人有3亿,所以其余地区为10亿人口。所以,最终结果为:
西北地区年猪肉消耗量 = 西北地区每人每天猪肉消耗量 \times 365天 \times 西北地区总人口 = \\20\% \times 240g \times 1亿 \times 365 \div 1000000= 175.2万吨\\ 沿海地区年猪肉消耗量 = 沿海地区每人每天猪肉消耗量 \times 365天 \times 沿海地区总人口 = \\20\% \times240g \times 3亿 \times 365 \div 1000000= 525.6万吨\\ 其他地区年猪肉消耗量 = 其他地区每人每天猪肉消耗量 \times 365天 \times 其他地区总人口 = \\60\% \times 240g \times 10亿 \times 365 \div 1000000=5256万吨\\ 中国年猪肉消耗量= 175.2 + 525.6+5256 = 5956.8万吨

年龄的拆解思路与地区大致一致。

Reference:

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 214,658评论 6 496
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 91,482评论 3 389
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 160,213评论 0 350
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 57,395评论 1 288
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,487评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,523评论 1 293
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,525评论 3 414
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,300评论 0 270
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,753评论 1 307
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,048评论 2 330
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,223评论 1 343
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,905评论 5 338
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,541评论 3 322
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,168评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,417评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,094评论 2 365
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,088评论 2 352