Let $V$ be the vector space over $\mathbb{R}$ consisting of all polynomials of degree $\leqslant n$. If $f,g\in V$, let
$$\langle f,g \rangle = \int_\limits{0}^{1}f(t)g(t)dt$$
Find the matrix of this scalar product with respect to the basis $\{1,t,\dots,t^n\}$.
What does it mean to find a matrix of the scalar product?
Thanks in advance!
If $k,l\in\{0,1,\ldots,n\}$, then$$\langle t^k,t^l\rangle=\int_0^1t^kt^l\,\mathrm dt=\frac1{k+l+1}.$$Therefore, the matrix of this scalar product is$$\begin{pmatrix}1&\frac12&\frac13&\ldots&\frac1{n+1}\\\frac12&\frac13&\frac14&\ldots&\frac1{n+2}\\\frac13&\frac14&\frac15&\ldots&\frac1{n+3}\\&\vdots&&\ddots&\vdots\\\frac1{n+1}&\frac1{n+2}&\frac1{n+3}&\ldots&\frac1{2n+1}\end{pmatrix}.$$