Subspace of Polynomials of degree 2

In summary, Tomblue found that a set W of polynomials in P2 such that p(1)=0 is a subspace of P2. However, he is still unsure of how to find a basis for W. He may be able to find a basis if he considers the space of all polynomials in P2 that have 1 as their first variable and see if any of them satisfy the equation a_0+ a_1x+ a_2x^2= a_0+ a_1+ a_2.
  • #1
Tomblue
7
0
I'm trying to show that a set W of polynomials in P2 such that p(1)=0 is a subspace of P2. Then find a basis for W and dim(W).

I have already found that the set W is a subspace of P2 because it is closed under addition and scalar multiplication and have showed that. The thing I'm stuck on is finding a basis of W and the dim(W), but i think if i figure out how to find the basis i would be able to see what the dim(W) is. So my question is can anyone give me a hint on how to find the basis for W? Thanks
 
Physics news on Phys.org
  • #2
Welcome to PF!

Hi Tomblue! Welcome to PF! :smile:
Tomblue said:
I have already found that the set W is a subspace of P2 because it is closed under addition and scalar multiplication and have showed that. The thing I'm stuck on is finding a basis of W and the dim(W) …

Hint: what is a basis for the whole of P2? How large is it?

So how large do you expect a basis for W to be?

Now adjust the basis you got for P2. :wink:
 
  • #3
W=p(x)={a0 + a1x + a2x2}
so I'm not sure if this is right but I'm trying to work through it, so since the set W is a set of polynomials in P2 then p(x)={a0+a1 +a2} and a0 would be zero since p(1)=0. Then therefore the basis for W would be = (0,-1,1) but i think the dim(W) is 2-dimensional but if that was correct then i should of had 2 free variables when finding my basis and it would be different. So I'm still not quite sure i did it right.
 
  • #4
I can find three linear independent solutions for [tex]\{a_0, a_1, a_2\}[/tex]; it looks like you stopped after you found one.

You are jumping to conclusions when you say [tex]a_0[/tex] would be zero since p(1)=0.
 
Last edited:
  • #5
i found that a0=0, then a2=t, and a1=-t those are the three linearly independent solutions, so what i thought the basis would look like in vector form would bex € P2 such that x=t(0,-1,1)
 
  • #6
What if you let [tex]a_1=0[/tex] or [tex]a_2 = 0[/tex], first of all is it possible to let these variables take that value, and if so, what are then the corresponding values of the other two variables?
 
  • #7
If i let a2=0, then a0=-a1 and a1=-a0 but i don't see how that would help me
 
  • #8
It helps you because it gives you two more linear independent sets of coefficients [tex]\{a_0,a_1,a_2\}[/tex] that help to form a basis for W.
 
  • #9
Maybe it would help if you see it like this: (I'm no good with latex, sorry).

[tex]

\left[ \begin{array}{ccc} a_{11} & a_{12} & 0 \\ a_{21} & a_{22} & -1 \\ a_{31} & a_{32} & 1\end{array} \right] [ \begin{array}{ccc} a_{0} \\ a_{1} \\ a_{2}\end{array} ] = 0

[/tex]
 
  • #10
Hi Tomblue! :smile:

(just go up :zzz: …)
Tomblue said:
W=p(x)={a0 + a1x + a2x2}
so I'm not sure if this is right but I'm trying to work through it, so since the set W is a set of polynomials in P2 then p(x)={a0+a1 +a2} and a0 would be zero since p(1)=0. Then therefore the basis for W would be = (0,-1,1) but i think the dim(W) is 2-dimensional but if that was correct then i should of had 2 free variables when finding my basis and it would be different. So I'm still not quite sure i did it right.

I'm not convinced you understand what a basis is.

(it would have helped if you'd actually answered my question)

One basis for P2 would be the three elements 1 x and x2, which we can write as {1, x, x2}.

Another basis would be {1, 1 + x, 2 + x2}.

Any set of three independent polynomials will do.

ok, now fiddle about with {1, x, x2} to get a (smaller) basis for W.
 
  • #11
Here's a different approach.

W is the space of polynomials a0+a1x+a2x2
this is really R3, or {a0 a1 a2}.

Requiring that a0+a1+a2=0, is the same as requiring that the euclidean inner product of any element of W with {1 1 1} be zero.

Hence the subspace W forms a plane in R3, namely the plane that is orthogonal to the vector {1 1 1}, and thus should have dimension 2.

To find a basis simply take the cross product of {1 1 1} with any two other linearly independent vectors, for instance using {1 0 0} and {0 1 0} gives the basis {0 1 -1} and {-1 0 1}, which correspond to the polynomials x-x2 and -1+x2.

Not so general, but gives a good mental picture.
 
  • #12
Any polynomial in P2 can be written uniquely as [itex]a_0+ a_1x+ a_2x^2[/itex] (which is the same as saying that {1, x, x2} is a basis).

Any polynomial, p, in P2 such that p(1)= 0 must satisfy [itex]a_0+ a_1(1)+ a_2(1^2)= a_0+ a_1+ a_2= 0[/itex]. We can solve for anyone of those coefficients in terms of the other two. For example, we can say that [itex]a_0= -a_1- a_2[/itex]. That means that [itex]a_0+ a_1x+ a_2x^2= -a_1- a_2+ a_1x+ a_2x^2[/itex][itex]= (-1+x)a_1+ (-1+ x^2)a_2[/itex]. Now do you see what you can use as a basis? You should also be able to find two other bases for the same subspace by solving for [itex]a_1[/itex] in terms of [itex]a_2[/itex] and [itex]a_0[/itex] and by solving for [itex]a_2[/itex] in terms of [itex]a_0[/itex] and [itex]a_1[/itex].
 

1. What is a subspace of polynomials of degree 2?

A subspace of polynomials of degree 2 is a set of polynomials where the highest degree is 2. It can be represented as a vector space of dimension 3, with a basis of {x^2, x, 1}. This means that any polynomial of degree 2 can be written as a linear combination of these basis polynomials.

2. What are the properties of a subspace of polynomials of degree 2?

A subspace of polynomials of degree 2 has the following properties: it contains the zero polynomial, it is closed under addition and scalar multiplication, and it is a vector space of dimension 3.

3. How do you determine if a polynomial belongs to a subspace of degree 2?

A polynomial of degree 2 belongs to a subspace of degree 2 if it can be written as a linear combination of the basis polynomials {x^2, x, 1}. This means that the coefficients of the polynomial must be real numbers and the highest degree term must be 2.

4. Can a subspace of polynomials of degree 2 contain polynomials of higher degree?

No, a subspace of polynomials of degree 2 can only contain polynomials of degree 2 or lower. This is because the subspace is defined by a basis of polynomials of degree 2, and any polynomial of higher degree cannot be written as a linear combination of these basis polynomials.

5. How is a subspace of polynomials of degree 2 used in practical applications?

A subspace of polynomials of degree 2 is commonly used in polynomial interpolation, curve fitting, and optimization problems. It can also be used in signal processing and image reconstruction, where the data can be approximated by a polynomial of degree 2.

Similar threads

  • Linear and Abstract Algebra
Replies
19
Views
4K
  • Linear and Abstract Algebra
Replies
2
Views
957
  • Linear and Abstract Algebra
Replies
3
Views
278
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
7
Views
2K
Replies
3
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
5
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
Back
Top