For
\(x \in E_{n+1}^{p,0}\) we have
\(d_{n+1}(x) = 0\text{,}\) since its target lies below the bottom row. The Leibniz rule (
Theorem 20.8) therefore gives
\begin{equation*}
d_{n+1}(x\sigma) \;=\; d_{n+1}(x)\,\sigma + (-1)^p\, x\, d_{n+1}(\sigma) \;=\; (-1)^p\, x e.
\end{equation*}
So, under the identification \(E_{n+1}^{p,n} \cong H^p(B)\text{,}\) the differential \(d_{n+1}\) is cup product with \(e\text{,}\) up to sign. Signs do not change kernels and images, so
\begin{gather*}
E_\infty^{p,0} \;\cong\; \operatorname{coker}\bigl(\smile e \colon H^{p-n-1}(B) \to H^p(B)\bigr),\\
E_\infty^{p,n} \;\cong\; \ker\bigl(\smile e \colon H^p(B) \to H^{p+n+1}(B)\bigr),
\end{gather*}
and \(E_\infty^{p,q} = 0\) for \(q \neq 0, n\text{.}\) Write \(\varphi \colon H^{i-n-1}(B) \to H^i(B)\) for cup product with \(e\text{.}\) We obtain three families of short exact sequences:
\begin{align*}
&0 \longrightarrow E_\infty^{i-n-1,n} \longrightarrow H^{i-n-1}(B) \longrightarrow \operatorname{im}\varphi \longrightarrow 0, \tag*{(a)}\\
&0 \longrightarrow \operatorname{im}\varphi \longrightarrow H^i(B) \longrightarrow E_\infty^{i,0} \longrightarrow 0, \tag*{(b)}\\
&0 \longrightarrow E_\infty^{i,0} \longrightarrow H^i(E) \longrightarrow E_\infty^{i-n,n} \longrightarrow 0. \tag*{(c)}
\end{align*}
Here (a) and (b) say that
\(E_\infty^{i-n-1,n} = \ker\varphi\) and
\(E_\infty^{i,0} = \operatorname{coker}\varphi\text{.}\) Sequence (c) comes from the filtration of
\(H^i(E)\text{,}\) which has just two steps since only two rows are nonzero. Each sequence ends where the next one begins: (a) ends with
\(\operatorname{im}\varphi\text{,}\) where (b) begins; (b) ends with
\(E_\infty^{i,0}\text{,}\) where (c) begins; and (c) ends with
\(E_\infty^{i-n,n}\text{,}\) where (a) for
\(i + 1\) begins. By
Lemma 21.2, the composites
\begin{gather*}
H^{i-n-1}(B) \twoheadrightarrow \operatorname{im}\varphi \hookrightarrow H^i(B), \qquad
H^i(B) \twoheadrightarrow E_\infty^{i,0} \hookrightarrow H^i(E),\\
H^i(E) \twoheadrightarrow E_\infty^{i-n,n} \hookrightarrow H^{i-n}(B)
\end{gather*}
form a long exact sequence. The first composite is
\(\varphi\text{,}\) and the second is
\(\pi^*\) by
Theorem 20.8(iv). This is the Gysin sequence.