题目
Problem
5. f ( x ) = x 4 − 12 x 3 2 + 7 x ≥ 0 f(x) = x^4 - 12x^{\frac{3}{2}} + 7 \quad x \geq 0 f ( x ) = x 4 − 12 x 2 3 + 7 x ≥ 0
(a) Show that the equation f ( x ) = 0 f(x) = 0 f ( x ) = 0 has a root, α \alpha α , in the interval [ 2 , 3 ] [2, 3] [ 2 , 3 ] .
(2)
(b) Taking 2.5 2.5 2.5 as a first approximation to α \alpha α , apply the Newton-Raphson procedure once to f ( x ) f(x) f ( x ) to find a second approximation to α \alpha α , giving your answer to 2 decimal places.
(4)
(c) Show that your answer to (b) gives α \alpha α correct to 2 decimal places.
(2)
题目中文翻译
f ( x ) = x 4 − 12 x 3 2 + 7 x ≥ 0 f(x) = x^4 - 12x^{\frac{3}{2}} + 7 \quad x \geq 0 f ( x ) = x 4 − 12 x 2 3 + 7 x ≥ 0
(a) 证明方程 f ( x ) = 0 f(x) = 0 f ( x ) = 0 在区间 [ 2 , 3 ] [2, 3] [ 2 , 3 ] 内有一个根 α \alpha α 。
(b) 取 2.5 2.5 2.5 作为 α \alpha α 的第一个近似值,对 f ( x ) f(x) f ( x ) 应用一次 Newton-Raphson 法,求 α \alpha α 的第二个近似值,答案保留 2 位小数。
(c) 证明 (b) 的答案给出 α \alpha α 精确到 2 位小数。
解答
(a)
解法一
思路
展开
分别计算区间两端的函数值。由于函数在 [ 2 , 3 ] [2,3] [ 2 , 3 ] 上连续,而两端函数值异号,可由介值定理确定区间内至少有一个根。
答题过程
展开
f ( 2 ) = 2 4 − 12 ( 2 ) 3 2 + 7 = 23 − 24 2 ≈ − 10.941 , \begin{align*}
f(2)
=&\,2^4-12(2)^{\frac{3}{2}}+7 \\
=&\,23-24\sqrt{2} \\
\approx&\,-10.941,
\end{align*} f ( 2 ) = = ≈ 2 4 − 12 ( 2 ) 2 3 + 7 23 − 24 2 − 10.941 ,
and
f ( 3 ) = 3 4 − 12 ( 3 ) 3 2 + 7 = 88 − 36 3 ≈ 25.646. \begin{align*}
f(3)
=&\,3^4-12(3)^{\frac{3}{2}}+7 \\
=&\,88-36\sqrt{3} \\
\approx&\,25.646.
\end{align*} f ( 3 ) = = ≈ 3 4 − 12 ( 3 ) 2 3 + 7 88 − 36 3 25.646.
Thus f ( 2 ) < 0 < f ( 3 ) f(2)<0<f(3) f ( 2 ) < 0 < f ( 3 ) . Since f f f is continuous on [ 2 , 3 ] [2,3] [ 2 , 3 ] , there is a root
α ∈ ( 2 , 3 ) . \boxed{\alpha\in(2,3)}. α ∈ ( 2 , 3 ) .
(b)
解法一
思路
展开
先求导,再把初值 x 0 = 2.5 x_0=2.5 x 0 = 2.5 代入 Newton–Raphson 公式
x n + 1 = x n − f ( x n ) f ′ ( x n ) x_{n+1}=x_n-\dfrac{f(x_n)}{f'(x_n)} x n + 1 = x n − f ′ ( x n ) f ( x n ) ,只迭代一次。
答题过程
展开
Differentiating,
f ′ ( x ) = 4 x 3 − 18 x 1 2 . f'(x)=4x^3-18x^{\frac{1}{2}}. f ′ ( x ) = 4 x 3 − 18 x 2 1 .
Using x 0 = 2.5 x_0=2.5 x 0 = 2.5 , the Newton–Raphson formula gives
f ( 2.5 ) = ( 2.5 ) 4 − 12 ( 2.5 ) 3 2 + 7 = − 1.371664 … , \begin{align*}
f(2.5)
=&\,(2.5)^4-12(2.5)^{\frac{3}{2}}+7 \\
=&\,-1.371664\ldots,
\end{align*} f ( 2.5 ) = = ( 2.5 ) 4 − 12 ( 2.5 ) 2 3 + 7 − 1.371664 … ,
and
f ′ ( 2.5 ) = 4 ( 2.5 ) 3 − 18 ( 2.5 ) 1 2 = 34.039501 … . \begin{align*}
f'(2.5)
=&\,4(2.5)^3-18(2.5)^{\frac{1}{2}} \\
=&\,34.039501\ldots.
\end{align*} f ′ ( 2.5 ) = = 4 ( 2.5 ) 3 − 18 ( 2.5 ) 2 1 34.039501 … .
Therefore,
x 1 = x 0 − f ( x 0 ) f ′ ( x 0 ) = 2.5 − − 1.371664 … 34.039501 … = 2.540296 … \begin{align*}
x_1
=&\,x_0-\frac{f(x_0)}{f'(x_0)} \\
=&\,2.5-\frac{-1.371664\ldots}{34.039501\ldots} \\
=&\,2.540296\ldots
\end{align*} x 1 = = = x 0 − f ′ ( x 0 ) f ( x 0 ) 2.5 − 34.039501 … − 1.371664 … 2.540296 …
Therefore, to two decimal places,
α ≈ 2.54 . \boxed{\alpha\approx2.54}. α ≈ 2.54 .
(c)
解法一
思路
展开
一个数四舍五入到两位小数为 2.54 2.54 2.54 ,应落在 2.535 2.535 2.535 与 2.545 2.545 2.545 之间。检查这两个舍入边界处的函数值异号,即可确认根位于该区间内。
答题过程
展开
f ( 2.535 ) = − 0.137392 … < 0 f(2.535)=-0.137392\ldots<0 f ( 2.535 ) = − 0.137392 … < 0
and
f ( 2.545 ) = 0.231219 … > 0. f(2.545)=0.231219\ldots>0. f ( 2.545 ) = 0.231219 … > 0.
Since f f f is continuous and changes sign between 2.535 2.535 2.535 and 2.545 2.545 2.545 ,
2.535 < α < 2.545. 2.535<\alpha<2.545. 2.535 < α < 2.545.
Every number in this interval rounds to 2.54 2.54 2.54 to two decimal places. Hence
α = 2.54 correct to two decimal places . \boxed{\alpha=2.54\text{ correct to two decimal places}.} α = 2.54 correct to two decimal places .
解法二
思路
展开
官方评分资料也接受再做一次 Newton–Raphson 迭代。若下一次近似仍为 2.538 … 2.538\ldots 2.538 … ,其两位小数仍是 2.54 2.54 2.54 ,便验证了 (b) 的答案。
答题过程
展开
Applying Newton–Raphson once more, starting from x 1 = 2.54 x_1=2.54 x 1 = 2.54 ,
x 2 = 2.54 − f ( 2.54 ) f ′ ( 2.54 ) = 2.54 − 0.046016 … 36.860976 … = 2.538751 … \begin{align*}
x_2
=&\,2.54-\frac{f(2.54)}{f'(2.54)} \\
=&\,2.54-\frac{0.046016\ldots}{36.860976\ldots} \\
=&\,2.538751\ldots
\end{align*} x 2 = = = 2.54 − f ′ ( 2.54 ) f ( 2.54 ) 2.54 − 36.860976 … 0.046016 … 2.538751 …
This also rounds to 2.54 2.54 2.54 to two decimal places. Therefore,
α = 2.54 correct to two decimal places . \boxed{\alpha=2.54\text{ correct to two decimal places}.} α = 2.54 correct to two decimal places .