Calculus of Variations for CSIR NET Mathematics: Euler–Lagrange Equation, Special Cases and Solved Examples
Last updated: 18 November 2026 (IST). Verified against official CSIR HRDG, IIT JAM 2027 (IIT Kharagpur), and GATE 2027 (IIT Madras) Mathematics syllabi.

Calculus of variations in one paragraph
Calculus of variations is a CSIR NET Mathematical Sciences Unit 3 topic. It is not on the official GATE 2027 or IIT JAM 2027 Mathematics syllabi. Almost every question reduces to four moves: write the Euler–Lagrange equation for the given integrand; spot a special case (no y, no x, or linear in y’) that gives a first integral; apply the boundary conditions, or the natural boundary condition if an end is free; and, for isoperimetric problems, add a multiplier λ. Learn those four moves and the classical examples (shortest path, brachistochrone, minimal surface, isoperimetric), and you can solve most questions in a few lines.
What the official syllabus says
| Exam | Calculus of variations in the official syllabus |
|---|---|
| CSIR NET Mathematical Sciences (Unit 3) | Variation of a functional, Euler–Lagrange equation, necessary and sufficient conditions for extrema. Variational methods for boundary value problems in ordinary and partial differential equations. |
| IIT JAM 2027 Mathematics | Not listed in the official MA syllabus. |
| GATE 2027 Mathematics | Not listed in the official MA syllabus. |
The Euler–Lagrange equation you get is usually an ordinary differential equation, so keep the ordinary differential equations guide open. Variational methods for boundary value problems link this topic to the partial differential equations guide and the integral equations guide. For later CSIR NET notices, use the CSIR NET December 2026 timeline tracker.
The Euler–Lagrange equation and its special cases
Consider \(J[y]=\int_a^b F(x,y,y’)\,dx\) over smooth functions with \(y(a)=A\), \(y(b)=B\). If \(y\) is an extremal, the first variation vanishes, and integrating by parts gives the Euler–Lagrange equation
\[ \frac{\partial F}{\partial y}-\frac{d}{dx}\left(\frac{\partial F}{\partial y’}\right)=0. \]
| Form of \(F\) | What the Euler–Lagrange equation becomes |
|---|---|
| \(F=F(x,y’)\) (no \(y\)) | \(F_{y’}=c\), a first-order equation. |
| \(F=F(y,y’)\) (no \(x\)) | Beltrami identity: \(F-y’F_{y’}=c\). |
| \(F=F(x,y)\) (no \(y’\)) | \(F_y=0\), an algebraic equation; boundary conditions usually cannot both be met. |
| \(F=M(x,y)+N(x,y)\,y’\) (linear in \(y’\)) | \(M_y-N_x=0\), again not a differential equation. If it holds identically, \(J\) is path independent. |
| \(F=F(x,y,y’,y”)\) | Euler–Poisson: \(F_y-\frac{d}{dx}F_{y’}+\frac{d^2}{dx^2}F_{y”}=0\). |
| Several functions \(y_1,\dots,y_n\) | One Euler–Lagrange equation for each \(y_i\). |
Natural boundary condition. If \(y(b)\) is not prescribed, the extremal must satisfy \(F_{y’}=0\) at \(x=b\) (similarly at \(a\)).
Isoperimetric problems. To extremise \(J\) subject to \(\int_a^b G(x,y,y’)\,dx=l\), apply the Euler–Lagrange equation to \(H=F+\lambda G\).
Necessary and sufficient conditions. Along an extremal, the Legendre condition \(F_{y’y’}\ge 0\) is necessary for a minimum (\(\le 0\) for a maximum). The strengthened Legendre condition \(F_{y’y’}>0\) together with the Jacobi condition, that no point conjugate to \(a\) lies in \((a,b]\), is sufficient for a weak minimum.
Variational methods for boundary value problems. The boundary value problem \(-y”=f(x)\), \(y(0)=y(1)=0\) is the Euler–Lagrange equation of \(\int_0^1\left(\frac{1}{2}y’^2-fy\right)dx\); Laplace’s equation is the Euler–Lagrange equation of the Dirichlet integral \(\int\int(u_x^2+u_y^2)\,dx\,dy\). The Rayleigh–Ritz method approximates the minimiser by a finite combination of trial functions and minimises over the coefficients.
Solved examples in exam style
Example 1: the shortest path in the plane
Find the extremals of \(J[y]=\int_a^b\sqrt{1+y’^2}\,dx\).
Solution. \(F\) has no \(y\), so \(F_{y’}=\frac{y’}{\sqrt{1+y’^2}}=c\). This forces \(y’\) to be constant, so the extremals are straight lines \(y=mx+k\).
Example 2: a polynomial extremal
Find the extremal of \(J[y]=\int_0^1\left(y’^2+12xy\right)dx\) with \(y(0)=0\), \(y(1)=1\).
Solution. \(F_y=12x\) and \(F_{y’}=2y’\), so \(12x-2y”=0\), that is \(y”=6x\). Then \(y=x^3+c_1x+c_2\). From \(y(0)=0\), \(c_2=0\); from \(y(1)=1\), \(c_1=0\). The extremal is \(y=x^3\). Since \(F_{y’y’}=2>0\), the Legendre condition for a minimum holds.
Example 3: conjugate points
Find the extremal of \(J[y]=\int_0^{\pi/2}\left(y’^2-y^2\right)dx\) with \(y(0)=0\), \(y(\pi/2)=1\). What changes on \([0,\pi]\) with \(y(0)=y(\pi)=0\)?
Solution. \(F_y=-2y\), \(F_{y’}=2y’\), so \(-2y-2y”=0\), that is \(y”+y=0\), with general solution \(y=c_1\cos x+c_2\sin x\). Then \(y(0)=0\) gives \(c_1=0\) and \(y(\pi/2)=1\) gives \(c_2=1\): the extremal is \(y=\sin x\). On \([0,\pi]\) with zero boundary values, every \(y=c\sin x\) is an extremal: the point \(\pi\) is conjugate to 0, so the Jacobi condition fails on that interval. This is a favourite trap.
Example 4: minimal surface of revolution
Find the curve joining two points that generates the surface of revolution (about the \(x\)-axis) of least area, that is, extremise \(\int y\sqrt{1+y’^2}\,dx\).
Solution. \(F\) has no \(x\), so use Beltrami: \(F-y’F_{y’}=y\sqrt{1+y’^2}-\frac{yy’^2}{\sqrt{1+y’^2}}=\frac{y}{\sqrt{1+y’^2}}=c\). So \(y’=\frac{\sqrt{y^2-c^2}}{c}\), and separating variables gives \(y=c\cosh\left(\frac{x-d}{c}\right)\), a catenary.
Example 5: an isoperimetric problem
Extremise \(\int_0^1 y’^2\,dx\) subject to \(\int_0^1 y\,dx=1\) and \(y(0)=y(1)=0\).
Solution. Take \(H=y’^2+\lambda y\). Then \(\lambda-2y”=0\), so \(y=\frac{\lambda}{4}x^2+c_1x+c_2\). The boundary conditions give \(c_2=0\) and \(c_1=-\frac{\lambda}{4}\), so \(y=\frac{\lambda}{4}(x^2-x)\). Since \(\int_0^1(x^2-x)\,dx=-\frac{1}{6}\), the constraint gives \(\lambda=-24\), and the extremal is \(y=6x(1-x)\). Check: \(\int_0^1 6x(1-x)\,dx=6\left(\frac{1}{2}-\frac{1}{3}\right)=1\).
Example 6: a free end point
Find the extremal of \(\int_0^1 y’^2\,dx\) with \(y(0)=1\) and \(y(1)\) free.
Solution. The Euler–Lagrange equation is \(y”=0\), so \(y=c_1x+1\). The natural boundary condition at \(x=1\) is \(F_{y’}=2y'(1)=0\), so \(c_1=0\) and \(y\equiv 1\).
Example 7: an integrand linear in y’
Find the extremal of \(\int_0^1\left(y^2+x^2y’\right)dx\) with \(y(0)=0\), \(y(1)=1\).
Solution. \(F_y=2y\) and \(\frac{d}{dx}F_{y’}=\frac{d}{dx}(x^2)=2x\). The Euler–Lagrange equation is \(2y-2x=0\), which is algebraic: \(y=x\). It happens to satisfy both boundary conditions, so \(y=x\) is the extremal. With \(y(1)=2\) instead, there would be no smooth extremal at all.
Common mistakes
- Dropping the total derivative: \(\frac{d}{dx}F_{y’}\) differentiates through \(y\) and \(y’\) as functions of \(x\), not just the explicit \(x\).
- Using Beltrami when \(F\) depends explicitly on \(x\).
- Forgetting the natural boundary condition when an end point is free.
- Claiming a minimum from the Euler–Lagrange equation alone, without the Legendre and Jacobi conditions.
- In isoperimetric problems, solving for the constants before using the constraint to fix \(\lambda\).
A two-week plan for calculus of variations
| Days | What to do |
|---|---|
| 1–3 | Derive the Euler–Lagrange equation once. Drill the special cases in the table above. |
| 4–6 | Classical problems: shortest path, brachistochrone, minimal surface, the cases with conjugate points. |
| 7–9 | Isoperimetric problems, several dependent functions and higher derivatives (Euler–Poisson). |
| 10–14 | Sufficient conditions, variational formulations of boundary value problems, and previous year questions under time. |
Learn with GP Sir’s videos
Learn calculus of variations with MathsCare
Want live classes and exam-style practice with GP Sir? Message or call the MathsCare team, or see the CSIR NET Maths course. Hamilton’s principle in classical mechanics is a direct application of this topic, so read the classical mechanics guide next.
GP Sir’s Combat Test Series for CSIR NET/JRF Mathematics and the Short Notes Booklet are the practice and revision books we point students to. Check the book pages for the current edition before you buy.
Frequently asked questions
Is calculus of variations in GATE 2027 or IIT JAM 2027 Mathematics?
No. Calculus of variations is not listed in the official GATE 2027 MA syllabus (IIT Madras) or the IIT JAM 2027 MA syllabus (IIT Kharagpur). It is a CSIR NET Mathematical Sciences Unit 3 topic.
What does the CSIR NET syllabus say about calculus of variations?
The official CSIR HRDG Unit 3 syllabus lists: variation of a functional, Euler–Lagrange equation, necessary and sufficient conditions for extrema, and variational methods for boundary value problems in ordinary and partial differential equations.
When can I use the Beltrami identity?
When the integrand F(x, y, y’) does not depend explicitly on x. Then the Euler–Lagrange equation has the first integral F − y’F_{y’} = constant, which reduces a second-order equation to a first-order one. The brachistochrone and the minimal surface of revolution are the standard examples.
Does solving the Euler–Lagrange equation guarantee a minimum?
No. The Euler–Lagrange equation is a necessary condition for an extremum. For a minimum you also need the Legendre condition F_{y’y’} ≥ 0 along the extremal; the strengthened Legendre condition F_{y’y’} > 0 together with the Jacobi condition (no conjugate point) is sufficient for a weak minimum.
How do I handle a constraint such as fixed length or fixed area?
That is an isoperimetric problem. To extremise J = ∫F dx subject to ∫G dx = l, apply the Euler–Lagrange equation to H = F + λG, then use the constraint and the boundary conditions to find λ and the constants.
Can I contact MathsCare about CSIR NET classes?
Yes. Message or call the MathsCare team on WhatsApp at 95710 85397 for details of the CSIR NET Mathematics course.
Official sources
- CSIR HRDG Mathematical Sciences syllabus (Units 1–3): official syllabus PDF; notices: csirnet.nta.nic.in
- NTA public notice dated 20 November 2026, subject-wise schedule of Joint CSIR-UGC NET December 2026: Mathematical Sciences (code 704) on 27 December 2026, Shift 2, 3:00 PM to 6:00 PM. Download the notice.
- IIT JAM 2027 Mathematics (MA) syllabus, Organising Institute IIT Kharagpur: MA syllabus PDF; website: jam.iitkgp.ac.in. The examination is on 14 February 2027.
- GATE 2027 Mathematics (MA) syllabus, Organising Institute IIT Madras: official MA syllabus PDF; website: gate2027.iitm.ac.in. The GATE 2027 syllabi have been revised; always check this PDF.