In reponse to your final question: "Is this a basis?" is correct. Basis - singular, bases - plural.
Also, the word is "grammar."
RJLiberator said:
Homework Statement
Determine if the following sets are bases for P_2(R)
b) (1+2x+x^2, 3+x^2,x+x^2)
d) (-1+2x+4x^2, 3-4x-10x^2,-2-5x-6x^2)
Homework Equations
Bases IF Linear Independence AND span(Set)=P_2(R)
RREF = Reduced Row Echelon Form
The Attempt at a Solution
My first question here regards an understanding of notation.
So for each B and D I did worked it out to be in Row Echelon Form and found linear independce. Permitting I did the calculations correctly, is it safe to say that these are basis for P_2(R) as the amount of terms in the set is 3 and since 3-1 = 2 P_2 is safe and these sets span P_2(R)?
It's not clear what you're asking. From the context of the problem, I take it that P
2 is the space of polynomials of degree ##\le## 2. Some textbooks define this as polynomials of degree < 2.
For a set of functions to be a basis for some space, the set (1) has to be linearly independent and (2) has to span the space. You haven't said what P
2 means in your book, so I can't say whether the sets are linearly independent.
RJLiberator said:
Second question: For b) I was able to get the RREF rather easily from the matrix:
\begin{pmatrix}
1 & 2 & 1 & 0\\
1 & 0 & 3 & 0\\
1 & 1 & 0 & 0
\end{pmatrix}
This isn't the way I would do it, for two reasons.
1) Each function in the set, treated as a vector, should appear as a column in the matrix, not a row. For what you did, it doesn't make much difference, as you are essentially working with a 3 x 3 matrix. If this matrix is row-reducible to the identity matrix, so will be its transpose.
2) There is no reason to have that fourth column of 0s. None of the row operations will cause it to change.
RJLiberator said:
This should be linear independent in RREF, and so it is a bases.
It is a
basis.
RJLiberator said:
An answer key says "no" this is not a bases. However, the answer key can be wrong. Is there anything I did wrong here in setting this problem up for b) or perhaps my understanding of span?
Again, how is P
2 defined? If it's the space of polynomials of degree < 2, then you have too many functions in your set for the set to be linearly independent.
RJLiberator said:
Third question: For d) I was checking a solution and the solution had set up the matrix differently then what I had expected. They set up the matrix as such:
\begin{pmatrix}
-1 & 3 & -2 & 0\\
2 & -4 & -5 & 0\\
4 & -10 & -6 & 0
\end{pmatrix}
This is how I would set it up, with the coefficients of the polynomials as columns, and with the elements in a column being the coefficients of 1, x, x
2, in that order. I would not have the fourth column, though.
RJLiberator said:
As you can see, since d) (-1+2x+4x^2, 3-4x-10x^2,-2-5x-6x^2), they switched the columns and rows that I'm traditionally used to. Is this ok to do?
Not only is the way they did it OK -- it's better. When you set up an equation for determining whether a set of vectors/functions is linearly independent, the equation looks like
$$c_1\vec{v_1} + c_2\vec{v_2} + \dots + c_n\vec{v_n} = \vec{0}$$
The vectors in this equation are column vectors. Expanding the above as a matrix product, you get the following
$$\begin{bmatrix} v_{11} & v_{21} & \dots & v_{n1} \\
v_{12} & v_{22} & \dots & v_{n2} \\
\dots & \dots & \dots & \dots \\
v_{1m} & v_{2m} & \dots & v_{nm} \end{bmatrix} \begin{bmatrix} c_1 \\ c_2 \\ \dots \\ c_n \end{bmatrix} = \vec{0}$$
The first column contains the coordinates of the first vector/polynomial, and continues in the same manner.
RJLiberator said:
The normal way I do it, like my example in b, is difficult to get into RREF, however this way is rather easy.
EDIT: I know my title is improper grammer. Is this a bases* should be the title.