Question: Let $V\ $ be the vector space of the polynomials over $\mathbf{R}$ of degree less than or equal to 3, with the inner product $$ (f|g) = \int_0^1 f(t)g(t) dt. $$ If $t$ is a real number, find the polynomial $g_t$ in $V$ such that $(f|g_t) = f(t)$ for all $f$ in $V$.
My Attempt: The way I thought to do it was, let $f(x) = a_0 + a_1x + a_2x^2 + a_3x^3$ and $g_t(x) = b_0 + b_1x + b_2x^2 + b_3x^3$. $$(f|g_t) = \sum_{j, k} \frac{1}{1 + j + k} a_j b_k $$
Since $(f|g_t) = f(t)$, I get $$t^j = \sum_k \frac{1}{1 + j + k}b_k.$$
Let $A$ be the matrix $A_{kj} = \frac{1}{1 + j + k}$, so $$ (b_0, b_1, b_2, b_3)A = (1, t, t^2, t^3) $$
Thus $$(b_0, b_1, b_2, b_3) = (1, t, t^2, t^3)A^{-1}.$$
I can compute $A^{-1}$ and that would give me the answer, I think, but it seems like a lot of work, and I would not be using any of the information from the chapter to solve it. I am assuming there is a lot easier way to do this.
The chapter is called "Linear Functionals and Adjoints" from Linear Algebra by Hoffman and Kunze.
EDIT: I think the way the chapter wanted me to do this was the following.
Find an orthonormal basis using Gram Schmidt, say $f_1, f_2, f_3, f_4$. Then let $L_t(f) = f(t)$.
We can then let $$g_t = L_t(f_1)f_1 + L_t(f_2)f_2 + L_t(f_3)f_3 + L_t(f_4)f_4.$$
Then say $f = a_1f_1 + a_2f_2 + a_3f_3 + a_4f_4$.
$$ \begin{align*} (f| g_t) &= a_1L_t(f_1)(f_1| f_1) + a_2L_t(f_2)(f_2| f_2) + a_3L_t(f_3)(f_3| f_3) + a_4L_t(f_4)(f_4| f_4) \\ &= L_t(a_1f_1 + a_2f_2 + a_3f_3 + a_4f_4) = L_t(f) = f(t). \end{align*}$$
The computation is still more than I want to do, but the ideas are all there. I guess this was more focused on the linear functional part of the chapter, instead of the adjoint part.