Step size and convergence on a quadratic

An optimizer minimizes the dimensionless objective


f(x)=(x−3)2f(x)=(x-3)^2


using fixed-step gradient descent:


xk+1=xk−αf′(xk),f′(x)=2(x−3).x_{k+1}=x_k-\alpha f'(x_k),\qquad f'(x)=2(x-3).


The minimizer is x∗=3x^*=3. Define the error as ek=xk−3e_k=x_k-3. The error multiplier rr is the constant satisfying ek+1=reke_{k+1}=r e_k. Assume exact arithmetic, a nonzero initial error, and a fixed positive α\alpha throughout each run.


A parabola shows the objective f(x) equal to the square of x minus three.


Complete the table with each exact error multiplier and one behavior word from the following list. Use these categories as mutually exclusive descriptions:

  • monotone: errors keep their sign while their magnitudes approach zero.
  • exact: the first update reaches the minimizer and subsequent updates remain there.
  • alternating: errors change sign while their magnitudes approach zero.
  • cycle: errors alternate between two nonzero values of equal magnitude.
  • diverges: error magnitudes grow without bound.

Enter multipliers as exact integers or short decimals, with no units.

Step size alphaError multiplier rBehavior
0.2
0.5
0.75
1
1.25

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Numerical Optimization Questions: