Level 5 — MasteryImmune System

Immune System

75 minutes60 marksprintable — key stays hidden on paper

Level 5 Mastery Examination: Quantitative & Systems Immunology

Time limit: 75 minutes Total marks: 60 Instructions: Answer ALL three questions. Full marks require rigorous reasoning, correct use of mathematics, and clear biological justification. Show all working. Calculators/pseudocode permitted.


Question 1 — Herd Immunity, Vaccination & the Basic Reproduction Number (20 marks)

The spread of a pathogen is governed by the basic reproduction number R0R_0, the average number of secondary infections caused by one infected individual in a fully susceptible population. When a fraction pp of the population is immune, the effective reproduction number is:

Re=R0(1p)R_e = R_0(1-p)

(a) Derive the critical vaccination threshold pcp_c required to achieve herd immunity (i.e. the condition under which an epidemic cannot grow). State the biological meaning of the condition Re<1R_e < 1. (4 marks)

(b) Measles has R0=15R_0 = 15. A vaccine confers immunity with efficacy ε=0.95\varepsilon = 0.95 (probability an inoculated person becomes immune). If a fraction vv of the population is vaccinated, the immune fraction is p=εvp = \varepsilon v. Compute the minimum vaccination coverage vv needed for herd immunity. Comment on the feasibility. (5 marks)

(c) Distinguish active and passive immunity, and explain which type a vaccine provides and why this is what enables the durable herd immunity modelled above (link to immunological memory). (5 marks)

(d) Write a short pseudocode/Python function herd_threshold(R0, eff) that returns the minimum vaccination coverage, and returns the string "impossible" when no coverage can achieve herd immunity. Identify the exact condition on R0R_0 and ε\varepsilon for the "impossible" case and justify it mathematically. (6 marks)


Question 2 — Kinetics of the Primary vs Secondary Antibody Response (22 marks)

During the primary immune response, plasma antibody concentration A(t)A(t) (in arbitrary units, AU) after antigen exposure at t=0t=0 can be modelled by a production–decay equation:

