$\langle f,g\rangle = \int_a^b f(x)g(x) \,dx$, Show that $p_n$ is the monic polynomial of degree $n$ of smallest norm

linear algebranumerical methods

Let $p_0,p_1,p_2,\cdots$ be monic polynmials orthogonal with respect
to $\langle f,g\rangle = \int_a^b f(x)g(x) \,dx$, $p_i$ of degree $i$. Show that
$p_n$ is the monic polynomial of degree $n$ of smallest norm ($\lVert p\rVert =
\langle p,p\rangle^{1/2}$
)

I'm studying numerical methods and we're seeing orthogonality of polynomials and projection of things onto subspaces. I need to solve the exercise above using these concepts. I don't know if I understand the exercise correctly. I think I must show that, given a degree $n$, then of all polynomials of this degree, the monic is the one with smallest norm. Am I rigth? I have no idea how to start.

Best Answer

$p_i, i\leq n$ span the space of all polynomials of degree at most $n$. If $q$ is any monic polynomial of degree $n$ then $q-p_n$ is orthogonal to $p_n$ because degree of $q-p_n$ is at most $n-1$ and hence it belongs to the span of $p_i:i<n$. Hence $\|q\|^{2}=\|(q-p_n)+p_n\|^{2}=\|q-p_n\|^{2}+\|p_n\|^{2}$ which implies $\|q\|^{2} \geq \|p_n\|^{2}$.