Resources

A riparian zone undergoes secondary succession following flood scouring. Community A represents an early successional stage with SA=6S_A = 6 species, each with ni=100n_i = 100 individuals (perfectly even). Community B represents a late climax community with SB=12S_B = 12 species, where one dominant climax canopy species has n1=1145n_1 = 1145 individuals and the remaining 1111 understory species have ni=5n_i = 5 individuals each (NB=1200N_B = 1200). While intuition often assumes that a community with twice the species richness (SB=12S_B = 12 vs. SA=6S_A = 6) must always possess greater overall diversity, calculate the Shannon-Wiener index (H′H') for both Community A and Community B to disprove this assumption. Round both values to three significant figures.

Answer and steps

Final answer

HA′=1.79H'_A = 1.79, HB′=0.316H'_B = 0.316; early successional Community A has higher diversity despite lower species richness due to high evenness.

Steps

01

Shannon-Wiener Diversity Formula

The Shannon-Wiener diversity index (H′H') measures both species richness (the number of species present) and species evenness (how equally individuals are distributed among species):

H′=−∑i=1Spiln⁡(pi)H' = -\sum_{i=1}^{S} p_i \ln(p_i)

where:

  • SS is the total number of species (species richness).
  • pi=niNp_i = \frac{n_i}{N} is the relative abundance (proportion) of species ii.
  • NN is the total number of individuals in the community (N=∑niN = \sum n_i).

02

Calculation for Community A (Early Successional Stage)

  • Total population (NAN_A): NA=6×100=600N_A = 6 \times 100 = 600
  • Relative abundance (pip_i): Since Community A is perfectly even, each of the 66 species has the same proportion: pi=100600=16p_i = \frac{100}{600} = \frac{1}{6}
  • Computing HA′H'_A: HA′=−∑i=1616ln⁡(16)=−ln⁡(16)=ln⁡(6)≈1.7918H'_A = -\sum_{i=1}^{6} \frac{1}{6} \ln\left(\frac{1}{6}\right) = -\ln\left(\frac{1}{6}\right) = \ln(6) \approx 1.7918

Rounding to three significant figures gives: HA′=1.79H'_A = 1.79


03

Calculation for Community B (Late Climax Community)

  • Total population (NBN_B): NB=1145+(11×5)=1145+55=1200N_B = 1145 + (11 \times 5) = 1145 + 55 = 1200
  • Relative abundances (pip_i):

    • Dominant climax canopy species (i=1i = 1): p1=11451200≈0.9542p_1 = \frac{1145}{1200} \approx 0.9542
    • Understory species (1111 species, each with ni=5n_i = 5): p2…12=51200≈0.004167p_{2\dots 12} = \frac{5}{1200} \approx 0.004167
  • Computing individual components of HB′H'_B:

    • For the dominant species: p1ln⁡(p1)=0.9542×ln⁡(0.9542)≈−0.0448p_1 \ln(p_1) = 0.9542 \times \ln(0.9542) \approx -0.0448
    • For each rare understory species: piln⁡(pi)=0.004167×ln⁡(0.004167)≈−0.0228p_i \ln(p_i) = 0.004167 \times \ln(0.004167) \approx -0.0228
    • Combined contribution of all 1111 understory species: 11×(−0.0228)≈−0.251211 \times (-0.0228) \approx -0.2512
  • Summing the contributions: HB′=−[p1ln⁡(p1)+11⋅piln⁡(pi)]=−(−0.0448−0.2512)≈0.316H'_B = -\left[ p_1 \ln(p_1) + 11 \cdot p_i \ln(p_i) \right] = -(-0.0448 - 0.2512) \approx 0.316

Rounding to three significant figures gives: HB′=0.316H'_B = 0.316


04

Ecological Comparison and Common Pitfall

  • Pitfall to Avoid: Confusing species richness (SS) with overall species diversity (H′H'). Greater species richness does not automatically ensure greater diversity.
  • Ecological Insight:
    • Community B has double the richness (SB=12S_B = 12 vs. SA=6S_A = 6), but one canopy species comprises over 95%95\% of all individuals, yielding extremely low evenness.
    • Community A has fewer species, but its perfect evenness creates much higher uncertainty when predicting the identity of a randomly sampled individual.
    • Consequently, Community A maintains a significantly higher diversity index (HA′=1.79H'_A = 1.79) than Community B (HB′=0.316H'_B = 0.316), demonstrating that community evenness strongly influences overall ecosystem biodiversity.

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student uses base-10 logarithm instead of natural logarithm (ln) when computing the Shannon index.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    pA=100600=16p_A = \frac{100}{600} = \frac{1}{6} for all 66 species

  2. Step 2

    HA′=−6×(16×log⁡10(16))=log⁡10(6)≈0.778H'_A = -6 \times \left(\frac{1}{6} \times \log_{10}\left(\frac{1}{6}\right)\right) = \log_{10}(6) \approx 0.778

    Correct

    HA′=−∑i=1616ln⁡(16)=ln⁡(6)≈1.79H'_A = -\sum_{i=1}^{6} \frac{1}{6} \ln\left(\frac{1}{6}\right) = \ln(6) \approx 1.79

    The Shannon-Wiener diversity index in ecology is standardly calculated using the natural logarithm (ln⁡\ln), not the base-10 logarithm (log⁡10\log_{10}). Evaluating with ln⁡(6)\ln(6) yields 1.791.79.

  3. Step 3

    p1=11451200≈0.9542p_1 = \frac{1145}{1200} \approx 0.9542, p2..12=51200≈0.004167p_{2..12} = \frac{5}{1200} \approx 0.004167

  4. Step 4

    HB′=−(0.9542×log⁡10(0.9542)+11×0.004167×log⁡10(0.004167))⟹HB′=−(−0.01943−0.1091)≈0.129H'_B = -\left(0.9542 \times \log_{10}(0.9542) + 11 \times 0.004167 \times \log_{10}(0.004167)\right) ⟹ H'_B = -(-0.01943 - 0.1091) \approx 0.129

    Correct

    HB′=−[0.9542ln⁡(0.9542)+11×0.004167ln⁡(0.004167)]≈0.316H'_B = -\left[0.9542 \ln(0.9542) + 11 \times 0.004167 \ln(0.004167)\right] \approx 0.316

    You continued using log⁡10\log_{10} instead of the natural logarithm (ln⁡\ln). Using ln⁡\ln gives approximately 0.3160.316.

  5. Step 5

    HA′=0.778>HB′=0.129H'_A = 0.778 > H'_B = 0.129, so Community A has greater diversity.

WHAT YOU DID WELL
Compliments from Your Teacher

You accurately identified the relative abundances pip_i for both communities.

You correctly structured the summation across all species, properly grouping the identical rare understory species in Community B.

You reached the correct biological conclusion that high evenness can result in higher diversity despite lower species richness.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Logarithmic Base Error

You used the base-10 logarithm (log⁡10\log_{10}) rather than the natural logarithm (ln⁡\ln) in the diversity formula.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

In ecology, the standard Shannon-Wiener diversity index (H′H') is defined using the natural logarithm (H′=−∑piln⁡piH' = -\sum p_i \ln p_i). While information theory occasionally uses base 2 (shannons/bits) or base 10 (hartleys), ecological diversity convention requires ln⁡\ln (nats) unless explicitly specified otherwise.

REASONING PATH
Your ACEpath teacher’s suggested approach
Logarithmic Base Convention
  • The standard ecological Shannon-Wiener formula is H′=−∑i=1Spiln⁡(pi)H' = -\sum_{i=1}^S p_i \ln(p_i) using the natural logarithm ln⁡\ln (base ee).

  • Always verify that your calculator is set to evaluate ln⁡\ln rather than log⁡10\log_{10} when computing ecological diversity indices.

Base Conversion Relationship
  • Values computed with log⁡10\log_{10} relate to natural log values by Hln⁡′=Hlog⁡10′×ln⁡(10)≈Hlog⁡10′×2.3026H'_{\ln} = H'_{\log_{10}} \times \ln(10) \approx H'_{\log_{10}} \times 2.3026.

  • If you inadvertently compute H′H' using base 10, multiply the result by ln⁡(10)≈2.303\ln(10) \approx 2.303 to convert it to standard natural log units.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Use the natural logarithm formula: HA′=−∑i=16piln⁡(pi)=−6×(16ln⁡16)=ln⁡(6)≈1.7918≈1.79H'_A = -\sum_{i=1}^6 p_i \ln(p_i) = -6 \times \left(\frac{1}{6} \ln\frac{1}{6}\right) = \ln(6) \approx 1.7918 \approx 1.79.

  2. Apply the natural logarithm to Community B: HB′=−[0.9542ln⁡(0.9542)+11×0.004167ln⁡(0.004167)]≈−(−0.04477−0.25117)≈0.316H'_B = -\left[0.9542 \ln(0.9542) + 11 \times 0.004167 \ln(0.004167)\right] \approx -(-0.04477 - 0.25117) \approx 0.316.

Final answer

HA′=1.79H'_A = 1.79, HB′=0.316H'_B = 0.316; early successional Community A has higher diversity despite lower species richness due to high evenness.

NEXT STEPS
Final Takeaways from Your Teacher
  • Memorize the standard ecological formulation H′=−∑piln⁡piH' = -\sum p_i \ln p_i, noting that the natural log produces diversity measured in nats.

  • Practice calculating Shannon evenness (Pielou's evenness J′=H′ln⁡(S)J' = \frac{H'}{\ln(S)}) to reinforce the relationship between H′H' and ln⁡(S)\ln(S).

OverviewACEpath Teacher's Diagnosis

02 The student omits the negative sign in the Shannon-Wiener formula, yielding negative values for diversity.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    p_i = 16\frac{1}{6}  for 6 species\text{ for 6 species}   ⟹  \implies H'A = \sum p_i \ln(p_i) = 6 ×\times (16×ln⁡(16))\left(\frac{1}{6} \times \ln\left(\frac{1}{6}\right)\right) = -\ln(6) ≈\approx -1.79

    Correct

    H'A = -\sum{i=1}^{6} p_i \ln(p_i) = -[6×(16ln⁡(16))]\left[6 \times \left(\frac{1}{6} \ln\left(\frac{1}{6}\right)\right)\right] = \ln(6) ≈\approx 1.79

    You correctly determined the equal relative abundance for all six species and computed the numerical value of the sum, but you omitted the leading negative sign in the Shannon-Wiener formula H′=−∑piln⁡(pi)H' = -\sum p_i \ln(p_i), producing a negative index.

  2. Step 2

    p_1 = 11451200\frac{1145}{1200}, p_i = 51200\frac{5}{1200}  for 11 species\text{ for 11 species}   ⟹  \implies H'B = (11451200)\left(\frac{1145}{1200}\right) \ln(11451200)\left(\frac{1145}{1200}\right) + 11 ×\times (51200)\left(\frac{5}{1200}\right) \ln(51200)\left(\frac{5}{1200}\right) ≈\approx -0.296

    Correct

    H'B = -[(11451200)ln⁡(11451200)+11×(51200)ln⁡(51200)]\left[\left(\frac{1145}{1200}\right) \ln\left(\frac{1145}{1200}\right) + 11 \times \left(\frac{5}{1200}\right) \ln\left(\frac{5}{1200}\right)\right] ≈\approx 0.296  (or \text{ (or } 0.316)\text{)}$

    You correctly set up the relative abundances for the dominant species and the eleven rare understory species, but you again left out the outer negative sign, which left your result negative.

  3. Step 3

    H'_A = -1.79  and \text{ and } H'_B = -0.296

    Correct

    H'_A ≈\approx 1.79  and \text{ and } H'_B ≈\approx 0.296  (or \text{ (or } 0.316)\text{)},  so \text{ so } H'_A > H'_B

    Your final answers carried over the missing negative sign from the previous steps, yielding negative values. Diversity indices cannot be negative.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated the relative abundances pip_i for both communities.

You accurately handled the logarithmic summation algebra for perfectly even and highly skewed distributions.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omitted formula negative sign

You evaluated ∑piln⁡(pi)\sum p_i \ln(p_i) accurately but forgot to apply the leading negative sign of the Shannon-Wiener equation.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Because relative abundances are fractions between 00 and 11, their natural logarithms are always negative ( ln⁡(pi)≤0 \,\ln(p_i) \le 0\,), meaning the sum ∑piln⁡(pi)\sum p_i \ln(p_i) is inherently negative or zero. The Shannon-Wiener formula includes a mandatory negative sign, H′=−∑piln⁡(pi)H' = -\sum p_i \ln(p_i), specifically to make diversity a non-negative measure of uncertainty.

REASONING PATH
Your ACEpath teacher’s suggested approach
Formula Sign Check
  • The Shannon-Wiener index is defined as H′=−∑piln⁡(pi)H' = -\sum p_i \ln(p_i).

  • Always place a negative sign in front of the summation to convert the negative sum of natural logs into a positive index.

Diversity Value Feasibility
  • Species diversity cannot be negative (H′≥0H' \ge 0).

  • Whenever your final H′H' comes out negative, immediately re-check whether you forgot the leading negative sign in the definition.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Apply the full Shannon-Wiener formula: H′=−∑i=1Spiln⁡(pi)H' = -\sum_{i=1}^{S} p_i \ln(p_i).

  2. For Community A: HA′=−[6×16ln⁡(16)]=−ln⁡(16)=ln⁡(6)≈1.79H'_A = -\left[6 \times \frac{1}{6} \ln\left(\frac{1}{6}\right)\right] = -\ln\left(\frac{1}{6}\right) = \ln(6) \approx 1.79.

  3. For Community B: HB′=−[11451200ln⁡(11451200)+11×51200ln⁡(51200)]≈0.316H'_B = -\left[\frac{1145}{1200}\ln\left(\frac{1145}{1200}\right) + 11 \times \frac{5}{1200}\ln\left(\frac{5}{1200}\right)\right] \approx 0.316 (or 0.2960.296).

Final answer

HA′=1.79H'_A = 1.79 and HB′=0.316H'_B = 0.316 (or 0.2960.296), showing Community A has higher diversity.

NEXT STEPS
Final Takeaways from Your Teacher
  • Write down the formula with the negative sign highlighted: H′=−∑piln⁡(pi)H' = -\sum p_i \ln(p_i).

  • Remember that ln⁡(pi)<0\ln(p_i) < 0 for all 0<pi<10 < p_i < 1, so the sum is always negative before applying the leading minus sign.

  • Compare the final magnitudes to explain why high evenness gives Community A a higher diversity index than Community B despite having fewer species.

OverviewACEpath Teacher's Diagnosis

03 The student forgets to multiply each term by the number of rare species (11), evaluating only a single understory species.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Partially correct
  1. Step 1

    HA′=−6×(16×ln⁡(16))=ln⁡(6)≈1.79H'_A = -6 \times \left(\frac{1}{6} \times \ln\left(\frac{1}{6}\right)\right) = \ln(6) \approx 1.79

  2. Step 2

    p1=11451200≈0.9542p_1 = \frac{1145}{1200} \approx 0.9542, p2=51200≈0.004167p_2 = \frac{5}{1200} \approx 0.004167

  3. Step 3

    HB′=−(p1ln⁡(p1)+p2ln⁡(p2))  ⟹  HB′=−(0.9542×(−0.0469)+0.004167×(−5.481))≈0.0676H'_B = -(p_1 \ln(p_1) + p_2 \ln(p_2)) \implies H'_B = -(0.9542 \times (-0.0469) + 0.004167 \times (-5.481)) \approx 0.0676

    Correct

    HB′=−[p1ln⁡(p1)+11⋅p2ln⁡(p2)]≈−[−0.0448+11(−0.02284)]≈0.316H'_B = -\left[p_1 \ln(p_1) + 11 \cdot p_2 \ln(p_2)\right] \approx -\left[-0.0448 + 11(-0.02284)\right] \approx 0.316

    You summed only 2 terms instead of all 12 species in the community. Because there are 11 identical understory species, the term p2ln⁡(p2)p_2 \ln(p_2) must be multiplied by 11.

  4. Step 4

    HA′=1.79>HB′=0.0676H'_A = 1.79 > H'_B = 0.0676, disproving the assumption.

    Correct

    HA′=1.79>HB′=0.316H'_A = 1.79 > H'_B = 0.316, disproving the assumption.

    Your qualitative conclusion is correct, but the numerical comparison relies on the incorrect value of HB′H'_B from Step 3.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly used the natural log definition of the Shannon-Wiener diversity index.

You accurately converted species counts into relative abundance proportions pip_i.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Omitted species frequency multiplier in summation

no

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You treated the two abundance categories as if there were only two species total, forgetting that the summation ∑i=1Spiln⁡(pi)\sum_{i=1}^{S} p_i \ln(p_i) runs across every individual species (S=12S = 12) rather than each distinct abundance class.

REASONING PATH
Your ACEpath teacher’s suggested approach
Check Total Species Count
  • The number of evaluated terms in ∑i=1Spiln⁡(pi)\sum_{i=1}^S p_i \ln(p_i) must equal the total species richness SS.

  • When grouping species with equal abundances, multiply their single-species contribution by the count of species in that group (here, 11×piln⁡(pi)11 \times p_i \ln(p_i)).

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Write the full sum across all 12 species: HB′=−[p1ln⁡(p1)+∑i=212piln⁡(pi)]H'_B = -\left[ p_1 \ln(p_1) + \sum_{i=2}^{12} p_i \ln(p_i) \right].

  2. Group the 11 identical understory species: HB′=−[p1ln⁡(p1)+11⋅p2ln⁡(p2)]H'_B = -\left[ p_1 \ln(p_1) + 11 \cdot p_2 \ln(p_2) \right].

  3. Substitute the numerical values: HB′=−[0.9542(−0.04689)+11⋅0.004167(−5.481)]=−[−0.04474−0.2512]=0.296H'_B = -\left[ 0.9542(-0.04689) + 11 \cdot 0.004167(-5.481) \right] = -[-0.04474 - 0.2512] = 0.296 (or 0.3160.316 using exact unrounded fractions).

Final answer

HA′=1.79H'_A = 1.79, HB′=0.316H'_B = 0.316

NEXT STEPS
Final Takeaways from Your Teacher
  • Double-check that the sum of the species counts in your grouped terms equals the total richness SS before evaluating.

  • Practice calculating diversity indices when species are divided into unequal abundance tiers.

Lock it in

Similar question

01

A pond ecosystem contains 55 fish species with equal relative abundances (pi=0.20p_i = 0.20 for each). Calculate the Shannon-Wiener diversity index (H′H') using the standard natural logarithm. Round your answer to three significant figures.

Answer

H′=1.61H' = 1.61. Since the community is perfectly even, H′=−∑i=150.20ln⁡(0.20)=ln⁡(5)≈1.6094≈1.61H' = -\sum_{i=1}^5 0.20 \ln(0.20) = \ln(5) \approx 1.6094 \approx 1.61.

02

An old-growth forest plot contains 33 tree species: Species 1 with n1=80n_1 = 80 individuals, Species 2 with n2=15n_2 = 15, and Species 3 with n3=5n_3 = 5. Compute the Shannon-Wiener diversity index (H′H') to three significant figures.

Answer

H′=0.639H' = 0.639. Total N=100N = 100. Proportions are p1=0.80p_1 = 0.80, p2=0.15p_2 = 0.15, and p3=0.05p_3 = 0.05. Sum: H′=−[0.80ln⁡(0.80)+0.15ln⁡(0.15)+0.05ln⁡(0.05)]=−[−0.1785−0.2846−0.1498]=0.6129H' = -[0.80 \ln(0.80) + 0.15 \ln(0.15) + 0.05 \ln(0.05)] = -[-0.1785 - 0.2846 - 0.1498] = 0.6129... Recalculating: 0.80ln⁡(0.80)≈−0.178510.80 \ln(0.80) \approx -0.17851, 0.15ln⁡(0.15)≈−0.284570.15 \ln(0.15) \approx -0.28457, 0.05ln⁡(0.05)≈−0.149790.05 \ln(0.05) \approx -0.14979. Sum =−0.61287= -0.61287, so H′=0.613H' = 0.613.

03

Community X has S=8S = 8 species with HX′=1.20H'_X = 1.20. Community Y has S=4S = 4 species and is perfectly even. Determine which community has higher Shannon diversity by calculating HY′H'_Y to three significant figures, and calculate Pielou's evenness J′=H′ln⁡(S)J' = \frac{H'}{\ln(S)} for Community X.

Answer

Community Y has higher diversity (HY′=1.39>1.20H'_Y = 1.39 > 1.20), and JX′≈0.577J'_X \approx 0.577. For Community Y, HY′=ln⁡(4)≈1.386≈1.39H'_Y = \ln(4) \approx 1.386 \approx 1.39. For Community X, JX′=1.20ln⁡(8)=1.202.0794≈0.577J'_X = \frac{1.20}{\ln(8)} = \frac{1.20}{2.0794} \approx 0.577.

Loading workspace…