Minimize the dejong5 Function using Steepest Descent with 50 Particles @MathDoctorMitchell
Minimize the dejong5 Function using Steepest Descent with 50 Particles  @MathDoctorMitchell
Uploaded November 2025 | Updated September 2026, 2 hours ago
This animation, created using MATLAB, illustrates how the steepest descent algorithm would operate when implemented on the dejong5 function (see previous video).

Because each particle's movement is determined by the negative of the gradient, the only way the algorithm is successful is if the initial conditions (which are uniformly randomly generated) place a particle close enough to "fall" into the deepest valley. For this reason, a few trials could be required before the algorithm is successful.

In addition, the steepest descent method does not "scale up" very well for functions of many variables. It can be shown that the PSO algorithm performs comparably better (than steepest descent) when the objective function has high dimension (200 variables, 500 variables, etc.).
Minimize the dejong5 Function using Steepest Descent with 50 ParticlesWhat is a Composite Function (Example A)Chaos game with 4 vertices and varying distance moved to each random pointChase Favorite Fish in 3D with 100 fish bumping into each otherA fractal created by the hexagonal chaos gameDrum Modes HighlightedSwarming Behaviors - Random Movement and InertiaParticle Swarm Optimization (level 0) and Steepest Descent AlgorithmsIntroduce the dejong5 Function (Optimization Algorithms)What is a Function of 2 Variables? Slanted Plane ExampleParticle Swarm Optimization - Large Inertial CoefficientSharks 90 Eat Minnows 10
Jonathan Mitchell |

Minimize the dejong5 Function using Steepest Descent with 50 Particles

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER