Skip to content
doubtly

Molecular Mechanics Notes FE Sem 2 Computational Chemistry | MU

Doubtly 17 min read Updated 27 Oct 2026 Save WhatsApp Save as PDF
On this page

Quantum methods are accurate but slow, and they cannot handle a protein with ten thousand atoms. Molecular mechanics (MM) solves this problem by forgetting about electrons and treating a molecule like a model made of balls and springs. The energy of any shape of the molecule is calculated from a few simple formulas called a force field. This module explains what a force field is and what its energy terms mean, introduces the potential energy surface on which molecules "move", describes how molecular modeling finds stable structures, and shows how MM is used to predict molecular properties. It maps to course outcome CO4. Short numericals on bond stretching, Lennard-Jones and Coulomb energies are easy marks.

Summary

Basic idea of molecular mechanics: MM is based on the Born-Oppenheimer idea that, for fixed positions of the nuclei, the electrons settle into their lowest state, so the energy depends only on the nuclear positions. Instead of calculating the electronic energy quantum mechanically, MM writes it as a simple classical function of bond lengths, bond angles, dihedral angles and distances between atoms. Atoms are balls with a mass, a size and a partial charge; bonds are springs. The energy obtained is called the steric energy. It has meaning mainly when comparing different shapes (conformations) or isomers of the same molecule calculated with the same force field.

Force field: definition: A force field is the combination of (1) the mathematical form of the energy terms and (2) the set of parameters (force constants, reference bond lengths and angles, torsional barriers, van der Waals radii and well depths, atomic charges) used to calculate the potential energy of a molecule from its atomic coordinates. Parameters are obtained by fitting to experimental data (X-ray and electron diffraction geometries, vibrational spectra, heats of formation, liquid densities) and to high-level quantum calculations. Well-known force fields: MM2, MM3 and MM4 (Allinger, small organic molecules), MMFF94 (Merck, drug-like molecules), AMBER and CHARMM (proteins and nucleic acids), OPLS (liquids and organic molecules), GROMOS (biomolecules), UFF (Universal Force Field, covers the whole periodic table) and Dreiding.

Atom types: In a force field an atom is not described only by its element. A carbon atom in an alkane (sp³), an alkene (sp²), an aromatic ring or a carbonyl group has different preferred bond lengths and angles, so each is given a different atom type with its own parameters. Choosing atom types correctly is the first step in an MM calculation and is done automatically by modeling software.

Components of a force field: The total energy is \(E = E_{\text{str}} + E_{\text{bend}} + E_{\text{tors}} + E_{\text{vdW}} + E_{\text{elec}} + E_{\text{cross}}\). The first three are bonded terms; the next two are non-bonded terms.

(1) Bond stretching: a bond behaves like a spring obeying Hooke's law, \(E_{\text{str}} = \tfrac{1}{2}k_b(r - r_0)^2\), where r0 is the natural bond length and k_b the force constant (stiffer for double and triple bonds). Some force fields write \(k(r - r_0)^2\), absorbing the half into k, so always check the convention. The harmonic form is good near r0 but wrongly rises forever when the bond is pulled apart; the Morse potential \(E = D_e[1 - e^{-a(r - r_0)}]^2\) correctly levels off at the dissociation energy D_e, and MM2/MM3 add cubic and quartic terms instead.

(2) Angle bending: \(E_{\text{bend}} = \tfrac{1}{2}k_\theta(\theta - \theta_0)^2\), where θ0 is the natural angle (about 109.5° for sp³, 120° for sp², 180° for sp). Angle bending is easier than bond stretching, so k_θ is smaller.

(3) Torsion (dihedral): rotation about a bond changes the dihedral angle φ, and the energy varies periodically, \(E_{\text{tors}} = \sum_n \tfrac{V_n}{2}[1 + \cos(n\phi - \gamma)]\), where V_n is the barrier height, n the periodicity (n = 3 for an sp³-sp³ bond such as in ethane, n = 2 for a double bond) and γ the phase. This term gives staggered and eclipsed conformations and rotational barriers. An improper torsion or out-of-plane term keeps planar groups (aromatic rings, carbonyl carbons) flat.

(4) Van der Waals: atoms that are not bonded attract each other weakly at medium distance (dispersion, London forces) and repel strongly when their electron clouds overlap. This is usually modelled by the Lennard-Jones 12-6 potential, \(E_{\text{vdW}} = 4\varepsilon\left[\left(\dfrac{\sigma}{r}\right)^{12} - \left(\dfrac{\sigma}{r}\right)^{6}\right]\), where ε is the depth of the energy well and σ the distance at which the energy is zero. The minimum is at \(r_{\min} = 2^{1/6}\sigma \approx 1.12\sigma\), where the energy equals −ε. The r⁻¹² term is repulsion; the r⁻⁶ term is attraction.

(5) Electrostatic: each atom carries a partial charge q (for example C=O has δ+ on C and δ− on O). Charges interact by Coulomb's law, \(E_{\text{elec}} = \dfrac{q_iq_j}{4\pi\varepsilon_0\varepsilon_rr_{ij}}\); in chemical units \(E = 1389.4\,q_iq_j/(\varepsilon_rr)\) kJ/mol with r in Å and q in units of e (332.06 for kcal/mol). Hydrogen bonds are mostly described by these electrostatic and van der Waals terms. The dielectric constant ε_r reduces the interaction in a solvent.

(6) Cross terms: in more accurate force fields (MM3, MMFF) coupling terms such as stretch-bend account for the fact that, for example, closing an angle lengthens the bonds that form it. Non-bonded terms are calculated only for atoms separated by three or more bonds (1-4 interactions are often scaled down), because closer pairs are already covered by the bonded terms.

Potential energy surface (PES): The energy of a molecule as a function of all its nuclear coordinates is the potential energy surface. A molecule of N atoms has 3N − 6 internal coordinates (3N − 5 if linear), so the PES is a surface in many dimensions; for a diatomic it is a simple curve of energy against bond length, and plots of energy against one or two dihedral angles are commonly drawn. Important points on the PES are stationary points, where the gradient (the first derivative, i.e. minus the force) is zero in every direction. A minimum is a stable structure (reactant, product, conformer, intermediate); all second derivatives (eigenvalues of the Hessian matrix) are positive. The lowest of all minima is the global minimum; others are local minima. A first-order saddle point is a maximum in one direction and a minimum in all others; it is a transition state between two minima. The lowest path joining two minima through a saddle point is the reaction path, and the energy difference between minimum and saddle point is the barrier.

Molecular modeling: Molecular modeling means building, displaying, manipulating and calculating the properties of molecules on a computer. The main MM steps are: (1) build the structure and assign atom types; (2) energy minimization (geometry optimization), in which an algorithm such as steepest descent, conjugate gradient or Newton-Raphson moves the atoms downhill on the PES until the gradient is nearly zero; (3) conformational search, because minimization only reaches the nearest local minimum, so many starting structures are tried by systematic rotation of bonds, random (Monte Carlo) search or molecular dynamics; (4) analysis of the resulting low-energy conformations and their properties. The number of conformers grows quickly: with three staggered positions per rotatable bond, k bonds give up to 3^k starting structures.

Applications of molecular mechanics: MM predicts (1) equilibrium geometries, bond lengths and angles of organic molecules close to experiment; (2) the relative energies of conformers, for example anti and gauche butane or chair and boat cyclohexane, and rotational barriers; (3) strain energy of rings and crowded molecules; (4) heats of formation (MM2, MM3 with group corrections); (5) approximate vibrational frequencies; (6) structures and flexibility of proteins, nucleic acids, polymers and membranes; (7) drug design by docking, where a drug molecule is fitted into the binding pocket of a protein and the interaction energy is scored; (8) crystal packing, densities and properties of liquids and materials when combined with molecular dynamics or Monte Carlo. Limitations: no bond breaking or making with standard force fields, no electronic properties (orbitals, UV spectra, charges change), results depend on the quality and transferability of parameters, and unusual molecules may lack parameters.

Mind map

