GLOBAL KNOWLEDGE ARK

Chemistry · Lesson

Force fields, molecular mechanics and model assumptions

Evaluate assigned potential-energy functions, their gradients and stationary points without confusing optimization with sampling.

Back to the Chemistry map

By the end, you can

  • Differentiate a harmonic energy with compatible force units.
  • Locate a Lennard-Jones minimum and interpret the energy reference.
  • Calculate a coupled gradient and check quadratic stability.
  • Distinguish a descent step from physical dynamics or an equilibrium population.
01

A force field is an assigned potential-energy model

A molecular-mechanics model calculates energy from coordinates and an assigned functional form and parameters. Bonded terms can describe bond distances, angles and torsions; nonbonded terms can describe interactions among selected sites. Each model makes choices about what degrees of freedom and interactions it represents.

A spring-like bond term illustrates a local deformation energy. It does not automatically describe bond breaking, electronic rearrangement or every chemical reaction. Some models allow additional phenomena, so state the actual model rather than treating all force fields as identical.

02

An assigned function makes its assumptions inspectable

The original harmonic example takes separation as one scalar coordinate. Equal extension and compression have equal energy under that symmetric function, but opposite radial force. Its quadratic form is a local model; extrapolating it to arbitrary separation would not supply a chemical dissociation curve.

The separate symbolic site-pair model assigns ε and σ in an unshifted Lennard-Jones function. Its zero at σ follows an energy-reference convention; the slope there is nonzero. At 2^(1/6)σ the force vanishes and the energy reaches −ε. Specifying the functional form matters more than attaching a familiar model name.

In a full calculation, parameter origin, interactions included, cutoffs, electrostatics, boundaries and omitted effects affect the meaning of the result. The pair below deliberately assigns none of those extra terms and does not represent a particular actual atom.

Energy and force answer different questions in an assigned pair model

Assigned U / kJ mol⁻¹

Original unshifted Lennard-Jones site-pair model with ε=0.750 kJ mol⁻¹, σ=0.320 nm and U(∞)=0. Circles mark σ, the minimum and 0.400 nm; the dashed curve evaluates this assigned function. No measured atom parameters or chemical bond are represented.0.320.380.440.50.56-0.8-0.588-0.375-0.1620.05

Separation r / nm

  • Assigned site-pair cases
  • — Assigned potential
Underlying data
Separation r / nmAssigned U / kJ mol⁻¹
0.320 · Assigned site-pair cases
0.3591878554589994-0.75 · Assigned site-pair cases
0.4-0.5802735697919998 · Assigned site-pair cases

Original unshifted Lennard-Jones site-pair model with ε=0.750 kJ mol⁻¹, σ=0.320 nm and U(∞)=0. Circles mark σ, the minimum and 0.400 nm; the dashed curve evaluates this assigned function. No measured atom parameters or chemical bond are represented.

03

Forces follow the gradient of the assigned energy

A force is the negative derivative or gradient of potential energy with respect to the corresponding position. Coordinate, energy and force units must be compatible. A minimum has zero gradient under the specified differentiable model, but that alone does not identify its wider stability or chemical validity.

A numerical derivative can check an implemented force over an appropriate step-size range. Agreement tests the derivative calculation for that model; it does not establish that the potential reproduces real chemistry.

04

Coordinate coupling and multiple minima change the interpretation

For a two-coordinate quadratic, the coupling term contributes to both gradient components. Reading only the separate x and y spring terms misses those contributions. A positive-definite Hessian establishes the stability of this assigned quadratic minimum, while a derivative check tests calculation consistency. Neither establishes a real molecule’s accuracy.

The double-well example has two equal minima and a central maximum. One descent step from positive q moves toward one minimum. Starting elsewhere can lead elsewhere; the optimization path is not a physical time trajectory. An energy landscape alone also leaves statistical weights and temperature unspecified.

Because the generalized coordinate q is dimensionless, its gradient has energy units. The optimization coefficient supplies the reciprocal-energy unit needed for a dimensionless update. Calling every negative gradient a force in newtons would lose the coordinate convention.

