What happens if you apply the method of steepest descent to \(f(x)=x_{1}^{2}+x_{2}{ }^{2}\)? Text Transcription: f(x) = x_{1}^{2} + x_{2}{ }^{2}
Read moreTable of Contents
Textbook Solutions for Advanced Engineering Mathematics
Question
Steepest Descent.
(a) Write a program for the method.
(b) Apply your program to \(f(\mathbf{x})=x_{1}^{2}+4 x_{2}^{2}\), experimenting with respect to speed of convergence depending on the choice of \(\mathbf{x}_{0}\).
(c) Apply your program to \(f(\mathbf{x})=x_{1}{ }^{2}+x_{2}^{4}\) and to \(f(x)=x_{1}^{4}+x_{2}^{4}, x_{0}=\left[\begin{array}{ll}2 & 1\end{array}\right]^{\top}\). Graph level curves and your path of descent. (Try to include graphing directly in your program.)
Text Transcription:
f(x) = x_1^2 + 4x_2^2
f(x) = x_{1}{ }^{2} + x_2^4
f(x) = x_1^4 + x_2^4, x_0 = [2 1]^top
Solution
The first step in solving 22.1 problem number 9 trying to solve the problem we have to refer to the textbook question: Steepest Descent. (a) Write a program for the method.(b) Apply your program to \(f(\mathbf{x})=x_{1}^{2}+4 x_{2}^{2}\), experimenting with respect to speed of convergence depending on the choice of \(\mathbf{x}_{0}\).(c) Apply your program to \(f(\mathbf{x})=x_{1}{ }^{2}+x_{2}^{4}\) and to \(f(x)=x_{1}^{4}+x_{2}^{4}, x_{0}=\left[\begin{array}{ll}2 & 1\end{array}\right]^{\top}\). Graph level curves and your path of descent. (Try to include graphing directly in your program.)Text Transcription:f(x) = x_1^2 + 4x_2^2f(x) = x_{1}{ }^{2} + x_2^4 f(x) = x_1^4 + x_2^4, x_0 = [2 1]^top
From the textbook chapter Basic Concepts. Unconstrained Optimization you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution