So I am trying to get my head around the concept of a dual basis. I think I have an okay idea of it, but my problem lays at finding a dual basis given a basis $B$. So I have given that $B = ((2,1),(3,1))$, which is a basis for $V=\mathbb{R}^2$. Then, apparently, $B^*=(-1x_1+3x_2,x_1-2x_2)$ is an ordered dual basis for $B$.
I know that given a vector $\textbf{x} \in V$ we can get the function $\phi_k(\textbf{x})=([\textbf{x}]_B)_k$ (evaluating it's coordinates in the basis B and taking the coefficient that corresponds to the k-th position). If we then take $B^*=(\phi_1,\phi_2)$, we have an ordered dual basis to $B$.
However, I don't understand how we can compute $\phi_1$ in such an instance, like is done in the example I've given. Could anybody help me out?
Thanks,
K. Kamal