dAdt=kS(t)δA,S(t)={1tτlag0t<τlag\frac{dA}{dt} = k\,S(t) - \delta A, \qquad S(t)=\begin{cases}1 & t \ge \tau_{\text{lag}}\\ 0 & t < \tau_{\text{lag}}\end{cases}

where kk is the production rate constant, δ\delta is the antibody decay constant, and τlag\tau_{\text{lag}} is the lag before plasma cells begin secreting.

(a) For tτlagt \ge \tau_{\text{lag}} with A(τlag)=0A(\tau_{\text{lag}})=0, solve the ODE and show that:

A(t)=kδ(1eδ(tτlag))A(t) = \frac{k}{\delta}\left(1 - e^{-\delta (t-\tau_{\text{lag}})}\right)

State the steady-state (plateau) antibody level. (6 marks)

(b) Given k=8 AU day1k = 8\ \text{AU day}^{-1} and δ=0.2 day1\delta = 0.2\ \text{day}^{-1}, compute the plateau level and the time (measured from τlag\tau_{\text{lag}}) taken to reach 90% of the plateau. (5 marks)

(c) In the secondary response, memory cells cause: (i) a shorter lag τlag\tau_{\text{lag}} and (ii) a higher production constant k=5kk' = 5k. Using the plateau formula, compute the ratio of secondary to primary plateau antibody levels. Explain the cellular and molecular basis (memory B cells, clonal expansion, affinity maturation, antibody class) for each of the three differences (lag, magnitude, antibody affinity/class). (6 marks)

(d) Antibodies are Y-shaped glycoproteins. Using the structure (heavy/light chains, variable/constant regions, Fab/Fc), explain quantitatively why one IgG molecule can bind two identical epitopes but an IgM pentamer can theoretically bind ten. Relate valency to the efficiency of agglutination. (5 marks)


Question 3 — Antigen Presentation, MHC Diversity & a Self/Non-self Decision Model (18 marks)

(a) Compare MHC class I and class II: which cells express them, which T cell subset each engages (via CD8/CD4), and the source of peptides they present (cytosolic vs endosomal). Link each pathway to cell-mediated vs humoral outcomes. (6 marks)

(b) A T cell activates only when the combined signal exceeds a threshold. Model activation with a logistic (sigmoid) decision function:

Pactivate=11+e(w1x1+w2x2θ)P_{\text{activate}} = \frac{1}{1 + e^{-(w_1 x_1 + w_2 x_2 - \theta)}}

where x1x_1 = normalised MHC–peptide binding strength, x2x_2 = normalised co-stimulation (signal 2), w1=w2=4w_1=w_2=4, and θ=6\theta=6.

Compute PactivateP_{\text{activate}} for a strong peptide but no co-stimulation (x1=1,x2=0x_1=1, x_2=0) versus full signals (x1=1,x2=1x_1=1, x_2=1). Interpret the result in terms of anergy / self-tolerance and explain how failure of this two-signal requirement relates to autoimmune disorders. (7 marks)

(c) An MHC locus with nn codominantly-expressed alleles per individual, drawn from a population pool, maximises presented-peptide diversity. If two randomly chosen alleles at one locus are distinct (heterozygous) with probability HH, and a pool has mm equally-frequent alleles, express HH in terms of mm, evaluate for m=20m=20, and explain the evolutionary immunological advantage of MHC heterozygosity. (5 marks)


Answer keyMark scheme & solutions

Question 1

(a) Epidemic cannot grow when each infection produces on average <1 new infection: Re<1R_e < 1 (1 mark, meaning: infection chain dies out). Set R0(1p)<11p<1/R0p>11R0R_0(1-p) < 1 \Rightarrow 1-p < 1/R_0 \Rightarrow p > 1 - \dfrac{1}{R_0} (2 marks). Therefore the critical threshold: pc=11R0\boxed{p_c = 1 - \frac{1}{R_0}} (1 mark).

(b) pc=11/15=14/15=0.93p_c = 1 - 1/15 = 14/15 = 0.9\overline{3} (2 marks). Immune fraction p=εvp = \varepsilon v, require εvpc\varepsilon v \ge p_c: vpcε=0.93330.95=0.982598.2%v \ge \frac{p_c}{\varepsilon} = \frac{0.9333}{0.95} = 0.9825 \approx 98.2\% (2 marks). Comment: ~98% coverage is very high and hard to sustain; because R0R_0 is large and efficacy <100%, even universal vaccination is barely sufficient — this is why measles resurges when coverage dips (1 mark).

(c) (5 marks)

  • Active immunity: the individual's own immune system responds to antigen, produces antibodies AND memory cells; slow onset but long-lasting (1).
  • Passive immunity: pre-formed antibodies transferred (e.g. mother→fetus, antiserum); immediate but temporary, no memory (1).
  • A vaccine provides active (artificial) immunity — it presents antigen (attenuated/inactivated pathogen/subunit) triggering the person's own response (1).
  • Enables durable herd immunity because it generates immunological memory (memory B and T cells) (1) → immunity persists for years, keeping the immune fraction pp high and stable over time, unlike passive immunity which would wane in weeks (1).

(d) (6 marks)

def herd_threshold(R0, eff):
    pc = 1 - 1/R0            # critical immune fraction
    if pc <= 0:              # R0 <= 1, no vaccination needed
        return 0.0
    v = pc / eff
    if v > 1:               # required coverage exceeds 100%
        return "impossible"
    return v

(function logic 3 marks) Impossible condition: need v=pc/ε1εpc=11/R0v = p_c/\varepsilon \le 1 \Rightarrow \varepsilon \ge p_c = 1 - 1/R_0. So herd immunity is unachievable by vaccination when ε<11R0    R0>11ε\varepsilon < 1 - \frac{1}{R_0} \iff R_0 > \frac{1}{1-\varepsilon} (2 marks). Justification: even vaccinating everyone (v=1v=1) only makes p=εp=\varepsilon; if ε<pc\varepsilon < p_c then Re=R0(1ε)>1R_e = R_0(1-\varepsilon) > 1 and the epidemic still grows (1 mark).


Question 2

(a) (6 marks) For tτlagt \ge \tau_{\text{lag}}: dAdt+δA=k\dfrac{dA}{dt} + \delta A = k (linear first-order). Integrating factor eδte^{\delta t} (1). ddt(Aeδt)=keδtAeδt=kδeδt+C\dfrac{d}{dt}(A e^{\delta t}) = k e^{\delta t} \Rightarrow A e^{\delta t} = \frac{k}{\delta}e^{\delta t} + C (2). General: A=kδ+CeδtA = \frac{k}{\delta} + Ce^{-\delta t} (1). Apply A(τlag)=0A(\tau_{\text{lag}})=0: Ceδτlag=kδC e^{-\delta\tau_{\text{lag}}} = -\frac{k}{\delta} (1). Substituting and letting u=tτlagu = t-\tau_{\text{lag}}: A(t)=kδ(1eδ(tτlag)) A(t) = \frac{k}{\delta}\left(1 - e^{-\delta(t-\tau_{\text{lag}})}\right)\ \checkmark Plateau (tt\to\infty): Ass=kδA_{ss} = \dfrac{k}{\delta} (1).

(b) (5 marks) Plateau =k/δ=8/0.2=40= k/\delta = 8/0.2 = 40 AU (2). 90% of plateau: 1eδu=0.9eδu=0.11 - e^{-\delta u} = 0.9 \Rightarrow e^{-\delta u} = 0.1 (1). u=ln10δ=2.30260.2=11.51u = \dfrac{\ln 10}{\delta} = \dfrac{2.3026}{0.2} = 11.51 days (2).

(c) (6 marks) Ratio of plateaus =k/δk/δ=5kk=5= \dfrac{k'/\delta}{k/\delta} = \dfrac{5k}{k} = 5 (2 marks). Cellular/molecular basis (4 marks, 1 each + 1):

  • Shorter lag: memory B cells already exist as an expanded clone specific to the antigen — no need to start clonal selection from a rare naïve cell, so plasma-cell differentiation is rapid.
  • Higher magnitude (k=5kk'=5k): larger memory clone → more plasma cells → greater secretion rate.
  • Higher affinity: affinity maturation (somatic hypermutation + selection in germinal centres during primary response) yields higher-affinity B-cell receptors.
  • Class switching: secondary response is dominated by IgG (vs IgM in primary), giving better tissue penetration and longer half-life.

(d) (5 marks) IgG monomer = 2 heavy + 2 light chains; the two Fab arms each carry one antigen-binding site formed by VH+VLV_H+V_Lvalency 2 (2). IgM is a pentamer (5 monomers joined by a J chain), 5×2=105\times2 = 10 potential binding sites (1). High valency increases avidity and cross-links antigens on many cells/particles → efficient agglutination, so IgM is a powerful early agglutinin despite lower individual-site affinity (2).


Question 3

(a) (6 marks — 1 each)

Feature MHC I MHC II
Expressed by all nucleated cells professional APCs (dendritic, macrophage, B cell)
T cell / co-receptor CD8⁺ cytotoxic T (CD8) CD4⁺ helper T (CD4)
Peptide source cytosolic/endogenous (e.g. viral proteins) endosomal/exogenous (phagocytosed)
Outcome cell-mediated: kill infected cells helper cells drive humoral (B cell/antibody) + macrophage activation

(b) (7 marks)

  • No co-stimulation (x1=1,x2=0x_1=1,x_2=0): exponent =4(1)+4(0)6=2= 4(1)+4(0)-6 = -2; P=11+e2=11+7.389=0.119P = \dfrac{1}{1+e^{2}} = \dfrac{1}{1+7.389} = 0.119 (2).
  • Full (x1=1,x2=1x_1=1,x_2=1): exponent =4+46=2= 4+4-6 = 2; P=11+e2=11.1353=0.881P = \dfrac{1}{1+e^{-2}} = \dfrac{1}{1.1353} = 0.881 (2).
  • Interpretation: signal 1 alone (MHC-peptide) gives low activation (~12%) → the T cell is effectively not activated / rendered anergic; this two-signal requirement enforces self-tolerance because self-antigen-presenting cells usually lack co-stimulation (2).
  • Autoimmunity: if co-stimulation is inappropriately provided against self (e.g. infection/tissue damage supplying signal 2, or defective regulatory checkpoints), self-reactive T cells cross the threshold and attack self tissue → autoimmune disease (1).

(c) (5 marks) Probability both alleles distinct = 1 − P(both same). Drawing two of mm equally frequent alleles (with replacement / large pool): P(same) =1/m= 1/m, so H=11mH = 1 - \frac{1}{m} (2). For m=20m=20: H=10.05=0.95H = 1 - 0.05 = 0.95 (1). Advantage: a heterozygote presents peptides on two different MHC variants, covering a broader range of pathogen peptides → detects more pathogens; heterozygote advantage (overdominant selection) maintains high MHC polymorphism in populations (2).


[
  {"claim": "Measles pc = 1 - 1/15 = 14/15", "code": "R0=15; pc=1-Rational(1,R0); result = (pc==Rational(14,15))"},
  {"claim": "Required vaccination coverage v = pc/eff approx 0.9825", "code": "pc=1-Rational(1,15); v=pc/Rational(95,100); result = (abs(float(v)-0.98246)<1e-3)"},
  {"claim": "Antibody plateau k/delta = 40 AU", "code": "k=8; d=Rational(2,10); result = (Rational(k,1)/d==40)"},
  {"claim": "Time to 90% plateau = ln(10)/0.2 approx 11.513 days", "code": "d=Rational(2,10); t=ln(10)/d; result = (abs(float(t)-11.5129)<1e-3)"},
  {"claim": "Secondary plateau ratio = 5", "code": "k=symbols('k'); d=symbols('d'); ratio=(5*k/d)/(k/d); result = (simplify(ratio)==5)"},
  {"claim": "P_activate no co-stim = 1/(1+e^2) approx 0.1192", "code": "P=1/(1+exp(2)); result = (abs(float(P)-0.11920)<1e-4)"},
  {"claim": "P_activate full signal = 1/(1+e^-2) approx 0.8808", "code": "P=1/(1+exp(-2)); result = (abs(float(P)-0.88080)<1e-4)"},
  {"claim": "MHC heterozygosity H = 1-1/20 = 0.95", "code": "m=20; H=1-Rational(1,m); result = (H==Rational(19,20)) and (float(H)==0.95)"}
]