题目
Problem
- f(x)=5+4x2−34x3−2x7x>0
(a) Find f′(x).
(2)
A root α of the equation f(x)=0 lies in the interval [0.5,0.6].
(b) Using 0.5 as a first approximation to α, apply the Newton-Raphson process once to f(x) to find a second approximation to α. Give your answer to 3 decimal places.
(3)
(c) Show that the equation f(x)=0 has a root β in the interval [3,3.5].
(2)
(d) Use linear interpolation once on the interval [3,3.5] to find an approximation to β. Give your answer to 2 decimal places.
(3)
题目中文翻译
- f(x)=5+4x2−34x3−2x7x>0
(a) 求 f′(x)。
方程 f(x)=0 的一个根 α 在区间 [0.5,0.6] 内。
(b) 取 0.5 作为 α 的第一个近似值,对 f(x) 应用一次 Newton-Raphson 法,求 α 的第二个近似值。答案保留 3 位小数。
(c) 证明方程 f(x)=0 在区间 [3,3.5] 内有一个根 β。
(d) 在区间 [3,3.5] 上使用一次线性插值,求 β 的近似值。答案保留 2 位小数。
解答
(a)
解法一
思路
展开
先把分式项写成幂的形式 −27x−1,再逐项求导。特别注意,x−1 求导后会产生负号,与原来的负号相消。
答题过程
展开
Write
f(x)=5+4x2−34x3−27x−1.
Differentiating term by term,
f′(x)=8x−4x2+27x−2.
(b)
解法一
思路
展开
使用 Newton-Raphson 迭代公式 xn+1=xn−f′(xn)f(xn),并严格只从 x1=0.5 迭代一次。
答题过程
展开
At x=0.5,
f(0.5)=−67
and
f′(0.5)=17.
Using one Newton-Raphson iteration,
x2===x1−f′(x1)f(x1)0.5−17−670.568627…
Therefore, the second approximation is
α=0.569
to 3 decimal places.
(c)
解法一
思路
展开
分别计算区间两端的函数值。由于 f 在 x>0 上连续,而两端函数值异号,可由介值定理判断区间内存在根。
答题过程
展开
f(3)=623>0
and
f(3.5)=−625<0.
Since f is continuous for x>0 and there is a change of sign between x=3 and x=3.5, the equation f(x)=0 has a root β in the interval
[3,3.5].
(d)
解法一
思路
展开
承接 (c),把端点到零点的水平距离按两端函数值的绝对值成比例分配。根离 x=3 的距离等于区间长度乘以 ∣f(3)∣ 在两个绝对函数值之和中的占比。
答题过程
展开
Using the values from part (c), linear interpolation gives
β===3+∣f(3)∣+∣f(3.5)∣∣f(3)∣(3.5−3)3+623+625623(0.5)3.239583…
Hence
β=3.24
to 2 decimal places.
解法二
思路
展开
官方也接受写出连接 (3,f(3)) 与 (3.5,f(3.5)) 的割线方程,再令割线上的 y=0。所得横坐标就是一次线性插值的结果。
答题过程
展开
The gradient of the line joining the two points is
m==3.5−3−625−623−16.
Hence the secant line through (3,623) is
y−623=−16(x−3).
At the interpolated root, y=0, so
−623=x==−16(x−3),3+96233.239583…
Therefore,
β=3.24
to 2 decimal places.