Show a subspace and find a spanning set

In summary: Yes, that does give a= c= 0, b and d arbitrary. So the basis is 1, x^2.In summary, we are given the subset W of all P3 defined by W={p(x) in P3: p(1)=p(-1) and p(2)=p(-2)}. We are asked to show that W is a subspace of P3 and find a spanning set for W. The dimension of W is less than or equal to 4, and we can write any vector in P3 as ax^3+ bx^2+ cx+ d. The condition p(1)= p(-1) leads to a+ c= 0, and the
  • #1
slugbunny
15
0

Homework Statement



Let W be the subset of all P3 defined by

W={p(x) in P3: p(1)=p(-1) and p(2)=p(-2)}

Show that W is a subspace of P3, and find a spanning set for W.

Homework Equations





The Attempt at a Solution



This is homework we can correct. I've attached my work. The first one with red and purple writing is what I submitted. The black and yellow one is my redo attempt.

On my original one, the TA wrote in red and I wrote random stuff in purple.

In my redo, I first attempted to prove W is a subspace using the closure, multiplication, and zero vector properties.
I don't know how to find the spanning set. Is that a way to get it without guessing? I understand the answer but I don't know how to get it.
 

Attachments

  • math311_23.jpg
    math311_23.jpg
    18.9 KB · Views: 789
  • math311_23a.jpg
    math311_23a.jpg
    17.5 KB · Views: 756
Physics news on Phys.org
  • #2
well first do you know the dimension of your subspace? that tells you how many vectors you're looking for. The dimension of P^3 is 4, so it will be less than or equal to that.

Note there is no unique set of spanning vectors as when you have a basis any vector within it can be be replaced by a linear combination of the orginal vectors and any other basis vectors.

so first write an arbitary element in your set P^3 as
[tex] ax^3 + bx2 + cx +d [/tex]
now it must satisfy p(1) = p(-1) so
[tex]a + b + c +d = (-a) + b + (-c) +d [/tex]
and p(2) = p(-2) so
[tex]8a + 4b + 2c +d = (-8a) + 4b + (-2c) +d [/tex]

use these constraints to find the basis vectors
 
Last edited:
  • #3
Any "vector" in P3 can be written in the form [itex]ax^3+ bx^2+ cx+ d[/itex]. The requirement that p(1)= p(-1) means that [itex]a+ b+ c+ d= -a+ b- c+ d[/itex] or [itex]a+ c= 0[/itex]. The requirement that p(2)= p(-2) means that [itex]8a+ 4b+ 2c+ d= -8a+ 4b- 2c+ d[/itex] or [itex]a+ c= 0[/itex]. You really have just one condition.

Knowing that c= -a means you can write [itex]ax^3+ bx^2+ cx+ d[/itex] as what?
 
  • #4
wait Halls so
[itex]a+ b+ c+ d= -a+ b- c+ d[/itex] gives [itex]2a+ 2c= 0[/itex]
[tex]\implies a+ c= 0[/tex]

but doesn't
[itex]8a+ 4b+ 2c+ d= -8a+ 4b- 2c+ d[/itex] gives [itex]16a+ 4c= 0[/itex]
[tex]\implies \textbf{4}a+ c= 0[/tex]

which leads to a=c=0?
 
Last edited:
  • #5
Thanks for both of your help.

lanedance said:
wait Halls so
[itex]a+ b+ c+ d= -a+ b- c+ d[/itex] gives [itex]2a+ 2c= 0[/itex]
[tex]\implies a+ c= 0[/tex]

but doesn't
[itex]8a+ 4b+ 2c+ d= -8a+ 4b- 2c+ d[/itex] gives [itex]16a+ 4c= 0[/itex]
[tex]\implies \textbf{4}a+ c= 0[/tex]

which leads to a=c=0?

Thanks so much! Since a=c=0, I'm left with

p(x) = 1 + x2

So the basis is 1, x2 which is the spanning set.
I really appreciate it, so much.
 
  • #6
lanedance said:
wait Halls so
[itex]a+ b+ c+ d= -a+ b- c+ d[/itex] gives [itex]2a+ 2c= 0[/itex]
[tex]\implies a+ c= 0[/tex]

but doesn't
[itex]8a+ 4b+ 2c+ d= -8a+ 4b- 2c+ d[/itex] gives [itex]16a+ 4c= 0[/itex]
[tex]\implies \textbf{4}a+ c= 0[/tex]

which leads to a=c=0?
Yes, you are right. Guess my eyes went fuzzy there!
 

1. What is a subspace?

A subspace is a subset of a vector space that satisfies the properties of a vector space. This means that it is closed under addition and scalar multiplication.

2. How do you show a subspace?

To show that a subset is a subspace, you must demonstrate that it satisfies the two properties of a vector space: closure under addition and scalar multiplication. This can be done algebraically or by providing a geometric representation.

3. What is a spanning set?

A spanning set is a set of vectors that can be used to express any vector in a given vector space. This means that every vector in the space can be written as a linear combination of the vectors in the spanning set.

4. How do you find a spanning set?

To find a spanning set, you can use a variety of methods such as Gaussian elimination, row reduction, or the method of substitution. These methods involve solving systems of equations to find the necessary coefficients for the vectors in the spanning set.

5. Can a subspace have more than one spanning set?

Yes, a subspace can have infinitely many spanning sets. This is because any set of linearly independent vectors that span the subspace can be used as a spanning set.

Similar threads

  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
3K
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
0
Views
441
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
5K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
15
Views
1K
Back
Top