ArticleslgStudy

mathematics

Tajima's D

Tajima's D is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Tajima's D rather than just read about it. In short: Tajima's D is a population genetic test statistic created by and named after the Japanese researcher Fumio Tajima. Tajima's D is computed as the difference between two measures of genetic diversity: the mean number of pairwise differences and the number of segregating sites, each scaled so that they are expected to be the same in a neutrally evolving population of constant size.

Key takeaways

  • Tajima's D belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Tajima's D to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Tajima's D from memory before moving on to harder problems.

Reference excerpt

Tajima's D is a population genetic test statistic created by and named after the Japanese researcher Fumio Tajima. Tajima's D is computed as the difference between two measures of genetic diversity: the mean number of pairwise differences and the number of segregating sites, each scaled so that they are expected to be the same in a neutrally evolving population of constant size. The purpose of Tajima's D test is to distinguish between a DNA sequence evolving randomly ("neutrally") and one evolving under a non-random process, including directional selection or balancing selection, demographic expansion or contraction, genetic hitchhiking, or introgression. A randomly evolving DNA sequence contains mutations with no effect on the fitness and survival of an organism. The randomly evolving mutations are called "neutral", while mutations under selection are "non-neutral". For example, a mutation that causes prenatal death or severe disease would be expected to be under selection. In the population as a whole, the frequency of a neutral mutation fluctuates randomly (i.e. the percentage of individuals in the population with the mutation changes from one generation to the next, and this percentage is equally likely to go up or down) through genetic drift. The strength of genetic drift depends on population size. If a population is at a constant size with constant mutation rate, the population will reach an equilibrium of gene frequencies. This equilibrium has important properties, including the number of segregating sites S, and the number of nucleotide differences between pairs sampled (these are called pairwise differences). To standardize the pairwise differences, the mean or 'average' number of pairwise differences is used. This is simply the sum of the pairwise differences divided by the number of pairs, and is often symbolized by π. The purpose of Tajima's test is to identify sequences which do not fit the neutral theory model at equilibrium between mutation and genetic drift. In order to perform the test on a DNA sequence or gene, you need to sequence homologous DNA for at least 3 individuals. Tajima's statistic computes a standardized measure of the total number of segregating sites (these are DNA sites that are polymorphic) in the sampled DNA and the average number of mutations between pairs in the sample. The two quantities whose values are compared are both method of moments estimates of the population genetic parameter theta, and so are expected to equal the same value. If these two numbers only differ by as much as one could reasonably expect by chance, then the null hypothesis of neutrality cannot be rejected. Otherwise, the null hypothesis of neutrality is rejected.

Scientific explanation Under the neutral theory model, for a population at constant size at equilibrium:

E[π]=θ=E[S∑i=1n−11i]=4Nμ for diploid DNA, and

E[π]=θ=E[S∑i=1n−11i]=2Nμ for haploid. In the above formulas, S is the number of segregating sites, n is the number of samples, N is the effective population size, μ is the mutation rate at the examined genomic locus, and i is the index of summation. But selection, demographic fluctuations and other violations of the neutral model (including rate heterogeneity and introgression) will change the expected values of S and π, so that they are no longer expected to be equal. The difference in the expectations for these two variables (which can be positive or negative) is the crux of Tajima's D test statistic. D is calculated by taking the difference between the two estimates of the population genetics parameter θ. This difference is called d, and D is calculated by dividing d by the square root of its variance V̂(d) (its standard deviation, by definition).

D=dV̂(d) Fumio Tajima demonstrated by computer simulation that the D statistic described above could be modeled using a beta distribution. If the D value for a sample of sequences is outside the confidence interval then one can reject the null hypothesis of neutral mutation for the sequence in question. However, in real world uses, one must be careful as past population changes (for instance, a population bottleneck) can bias the value of the D statistic.

Mathematical details D=dV̂(d)=k̂−Sa1[e1S+e2S(S−1)] where

k̂ and Sa1 are two estimates of the expected number of single nucleotide polymorphisms (SNPs) between two DNA sequences under the neutral mutation model in a sample size n from an effective population size N. The first estimate is the average number of SNPs found in (n2) pairwise comparisons of sequences (i,j) in the sample,

k̂=∑∑i<jkij(n2). The second estimate is derived from the expected value of S, the total number of polymorphisms in the sample

E(S)=a1M. Tajima defines M=4Nμ, whereas Hartl & Clark use a different symbol to define the same parameter θ=4Nμ.

Example Suppose you are a geneticist studying an unknown gene. As part of your research you get DNA samples from four random people (plus yourself). For simplicity, you label your sequence as a string of zeroes, and for the other four people you put a zero when their DNA is the same as yours and a one when it is different. (For this example, the specific type of difference is not important.)

1 2 Position 12345 67890 12345 67890 Person Y 00000 00000 00000 00000 Person A 00100 00000 00100 00010 Person B 00000 00000 00100 00010 Person C 00000 01000 00000 00010 Person D 00000 01000 00100 00010

Notice the four polymorphic sites (positions where someone differs from you, at 3, 7, 13 and 19 above). Now compare each pair of sequences and get the average number of polymorphisms between two sequences. There are "five choose two" (ten) comparisons that need to be done.

Person Y is you!

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Tajima's D

Start with the simplest possible case. Write down what Tajima's D claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Tajima's D before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Tajima's D ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Tajima's D

In research
Tajima's D appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Tajima's D in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Tajima's D is common in secondary-school and first-year university syllabi. It links to neighbouring topics DNA, Molecular evolution, Statistical genetics, so understanding it makes those chapters shorter.
In everyday life
Look for Tajima's D outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Tajima's D” →

How to study Tajima's D in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Tajima's D means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Tajima's D out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Tajima's D in simple terms?

Tajima's D is a population genetic test statistic created by and named after the Japanese researcher Fumio Tajima. Tajima's D is computed as the difference between two measures of genetic diversity: the mean number of pairwise differences and the number of segregating sites, each scaled so that the…

Why does Tajima's D matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Tajima's D?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Tajima's D.

Tags

  • DNA
  • Molecular evolution
  • Statistical genetics
  • Statistical tests

Keep exploring