Modeling with Logarithmic Functions
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| logarithmic model/ˌlɒɡəˈrɪθmɪk ˈmɒdl/ | 对数模型 | duì shù mó xíng |
| zero/ˈzɪərəʊ/ | 零点 | líng diǎn |
| coefficients/ˌkəʊɪˈfɪʃənts/ | 系数 | xì shù |
| parameters/pəˈræmɪtəz/ | 参数 | cān shù |
| domain/dəˈmeɪn/ | 定义域 | dìng yì yù |
| interpolation/ɪnˌtɜːpəˈleɪʃn/ | 内插 | nèi chā |
| extrapolation/ekˈstræpəleɪʃn/ | 外推 | wài tuī |
| log argument | 真数 | zhēn shù |
| regression/rɪˈɡreʃn/ | 回归 | huí guī |
| natural log/ˈnætʃərəl lɒɡ/ | 自然对数 | zì rán duì shù |
| residuals/rɪˈsɪdʒuːəlz/ | 残差 | cán chā |
根据数量恢复经过时间
- 假设数量每小时翻倍,起始量为 100。数量 $100,200,400,800$ 对应经过时间 $0,1,2,3$ 小时:将输入数量乘以 2 会使输出时间增加 1。
- 对数模型 表达了这一逆向问题。数量随时间呈指数增长,而时间是数量的对数函数。哪个变量作为输入至关重要。
从零点和比例构建模型
- 时间模型在数量 $N=100$ 处有一个零点,此时经过时间为 0。每次翻倍会使时间增加一小时,模型为 $T(N)=\log_2(N/100)$。由此得到 $T(800)=3$。
- 其数学输入条件为 $N>0$,但在从时间零点开始的情境中,使用 $N\ge100$。预测非整数时间还假设指数规则描述了两次观测之间的连续增长。
When is an increasing, nonconstant logarithmic model a reasonable candidate to check?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A logarithm turns multiplicative input changes into additive output changes. Check the variables, residuals and context; a concave-down appearance alone is insufficient.
An amount starts at 100 and doubles each hour. Which model returns elapsed hours from amount N?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The model must return 0 at N=100 and add 1 each time N doubles. The ratio N/100 normalises the start.
根据两次观测确定模型
- 固定底数为 10,使用未平移形式 $y=a\log_{10}x+c$。点 $(1,1)$ 和 $(10,3)$ 分别给出 $c=1$ 和 $a+1=3$,因此模型为 $y=2\log_{10}x+1$。
- 对于固定底数 $b>0$、$b\ne1$,两个不同的正输入可以确定这一未平移形式的系数。将观测方程相减,再求出常数。未知的输入平移会增加一个参数,需要更多信息。
支持 $y=a\log_{10}x+c$ through (1,1) and (10,3), what is a?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The first point gives c=1; the second gives a+1=3, so a=2.
结合底数和单位解释参数
- 参数 具有精确含义:在 $y=a\log_b x+c$ 中,$x=1$ 处的值为 $c$,将正输入乘以 $b$ 会使输出变化 $a$。对于 $2\log_{10}x+1$,输入每增加十倍,输出增加 2。
- 常数并非零处的输出:对数在此处无定义。底数大于 1 时,负 $a$ 会导致值递减。拟合出的零系数表明应使用常数模型而非非常数对数模型。仅在给定底数和输入单位下解释系数。
The parameters of a fitted model can be interpreted in terms of the real situation.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Interpret coefficients with their base and units. In y=a log_b(x)+c, c is the model output at x=1; multiplying the positive input by b changes the output by a.
支持 $y=2\log_{10}x+1$, what is the model output at x=1?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
log₁₀1=0, so the constant 1 is the output at one input unit, not at zero.
支持 $y=2\log_{10}x+1$, what does the coefficient 2 mean?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A base-10 logarithm increases by 1 when its input is multiplied by 10. The coefficient scales that change to 2.
Evaluate $y=-2\log_{10}x+5$ at x=100.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The logarithm is 2, so y=−4+5=1. A negative coefficient with base greater than 1 gives a decreasing model.
分离定义域与观测输入范围
- 未平移对数表达式的定义域为 $x>0$。若仅观测到输入 1 和 10,则在 $x=5$ 处的预测为内插,而在 $x=100$ 处的预测为外推。
- 公式 $2\log_{10}x+1$ 在 5 处预测约 2.398。外推值可在数学上定义但不一定受观测支持。陈述预测时应注明数据范围、假设及任何物理限制。
A model is fitted only to inputs 1 and 10. A prediction at input 100 is…
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
100 lies outside the observed input range [1,10]. The formula can be defined there without the data validating it.
在拟合前说明平移的合理性
- 一个平移后的示例 $P(t)=10\ln(t+1)+5$ 在数学上对 $t>-1$ 有定义。在限制为 $t\ge0$ 的情境中,它从 $P(0)=5$ 开始;平移使时间零点可用,因为对数的真数为 1。
- 此处 $P(e-1)=15$。相同的倍数变化适用于调整后的输入 $t+1$,而非原始时间 $t$。平移应根据情境确定,或基于充分的数据估算;不要仅为了掩盖无效输入而加入平移。
What is the mathematical domain of $P(t)=10\ln(t+1)+5$?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The argument needs t+1>0. A particular context may impose the narrower restriction t≥0, but that is different from the mathematical domain.
用回归拟合离散观测点
- 对数回归 回归将 $y$ 与正输入 $x$ 的对数进行拟合。对于指定的底数和偏移量,最小二乘法会选择系数以最小化垂直误差的平方和。该模型不一定穿过所有观测点,但可以穿过部分或全部观测点。
- 对于示例观测值 $(1,1.2)$、$(10,2.6)$ 和 $(100,5.2)$,最小二乘法底数-10 拟合结果为 $\hat y=2\log_{10}x+1$。技术报告可能使用 自然对数 自然对数给出等价形式。注意区分将 $y$ 对 $\ln x$ 进行回归与取 $\ln y$ 的区别。