Molecular Mechanics

  • Basic idea
    • Balls and springs
    • No electrons; classical
    • Steric energy
    • Atom types
  • Force field components
    • Stretch: ½k(r − r₀)²
    • Bend: ½k(θ − θ₀)²
    • Torsion: (V/2)[1 + cos(nφ − γ)]
    • van der Waals: Lennard-Jones 12-6
    • Electrostatic: Coulomb
    • Cross terms
  • Force fields
    • MM2, MM3, MMFF94
    • AMBER, CHARMM, OPLS, GROMOS
    • UFF, Dreiding
  • Potential energy surface
    • 3N − 6 coordinates
    • Minima: local and global
    • Saddle point = transition state
    • Gradient, Hessian
  • Modeling and applications
    • Energy minimization
    • Conformational search
    • Conformer energies, strain
    • Proteins, docking, polymers

How an MM energy minimization works

  1. Build the molecule and give approximate coordinates (from a drawing, a database or an X-ray structure).
  2. Assign atom types, and from them pick all parameters: k_b, r0, k_θ, θ0, V_n, ε, σ and charges.
  3. Calculate the steric energy as the sum of stretch, bend, torsion, van der Waals and electrostatic terms.
  4. Calculate the gradient: the derivative of energy with respect to each atomic coordinate (the force with a minus sign).
  5. Move the atoms a small step in the downhill direction (steepest descent or conjugate gradient; Newton-Raphson also uses second derivatives).
  6. Recalculate the energy and gradient; repeat until the energy change and the largest force fall below set limits (convergence).
  7. The final structure is a local minimum; repeat from different starting conformations (conformational search) to find the global minimum.

Important definitions

TermMeaning
Molecular mechanicsA method that calculates the energy of a molecule from its geometry using classical functions and a force field, ignoring electrons.
Force fieldThe set of energy functions and parameters used to calculate potential energy in molecular mechanics.
Atom typeA classification of an atom by element, hybridization and environment that decides its force field parameters.
Steric energyThe total MM energy relative to an ideal strain-free structure; used to compare conformations.
Bonded termsStretch, bend and torsion energy terms between atoms connected through 1, 2 or 3 bonds.
Non-bonded termsVan der Waals and electrostatic interactions between atoms not directly bonded.
Dihedral angleThe angle between the planes A-B-C and B-C-D for four bonded atoms A-B-C-D.
Lennard-Jones potentialA 12-6 function describing short-range repulsion and long-range dispersion attraction between atoms.
Potential energy surfaceEnergy of a molecular system as a function of its nuclear coordinates.
Stationary pointA point on the PES where all first derivatives of energy (forces) are zero.
Global minimumThe lowest-energy point on the whole PES: the most stable structure.
Saddle point (transition state)A stationary point that is a maximum along one coordinate and a minimum along all others.
HessianThe matrix of second derivatives of energy with respect to coordinates; its eigenvalues identify minima and saddle points.
Energy minimizationMoving atoms step by step downhill on the PES to the nearest minimum.
Conformational searchExploring many starting conformations to find all low-energy minima, including the global minimum.
DockingComputer fitting of a small molecule into the binding site of a protein to predict binding mode and strength.

Formulas

FormulaMeaning
\( E = E_{\text{str}} + E_{\text{bend}} + E_{\text{tors}} + E_{\text{vdW}} + E_{\text{elec}} + E_{\text{cross}} \)Total force field (steric) energy.
\( E_{\text{str}} = \tfrac{1}{2}k_b(r - r_0)^2 \)Harmonic bond stretching.
\( E_{\text{Morse}} = D_e\left[1 - e^{-a(r - r_0)}\right]^2 \)Morse potential, allows dissociation.
\( E_{\text{bend}} = \tfrac{1}{2}k_\theta(\theta - \theta_0)^2 \)Harmonic angle bending (θ in radians).
\( E_{\text{tors}} = \sum_n \dfrac{V_n}{2}\left[1 + \cos(n\phi - \gamma)\right] \)Torsional energy as a Fourier series.
\( E_{\text{vdW}} = 4\varepsilon\left[\left(\dfrac{\sigma}{r}\right)^{12} - \left(\dfrac{\sigma}{r}\right)^{6}\right] \)Lennard-Jones 12-6 potential.
\( r_{\min} = 2^{1/6}\sigma,\quad E(r_{\min}) = -\varepsilon \)Position and depth of the Lennard-Jones minimum.
\( E_{\text{elec}} = \dfrac{q_iq_j}{4\pi\varepsilon_0\varepsilon_r r_{ij}} = \dfrac{1389.4\,q_iq_j}{\varepsilon_r r_{ij}}\ \text{kJ/mol} \)Coulomb energy; q in units of e, r in Å (332.06 for kcal/mol).
\( F = -\dfrac{dE}{dx} \)Force is the negative gradient of energy; zero at stationary points.
\( 3N - 6\ (3N - 5\ \text{linear}) \)Number of internal coordinates (dimensions of the PES).
\( \dfrac{N_2}{N_1} = \dfrac{g_2}{g_1}e^{-\Delta E/RT} \)Boltzmann population ratio of two conformers with degeneracies g.

