In order to prove non-uniqueness of singular vectors when a repeated singular value is present, the book (Trefethen), argues as follows: Let $\sigma$ be the first singular value of A, and $v_{1}$ the corresponding singular vector. Let $w$ be another linearly independent vector such that $||Aw||=\sigma$, and construct a third vector $v_{2}$ belonging to span of $v_{1}$ and $w$, and orthogonal to $v_{1}$. All three vectors are unitary, so $w=av_{1}+bv_{2}$ with $|a|^2+|b|^2=1$, and $v_{2}$ is constructed (Gram-Schmidt style) as follows:
$$ {v}_{2}= \dfrac{{w}-({v}_{1}^{T} w ){v}_{1}}{|| {w}_{1}-({v}_{1}^{T} {w} ){v}_{1} ||_{2}}$$
Now, Trefethen says, $||A||=\sigma$, so $||Av_{2}||\le \sigma$ but this must be an equality (and so $v_{2}$ is another singular vector relative to $\sigma$), since otherwise we would have $||Aw||<\sigma$, in contrast with the hypothesis.
How that? I cannot see any elementary application of triangle inequality or Schwarz inequality to prove this claim.
I am pretty well convinced of partial non-uniqueness of SVD in certain situations. Other proofs are feasible, but I wish to undestand this specific algebraic step of this specific proof.
Thanks.
This is actually very simple. The main point (seemingly missed by the OP) is that $Av_1$ and $Av_2$ must be orthogonal (this is something obvious to people familiar with proofs of SVD, because the induction decomposes into orthogonal spaces).
For every $z\in{\mathbb C}$, you have
$$ ||A(v_2+zv_1)||^2 \leq \sigma^2 ||v_2+zv_1||^2 \tag{1} $$
Expanding, one obtains
$$ ||Av_2||^2+2{\sf Re}\bigg(\bar{z}\big<Av_2,Av_1\big>\bigg)+|z|^2||Av_1||^2 \leq \sigma^2 (||v_2||^2+|z|^2||v_1||^2) \tag{2} $$
which simplifies to
$$ 2{\sf Re}\bigg(\bar{z}\big<Av_2,Av_1\big>\bigg) \leq \sigma^2||v_2||^2-||Av_2||^2 \tag{3} $$
Letting $z=\big<Av_2,Av_1\big>t$ with $t\in{\mathbb R}$, we deduce that $2t\Big|\big<Av_2,Av_1\big>\Big|^2 \leq \sigma^2||v_2||^2-||Av_2||^2$, and this is possible only if $\big<Av_2,Av_1\big>=0$. We then have, for any $a,b$ with $|a|^2+|b|^2=1$ and $b\neq 0$,
$$ \sigma^2||av_1+bv_2||^2-||A(av_1+bv_2)||^2= |b|^2 (\sigma^2||v_2||^2-||Av_2||^2) \tag{4} $$
So $||Aw||=\sigma||w||$ forces $||Av_2||=\sigma||v_2||$.