05

A parameter belongs to its training and application scope

Parameters can be fitted or otherwise assigned using selected molecular classes and observations. Combining terms or parameters from incompatible conventions can change the model’s meaning. Keep charges, combining rules, atom types and boundary treatment explicit.

A good fit to one set of data does not guarantee transfer to other chemical states, environments or properties. Test relevant independent cases and retain known omissions, including polarization or reactive changes where applicable.

06

Finding a minimum is different from finding a population

Optimization follows a procedure toward a stationary structure or lower assigned energy. Several minima can exist, and the result can depend on the starting coordinates and method. A single optimized geometry is not a complete equilibrium ensemble.

Temperature-dependent populations include accessible states and the corresponding statistical weights under the chosen model. The original energy examples below distinguish model evaluation, derivatives and populations without claiming to predict an actual molecule’s structure from an invented potential.

Worked examples

A harmonic force has a direction

Assign U(r)=k(r−r₀)²/2 with k=620 kJ mol⁻¹ nm⁻², r₀=0.145 nm and r=0.159 nm. Define positive radial force as tending to increase separation. Find energy and force.

  1. The extension is 0.0140 nm. U=620×0.0140²/2 = 0.0607600 kJ mol⁻¹.
  2. Fᵣ=−dU/dr=−k(r−r₀)=−8.680 kJ mol⁻¹ nm⁻¹. The negative sign tends to reduce the separation in this scalar convention.
  3. Using the exact Avogadro constant N_A=6.02214076×10²³ mol⁻¹, one kJ mol⁻¹ nm⁻¹ corresponds to 1000/(N_A×10⁻⁹) N per assigned pair. Thus Fᵣ=−14.4135 pN.
  4. This assigned local harmonic potential provides no bond-breaking curve or actual bond parameter. Cartesian forces on two atoms would also require the chosen position and direction convention.

U=0.0607600 kJ mol⁻¹; Fᵣ=−8.680 kJ mol⁻¹ nm⁻¹, or −14.4135 pN per pair.

A zero energy is not necessarily a zero force

Assign the unshifted isolated-site potential U(r)=4ε[(σ/r)¹²−(σ/r)⁶], ε=0.750 kJ mol⁻¹ and σ=0.320 nm, with U(∞)=0. Find its minimum and compare r=σ with r=0.400 nm.

  1. The radial force is Fᵣ=24ε/r[2(σ/r)¹²−(σ/r)⁶]. Solving Fᵣ=0 gives r_min=2^(1/6)σ=0.359187855 nm, where U=−ε=−0.750 kJ mol⁻¹.
  2. At r=σ, U=0 but Fᵣ=24ε/σ=+56.25 kJ mol⁻¹ nm⁻¹. A selected energy reference and a derivative answer different questions.
  3. At 0.400 nm, U=−0.580273570 kJ mol⁻¹ and Fᵣ=−5.61172709 kJ mol⁻¹ nm⁻¹. The assigned interaction is attractive in this radial convention.
  4. The two sites are symbolic. No cutoff, mixing rule, solvent or many-body term is assigned. These values do not predict a measured dissociation energy or identify a real chemical bond.

Minimum at 0.359187855 nm; zero energy at σ still has a positive force.

A coupled potential needs both gradient components

Use U=kₓΔx²/2 + kᵧΔy²/2 + aΔxΔy, with Δx=x−0.030 nm and Δy=y+0.020 nm. Assign kₓ=400, kᵧ=250 and a=80, each in kJ mol⁻¹ nm⁻². At x=0.050 nm, y=0.010 nm, find energy, force and the local stability of the stationary point.

  1. Δx=0.020 nm and Δy=0.030 nm. U=0.0800 + 0.1125 + 0.0480 = 0.2405 kJ mol⁻¹.
  2. ∇U=(kₓΔx+aΔy, kᵧΔy+aΔx)=(10.4,9.1) kJ mol⁻¹ nm⁻¹; force is (−10.4,−9.1) in those units.
  3. The Hessian is [[400,80],[80,250]]. Its first diagonal entry is positive and determinant is 400×250−80²=93,600 (kJ mol⁻¹ nm⁻²)², so the quadratic form is positive definite. The unique minimum is (0.030,−0.020) nm, with U=0.
  4. Central differences [U(x+h,y)−U(x−h,y)]/(2h), and the analogous y calculation, with h=10⁻⁴ nm check the analytic gradient for this quadratic. Derivative agreement verifies the chosen calculation, not a molecule’s physical validity.

