ATAR Notes: Forum
Uni Stuff => Science => Faculties => Mathematics => Topic started by: acinod on April 15, 2012, 01:53:35 pm
-
1. Prove that the following subset S of Z25 is a subspace of Z25and calculate its dimension. The subset S consists of all vectors with an even number of 1s, e.g. (1, 0, 1, 0, 0) and (0, 0, 0, 0, 0) are both in S while (1, 0, 1, 0, 1) is not in S.
2. Prove that the following set of vectors: {
,
,
,
} spans the vector space M2,2.
Cheers.
-
You could probably post this in the math section, this is not only taught in uom.
1.) So it's clearly not empty (you've written down an example). If
then
is the zero vector, hence it has an even number of
's; while
and so it has an even number of ones. So it is closed under scalar multiplication.
To show it is closed under addition suppose that
and
are both in
. Let
and
. Let
, show that
(set difference). Hence the size of
is
and this is even (it is the sum of even integers). Therefore 
2) Just use Gaussian Elimination?
-
Which part didn't you understand (apart from me forgetting to calculate the dimension)?
-
Ahh right sorry ok, let me write it out in words:
Let
be the set of all
such that
is 
Let
be the set of all
such that
is 
Let
be the set of all
such that
is 
Example: if
and
then
,
and since
then
.
For any set
I will write
to be the number of elements in
, so in the above example
,
and
.
So clearly the point of this problem is to show that
is always even if
and
both are even.
-
How did you get from

to

but everything else makes perfect sense, thanks!

-
This is a general property of sets
. (in vce you may have seen the probability version of this)?
Loosely speaking, you subtract off the intersection since you counted those elements twice.
-
So how do you go about calculating dimension?
-
There are two possible approaches:
1) Find a basis - this is pretty much using the definition
2) Find how many elements are in the space - an m-dimensional vector space over
has
elements, hence if you can count how many elements there are then just take
to find the dimension.
So using approach 2) how many different such sequences vectors are there with an even number of 1's? Well you can choose the first four entries to be anything you like, and then there is a unique choice for the last entry which makes you have an even number of 1's in total (more precisely, if out of the first four entries, there is an odd number of 1's, then the last entry must be a 1. If however out of the first four entries, there is an even number of 1's, then the last entry must be a 0). So you see there is a one to one correspondence between vectors with 4 entries and vectors with 5 entries with even number of 1's. Hence there are
such vectors so the dimension is 
Here is an approach using 1), finding an explicit basis: (1,1,0,0,0),(1,0,1,0,0),(1,0,0,1,0),(1,0,0,0,1) I'll leave it as an exercise to check that it is indeed a basis (there is a shortcut: it is easy to check linear independence(put it in a matrix and see), and if it spans something that is not the space we're after, then it must span something bigger and a bigger thing must be 5 dimensional hence the whole space, which can't occur)
-
> I have spent the whole day challenging various people's paradigms. I guess this is my relaxation.
Allow me to offer my view on the first subset problem (in original post), on how to prove S is a subspace.
Define the length of a quantity in
as the sum of digits.
The length of quantities in
are either 0, 2 or 4. Denote these sets as
. Let's ignore
for now, as the logic here is rather trivial.
Any
can be written as various arrangements of
. Any addition in
can thus be written as sums of
. To show that addition is closed, we need to:
- Show that 
- Consider if we have
, and we wish to perform
. No matter how we arrange
, we'll always end up with the possibility of having a
addition on our hand. So, we must also show that 
Showing that
is simple. We have 3 cases: none of the digits line up, in which case we get a
; only one of the digits line up, in which case we get a
; both digits line up, in which we get a
.
Showing that
is also simple. We have two cases: both digits in
line up with digits in
, we get a
; only one digit of
lines up with
, in which case we get a
.
And then we throw in the bits about adding L0 doesn't affect anything. QED.
-
Find the spanning set for the following subspace of R^3
{(a+c, c-b, 3c):a,b,c E R}
(a,0,0)+(0,-b,0)+(c,c,3c)
One possible spanning set is (1,0,0), (0,1,0), (1,1,3)
-
Actually just realised there is a much simpler way (if you know what a Linear Transformation is).
Consider the function
. Then it's easy to check that this function is a linear transformation. Moreover the set
of elements with even number of
's is indeed the kernel (a.k.a nullspace) of this linear transformation. And so it is indeed a subspace. Finding the dimension is easy since the matrix of
with respect to the standard bases is just [1 1 1 1 1]