Show a subspace and find a spanning set

  • Thread starter Thread starter slugbunny
  • Start date Start date
  • Tags Tags
    Set Subspace
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 7K views
slugbunny
Messages
13
Reaction score
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: 869
  • math311_23a.jpg
    math311_23a.jpg
    17.5 KB · Views: 833
Physics news on Phys.org
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:
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?
 
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:
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.
 
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!