Skip to content
Tactiverge

Olympiad · Practice · public practice problem

One step downhill on a design cost

Difficulty 4 of 513 points in 5 partsSuggested time ~25 min (never timed here)

The problem

Two normalised design parameters x and y have a convex cost f(x, y) = 2x² + 8y² (dimensionless). Gradient descent updates (x, y) ← (x, y) − α ∇f with step size α = 0.1, starting from (2, 1).

  1. Part (a) · 2 points

    What is x after one step?

    (pure number)Tolerance: ±0.005

  2. Part (b) · 2 points

    What is y after one step?

    (pure number)Tolerance: ±0.005

  3. Part (c) · 2 points

    What is the cost after one step (it was 16)?

    (pure number)Tolerance: ±0.01

  4. Part (d) · 3 points

    Above what step size does the iteration diverge?

    (pure number)Tolerance: ±0.001

  5. Part (e) · 4 points · rubric with 3 criteria

    y overshot zero and changed sign. Explain why, and propose a change of variables that lets one step size suit both directions.

    Written parts stay in your browser. Reveal the worked solution to mark yourself against the rubric.

Checked so far: 0 of 9 automatically marked points, plus 4 for written parts you mark yourself against the rubric. Nothing is saved.

Stuck? Hints, then the worked solution

Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.