Jin L.

asked • 02/12/23

Gradient Ascent Problem Calculus

Suppose we apply gradient ascent algorithm to find a local maximum of the function f(x,y) = 3x cos^3 *y + 1/x. If we start from the point (x0,y0) = (−1, π/3 ) and use learning rate α = 0.1 to go uphill as high as possible (initially), what point (x1,y1) will we end up at after the first step?


I have no idea how to solve this and can't find algebraic methods online with an explanation or theorem. This is the answer: ≈(−1.0625,1.2421) but again I don't know the logic behind it.


1 Expert Answer

By:

Jin L.

Thank you so much for the explanation. Let's say if we were going downhill instead so we were doing gradient descent, what changes?
Report

02/13/23

Reno O. B.

tutor
You would subtract the a×gradient(x,y) from f(x,y).
Report

02/13/23

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.