U=0.2405 kJ mol⁻¹, force (−10.4,−9.1); the specified quadratic has a stable minimum.

One descent step does not establish a population

For dimensionless q, assign U(q)=A(q²−b²)², A=9.60 kJ mol⁻¹ and b=0.800. From q=0.200, apply q_next=q−ηdU/dq with η=0.0100 mol kJ⁻¹. What does the step establish?

  1. The minima are q=±0.800 with U=0. At q=0, U=Ab⁴=3.932160 kJ mol⁻¹. Curvature is positive 8Ab²=49.152 kJ mol⁻¹ at each minimum and negative −4Ab²=−24.576 kJ mol⁻¹ at the center.
  2. At q=0.200, U=3.456000 kJ mol⁻¹ and dU/dq=4Aq(q²−b²)=−4.608000 kJ mol⁻¹. Thus q_next=0.246080, with U=3.22325840 kJ mol⁻¹.
  3. The chosen step lowers this assigned energy. It is an optimization step, without a physical time, temperature, thermal distribution or transition rate. Since q is dimensionless, its gradient is not a Cartesian force in newtons.

A lower assigned energy after one optimization step; no equilibrium population or dynamical lifetime follows.

Try it yourself

  1. Use r=0.131 nm with the same k and r0. Find U and F_r.

    Show the answer and reasoning

    U=0.0607600 kJ mol⁻¹; Fᵣ=+8.680 kJ mol⁻¹ nm⁻¹, or +14.4135 pN.

    Equal magnitude compression has the same quadratic energy and the opposite negative-gradient sign.

  2. Change only epsilon to 1.20 kJ/mol. Find the minimum position/energy and F_r at sigma.

    Show the answer and reasoning

    r_min=0.359187855 nm, U_min=−1.20 kJ mol⁻¹, Fᵣ(σ)=+90.0 kJ mol⁻¹ nm⁻¹.

    Scaling epsilon scales energy and force; sigma controls this model minimum position.

  3. Change only coupling a from +80 to -80. Recalculate U and force at the same position.

    Show the answer and reasoning

    U=0.1445 kJ mol⁻¹; force (−5.6,−5.9) kJ mol⁻¹ nm⁻¹; the determinant remains 93,600 and the minimum unchanged.

    The coupling energy and cross-gradient change sign. Positive definiteness still holds.

  4. Change only b to 0.500. Find the minima, central barrier and next q from the same initial q and eta.

    Show the answer and reasoning

    Minima ±0.500; barrier 0.600 kJ mol⁻¹; gradient −1.6128 kJ mol⁻¹; next q=0.216128.

    The landscape changes although the descent rule is retained.

What to carry forward

  • A force follows the negative gradient in the declared coordinate convention.
  • Zero energy and zero force are different conditions.
  • A numerical derivative check verifies the assigned function, not its physical accuracy.
  • Optimization does not supply a physical time or thermal population.

References

Teaching resources and reference material supporting this lesson’s explanations and examples.

  1. The International System of Units, SI Brochure 9th edition, V4.01Bureau international des poids et mesuresSourcebipm.orgRead source
  2. GROMACS developers2 sources
    1. GROMACS 2026.4: Bonded interactionsGROMACS developersSourcemanual.gromacs.orgRead source
    2. GROMACS 2026.4: Non-bonded interactionsGROMACS developersSourcemanual.gromacs.orgRead source