Key points to remember

  • MM uses classical physics; electrons are not treated explicitly; very fast.
  • Force field = functional form + parameters; parameters depend on atom types.
  • Bonded terms: stretch, bend, torsion; non-bonded terms: van der Waals, electrostatic.
  • Harmonic stretch fails for large stretches; Morse potential allows dissociation.
  • Torsion term is periodic: n = 3 for ethane-type bonds gives three minima (staggered) and three maxima (eclipsed).
  • Lennard-Jones: zero at r = σ, minimum −ε at r = 1.12σ; r⁻¹² repulsion, r⁻⁶ attraction.
  • Steric energies of different molecules are not directly comparable; compare conformers of the same molecule.
  • PES of N atoms has 3N − 6 dimensions; minima have all positive Hessian eigenvalues, transition states one negative.
  • Minimization finds only the nearest local minimum; a conformational search is needed for the global minimum.
  • MM cannot handle bond breaking or electronic properties with standard force fields.

Solved examples

Example 1. A C-C bond with r0 = 1.526 Å and k_b = 620 kcal mol⁻¹ Å⁻² is stretched to 1.556 Å. Find the stretching energy (use E = ½k(r − r0)²).

\(\Delta r = 1.556 - 1.526 = 0.030\) Å. \(E = \tfrac12\times620\times(0.030)^2 = 310\times0.0009 = 0.279\) kcal/mol \(= 0.279\times4.184 = 1.17\) kJ/mol.

Example 2. An angle with θ0 = 109.5° and k_θ = 100 kcal mol⁻¹ rad⁻² is opened to 119.5°. Find the bending energy.

\(\Delta\theta = 10° = 10\times\pi/180 = 0.1745\) rad. \(E = \tfrac12\times100\times(0.1745)^2 = 50\times0.03046 = 1.52\) kcal/mol. Note that angles must be in radians.

Example 3. The torsional energy about the C-C bond of ethane is modelled as E = (V3/2)(1 + cos 3φ) with V3 = 12 kJ/mol. Find E at φ = 0°, 30° and 60°. Which conformations are these?

φ = 0°: cos 0 = 1, E = 6 × 2 = 12 kJ/mol (eclipsed, maximum). φ = 30°: cos 90° = 0, E = 6 kJ/mol. φ = 60°: cos 180° = −1, E = 0 (staggered, minimum). So the rotational barrier is 12 kJ/mol, close to the measured barrier of ethane (about 12 kJ/mol).

Example 4. For two argon atoms, ε = 0.997 kJ/mol and σ = 0.340 nm. Find (a) r at the energy minimum, (b) the energy at r = 0.340 nm and 0.450 nm, (c) the energy at 0.300 nm.

(a) \(r_{\min} = 2^{1/6}\times0.340 = 1.1225\times0.340 = 0.382\) nm, where E = −0.997 kJ/mol. (b) At r = σ, \(E = 4\varepsilon(1 - 1) = 0\). At 0.450 nm, σ/r = 0.7556; (σ/r)⁶ = 0.1860; (σ/r)¹² = 0.0346; \(E = 4\times0.997\times(0.0346 - 0.1860) = -0.604\) kJ/mol (attractive). (c) At 0.300 nm, σ/r = 1.1333; (σ/r)⁶ = 2.1191; (σ/r)¹² = 4.4905; \(E = 4\times0.997\times(4.4905 - 2.1191) = +9.46\) kJ/mol (strong repulsion).

