Study guide
7.5 Virtual Work & Lagrange's Equation
Coal India Management Trainee CIL MT
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: CIL MT Exam Overview & Coal Sector Landscape
1.1 CIL MT Exam Pattern, Marking Scheme & Strategy 1.2 Coal India Limited: Corporate Structure, Maharatna Status & Subsidiaries 1.3 Indian Coal Mining Sector, Energy Mix & Environmental Regulations
2 Chapter 2: Paper-I General Awareness, Polity & Current Affairs
2.1 Indian Constitution, Governance & Statutory Bodies 2.2 Indian Economy, Union Budget & Economic Planning 2.3 Indian Geography, Mineral Belts & Environmental Ecology 2.4 Modern Indian History, Freedom Struggle & Cultural Heritage 2.5 General Science: Physics, Chemistry & Biology Fundamentals 2.6 Inventions, Discoveries & Scientific-Technological Development 2.7 Uses of Internet, Computer Awareness & Digital Governance 2.8 National & International Organisations 2.9 Awards, Honours & Sports 2.10 Books & Authors, Important Monuments & Places of India 2.11 Ports, Power Plants & Infrastructure of India 2.12 Climate Change, SDGs, National Parks & Wildlife Sanctuaries 2.13 Flagship Government Programmes & Current Affairs Method 2.14 World Physical, Social & Economic Geography
3 Chapter 3: Paper-I Reasoning & Logical Ability
3.1 Series Completion, Coding-Decoding & Semantic Analogies 3.2 Syllogisms, Logical Deduction & Venn Diagrams 3.3 Seating Arrangements, Linear/Circular Alignments & Puzzles 3.4 Direction Sense, Blood Relations & Order/Ranking 3.5 Alphabetical & Alphanumeric Series 3.6 Statement & Conclusions, Statement & Arguments 3.7 Clocks & Calendars 3.8 Cubes, Dice & Figure Counting 3.9 Mirror Images, Water Images, Embedded Figures & Non-Verbal Series 3.10 Decision Making & Data Analysis in Reasoning
4 Chapter 4: Paper-I Numerical Ability & Quantitative Aptitude
4.1 Arithmetic Foundations: Percentages, Profit & Loss, Ratio & Proportion 4.2 Averages, Simple/Compound Interest, Alligations & Mixtures 4.3 Time & Work, Pipes & Cisterns, Time, Speed & Distance 4.4 Algebra, Mensuration, Geometry & Data Interpretation (DI) 4.5 Number System, LCM, HCF & Decimal Fractions 4.6 Surds, Indices & Simplification 4.7 Problems on Ages 4.8 Boats & Streams and Problems on Trains 4.9 Permutations & Combinations 4.10 Probability for Quantitative Aptitude
5 Chapter 5: Paper-I General English & Verbal Ability
5.1 English Grammar, Error Spotting & Sentence Correction 5.2 Vocabulary Building: Synonyms, Antonyms, Idioms & Phrases 5.3 Reading Comprehension, Cloze Tests & Para Jumbles 5.4 Fill in the Blanks, Cloze Passages & Sentence Completion 5.5 Jumbled Sentences & Sentence Improvement
6 Chapter 6: Paper-II Engineering Mathematics
6.1 Matrix Algebra, Rank & Systems of Linear Equations 6.2 Eigenvalues, Eigenvectors & the Cayley-Hamilton Theorem 6.3 Limits, Continuity, Differentiability & Mean Value Theorems 6.4 Maxima-Minima, Indeterminate Forms & Taylor Series 6.5 Definite, Improper, Double & Triple Integrals 6.6 Partial Derivatives, Total Derivative & Multivariable Optimisation 6.7 First-Order Differential Equations: Linear & Non-Linear 6.8 Higher-Order Linear Differential Equations & Engineering Applications 6.9 Laplace Transforms & Transfer-Function Methods 6.10 Probability, Conditional Probability & Bayes' Theorem 6.11 Random Variables, Distributions & Descriptive Statistics 6.12 Numerical Methods: Root Finding, Integration & ODE Solvers
7 Chapter 7: Paper-II Engineering Mechanics & Statics-Dynamics
7.1 Force Systems, Coplanar Equilibrium & Lami's Theorem 7.2 Plane Trusses, Friction Mechanics & Screws/Wedges 7.3 Centroids, Center of Gravity & Moment of Inertia 7.4 Kinematics, Kinetics of Particles & Rigid Body Dynamics 7.5 Virtual Work & Lagrange's Equation 7.6 Rolling Friction, Belt-Pulley Drives, Brakes, Clutches & Vehicle Dynamics
8 Chapter 8: Paper-II Mechanics of Materials & Structural Integrity
8.1 Simple Stresses, Strains, Elastic Moduli & Thermal Stresses 8.2 Principal Stresses, Strain Energy & Mohr's Circle 8.3 Shear Force & Bending Moment Diagrams, Beam Bending & Shear Stresses 8.4 Torsion of Circular Shafts, Springs & Column Buckling 8.5 Thin Cylinders, Spheres & Thick-Walled Pressure Vessels 8.6 Deflection of Beams: Double Integration, Macaulay & Moment-Area 8.7 Shear Centre & Unsymmetrical Bending 8.8 Strain Gauges, Rosettes & Experimental Stress Analysis 8.9 Mechanical Testing: Universal Testing Machine, Hardness & Impact
9 Chapter 9: Paper-II Theory of Machines & Mechanical Vibrations
9.1 Simple Mechanisms, Kinematic Inversions & Velocity/Acceleration Diagrams 9.2 Cams & Followers, Toothed Gearing & Epicyclic Gear Trains 9.3 Flywheels, Centrifugal/Inertia Governors & Rotor Balancing 9.4 Free, Damped & Forced Single-Degree-of-Freedom Vibrations 9.5 Gyroscopic Couple & Gyroscopic Effects
10 Chapter 10: Paper-II Machine Design & Failure Theories
10.1 Static Failure Theories & Variable/Fatigue Loading 10.2 Design of Threaded Fasteners, Welded & Riveted Joints 10.3 Design of Shafts, Keys, Couplings & Rolling/Sliding Bearings 10.4 Design of Spur, Helical, Bevel & Worm Gears 10.5 Design of Helical, Leaf & Torsion Springs 10.6 Design of Brakes & Clutches: Energy, Lining Pressure & Heat
11 Chapter 11: Paper-II Fluid Mechanics & Hydraulic Machinery
11.1 Fluid Properties, Hydrostatic Forces & Buoyancy 11.2 Fluid Kinematics, Continuity & Bernoulli's Equation 11.3 Viscous Flow in Pipes, Boundary Layer & Minor Losses 11.4 Hydraulic Turbines, Centrifugal & Reciprocating Pumps 11.5 Dimensional Analysis, Similitude & Model Testing 11.6 Control-Volume Analysis: Continuity, Momentum & Energy
12 Chapter 12: Paper-II Thermodynamics, Thermal Cycles & Turbomachinery
12.1 Fundamental Concepts, First & Second Laws of Thermodynamics 12.2 Entropy, Availability, Exergy & Properties of Pure Substances 12.3 Air-Standard Gas Power Cycles: Otto, Diesel, Dual & Brayton 12.4 Vapour Power Cycles: Ideal, Reheat & Regenerative Rankine Cycles 12.5 Thermodynamic Relations: Maxwell, Clausius-Clapeyron & Joule-Thomson 12.6 Behaviour of Ideal & Real Gases and Equations of State 12.7 Air & Gas Compressors: Reciprocating, Rotary & Multi-Stage 12.8 Steam & Gas Turbines: Impulse, Reaction & Velocity Diagrams
13 Chapter 13: Paper-II Heat Transfer, Refrigeration & Air Conditioning
13.1 Steady & Unsteady Conduction, Extended Surfaces (Fins) 13.2 Forced/Natural Convection, Radiation & Heat Exchanger LMTD/NTU 13.3 Vapour Compression & Vapour Absorption Refrigeration Systems 13.4 Psychrometric Properties, Processes & Air Conditioning Systems 13.5 Gas Refrigeration, Heat Pump Cycles & Cryogenics
14 Chapter 14: Paper-II Materials Science, Metallurgy & Manufacturing Technology
14.1 Crystal Structures, Phase Diagrams & Iron-Iron Carbide Equilibrium 14.2 Heat Treatment Processes & Engineering Alloy Steels 14.3 Casting Processes, Metal Forming & Welding Metallurgy 14.4 Metal Cutting Mechanics, Tool Life & Machine Tools 14.5 Plastic Deformation, Yield Criteria & Load Estimation in Bulk Forming 14.6 Sheet Metal Forming: Shearing, Bending & Deep Drawing 14.7 Powder Metallurgy 14.8 Brazing, Soldering & Adhesive Bonding 14.9 Non-Traditional Machining: EDM, ECM, USM, AJM, LBM & EBM 14.10 Abrasive Machining, Grinding & Superfinishing 14.11 Principles of Work Holding, Jigs & Fixtures 14.12 Economics of Machining & Tool Life Optimisation
15 Chapter 15: Paper-II Metrology, Quality Control & Industrial Engineering / OR
15.1 Limits, Fits, Tolerances, Gauges & Surface Metrology 15.2 Production Planning, Forecasting & Inventory Control Models 15.3 Operations Research: Linear Programming & Transportation/Assignment 15.4 Project Management: CPM, PERT, Network Analysis & Crashing 15.5 Comparators & Interferometry 15.6 Coordinate Measuring Machines & Machine Tool Alignment Testing 15.7 Computer Integrated Manufacturing: CAD/CAM & Integration Tools 15.8 NC/CNC Machines & CNC Part Programming 15.9 Material Requirements Planning, Scheduling & Sequencing 15.10 Queuing Theory & Simple Queuing Models 15.11 Network Flow Models: Shortest Route, Maximal Flow & Spanning Tree
7.5 Virtual Work & Lagrange's Equation
Key Takeaways Explain This Topic AI
Virtual work and Lagrange's equation are both named explicitly in the Engineering Mechanics bullet of the CIL Mechanical Paper-II syllabus.
The principle of virtual work states that a system in equilibrium does zero net virtual work under any small virtual displacement consistent with its constraints.
Constraint and reaction forces do no virtual work, which is why the method solves a mechanism without ever computing a pin reaction.
Lagrange's equation derives the equations of motion from the difference between kinetic and potential energy, using generalised coordinates equal in number to the degrees of freedom.
Last updated: August 2026
Why Energy Methods Exist
The free-body approach requires one equilibrium equation per body and produces unknown pin reactions that must be carried through the algebra even when nobody wants them. For a mechanism with several links, that is a great deal of work to find one applied force.
Virtual work removes the reactions entirely. Its central observation is that constraint forces — pin reactions, smooth-surface normals, and the internal forces in rigid links — act perpendicular to the motion they permit, or in equal and opposite pairs, and therefore do no work . If work is the only quantity you write down, they never enter the equations.
Virtual Displacement
A virtual displacement δ r \delta r δr is an infinitesimal, imaginary change in configuration that is:
- consistent with the constraints — the system must still hold together and respect its supports;
- instantaneous — time is frozen, so it is not a real motion;
arbitrary in magnitude within those limits.
The symbol δ \delta δ rather than d d d marks it as virtual rather than actual.
The Principle of Virtual Work
A system of connected rigid bodies is in equilibrium if and only if the total virtual work done by all active forces during any admissible virtual displacement is zero. δ W = ∑ i F i ⋅ δ r i = 0 \delta W = \sum_{i} \mathbf{F}_i \cdot \delta \mathbf{r}_i = 0 δ W = i ∑ F i ⋅ δ r i = 0
For a system with couples applied, the corresponding term is ∑ M j δ θ j \sum M_j\,\delta\theta_j ∑ M j δ θ j .
Active forces are the applied loads, spring forces and weights. Reactive forces are the support and constraint forces, and they are excluded because they do no virtual work.
Method
Choose a single independent coordinate that describes the configuration — usually an angle.
Express the position of every point where an active force acts in terms of that coordinate.
Differentiate to obtain each virtual displacement in terms of δ θ \delta\theta δ θ .
Write δ W = 0 \delta W = 0 δ W = 0 , cancel δ θ \delta\theta δ θ , and solve.
Worked Example: A Toggle Mechanism
Two links, each of length L L L , are pinned to form a symmetric toggle. The upper pin carries a vertical downward load P P P , and a horizontal force Q Q Q is applied at the lower roller. Each link makes an angle θ \theta θ with the horizontal.
Taking the fixed pin as origin, the height of the load point is y = L sin θ y = L\sin\theta y = L sin θ and the horizontal position of the roller is x = 2 L cos θ x = 2L\cos\theta x = 2 L cos θ .
Virtual displacements: δ y = L cos θ δ θ , δ x = − 2 L sin θ δ θ \delta y = L\cos\theta\,\delta\theta, \qquad \delta x = -2L\sin\theta\,\delta\theta δy = L cos θ δ θ , δ x = − 2 L sin θ δ θ
Virtual work, with P P P acting downward against increasing y y y and Q Q Q acting in the direction of decreasing x x x : δ W = − P δ y + Q ( − δ x ) ⋅ ( − 1 ) ⇒ − P L cos θ δ θ + 2 Q L sin θ δ θ = 0 \delta W = -P\,\delta y + Q\,(-\delta x)\cdot(-1) \;\Rightarrow\; -PL\cos\theta\,\delta\theta + 2QL\sin\theta\,\delta\theta = 0 δ W = − P δy + Q ( − δ x ) ⋅ ( − 1 ) ⇒ − P L cos θ δ θ + 2 Q L sin θ δ θ = 0
Cancelling L δ θ L\,\delta\theta L δ θ : Q = P 2 cot θ Q = \frac{P}{2}\cot\theta Q = 2 P cot θ
As θ → 0 \theta \to 0 θ → 0 the required Q Q Q grows without bound — which is exactly the mechanical advantage a toggle clamp or a stone crusher exploits. No pin reaction was ever computed.
Potential Energy and Stability
When all active forces are conservative, virtual work can be written as the change in total potential energy V V V , and equilibrium requires d V d θ = 0 \frac{dV}{d\theta} = 0 d θ d V = 0
The second derivative then classifies the equilibrium, exactly as in the single-variable calculus of Section 1:
- Condition Equilibrium
- d 2 V / d θ 2 > 0 d^2V/d\theta^2 > 0 d 2 V / d θ 2 > 0 Stable — potential energy is a minimum
- d 2 V / d θ 2 < 0 d^2V/d\theta^2 < 0 d 2 V / d θ 2 < 0 Unstable — potential energy is a maximum
- d 2 V / d θ 2 = 0 d^2V/d\theta^2 = 0 d 2 V / d θ 2 = 0 Neutral
A ball at the bottom of a bowl is stable; the same ball balanced on a dome is unstable.
Generalised Coordinates and Degrees of Freedom
A generalised coordinate q i q_i q i is any independent quantity that helps fix the configuration of a system. The number required equals the number of degrees of freedom . For a simple pendulum, one angle suffices; for a double pendulum, two.
Generalised coordinates need not be lengths — an angle, an area or a charge can serve, provided the set is independent and complete.
- Lagrange's Equation
- Define the Lagrangian as the difference between kinetic and potential energy: L = T − V L = T - V L = T − V
For each generalised coordinate q i q_i q i , the equation of motion is d d t ( ∂ L ∂ q ˙ i ) − ∂ L ∂ q i = Q i \frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_i}\right) - \frac{\partial L}{\partial q_i} = Q_i d t d ( ∂ q ˙ i ∂ L ) − ∂ q i ∂ L = Q i
where q ˙ i \dot q_i q ˙ i is the generalised velocity and Q i Q_i Q i is the generalised non-conservative force — damping, friction, or an applied driving force. When all forces are conservative, Q i = 0 Q_i = 0 Q i = 0 .
Equivalently, in terms of T T T and V V V separately: d d t ( ∂ T ∂ q ˙ i ) − ∂ T ∂ q i + ∂ V ∂ q i = Q i \frac{d}{dt}\left(\frac{\partial T}{\partial \dot{q}_i}\right) - \frac{\partial T}{\partial q_i} + \frac{\partial V}{\partial q_i} = Q_i d t d ( ∂ q ˙ i ∂ T ) − ∂ q i ∂ T + ∂ q i ∂ V = Q i
Why it is worth the trouble
- Newton-Euler Lagrangian
- Vector equations; direction matters Scalar energies; no vector resolution
- Constraint forces appear and must be eliminated Constraint forces never appear
- One free-body diagram per body One Lagrangian for the whole system
- Coordinate choice is awkward for rotating systems Any convenient generalised coordinate works
- Worked Example: Simple Pendulum
A bob of mass m m m hangs on a massless rod of length l l l , with θ \theta θ measured from the downward vertical.
Kinetic energy. The bob's speed is l θ ˙ l\dot\theta l θ ˙ , so T = 1 2 m l 2 θ ˙ 2 T = \tfrac{1}{2}m l^2\dot{\theta}^2 T = 2 1 m l 2 θ ˙ 2
Potential energy , taking the pivot as datum: V = − m g l cos θ V = -mgl\cos\theta V = − m g l cos θ
Lagrangian: L = 1 2 m l 2 θ ˙ 2 + m g l cos θ L = \tfrac{1}{2}ml^2\dot\theta^2 + mgl\cos\theta L = 2 1 m l 2 θ ˙ 2 + m g l cos θ .
Now apply the equation: ∂ L ∂ θ ˙ = m l 2 θ ˙ ⇒ d d t ( ∂ L ∂ θ ˙ ) = m l 2 θ ¨ \frac{\partial L}{\partial\dot\theta} = ml^2\dot\theta \;\Rightarrow\; \frac{d}{dt}\left(\frac{\partial L}{\partial\dot\theta}\right) = ml^2\ddot\theta ∂ θ ˙ ∂ L = m l 2 θ ˙ ⇒ d t d ( ∂ θ ˙ ∂ L ) = m l 2 θ ¨ ∂ L ∂ θ = − m g l sin θ \frac{\partial L}{\partial\theta} = -mgl\sin\theta ∂ θ ∂ L = − m g l sin θ
Substituting: m l 2 θ ¨ + m g l sin θ = 0 ⟹ θ ¨ + g l sin θ = 0 ml^2\ddot{\theta} + mgl\sin\theta = 0 \quad\Longrightarrow\quad \ddot{\theta} + \frac{g}{l}\sin\theta = 0 m l 2 θ ¨ + m g l sin θ = 0 ⟹ θ ¨ + l g sin θ = 0
For small oscillations, sin θ ≈ θ \sin\theta \approx \theta sin θ ≈ θ — the truncated Taylor series from Section 1 — giving simple harmonic motion with ω n = g l , T period = 2 π l g \omega_n = \sqrt{\frac{g}{l}}, \qquad T_{\text{period}} = 2\pi\sqrt{\frac{l}{g}} ω n = l g , T period = 2 π g l
Notice that the rod tension never appeared. That is the whole point of the method.
Worked Example: Mass-Spring System
For a mass m m m on a spring of stiffness k k k with displacement x x x : T = 1 2 m x ˙ 2 , V = 1 2 k x 2 T = \tfrac{1}{2}m\dot{x}^2, \qquad V = \tfrac{1}{2}kx^2 T = 2 1 m x ˙ 2 , V = 2 1 k x 2 d d t ( m x ˙ ) + k x = 0 ⟹ m x ¨ + k x = 0 \frac{d}{dt}(m\dot{x}) + kx = 0 \quad\Longrightarrow\quad m\ddot{x} + kx = 0 d t d ( m x ˙ ) + k x = 0 ⟹ m x ¨ + k x = 0
recovering the familiar undamped vibration equation with ω n = k / m \omega_n = \sqrt{k/m} ω n = k / m . Adding a viscous damper contributes a generalised force Q = − c x ˙ Q = -c\dot x Q = − c x ˙ , producing m x ¨ + c x ˙ + k x = 0 m\ddot x + c\dot x + kx = 0 m x ¨ + c x ˙ + k x = 0 — the same equation treated at length in the Vibrations chapter.