Allele Frequency from Genotype Counts
Biology, Genetics
Intro: Computes p and q from genotype counts and reports percentages.
Worked example
- AA=18, Aa=22, aa=10
- Define: $N=n_{AA}+n_{Aa}+n_{aa}$; $p=\dfrac{2n_{AA}+n_{Aa}}{2N}$; $q=1-p$.
- Inputs: $n_{AA}=18$, $n_{Aa}=22$, $n_{aa}=10$.
- Sample size: $N=18+22+10=50$.
- Total allele copies: $2N=2\cdot50=100$.
- Count A-alleles: $2n_{AA}+n_{Aa}=2\cdot18+22=36+22=58$.
- Compute $p$: $p=\dfrac{58}{100}=0.58$ (58%).
- Compute $q$: $q=1-p=1-0.58=0.42$ (42%).
- Answer: $\boxed{p=0.58\;(58\%),\; q=0.42\;(42\%)}$.
FAQs
Pooled sexes?
Yes—just sum counts across sexes before input.
Why choose MathGPT?
- Get clear, step-by-step solutions that explain the “why,” not just the answer.
- See the rules used at each step (power, product, quotient, chain, and more).
- Optional animated walk-throughs to make tricky ideas click faster.
- Clean LaTeX rendering for notes, homework, and study guides.
How this calculator works
- Type or paste your function (LaTeX like
\sin,\lnworks too). - Press Generate a practice question button to generate the derivative and the full reasoning.
- Review each step to understand which rule was applied and why.
- Practice with similar problems to lock in the method.