Let $\R^2$ be the $x$-$y$-plane. Then $\R^2$ is a vector space. A line $\ell \subset \mathbb{R}^2$ with slope $m$ and $y$-intercept $b$ is defined by
\[ \ell = \{ (x, y) \in \mathbb{R}^2 \mid y = mx + b \} .\]

Prove that $\ell$ is a subspace of $\mathbb{R}^2$ if and only if $b = 0$.

For what real values of $a$ is the set
\[W_a = \{ f \in C(\mathbb{R}) \mid f(0) = a \}\]
a subspace of the vector space $C(\mathbb{R})$ of all real-valued functions?

Let $V$ be the vector space of $n \times n$ matrices, and $M \in V$ a fixed matrix. Define
\[W = \{ A \in V \mid AM = MA \}.\]
The set $W$ here is called the centralizer of $M$ in $V$.

Let $V$ be the vector space of $n \times n$ matrices with real coefficients, and define
\[ W = \{ \mathbf{v} \in V \mid \mathbf{v} \mathbf{w} = \mathbf{w} \mathbf{v} \mbox{ for all } \mathbf{w} \in V \}.\]
The set $W$ is called the center of $V$.

Let $C[-2\pi, 2\pi]$ be the vector space of all real-valued continuous functions defined on the interval $[-2\pi, 2\pi]$.
Consider the subspace $W=\Span\{\sin^2(x), \cos^2(x)\}$ spanned by functions $\sin^2(x)$ and $\cos^2(x)$.

(a) Prove that the set $B=\{\sin^2(x), \cos^2(x)\}$ is a basis for $W$.

(b) Prove that the set $\{\sin^2(x)-\cos^2(x), 1\}$ is a basis for $W$.

Let $\calP_3$ be the vector space of all polynomials of degree $3$ or less.
Let
\[S=\{p_1(x), p_2(x), p_3(x), p_4(x)\},\]
where
\begin{align*}
p_1(x)&=1+3x+2x^2-x^3 & p_2(x)&=x+x^3\\
p_3(x)&=x+x^2-x^3 & p_4(x)&=3+8x+8x^3.
\end{align*}

(a) Find a basis $Q$ of the span $\Span(S)$ consisting of polynomials in $S$.

(b) For each polynomial in $S$ that is not in $Q$, find the coordinate vector with respect to the basis $Q$.

(The Ohio State University, Linear Algebra Midterm)

Let $V$ be a vector space and $B$ be a basis for $V$.
Let $\mathbf{w}_1, \mathbf{w}_2, \mathbf{w}_3, \mathbf{w}_4, \mathbf{w}_5$ be vectors in $V$.
Suppose that $A$ is the matrix whose columns are the coordinate vectors of $\mathbf{w}_1, \mathbf{w}_2, \mathbf{w}_3, \mathbf{w}_4, \mathbf{w}_5$ with respect to the basis $B$.

After applying the elementary row operations to $A$, we obtain the following matrix in reduced row echelon form
\[\begin{bmatrix}
1 & 0 & 2 & 1 & 0 \\
0 & 1 & 3 & 0 & 1 \\
0 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 0
\end{bmatrix}.\]

(a) What is the dimension of $V$?

(b) What is the dimension of $\Span\{\mathbf{w}_1, \mathbf{w}_2, \mathbf{w}_3, \mathbf{w}_4, \mathbf{w}_5\}$?

(The Ohio State University, Linear Algebra Midterm)

Let $W$ be a subspace of $\R^4$ with a basis
\[\left\{\, \begin{bmatrix}
1 \\
0 \\
1 \\
1
\end{bmatrix}, \begin{bmatrix}
0 \\
1 \\
1 \\
1
\end{bmatrix} \,\right\}.\]

Find an orthonormal basis of $W$.

(The Ohio State University, Linear Algebra Midterm)

Let $V$ be the vector space of all $2\times 2$ matrices whose entries are real numbers.
Let
\[W=\left\{\, A\in V \quad \middle | \quad A=\begin{bmatrix}
a & b\\
c& -a
\end{bmatrix} \text{ for any } a, b, c\in \R \,\right\}.\]

(a) Show that $W$ is a subspace of $V$.

(b) Find a basis of $W$.

(c) Find the dimension of $W$.

(The Ohio State University, Linear Algebra Midterm)

Let $C[-1, 1]$ be the vector space over $\R$ of all continuous functions defined on the interval $[-1, 1]$. Let
\[V:=\{f(x)\in C[-1,1] \mid f(x)=a e^x+b e^{2x}+c e^{3x}, a, b, c\in \R\}\]
be a subset in $C[-1, 1]$.

(a) Prove that $V$ is a subspace of $C[-1, 1]$.

(b) Prove that the set $B=\{e^x, e^{2x}, e^{3x}\}$ is a basis of $V$.

(c) Prove that
\[B’=\{e^x-2e^{3x}, e^x+e^{2x}+2e^{3x}, 3e^{2x}+e^{3x}\}\]
is a basis for $V$.

Let $P_2$ be the vector space over $\R$ of all polynomials of degree $2$ or less.
Let $S=\{p_1(x), p_2(x), p_3(x)\}$, where
\[p_1(x)=x^2+1, \quad p_2(x)=6x^2+x+2, \quad p_3(x)=3x^2+x.\]

(a) Use the basis $B=\{x^2, x, 1\}$ of $P_2$ to prove that the set $S$ is a basis for $P_2$.

(b) Find the coordinate vector of $p(x)=x^2+2x+3\in P_2$ with respect to the basis $S$.

Let $V$ be a vector space over a scalar field $K$.
Let $\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k$ be vectors in $V$ and consider the subset
\[W=\{a_1\mathbf{v}_1+a_2\mathbf{v}_2+\cdots+ a_k\mathbf{v}_k \mid a_1, a_2, \dots, a_k \in K \text{ and } a_1+a_2+\cdots+a_k=0\}.\]
So each element of $W$ is a linear combination of vectors $\mathbf{v}_1, \dots, \mathbf{v}_k$ such that the sum of the coefficients is zero.

Let $V$ be a subset of $\R^4$ consisting of vectors that are perpendicular to vectors $\mathbf{a}, \mathbf{b}$ and $\mathbf{c}$, where
\[\mathbf{a}=\begin{bmatrix}
1 \\
0 \\
1 \\
0
\end{bmatrix}, \quad \mathbf{b}=\begin{bmatrix}
1 \\
1 \\
0 \\
0
\end{bmatrix}, \quad \mathbf{c}=\begin{bmatrix}
0 \\
1 \\
-1 \\
0
\end{bmatrix}.\]

Namely,
\[V=\{\mathbf{x}\in \R^4 \mid \mathbf{a}^{\trans}\mathbf{x}=0, \mathbf{b}^{\trans}\mathbf{x}=0, \text{ and } \mathbf{c}^{\trans}\mathbf{x}=0\}.\]