Math 132A Assignment 4
Due: Thursday, February 8th at Midnight on Gradescope.
Don’t forget you will not have a computer on the midterm so it ’s important you know how to do these by hand and calculator.
1. Recall from class that we discussed the general quadratic function f : Rn → Rn defined by
for an n × n symmetric matrix Q and b ∈ Rn.
(a) Prove that ∇f (x) = Qx − b and ∇2 f (x) = Q.
(b) Starting from x(0) = (1, 1.5)T, determine the the first three iterates in the method of steepest descent applied to such an f with
2. Apply three iterations of the method of steepest descent to the function
starting at x(0) = (0, −2).
3. The function
is known as Rosenbrock ’s function or the banana function. This function is considered “nasty” and is often used to test algorithms.
(a) Prove that (1, 1) is the unique global minimizer of f.
(b) With a starting point of (0, 0)T, apply two iterations of Newton’s method.
(c) Repeat part (b) with the method of steepest descent but with fixed step size α = 0.05.
版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。