A nonlinear integrodifferential equation governing the amplitude evolution
of a wavepacket near the critical value of the beta parameter is derived. T
he basic velocity profile is a hyperbolic tangent shear layer and although
the neutral eigensolution is regular, all higher-order terms in the expansi
on of the stream function are singular at the critical point. The analysis
is inviscid and in the critical layer both wave packet effects and nonlinea
rity are present, but the former are taken to be slightly larger. Unlike th
e Stuart-Watson theory, the critical layer analysis dictates the form of th
e amplitude equation, the outer expansion being relatively passive. A secon
dary instability analysis shows that the packet is unstable to sideband per
turbations, but the instability is weak so its main consequence would be to
produce some modulation of the packet without destroying its coherence.