Let \(V\) be a vector space over \(\R\text{.}\) (That is, scalars are real numbers, rather than, say, complex.) A linear transformation \(\phi:V\to \R\) is called a linear functional.
Here are some examples of linear functionals:
The map \(\phi:\R^3\to \R\) given by \(\phi(x,y,z) = 3x-2y+5z\text{.}\)
The evaluation map \(ev_a:P_n(\R)\to \R\) given by \(ev_a(p) = p(a)\text{.}\) (For example, \(ev_2(3-4x+5x^2) = 2-4(2)+5(2^2) = 14\text{.}\))
The map \(\phi:\mathcal{C}[a,b]\to \R\) given by \(\phi(f) = \int_a^b f(x)\,dx\text{,}\) where \(\mathcal{C}[a,b]\) denotes the space of all continuous functions on \([a,b]\text{.}\)
Note that for any vector spaces \(V,W\text{,}\) the set \(\mathcal{L}(V,W)\) of linear transformations from \(V\) to \(W\) is itself a vector space, if we define
\begin{equation*}
(S+T)(v) = S(v)+T(v),\quad \text{ and } \quad (kT)(v)=k(T(v))\text{.}
\end{equation*}
In particular, given a vector space \(V\text{,}\) we denote the set of all linear functionals on \(V\) by \(V^*=\mathcal{L}(V,\R)\text{,}\) and call this the dual space of \(V\text{.}\)
We make the following observations:
If \(\dim V=n\) and \(\dim W=m\text{,}\) then \(\mathcal{L}(V,W)\) is isomorphic to the space \(M_{mn}\) of \(m\times n\) matrices, so it has dimension \(mn\text{.}\)
Since \(\dim \R=1\text{,}\) if \(V\) is finite-dimensional, then \(V^*=\mathcal{L}(V,\R)\) has dimension \(1n=n\text{.}\)
Since \(\dim V^*=\dim V\text{,}\) \(V\) and \(V^*\) are isomorphic.
Here is a basic example that is intended as a guide to your intuition regarding dual spaces. Take \(V = \R^3\text{.}\) Given any \(v\in V\text{,}\) define a map \(\phi_{v}:V\to \R\) by \(\phi_{v}(w) = v\dotp w\) (the usual dot product).
One way to think about this: if we write \(v\in V\) as a column vector \(\bbm v_1\\v_2\\v_3\ebm\text{,}\) then we can identify \(\phi_{v}\) with \(v^T\text{,}\) where the action is via multiplication:
\begin{equation*}
\phi_{v}(w) = \bbm v_1\amp v_2\amp v_3\ebm\bbm w_1\\w_2\\w_3\ebm = v_1w_1+v_2w_2+v_3w_3\text{.}
\end{equation*}
It turns out that this example can be generalized, but the definition of \(\phi_v\) involves the dot product, which is particular to \(\R^n\text{.}\)
There is a generalization of the dot product, known as an inner product. (See Chapter 10 of Nicholson, for example.) On any inner product space, we can associate each vector \(v\in V\) to a linear functional \(\phi_v\) using the procedure above.
Another way to work concretely with dual vectors (without the need for inner products) is to define things in terms of a basis.
Given a basis \(\{v_1,v_2,\ldots, v_n\}\) of \(V\text{,}\) we define the corresponding dual basis \(\{\phi_1,\phi_2,\ldots, \phi_n\}\) of \(V^*\) by
\begin{equation*}
\phi_i(v_j) = \begin{cases} 1, \amp \text{ if } i=j\\ 0, \amp \text{ if } i\neq j\end{cases}\text{.}
\end{equation*}
Note that each \(\phi_j\) is well-defined, since any linear transformation can be defined by giving its values on a basis.
For the standard basis on \(\R^n\text{,}\) note that the corresponding dual basis functionals are given by
\begin{equation*}
\phi_j(x_1,x_2,\ldots, x_n) = x_j\text{.}
\end{equation*}
That is, these are the coordinate functions on \(\R^n\text{.}\)