Technology can find a logarithmic ____ that best fits a data set.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
For the chosen base and fixed shift, logarithmic regression fits y against log(input). Least squares minimises squared vertical residuals within that family, without proving that the family is appropriate.
信任预测前检查残差
- 残差 残差为观测值减去拟合值。在示例数据的输入 10 处,模型预测值为 3,而观测值为 2.6,因此残差为 $-0.4$。该点位于拟合曲线下方。
- 三个残差分别为 $0.2,-0.4,0.2$,其平方和为 0.24。这仅代表在选定函数族内的拟合程度,并非证明模型恰当的证据。仅有三个观测值的证据有限:应检查模式、比较合理的函数族,并在数据充足时进一步验证。
Construct a model and inspect its predictions
Fit (1,1) and (10,3), then compare scattered, decreasing and constant observations. Distinguish interpolation from extrapolation.
An observation is 2.6 and the fitted value is 3. What is the residual?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Residual=observed −fitted=2.6−3=−0.4, so the observation is below the fitted curve.
使用含义相同的自然对数
- 自然对数给出的时间模型为 $T(N)=\dfrac{\ln(N/100)}{\ln2}$。在 $N=300$ 处,预测时间约为 1.585 小时。如果观测到的数量范围为 100 到 800,那么在连续增长的假设下,这属于内插。
- 改变对数的底数会按比例改变其系数,但拟合曲线保持不变。在 $y=a\ln x+c$ 中,将输入乘以 $e$ 会使输出增加 $a$。计算时保留完整系数,最后将预测值四舍五入并写明单位。
支持 $T(N)=\ln(N/100)/\ln 2$, estimate T(300) to three decimal places.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
ln 3/ln 2≈1.585 hours, assuming continuous doubling between observations.
根据输入输出模式选择函数族
- 对于递增的指数函数,输入每增加相同的量,输出就按相同的倍数变化。对于它的对数反函数,输入按相同的倍数变化时,输出增加相同的量。因此,同一个翻倍过程既可以写成以时间为输入、数量为输出的指数模型,也可以写成以数量为输入、时间为输出的对数模型。
- 仅凭形状是不够的。递减的指数函数也会先快速变化,随后趋于平缓,但它趋向于一条水平渐近线。有上限的增长过程在有限的范围内可能呈现向下凹的形状。选择函数族前,应检查变量、比率、残差和情境。
For a growing exponential and its logarithmic inverse, which input-output contrast is correct?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Reversing input and output swaps the roles of additive and multiplicative change. An exponential is not always increasing, and shape alone does not choose a model.
考虑结果的上限
- 在一个分数示例中,$S(h)=20\log_{10}h+40$ 符合学习 1 小时得 40 分、学习 10 小时得 60 分的情况。该系数表示学习时间增加十倍时,分数增加 20 分;40 是学习一小时时的模型输出,而不是零小时时的输出。
- 分数上限为 100,但公式预测学习 10,000 小时可得 120 分。它可能只是局部近似,无法在整个范围内描述有上限的情况。即使学习 100 小时时的预测分数仍低于 100,这一预测也超出了两次观测的范围,属于外推。
根据输入输出模式、零点与比率、观测值或回归构建模型。注明底数、单位、输入限制及观测范围。应根据残差和情境检验拟合是否有用,尤其是在外推之前。
Select all true statements about fitting and using a nonconstant logarithmic model.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The unrestricted nonconstant formula is unbounded. A fit may still be useful locally for a bounded outcome, but extrapolation must respect physical limits and evidence.
The score model $S(h)=20\log_{10}h+40$ must be valid for every h>0 because its mathematical formula is defined there.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A real score is capped at 100, but this formula predicts 120 at h=10000. Mathematical definition does not establish validity outside the observed range or physical limits.
解释预测及其局限性
- 对于 $y=2\log_{10}x+1$,计算 $y$ 在 $x=100$ 处的值,并解释计算过程。
- 如果模型仅使用了 $(1,1)$ 和 $(10,3)$,请判断该预测的类型,并解释两个系数的含义。区分数学上的有效性和表明预测可靠的证据。
支持 $y=2\log_{10}x+1$, find y at x=100. If the model used only (1,1) and (10,3), classify the prediction and interpret both coefficients.
4 plus 1 is 5.
支持 $y=2\log_{10}x+1$, what is y at x=100?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
2 times 2 plus 1 is 5. Other options — 2 (the logarithm alone); 100 (the input).
出了什么问题?只有网站团队能看到这些信息。