Example 5. Partial charges +0.40e and −0.40e are 3.0 Å apart. Find their electrostatic energy in vacuum (ε_r = 1) and in a medium with ε_r = 4.

\(E = 1389.4\times(0.40)(-0.40)/(1\times3.0) = 1389.4\times(-0.16)/3.0 = -74.1\) kJ/mol. With ε_r = 4: \(-74.1/4 = -18.5\) kJ/mol. The medium weakens the attraction.

Example 6. Gauche butane is 3.8 kJ/mol higher in energy than anti butane, and there are two gauche forms. Find the fraction of gauche molecules at 298 K.

\(N_g/N_a = 2e^{-3800/(8.314\times298)} = 2e^{-1.534} = 2\times0.2157 = 0.431\). Fraction gauche \(= 0.431/(1 + 0.431) = 0.30\), so about 30 percent gauche and 70 percent anti.

Example 7. How many internal coordinates do (a) H2O, (b) CO2 and (c) benzene have? How many starting structures does a systematic search need for a molecule with 4 rotatable bonds, trying 3 positions each?

(a) Water, non-linear, N = 3: 3 × 3 − 6 = 3 (two O-H lengths and the angle). (b) CO2, linear: 3 × 3 − 5 = 4. (c) Benzene, N = 12: 36 − 6 = 30. Search: \(3^4 = 81\) starting structures.

Important questions and answers

Q1. What is a force field? Explain its components with suitable equations. (8 marks)

A force field is a set of mathematical functions and parameters that gives the potential energy of a molecule as a function of its atomic coordinates in molecular mechanics. \(E = E_{\text{str}} + E_{\text{bend}} + E_{\text{tors}} + E_{\text{vdW}} + E_{\text{elec}}\). Stretching: \(\tfrac12k_b(r - r_0)^2\), Hooke's law spring; r0 natural length, k_b force constant. Bending: \(\tfrac12k_\theta(\theta - \theta_0)^2\), deviation from natural angle. Torsion: \(\sum(V_n/2)[1 + \cos(n\phi - \gamma)]\), periodic energy of rotation about bonds, gives staggered/eclipsed preferences. Van der Waals: Lennard-Jones \(4\varepsilon[(\sigma/r)^{12} - (\sigma/r)^6]\), repulsion at short range and dispersion attraction. Electrostatic: Coulomb \(q_iq_j/4\pi\varepsilon_0\varepsilon_rr\) between partial charges, includes hydrogen bonding. Optional cross terms (stretch-bend). Parameters come from experiment and quantum calculations and depend on atom types. Examples: MM2, MM3, MMFF94, AMBER, CHARMM, OPLS, UFF.

Q2. Explain the potential energy surface. Identify minima and saddle points on it. (7 marks)

The PES gives the energy of a molecule (within the Born-Oppenheimer approximation) as a function of the positions of its nuclei. It has 3N − 6 dimensions for N atoms. For a diatomic it is a curve with a minimum at the equilibrium bond length, rising steeply at short distance and levelling off to the dissociation energy at long distance. Stationary points have zero gradient. Minima (all curvatures positive) correspond to stable molecules, conformers and intermediates; the deepest is the global minimum, others are local minima. A first-order saddle point has negative curvature along one direction and positive along all others; it is the transition state. The minimum-energy path from reactant through the saddle point to product is the reaction coordinate, and the energy rise from reactant to saddle point is the activation barrier. Diagram: a 1D curve with two minima separated by a maximum, or a 2D contour map with two valleys and a pass between them.

Q3. Write a note on molecular modeling using molecular mechanics. (5 marks)

Molecular modeling is the computer building, visualization and calculation of molecular structures and properties. With MM: build the molecule and assign atom types; minimize energy with steepest descent (robust far from minimum), conjugate gradient (faster) or Newton-Raphson (uses second derivatives, fast near minimum) until forces vanish; perform a conformational search (systematic rotation, Monte Carlo or MD) since minimization reaches only the nearest local minimum; rank conformers by steric energy; compute properties and visualize. Used for drug design, protein structure, polymers and materials.

