Find the Orthonormal basis of vector space $V$ of the linear polynomials of the form $ax+b$ such that $\:$, $p:[0,1] \to \mathbb{R}$. with inner product
$$\langle p,q \rangle= \int_0^1 p(x)q(x) dx$$ for $q, p \in V$
The polynomial in $V$ are linear so the basis of $V$ are $\left \{1,x \right \}$ further i am not getting how to proceedes further
please help
Thankyou.
An orthonormal base can be
$\{1,\frac{(x-\frac{1}{2})}{\sqrt{\langle x-\frac{1}{2},x-\frac{1}{2}\rangle}}\}$
The idea is simple. The space has dimension $2$, so you must choose two polynomials of order at most $1$. The first polynomial can be $1$, that has norm $1$. Then the second polynomial $p$ must verifies the condition
$\langle 1,p\rangle =\int_0^1pdx=0$
Moreover $p$ must be unitary so you can simply consider
$q=\frac{p}{\sqrt{\langle p,p\rangle}}$
So
$\{1,q\}$ is an orthonormal base for your space.
How can you calcolate $p$? You can observe that
$\int_0^1 xdx=\frac{1}{2}$ so
$\int_0^1 xdx-\frac{1}{2}=\int_0^1( x-\frac{1}{2})dx=0$
Then you can choose
$p:=x-\frac{1}{2}$
You can observe that, fixed a polynomial $s$, you can always choose $p=s-\int_0^1sdx$
because
$\langle 1,p\rangle =\int_0^1 p dx=0$
This is not a mysterious result because it follows the same idea of the Gram-Schmidt orthogonalization