📚 Optimization: The Ranch Fence Problem | 优化:牧场栅栏问题
Optimization problems form a cornerstone of calculus in the IB Mathematics curriculum, bridging abstract derivatives with real-world decision making. Among the most accessible yet powerful examples is the classic ranch fence problem, where a farmer aims to maximise the enclosed area of a rectangular field using a fixed length of fencing, often with one side bounded by a natural feature such as a river. This scenario elegantly demonstrates how modelling, differentiation and critical point analysis can yield an optimal solution. In this article, we will unpack the ranch fence problem step by step, explore variations, and highlight common pitfalls, giving you a solid grasp of applied optimisation that will prove invaluable in both internal assessments and final examinations.
优化问题是 IB 数学课程中微积分部分的基石,它将抽象的导数与现实决策联系起来。其中最易懂也最有说服力的例子之一便是经典的牧场栅栏问题:一位农场主希望用固定长度的栅栏,围出一个面积最大的矩形牧场,并且往往有一条边以河流等天然屏障为界。这个情景清晰地展示了建模、求导与临界点分析如何找到一个最优解。本文将逐步拆解牧场栅栏问题、探索变体并指出常见误区,帮助你扎实掌握应用优化知识,这对内部评估和终考都至关重要。
1. Problem Statement | 问题描述
A rancher owns 200 metres of fencing and wants to enclose a rectangular pasture along a straight river. No fencing is needed along the riverbank. What dimensions should the rectangle have so that the pasture covers the largest possible area? The situation is typical of IB exam questions: we have a constraint (total available fencing) and an objective (maximise area). The river acts as one of the boundary edges, simplifying the quantity of fencing required.
一位牧场主有 200 米长的栅栏,希望沿着一条笔直的河流围出一个矩形牧场。河岸边无需栅栏。矩形的长和宽应取何值,才能使牧场的面积达到最大?这是 IB 考试中常见的题型:我们拥有一个约束条件(栅栏总长度)和一个目标(面积最大化)。河流充当了一道天然边界,因而减少了栅栏的实际使用量。
2. Mathematical Modelling | 数学建模
Let the width of the rectangle perpendicular to the river be x metres, and the length parallel to the river be y metres. Because the river covers one long side, the fencing is used for the two widths and one length: 2x + y = 200. The area A of the pasture is length times width: A = x y. Using the constraint, we express y in terms of x: y = 200 − 2x. Substituting yields the area function of a single variable:
A(x) = x(200 − 2x) = 200x − 2x²
The domain for x comes from physical reality: width must be positive, and the length y must also be positive, so 200 − 2x > 0, giving 0 < x < 100.
设垂直于河流的矩形宽度为 x 米,与河流平行的长度为 y 米。河流充当了一条长边,因此栅栏只用于两条宽度和一条长度:2x + y = 200。牧场面积 A 等于长乘宽:A = x y。利用约束条件将 y 用 x 表示:y = 200 − 2x。代入后得到只含一个变量的面积函数:
A(x) = x(200 − 2x) = 200x − 2x²
x 的定义域由实际情况决定:宽度必须为正值,长度 y 也必须为正,即 200 − 2x > 0,因此 0 < x < 100。
3. Finding the Derivative | 求导数
To locate the maximum, we differentiate the area function with respect to x:
A′(x) = 200 − 4x
Setting the first derivative equal to zero gives the stationary point(s). This step translates the optimisation problem into solving a simple linear equation.
为求最大值,我们对面积函数关于 x 求导:
A′(x) = 200 − 4x
令一阶导数等于零即可求得驻点。这一步将优化问题转化为求解一个简单的线性方程。
4. Critical Point Analysis | 临界点分析
Solve A′(x) = 0:
200 − 4x = 0 ⇒ x = 50
provides a swift verification: A″(x) = −4. Since the second derivative is negative for all x, the function is concave down, and the stationary point at x = 50 is a global maximum on the open interval (0, 100).
解 A′(x) = 0:
200 − 4x = 0 ⇒ x = 50
我们还需要确认该临界值确实对应于最大值。二阶导数检验能迅速给出验证:A″(x) = −4。由于二阶导数恒为负值,函数始终向下凹,因而在开区间 (0, 100) 内,x = 50 处是全局最大值。
5. Computing the Optimal Dimensions and Maximum Area | 计算最优尺寸与最大面积
Substituting x = 50 back into the constraint yields the corresponding length:
y = 200 − 2(50) = 100
Thus, the optimal dimensions are width = 50 m and length = 100 m. The maximum area is:
Aₘₐₓ = 50 × 100 = 5000 m²
This clean result illustrates a general principle: when fencing a rectangular area against a straight boundary, the length parallel to the boundary should be twice the width for maximum area.
将 x = 50 代入约束条件,便得到对应的长度:
y = 200 − 2(50) = 100
因此,最优尺寸为宽 50 m、长 100 m。最大面积为:
Aₘₐₓ = 50 × 100 = 5000 m²
这一简洁的结果揭示了一条普遍规律:当沿着一条笔直边界围矩形场地时,要使面积最大,平行于边界的长度应为宽度的两倍。
6. Graphical Interpretation | 图形解释
veals a downward-opening parabola with its vertex at x = 50. The parabola intercepts the x‑ vides a visual check that the optimum lies within the feasible domain, not at an endpoint.
绘制 A(x) = 200x − 2x² 的图像,可以得到一条开口向下的抛物线,其顶点位于 x = 50 处。抛物线与 x 轴相交于 x = 0 和 x = 100,对应面积为零的退化情形。顶点处的最大值不但验证了代数推导的结果,还从图形上说明最优解落在可行域内部,而非端点。
7. Variation: No River – Full Enclosure | 变体:没有河流——完全围封
What if the rancher must fence all four sides because no river is available? With total fencing P = 200 m, the constraint becomes 2x + 2y = 200, or x + y = 100. Area is A = x(100 − x are of side 50 m and maximum area 2500 m². Comparing the two scenarios highlights how the free boundary afforded by the river effectively doubles the achievable maximum area for the same amount of fencing.
倘若没有河流,牧场主必须围起四条边,情况会怎样?栅栏总长 P = 200 m,约束变为 2x + 2y = 200,即 x + y = 100。面积函数为 A = x(100 − x) = 100x − x²。导数 A′(x) = 100 − 2x 给出 x = 50,y = 50,得到一个边长为 50 m 的正方形,最大面积 2500 m²。对比这两种情形便可发现,河流提供的天然边界使同等栅栏长度下可达到的最大面积直接翻倍。
8. Further Extensions and Real-World Context | 进一步拓展与实际应用
The ranch problem can be extended in many directions: what if a second river forms another boundary, or the rectangle is replaced by a semicircle? In IB explorations, students might also incorporate cost considerations—different fencing materials for river and non‑river sides—or terrain restrictions. Beyond the classroom, optimisation principles derived from such problems underpin everything from logistics and engineering design to environmental management, where efficient use of limited resources is paramount.
牧场问题可以朝多个方向拓展:如果再有第二条河流形成另一个边界,或者把矩形换成半圆,又该如何?在 IB 探索性学习中,学生还可以引入成本因素——沿河与不沿河栅栏采用不同材料——或地形限制。走出课堂,这类问题所蕴含的优化原理成为物流、工程设计和环境管理等领域的基石,高效利用有限资源是一切的核心。
9. Common Mistakes and Exam Tips | 常见错误与考试技巧
Typical errors include forgetting to define the domain, misinterpreting the constraint equation, and failing to verify that the critical point is indeed a maximum. Always state the domain explicitly and perform a sign test or second derivative test. In examination conditions, clearly label variables, write a single‑variable objective function, and justify the nature of the stationary point. Presenting work in a logical sequence—define variables, state constraint, form area function, differentiate, find critical point, check maximum, compute result—will earn full method marks and demonstrate clear mathematical communication.
常见的错误包括忘记明确定义域、错误理解约束方程,以及没有验证临界点确实为最大值。务必显式写出定义域,并进行符号检验或二阶导数检验。在考试中,清晰标记变量、写出含单一变量的目标函数,并对驻点性质给出充足理由。按逻辑顺序作答——定义变量、陈述约束、建立面积函数、求导、找临界点、检验最大值、算出结果——这样不仅能确保获得完整的方法分,还能展现出清晰的数学沟通能力。
10. Summary | 小结
The ranch fence problem exemplifies how calculus turns a practical constraint into a precise optimum. By modelling the scenario, differentiating the area function and applying critical point analysis, we found that a width of 50 m and length of 100 m deliver a maximum enclosed area of 5000 m² when fencing one side is omitted. Variations and extensions reinforce the importance of domain awareness and the verification of maxima. Mastering this classic problem builds confidence for tackling a wide variety of optimisation questions in IB Mathematics.
牧场栅栏问题是微积分将实际约束转化为精确最优解的绝佳范例。通过情境建模、对面积函数求导并运用临界点分析,我们得出当省去一边栅栏时,宽 50 m、长 100 m 能带来 5000 m² 的最大面积。多种变体与拓展强化了定义域意识和最大值验证的重要性。熟练掌握这一经典问题,能为你解决 IB 数学中各类优化题目注入信心。
Published by TutorHao | Mathematics Revision Series | aleveler.com
更多咨询请联系16621398022(同微信)

或截图后用「扫一扫 → 相册」选择本图