Q4. Discuss the applications and limitations of molecular mechanics. (7 marks)

Applications: geometry of organic and biological molecules; conformational analysis and rotational barriers (ethane, butane, cyclohexane chair and boat); strain energy of rings; heats of formation (MM2, MM3); approximate vibrational frequencies; structure and dynamics of proteins, DNA, membranes and polymers with MD; drug-receptor docking and virtual screening; properties of liquids and crystals. Limitations: cannot describe bond breaking or forming (standard force fields), electronic excitation, orbitals or spectra; accuracy depends on parameters, which may not exist or transfer poorly to unusual molecules, metal complexes or transition states; steric energies are only comparable between conformations of the same molecule; fixed charges ignore polarization.

Q5. Explain the Lennard-Jones potential with a graph. (5 marks)

\(E(r) = 4\varepsilon[(\sigma/r)^{12} - (\sigma/r)^6]\) describes the interaction between two non-bonded atoms. The r⁻¹² term is strong short-range repulsion from overlap of electron clouds (Pauli repulsion); the r⁻⁶ term is the attractive London dispersion. Graph: very large positive energy at small r, crossing zero at r = σ, a minimum of depth −ε at \(r = 2^{1/6}\sigma\), then rising slowly towards zero at large r. ε measures the strength of attraction and σ the effective size of the atoms. For argon ε ≈ 1.0 kJ/mol and σ ≈ 0.34 nm.

Q6. Why are different atom types needed in a force field? (3 marks)

The equilibrium bond lengths, angles and force constants depend on hybridization and environment, not only on the element. For example a C-C single bond is about 1.54 Å, an aromatic C-C about 1.40 Å and C=C about 1.34 Å, and angles are about 109.5°, 120° and 180° for sp³, sp² and sp carbon. Separate atom types (such as sp³ C, sp² C, aromatic C, carbonyl C) give each its own parameters so the force field reproduces real structures.

Q7. Explain the torsional energy term with reference to ethane. (3 marks)

Rotating one CH3 group of ethane changes the H-C-C-H dihedral angle φ. The energy follows \(E = (V_3/2)(1 + \cos3\phi)\): maximum (eclipsed) at 0°, 120°, 240° and minimum (staggered) at 60°, 180°, 300°. V3, about 12 kJ/mol, is the rotational barrier. The periodicity n = 3 reflects the three-fold symmetry of the methyl group.

Exam tips

  • Always write the total energy equation first, then each term with its formula and a one-line meaning.
  • Draw the Lennard-Jones curve and the torsional energy curve of ethane; they are standard diagrams.
  • In stretching numericals check the convention: ½k(Δr)² or k(Δr)²; state which you use.
  • Convert angle deviations to radians in bending numericals.
  • For PES questions draw a 1D curve with minima and a saddle point labelled and state 3N − 6.
  • Name at least three force fields (MM2, AMBER, CHARMM, MMFF94, OPLS, UFF) with their typical use.

FAQs

Is the steric energy a real, measurable energy?

Not directly. It is the energy relative to a hypothetical strain-free structure in that force field. Differences in steric energy between conformers of the same molecule are meaningful; absolute values from different force fields are not comparable.

How is molecular mechanics different from molecular dynamics?

Molecular mechanics is the energy model (the force field) and is often used for energy minimization at 0 K. Molecular dynamics uses the forces from that model to move atoms with time at a chosen temperature.

Why can MM not describe a chemical reaction?

Bonds are springs with fixed connectivity; the harmonic energy keeps rising as a bond stretches, and atom types do not change. Breaking or forming bonds needs electrons, which only quantum methods (or special reactive force fields) can describe.

Which force field should I use?

Use one designed for your molecules: AMBER or CHARMM for proteins and nucleic acids, MMFF94 or OPLS for drug-like organic molecules, MM3 for small organic molecules, UFF when unusual elements are present.

These notes follow the University of Mumbai first-year engineering syllabus (NEP 2020, Introduction to Computational Chemistry) and were prepared with AI help and checked.

More in Introduction to Computational Chemistry

See all →