Maths & numbers

One gradient descent step calculator

Apply one gradient descent update to a two-dimensional point.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Apply one gradient descent update to a two-dimensional point.

THE FORMULAx_new=x−η∇f(x)

A worked example

From (3,4), subtract half of (2,−1) to reach (2,4.5).

Good to know

The gradient must be evaluated at the starting point.

Read the result

Apply one gradient descent update to a two-dimensional point.

The primary result is labeled “New x”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

The gradient must be evaluated at the starting point.

For a related exercise, try the quadratic equation solver.

A few questions, answered

How can I check the default inputs by hand?

From (3,4), subtract half of (2,−1) to reach (2,4.5).

Which rule does this calculator apply?

x_new=x−η∇f(x)

Find your calculator

Start typing to explore the library.