Exercise · ZW-LINE-SEARCH-007 · ★★☆ Intermediate

With \(f(x)=x^2\), \(x_k=1\), \(p_k=-2\) and \(\alpha=\tfrac12\), what is \(x_{k+1}\)?

Choose one option.

Show answer
  • D. \(0\)

Explanation

Compute \(x_{k+1}=x_k+\alpha p_k=1+\tfrac12(-2)=0\). Forgetting the factor \(\alpha\) leads to \(-1\), and flipping the sign of \(p_k\) leads to \(2\).

Study Continuous optimization in ZWMath →

Review the concept: Line search

Line search is a procedure that chooses the step size \(\alpha\) along a descent direction \(p_k\) to reduce the value of the objective function.

\[f(x_k+\alpha p_k)\le f(x_k)+c_1\alpha\nabla f(x_k)^\top p_k\]

More practice problems: line search

← ZW-LINE-SEARCH-006 ZW-LINE-SEARCH-008 →