The Standard Model is the quantum-field framework for electromagnetic, weak, and strong interactions. It specifies elementary fields, their symmetries, and the allowed couplings among them. Its predictions have passed an enormous range of experimental tests, but it is not a theory of gravity or a complete description of nature.
The familiar particle chart is only an inventory. The real model is a system of quantum fields constrained by local gauge symmetry, Lorentz symmetry, and quantum consistency.
The elementary fields fall into three groups:
Fermions come in three generations with the same charge pattern but increasing masses. Ordinary stable matter uses mostly first-generation up and down quarks and electrons. Heavier generations are unstable and decay through allowed interactions.
Each field has an antiparticle relation. Some neutral bosons are their own antiparticles, while a neutral composite such as the neutron has a distinct antiparticle because other quantum numbers differ.
The Standard Model gauge group is conventionally written
\[SU(3)_{\mathrm C}\times SU(2)_{\mathrm L}\times U(1)_{\mathrm Y}\]The factors organize:
After electroweak symmetry breaking, combinations of the electroweak gauge fields appear as the photon, \(W^+\), \(W^-\), and \(Z^0\). Electric charge is related to weak isospin and hypercharge by
\[Q=T_3+\frac{Y}{2}\]when hypercharge is normalized with this convention. References sometimes place the factor of one half inside the definition of \(Y\), so conventions must be aligned before comparing assignments.
Gauge symmetry is not merely a taxonomy. Requiring local symmetry determines the form of interactions and introduces gauge fields.
Electrically charged quarks and leptons couple to the photon. The strength is described by the electromagnetic coupling, often expressed through the fine-structure constant
\[\alpha=\frac{e^2}{4\pi\epsilon_0\hbar c}\approx\frac{1}{137}\]The displayed fraction is a low-energy approximation. Couplings run with energy scale because quantum fluctuations affect measured interaction strengths.
Photons carry no electric charge, so quantum electrodynamics lacks a direct photon self-coupling of the same gauge type as gluon self-interaction. Higher order processes can still make photons scatter through charged virtual fields.
Quarks carry color charge and interact through eight gluon fields. Gluons also carry color, so they interact with one another. Two central behaviors are:
Observable hadrons are color singlets. Baryons, mesons, and more exotic hadrons contain valence constituents together with gluons and sea quark–antiquark contributions. Most visible hadron mass comes from QCD energy, not from simply adding valence-quark rest masses.
The weak interaction acts on quarks and leptons through the massive \(W^\pm\) and \(Z^0\) bosons. Charged weak currents can change quark flavor and charged-lepton/neutrino identity. A beta-minus process is
\[n\rightarrow p+e^-+\bar\nu_e\]At the quark level, a down quark changes into an up quark. The neutral \(Z^0\) current does not change electric charge.
Weak interactions violate parity maximally in their charged-current coupling: left-handed fermion fields and right-handed antifermion fields participate in a chiral way. This is a precise field-theory statement, not a claim that ordinary macroscopic left and right are generally inequivalent.
The Higgs field has a nonzero vacuum expectation value. Its coupling to the electroweak fields gives masses to \(W^\pm\) and \(Z^0\) while leaving the photon massless. Yukawa couplings give fermions their Standard Model mass terms.
The Higgs mechanism does not account for all mass in everyday matter. Proton and neutron masses are dominated by QCD binding and field energy. It is more accurate to say that the Higgs field supplies elementary fermion rest-mass terms and electroweak gauge-boson masses.
Weak-interaction quark states are mixtures of mass eigenstates, summarized by the Cabibbo–Kobayashi–Maskawa matrix:
\[\begin{pmatrix}d'\\s'\\b'\end{pmatrix}=V_{\mathrm{CKM}}\begin{pmatrix}d\\s\\b\end{pmatrix}\]The matrix is unitary in the three-generation Standard Model. Its complex phase permits CP violation in quark processes, but the measured amount is insufficient by itself to explain the cosmic matter–antimatter imbalance.
Neutrino flavor states are mixtures of neutrino mass states through the PMNS matrix:
\[|\nu_\alpha\rangle=\sum_iU_{\alpha i}^*|\nu_i\rangle\]Neutrino oscillations establish nonzero neutrino mass differences. The minimal original Standard Model assumed massless neutrinos, so neutrino masses require an extension; their absolute mass scale and detailed origin remain active questions.
Exact conservation of electric charge follows from unbroken electromagnetic gauge symmetry. Total energy, momentum, and angular momentum follow spacetime symmetries. Color is conserved even though individual color labels are basis-dependent and confined.
Baryon and lepton numbers are extremely useful low-energy bookkeeping rules, but their theoretical status needs nuance. Individual flavors can change, and nonperturbative electroweak effects do not preserve baryon and lepton number separately in the same way as electric charge. Experimental searches strongly constrain processes such as proton decay.
# Introductory classification of elementary fermions, not all interactions.
fermions = [
{"name": "electron", "charge": -1, "kind": "lepton"},
{"name": "electron neutrino", "charge": 0, "kind": "lepton"},
{"name": "up quark", "charge": 2 / 3, "kind": "quark"},
]
for particle in fermions:
interactions = ["weak"]
if particle["charge"] != 0:
interactions.append("electromagnetic")
if particle["kind"] == "quark":
interactions.append("strong")
print(particle["name"], interactions)
print("Gravity lies outside the Standard Model.")
This Python is introductory. Gluons participate in the strong interaction, gauge bosons have self-interactions determined by the theory, and Higgs and electroweak couplings require more than matter-particle tags.
The Standard Model Lagrangian specifies propagating fields and interactions. Perturbation theory expands some observables in powers of couplings, often represented with Feynman diagrams. A diagram is a term or class of terms in a calculation, not a literal time-lapse photograph of hidden particle paths.
Predictions combine:
Probabilities come from squared total amplitudes, not from adding separate diagram probabilities before interference.
Renormalization relates theory parameters to measured quantities at a chosen energy scale. The Standard Model is predictive because a finite set of measured parameters supports many independent predictions, not because every particle mass and mixing angle is derived from first principles.
Evidence includes deep-inelastic scattering for quark substructure, jets for quarks and gluons, weak neutral currents, production and decay of \(W\) and \(Z\) bosons, precision electroweak measurements, neutrino oscillations, and observation of a Higgs boson with properties so far consistent with the Standard Model.
Collider detectors reconstruct tracks, showers, missing transverse momentum, and invariant masses. A resonance claim requires a signal model, backgrounds, systematic uncertainties, and statistical assessment. The particle chart is a summary of this inference, not raw visual observation.
The framework does not include a quantum theory of gravity. It does not identify the observed dark matter, explain dark energy, or fully account for the matter–antimatter asymmetry. It contains many measured parameters whose values are not predicted internally. The origin of neutrino masses also lies beyond its minimal original form.
These limitations do not make its successful predictions approximate guesses. They define its scope and motivate extensions. Any proposed extension must recover the Standard Model's tested results in the regime where they apply.
A sound map should verify:
The map remains an introduction. Full calculations require quantum field theory, group representations, gauge fixing, renormalization, nonperturbative QCD, and careful experimental modeling.
Illustrate the convention Q equals T3 plus Y divided by two for a fixed weak-isospin component. The question for this calculation is precise: how does electric charge for T3=minus-one-half change when we change weak hypercharge, while keeping the other choices fixed? The earlier sections explain the physical relationship. Here we turn one part of that relationship into a calculation that you can run, inspect, and change in Google Colab.
Hypercharge assignments are discrete properties of representations; the curve is an algebraic guide, not a continuum of new particles. Keep that sentence beside the results. A formula can return a number outside its useful range, and a plotting library will usually draw that number without asking whether the physical assumptions still hold. The selected interval is from -2 to 2 dimensionless. It gives us a specific domain to discuss instead of leaving the graph's range to a software default.
Use the notebook link above the lesson, run the setup cell, and then run the cells in order. The code below is also included there. NumPy handles the arrays of numerical values, SymPy keeps the equation symbolic, and Matplotlib draws the results. If these libraries or notebook cells are unfamiliar, start with Your first physics notebook.
In this small example, q stands for weak hypercharge, expressed in dimensionless. The output is
electric charge for T3=minus-one-half, expressed in elementary-charge units. The equation below uses the numerical values in those
units. Any fixed coefficients therefore carry the units needed to make the relation
consistent. A value supplied in another unit must be converted before it enters this
expression.
This is a function of one changing input. It is not a statement that the physical system has only one variable. We deliberately hold the other inputs fixed so that one cause of variation is visible. Changing several inputs at once would make it harder to tell which change produced the output difference. Write down the held-fixed choices before trying a different experiment.
At -1 dimensionless, the expression gives -1 elementary-charge units. This is our reference calculation. It is a prediction of the stated example, not a new measurement. Its displayed digits help us compare implementations. They should not be read as a claim that physical inputs are known to six significant figures.
import numpy as np
import sympy as sp
import matplotlib.pyplot as plt
q = sp.Symbol("q", real=True)
expression = sp.sympify("-1/2+q/2", locals={"q": q})
reference_input = -1.0
reference_output = float(expression.subs(q, reference_input))
print("Input:", reference_input, "dimensionless")
print(
"Predicted electric charge for T3=minus-one-half:",
reference_output,
"elementary-charge units",
)
sp.Symbol declares a mathematical symbol. It does not assign a numerical measurement
to that symbol. subs then replaces the symbol with our chosen input, and float
converts the resulting symbolic number into a standard Python numerical value.
Keeping these steps separate lets us inspect the equation before numerical substitution.
It also prevents a later plot from becoming the only surviving record of the model.
Before drawing hundreds of points, calculate three. The lower endpoint gives -1.5 elementary-charge units. The midpoint, at 0 dimensionless, gives -0.5 elementary-charge units. The upper endpoint gives 0.5 elementary-charge units. Read these together with the assumptions: they describe different choices of weak hypercharge within the same example, with the other inputs held fixed.
These three values are a useful first check, but they do not establish the shape between them. Two endpoints can be equal even when the curve bends or oscillates in between. Likewise, a large change between endpoints does not tell us whether the relationship is linear. We need the equation and intermediate samples to answer those questions.
evaluate = sp.lambdify(q, expression, modules="numpy")
inputs = np.array([-2.0, 0.0, 2.0])
outputs = np.asarray(evaluate(inputs), dtype=float)
outputs = np.broadcast_to(outputs, inputs.shape)
for input_value, output_value in zip(inputs, outputs):
print(
f"{input_value:.6g} dimensionless -> "
f"{output_value:.6g} elementary-charge units"
)
assert np.all(np.isfinite(outputs))
lambdify turns the symbolic expression into a numerical function. We explicitly select
NumPy as its numerical backend so it can accept an array. The same expression now has
two useful forms: one for algebra and one for calculating many cases. The assertion
checks that the chosen inputs produce finite outputs. It would catch an infinity or an
undefined numerical result, but a finite value can still be physically inappropriate.
The horizontal axis shows weak hypercharge; the vertical axis shows electric charge for T3=minus-one-half. Every plotted point is a prediction of the same expression. We mark the reference case separately so that a reader can connect the earlier printed value to its place on the curve. The axis labels include units because a shape without a scale cannot tell us the size of a physical effect.
input_grid = np.linspace(-2.0, 2.0, 301)
output_grid = np.asarray(evaluate(input_grid), dtype=float)
output_grid = np.broadcast_to(output_grid, input_grid.shape)
fig, ax = plt.subplots(figsize=(7, 4))
ax.plot(input_grid, output_grid, label="Stated model")
ax.scatter([reference_input], [reference_output], label="Reference case", zorder=3)
ax.set_xlabel("Weak hypercharge (dimensionless)")
ax.set_ylabel("Electric charge for t3=minus-one-half (elementary-charge units)")
ax.legend()
ax.grid(alpha=0.25)
fig.tight_layout()
plt.show()
Look for a sign change, a turning point, or a region where the curve becomes steep. Connect each feature to the expression rather than to the colour of the line. If the curve has a minimum or maximum, changing the input in opposite directions may have similar effects on the output near that point. If it is nearly straight over a short interval, a local linear approximation may be useful even when the complete expression is nonlinear.
Increasing the number of samples makes the line smoother and may reveal features that a coarse grid missed. It does not improve the physical inputs or enlarge the model's validity range. For quantities that can take only discrete values, use the line as a guide to the relationship and interpret only the allowed input values. A plotting function does not enforce such restrictions for you.
A derivative asks a more specific question than the whole graph: how quickly does electric charge for T3=minus-one-half change near the reference input? Its units are the output unit divided by the input unit. For this calculation, the derivative at -1 dimensionless is 0.5 in those ratio units. Locally, the output increases as the input increases. This statement is local; the sign or size of the slope can be different elsewhere on the curve.
\[f'(q) = \frac{1}{2}\]For a small input change, multiply the derivative by that change to estimate the output change. Then compare that estimate with a fresh evaluation of the full expression. The distinction between these two calculations matters: the derivative gives a tangent approximation, while substitution evaluates the chosen expression at the new point.
slope_expression = sp.diff(expression, q)
slope_at_reference = float(slope_expression.subs(q, reference_input))
changed_input = -0.98
linear_prediction = reference_output + slope_at_reference * (
changed_input - reference_input
)
full_prediction = float(evaluate(changed_input))
print("Symbolic derivative:", slope_expression)
print("Tangent prediction:", linear_prediction, "elementary-charge units")
print("Full expression:", full_prediction, "elementary-charge units")
print(
"Approximation difference:",
full_prediction - linear_prediction,
"elementary-charge units",
)
Here the changed input is -0.98 dimensionless. The tangent estimate is -0.99 elementary-charge units, while the full expression gives -0.99 elementary-charge units. If the two values are close, it means the chosen input change is small enough for this local approximation at this point. It does not mean the entire model is linear. If the slope is zero, a quadratic or higher-order term may supply the leading change instead.
This is also the beginning of uncertainty propagation. If the input has a small stated standard uncertainty, the magnitude of the slope times that uncertainty estimates one contribution to output uncertainty. Do not automatically use the same rule for a wide interval, a discontinuity, a turning point with zero first derivative, or several correlated uncertain inputs. Those situations need more of the model than one slope.
We can estimate the same slope from values on either side of the reference point. Subtract the lower output from the upper output and divide by twice the input step. Parentheses are essential: the entire output difference must be divided by the entire input interval. Without them, Python can execute a different mathematical expression while still producing a plausible number.
The calculation below uses three decreasing step sizes. Each estimate is compared with the symbolic derivative, so the reference is independent of the numerical difference formula. Near an endpoint, it is acceptable here to evaluate a small extension only because the displayed mathematical expression is smooth there; such a check does not assert that extrapolated values describe additional physical cases.
input_span = 4.0
for fraction in [1e-2, 1e-3, 1e-4]:
step = input_span * fraction
upper = float(evaluate(reference_input + step))
lower = float(evaluate(reference_input - step))
numerical_slope = (upper - lower) / (2 * step)
difference = numerical_slope - slope_at_reference
print(f"step={step:.6g}: slope={numerical_slope:.6g}, difference={difference:.6g}")
For a smooth function, reducing the step often reduces the approximation error at first. Very small steps can eventually make subtraction of nearly equal floating-point values less reliable. Therefore “smaller” is not an unlimited guarantee of “better.” Compare the observed behaviour over a useful range of steps instead of choosing the smallest number the computer can represent.
An absolute slope difference is useful when the expected slope is near zero. A relative difference would divide by a very small reference and could look enormous even when the absolute discrepancy is tiny. Away from zero, a relative difference can help compare quantities with very different scales. The tolerance should reflect the question and the numerical method, rather than a universal decimal threshold copied into every test.
Make one copy of the reference calculation before editing it. Choose a second value of weak hypercharge inside the stated interval, predict whether electric charge for T3=minus-one-half will rise or fall, and then evaluate the expression. Place the prediction and the result in a text cell. If they disagree, identify whether the mistake was in the sign, the unit conversion, the algebra, or the assumption about how the curve behaves.
Next choose a shorter plotting interval around the reference point. Compare the local curve with its tangent approximation. Then widen the interval again. The difference shows why a useful local estimate need not describe the whole range. Keep the axis labels and numerical scale visible when comparing the plots; automatic axis limits can make two different effects appear equally large.
Finally, return to the physical limit stated at the start: Hypercharge assignments are discrete properties of representations; the curve is an algebraic guide, not a continuum of new particles. Describe one change to the setup that would violate that limit. State what new input, equation, or observation would be needed before trusting an answer in the changed situation. This last step connects the Python experiment to the physics instead of treating successful execution as the only criterion for a useful result.
Before saving, restart the runtime and run all cells in order. A result that depends on an earlier, now-deleted input cell is not reproducible from the saved notebook. Keep unrounded values for later calculations, round only the reported output, and label any new data as measured, assumed, or generated. The graph and printed values should remain traceable to the same expression and the same choices of inputs.
There is another way to check that the expression and its derivative describe the same relationship. Add up the small output changes predicted by the slope across the chosen input interval. In the continuous limit, this integral equals the output at the upper endpoint minus the output at the lower endpoint. The result has units of elementary-charge units: the input unit in the integration cancels the input unit in the denominator of the slope.
This statement is about the mathematics of this particular relationship. It does not assign a new physical meaning to an arbitrary area under a graph. For example, an area under force versus distance represents work, while an area under a different pair of quantities may represent something else or have no standard name. Always carry the axis units through the calculation before naming an integral.
slope_function = sp.lambdify(q, slope_expression, modules="numpy")
endpoint_change = float(evaluate(2.0) - evaluate(-2.0))
for points in [101, 201, 401]:
grid = np.linspace(-2.0, 2.0, points)
slopes = np.asarray(slope_function(grid), dtype=float)
slopes = np.broadcast_to(slopes, grid.shape)
integrated_change = np.trapezoid(slopes, grid)
print(
points,
"integrated change:",
integrated_change,
"endpoint change:",
endpoint_change,
)
The trapezoidal rule joins neighbouring slope samples with straight segments and adds their signed areas. A negative contribution remains negative; replacing every slope by its magnitude would calculate a different quantity. Increasing the sample count provides a practical refinement check. If the values do not settle toward the endpoint difference, first inspect the interval, singularities, and array ordering.
Do not conclude that two agreeing calculations prove the model is physically complete. Both use the same selected relationship, so an omitted effect would be omitted from both. Their agreement is evidence that the numerical tools implement that relationship consistently. Comparing with an independent experiment or a more appropriate physical model is a separate test.
Keep this comparison in the notebook when you change the expression. It is particularly useful after adding a coefficient, changing a sign convention, or converting an input unit. A code cell that produces a smooth graph can conceal these mistakes; a second calculation of the same output change gives you another place to notice them.