Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 2.2: Steepest Descent Method

Lesson 8 of 22 in the free Engineering Optimization notes on Siksha Sarovar, written by Rohit Jangra.

Unit 2.2: Cauchy’s Steepest Descent Method

This is the oldest and simplest gradient-based method, proposed by Cauchy in 1847.

1. Concept

At any point X, the function value decreases most rapidly in the direction of the negative gradient.

  • Search Direction: Sᵢ = -∇f(Xᵢ)
  • It is a "First-Order" method because it only uses the first derivative.

2. Algorithm (Step-by-Step)

Step 1: Start Select an initial guess X₁ and a convergence tolerance ε (e.g., 0.001). Set iteration counter i = 1.

Step 2: Calculate Gradient Compute the gradient vector at the current point: ∇f(Xᵢ).

Step 3: Check Convergence Calculate the magnitude (norm) of the gradient: |∇f(Xᵢ)|.

  • If |∇f(Xᵢ)| < ε, STOP. Xᵢ is the optimum solution.
  • Else, continue.

Step 4: Determine Direction Set search direction Sᵢ = -∇f(Xᵢ).

Step 5: Determine Step Size (λᵢ) Find λᵢ such that it minimizes the function f(Xᵢ + λ*Sᵢ).

  • This becomes a single-variable optimization problem: Minimize F(λ).

Step 6: Update Calculate new point: X₍ᵢ₊₁₎ = Xᵢ + λᵢ * Sᵢ.

Step 7: Loop Set i = i + 1 and go to Step 2.

3. Pros & Cons

ProsCons
Simple: Easy to program.Slow Convergence: It has a linear rate of convergence.
Robust: Guaranteed to reduce the function value in each step.Zig-Zagging: Near the optimum, it tends to oscillate back and forth (zig-zag path), taking many small steps to reach the exact bottom.
Low Memory: Only stores the gradient vector.Scaling: Performs poorly on poorly scaled problems (narrow valleys).