Allele
Alleles are versions of a gene that sit at the same position on a pair of homologous chromosomes (a matching pair with the same shape and size) and control the same trait. You get one of the pair from your mother and one from your father. The two can be the same or different, and when they differ, the one that shows up is called dominant.
Formulas
When to use it
Use it when you write genotypes (AA, Aa, aa) and track which alleles pass from parents to offspring.
Worked example
For pea seed color, let be the yellow allele and the green allele. A plant with genotype has on one homologous chromosome and at the same position on the other. Since is dominant, the seeds are yellow.
Common mistake
A common mistake is calling genes for different traits, like a seed-color gene and a height gene, alleles. Also, even though seeds look yellow, the allele does not disappear and can be passed on to offspring.