Consider the following three elements of \(P_2\text{:}\)
\begin{equation*}
p_1 = 1+t, \hspace{6pt} p_2 = t - t^2, \hspace{6pt} p_3 = 2 + 2t + t^2\text{.}
\end{equation*}
To determine whether or not the set \(\{p_1, p_2, p_3\}\) is linearly dependent, we need to return to the definition. Suppose that we have
\begin{equation*}
c_1p_1 + c_2p_2 + c_3p_3 = 0
\end{equation*}
for some \(c_1, c_2, c_3 \in \rr\text{.}\) In other words, this linear combination is the zero polynomial, so we have
\begin{equation*}
c_1p_1 + c_2p_2 + c_3p_3 = 0 + 0t + 0t^2\text{.}
\end{equation*}
For these specific polynomials, this means we have
\begin{align*}
c_1(1+t) + c_2(t-t^2) + c_3(2+2t+t^2) \amp = 0 + 0t + 0t^2\\
(c_1+2c_3)1 + (c_1+c_2+2c_3)t + (-c_2+c_3)t^2 \amp = 0+0t+0t^2\text{.}
\end{align*}
Since the coefficients of the corresponding powers of \(t\) must be equal on both sides of this equation, we have a linear system to solve:
\begin{align*}
c_1+2c_3 \amp = 0\\
c_1+c_2+2c_3 \amp = 0\\
-c_2+c_3 \amp = 0\text{.}
\end{align*}
Our variables in this system are
\(c_1\text{,}\) \(c_2\text{,}\) and
\(c_3\text{,}\) and we solve the system using the techniques from
SectionΒ 1.3. We find that
\begin{equation*}
\begin{bmatrix}
1 \amp 0 \amp 2 \\
1 \amp 1 \amp 2 \\
0 \amp -1 \amp 1
\end{bmatrix} \sim
\begin{bmatrix}
1 \amp 0 \amp 0 \\
0 \amp 1 \amp 0 \\
0 \amp 0 \amp 1
\end{bmatrix}\text{.}
\end{equation*}
This shows that the only solution to this linear system is the trivial one: \({c_1=c_1=c_3=0}\text{.}\) That means that the set \(\{p_1,p_2,p_3\}\) is linearly independent.