Gradient LabSign up free

Home / GATE DA / 2026 / Q.29

GATE DA 2026, Q.29: One SGD step on f_w(x) = wx

Machine learningStochastic gradient descent1 markNumerical answerFree

The question

The objective is f_w(x) = wx with x, w ∈ ℝ, minimised by SGD with learning rate 0.10. After iteration i, w = 10.00. Iteration i + 1 uses x = 10.00. Find w after iteration i + 1 (two decimals).

Watch it solved

Solve it step by step

  1. Gradient. ∂(wx)/∂w = x = 10.
  2. Update. w ← w − η · gradient = 10 − 0.1 × 10.
  3. Answer. w = 9.00.

Answer: 9.00

Official IIT Guwahati answer key: 8.90 to 9.10.

Common mistake. Using the gradient with respect to x (which is w = 10): it gives the same number here, but only by coincidence.

Remember. SGD update: w ← w − η · ∂f/∂w at the current sample.

See it move

Learn the idea behind this question in the free animated lesson Gradient descent, then The learning rate.

Want every question solved? The past-paper pack has all 195 questions from 2024, 2025 and 2026 for ₹499. The cheat sheet pack has 23 printable sheets for ₹399.

See the past-paper pack See the cheat sheets

Source: official GATE DA 2026 question paper and answer key (IIT Guwahati). The question is lightly reworded; every number and option is kept.