Fix an integer base . Let have at most digits in positional notation, treating zero as one digit. For , set using the ceiling function, and . Euclidean division gives
where and . The floor function selects the high block; the remainder selects the low block. Both operands must use the same , including when their actual digit lengths differ.
For odd , the low block has digit positions and the high block has . Leading zero padding aligns a shorter operand without changing its integer value. Padding to a power-of-two length is optional: the split itself works for every . If power-of-two padding is used, the padded length is less than twice the original length, so it changes only a constant factor in the asymptotic analysis.
The cell conservation equation has the form , with
The first term is advection by the suspension's fluid velocity, the second is active swimming at fixed speed in direction , and the last is an isotropic diffusive flux due to random swimming. Here has units length squared per time, is cell number per volume, and the divergence measures local loss by transport. No birth or death term is included.
For a spherical cell of radius , its excess buoyancy force is . The Stokes drag law gives passive settling speed . Neglecting individual settling requires , not exact neutral buoyancy. A dilute suspension can still generate appreciable collective buoyancy because many small excess masses contribute to the bulk density.
Use the half-rate convention for the gyrotactic reorientation time , required by the coefficients printed in the question:
The first torque tends to point the bottom-heavy cell upward; the second rotates a sphere with half the fluid vorticity. This is a quasistatic torque balance, assuming orientation relaxation is fast enough to follow the local flow. Keeping orientation dynamics instead would put on the left. The convention with aligning rate uses a reorientation parameter twice this . Thus the factor of two is a definition, not a physical discrepancy. Close to the upward state the quasistatic gyrotactic balance with half-rate reorientation gives .
For a dilute Newtonian suspension with the Boussinesq approximation, the other equations are
The background-water hydrostatic pressure is absorbed in . The cell volume is , density is , cell density is , dynamic viscosity is , and is the volume fraction. Extra cell mass produces the downward buoyancy term. Constant viscosity and no explicit swimming stress are part of this closure. Rigid impermeable plates impose no-slip boundary condition and zero normal total cell flux.
At rest, the stable cell direction is upward and the steady vertical flux is . It is constant in depth by conservation and zero at an impermeable plate, so
The pressure gradient balances its excess weight. The mean-concentration formula follows by averaging over and is continuous at .
Use , , , , and . Then
where
The dimensionless base concentration is .
Linearize with the horizontal Fourier mode and . Write the first-order orientation perturbation as . Unit length gives , while torque balance gives . Incompressibility implies
Let . The perturbation of fluid advection is , and swimming contributes . Cell conservation therefore gives
or
This explains the destabilizing concentration-advection term and the gyrotactic redistribution term with their signs.
To eliminate pressure from the fluid equations, take their divergence, giving . Apply to the vertical equation . The concentration second derivatives cancel, leaving
No-slip conditions give and at each plate; for nonzero , the latter follows from the vanishing horizontal velocity and incompressibility. Zero perturbed normal cell flux gives
The normal orientation correction is zero at this order, and the fluid velocity is zero at the plate, so neither adds another term to this concentration condition.
Now use the stated distinguished scalings , , , , , and . Here is a scaled wavenumber, unrelated to Question 2's shear rate. At order one, the concentration equation and boundary conditions give , at both endpoints, so is constant. Absorb its nonzero value into the perturbation amplitude and choose
At order , the fluid equation is with at both ends. Its unique solution is
A homogeneous difference is cubic and the four clamped conditions make it zero.
The concentration equation at order gives
so , where fixes the amplitude normalization. At order it gives
The boundary conditions expand to at each endpoint. Integrating this equation from zero to one cancels against . Also and
Thus the required solvability condition is
Since , the clamped-quartic solvability in shallow bioconvection gives
For nonzero long horizontal waves, gives decay and gives growth; the leading neutral threshold is . The leading instability is stationary and independent of and . The exactly uniform horizontal mode has zero growth at this order because total cell number is conserved, so it does not determine the threshold. Upward swimming produces a dense upper layer; the unstable disturbance is its buoyancy-driven overturning, or bioconvection. Higher orders are needed for wavelength selection and finite-depth threshold corrections.
With fixed material parameters and mean concentration, for small , so a sufficiently thin chamber is stable to this branch. Formally its threshold corresponds to when the weak-stratification and distinguished-gyrotaxis assumptions apply. In particular, the assumed is a specified asymptotic analysis; at fixed and decreasing , one instead has . The leading result should not be asserted unchanged in that different ordering without redoing the expansion.