|
159 | 159 | "\\end{eqnarray*}\n", |
160 | 160 | "$$\n", |
161 | 161 | "\n", |
162 | | - "These algebraic combinations of functions satisfy all the requirements to make $C\\left[0,1\\right]$ a vector space. This space is quite different from the other examples in that it does not have a finite dimension. Any basis for $C\\left[0,1\\right]$ must contain an infinite number of functions. For this reason, we cannot easily do calculations such as those in the previous example to determine if a set of functions are linearly indpendent. We will however make use of this example in a later application. \n" |
| 162 | + "These algebraic combinations of functions satisfy all the requirements to make $C\\left[0,1\\right]$ a vector space. This space is quite different from the other examples in that it does not have a finite dimension. Any basis for $C\\left[0,1\\right]$ must contain an infinite number of functions. For this reason, we cannot easily do calculations such as those in the previous example to determine if a set of functions are linearly independent. We will however make use of this example in a later application. \n" |
| 163 | + ] |
| 164 | + }, |
| 165 | + { |
| 166 | + "cell_type": "markdown", |
| 167 | + "metadata": {}, |
| 168 | + "source": [ |
| 169 | + "### Exercises" |
| 170 | + ] |
| 171 | + }, |
| 172 | + { |
| 173 | + "cell_type": "markdown", |
| 174 | + "metadata": {}, |
| 175 | + "source": [ |
| 176 | + "**Exercise 1:** Determine whether or not the set of polynomials $\\{p_1, p_2, p_3\\}$ is a basis for $\\mathbb{P}_2$.\n", |
| 177 | + "\n", |
| 178 | + "$$\n", |
| 179 | + "\\begin{eqnarray*}\n", |
| 180 | + "p_1 & = & 3x^2 + 2x + 1 \\\\\n", |
| 181 | + "p_2 & = & 2x^2 + 5x + 3 \\\\\n", |
| 182 | + "p_3 & = & 6x^2 + 4x +5 \n", |
| 183 | + "\\end{eqnarray*}\n", |
| 184 | + "$$" |
| 185 | + ] |
| 186 | + }, |
| 187 | + { |
| 188 | + "cell_type": "code", |
| 189 | + "execution_count": 4, |
| 190 | + "metadata": {}, |
| 191 | + "outputs": [], |
| 192 | + "source": [ |
| 193 | + "## Code solution here" |
| 194 | + ] |
| 195 | + }, |
| 196 | + { |
| 197 | + "cell_type": "markdown", |
| 198 | + "metadata": {}, |
| 199 | + "source": [ |
| 200 | + "**Exercise 2:** Find the coordinates of $p_4$ with respect to the basis $\\alpha\\ = \\{p_1, p_2, p_3\\}$. \n", |
| 201 | + "\n", |
| 202 | + "$$\n", |
| 203 | + "\\begin{eqnarray*}\n", |
| 204 | + "p_1 & = & x^2 + x + 2 \\\\\n", |
| 205 | + "p_2 & = & 2x^2 + 4x + 0 \\\\\n", |
| 206 | + "p_3 & = & 3x^2 + 2x +1 \\\\\n", |
| 207 | + "p_4 & = & 11x^2 + 13x + 4\n", |
| 208 | + "\\end{eqnarray*}\n", |
| 209 | + "$$" |
163 | 210 | ] |
164 | 211 | }, |
165 | 212 | { |
166 | 213 | "cell_type": "code", |
167 | | - "execution_count": null, |
| 214 | + "execution_count": 5, |
168 | 215 | "metadata": {}, |
169 | 216 | "outputs": [], |
170 | | - "source": [] |
| 217 | + "source": [ |
| 218 | + "## Code solution here" |
| 219 | + ] |
| 220 | + }, |
| 221 | + { |
| 222 | + "cell_type": "markdown", |
| 223 | + "metadata": {}, |
| 224 | + "source": [ |
| 225 | + "**Exercise 3:** Demonstrate that a set of four polynomials in $\\mathbb{P}_4$ cannot span $\\mathbb{P}_4$ through a computation." |
| 226 | + ] |
| 227 | + }, |
| 228 | + { |
| 229 | + "cell_type": "code", |
| 230 | + "execution_count": 6, |
| 231 | + "metadata": {}, |
| 232 | + "outputs": [], |
| 233 | + "source": [ |
| 234 | + "## Code solution here" |
| 235 | + ] |
| 236 | + }, |
| 237 | + { |
| 238 | + "cell_type": "markdown", |
| 239 | + "metadata": {}, |
| 240 | + "source": [ |
| 241 | + "**Exercise 4:** The set of matrices $\\{A, B\\}$ form a basis for a subspace of $\\mathbb{M}_{2\\times 2}$. Find a matrix which is in the subspace (but is not $A$ or $B$) and a matrix which is not in the subspace. Verify your answer.\n", |
| 242 | + "\n", |
| 243 | + "$$\n", |
| 244 | + "\\begin{equation}\n", |
| 245 | + "A = \\left[ \\begin{array}{ccc} 1 & 0 \\\\ 2 & 0 \\end{array}\\right] \\hspace{1cm}\n", |
| 246 | + "B = \\left[ \\begin{array}{ccc} 4 & 0 \\\\ 5 & 0 \\end{array}\\right] \\hspace{1cm}\n", |
| 247 | + "\\end{equation}\n", |
| 248 | + "$$" |
| 249 | + ] |
| 250 | + }, |
| 251 | + { |
| 252 | + "cell_type": "code", |
| 253 | + "execution_count": 7, |
| 254 | + "metadata": {}, |
| 255 | + "outputs": [], |
| 256 | + "source": [ |
| 257 | + "## Code solution here" |
| 258 | + ] |
| 259 | + }, |
| 260 | + { |
| 261 | + "cell_type": "markdown", |
| 262 | + "metadata": {}, |
| 263 | + "source": [ |
| 264 | + "**Exercise 5:** Find the **coordinate vector** of $F$ with respect to the basis $\\beta = \\{A,B,C,D\\}$ for $\\mathbb{M}_{2\\times 2}$.\n", |
| 265 | + "\n", |
| 266 | + "$$\n", |
| 267 | + "\\begin{equation}\n", |
| 268 | + "A = \\left[ \\begin{array}{ccc} 1 & 0 \\\\ 0 & 1 \\end{array}\\right] \\hspace{1cm}\n", |
| 269 | + "B = \\left[ \\begin{array}{ccc} 2 & 1 \\\\ 2 & 2 \\end{array}\\right] \\hspace{1cm}\n", |
| 270 | + "C = \\left[ \\begin{array}{ccc} 3 & 0 \\\\ 1 & 4 \\end{array}\\right] \\hspace{1cm}\n", |
| 271 | + "D = \\left[ \\begin{array}{ccc} 3 & 4\\\\ 1 & 1 \\end{array}\\right] \\hspace{1cm}\n", |
| 272 | + "F = \\left[ \\begin{array}{ccc} 14 & 10\\\\ 7 & 11 \\end{array}\\right] \\hspace{1cm}\n", |
| 273 | + "\\end{equation}\n", |
| 274 | + "$$" |
| 275 | + ] |
| 276 | + }, |
| 277 | + { |
| 278 | + "cell_type": "code", |
| 279 | + "execution_count": 8, |
| 280 | + "metadata": {}, |
| 281 | + "outputs": [], |
| 282 | + "source": [ |
| 283 | + "## Code solution here" |
| 284 | + ] |
| 285 | + }, |
| 286 | + { |
| 287 | + "cell_type": "markdown", |
| 288 | + "metadata": {}, |
| 289 | + "source": [ |
| 290 | + "**Exercise 6:** Let $\\mathbb{D}_{2\\times 2}$ be the set of $ 2 \\times 2 $ diagonal matrices. \n", |
| 291 | + "\n", |
| 292 | + "($a$) Explain why $\\mathbb{D}_{2\\times 2}$ is a subspace of $\\mathbb{M}_{2\\times 2}$.\n", |
| 293 | + "\n", |
| 294 | + "($b$) Find a basis for $\\mathbb{D}_{2\\times 2}$.\n", |
| 295 | + "\n", |
| 296 | + "($c$) Determine the dimension of $\\mathbb{D}_{2\\times 2}$." |
| 297 | + ] |
| 298 | + }, |
| 299 | + { |
| 300 | + "cell_type": "code", |
| 301 | + "execution_count": 9, |
| 302 | + "metadata": {}, |
| 303 | + "outputs": [], |
| 304 | + "source": [ |
| 305 | + "## Code solution here" |
| 306 | + ] |
171 | 307 | } |
172 | 308 | ], |
173 | 309 | "metadata": { |
|
0 commit comments