online advertising

Thursday, January 14, 2016

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 11

Problem:


Solution:

For part (a), it suffice the find the set of polynomials that vanish on the parametric curve.

Analogous to the twisted cubic, it is pretty obvious to me that the polynomials are:

$ y - x^3 $ and $ z - x^4 $.

Let's prove that $ V(y - x^3, z - x^4) $ is the parametric curve $ C = \{(t, t^3, t^4)\} $.

Note that any point in the parametric curve must be in $ V $ by construction, so $ C \subset V(y - x^3, z - x^4) $.

For the reverse inclusion, suppose a point $ p $ outside of $ C $, the point $ p $ must necessarily have the form $ (t, t^3 + a, t^4 + b) $ where not both $ a = 0 $ and $ b = 0 $. Putting $ p $ into the equation we get $ y - x^3 = a $ and $ z - x^4 = b $, which mean at least one of the polynomial must not vanish and therefore the point cannot in $ V $. In other words $ v \in V \implies v \in C $, and so $ V(y - x^3, z - x^4) \subset C $, so we proved that the curve is the variety $ V(y - x^3, z - x^4) $.

For part (b), we claim that $ P = \langle y - x^3, z - x^4 \rangle $ is $ I(V) $.

It is obvious that any polynomial $ p \in P $ must vanish in $ V(y - x^3, z - x^4) $.

We will use the same trick as the last problem. We claim that any polynomial $ f(x, y, z) $ can be written as $ f(x, y, z) = g(x, y, z)(y - x^3) + h(x, y, z)(z - x^4) + r(x) $.

Again, it suffice to prove this for monomial, so we have:

$ \begin{eqnarray*} & & x^ay^bz^c \\ &=& x^a((y - x^3) + x^3)^b((z - x^4) + x^4)^c \\ &=& x^a(x^{3b} + p(x, y)(y - x^3))(x^{4c} + q(x, z)(z - x^4)) \\ &=& x^{a + 3b + 4c} + m(x, y, z)(y - x^3) + n(x, y, z)(z - x^4) \end{eqnarray*} $

As we can represent a monomial, we can also represent any polynomial, so the claim is proved.

Next, for any polynomial $ f(x, y, z) \in I(V) $, we write $ f(x, y, z) = g(x, y, z)(y - x^3) + h(x, y, z)(z - x^4) + r(x) $ and then it need to vanish $ (t, t^3, t^4) $, so we substitute in and get:

$ 0 = f(x, y, z) = g(t, t^3, t^4)(t^3 - t^3) + h(t, t^3, t^4)(t^4 - t^4) + r(t) $, so we get $ r(t) $ is the zero polynomial and therefore $ I(V) \subset \langle y - x^3, z - x^4 \rangle $.

Bitcoin and Cryptocurrency Technologies Index

This page is an index of all my studies on BitCoin

Coursera Bitcoin and Cryptocurrency Technologies Series

The course is available here.
A Chinese discussion thread talking about BitCoin is available here.

Bitcoin and Cryptocurrency Technologies - Quiz 1 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 1 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 1 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 1 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 1 Problem 5

Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 5
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 6
Bitcoin and Cryptocurrency Technologies - Quiz 2 Problem 7

Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 5
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 6
Bitcoin and Cryptocurrency Technologies - Quiz 3 Problem 7

Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 5
Bitcoin and Cryptocurrency Technologies - Quiz 4 Problem 6

Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 5
Bitcoin and Cryptocurrency Technologies - Quiz 5 Problem 6

... Quiz 6 missed ...

Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 5
Bitcoin and Cryptocurrency Technologies - Quiz 7 Problem 6

Bitcoin and Cryptocurrency Technologies - Quiz 8 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 8 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 8 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 8 Problem 4

Bitcoin and Cryptocurrency Technologies - Quiz 9 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 9 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 9 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 9 Problem 4
Bitcoin and Cryptocurrency Technologies - Quiz 9 Problem 5

Bitcoin and Cryptocurrency Technologies - Quiz 10 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 10 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 10 Problem 3

Bitcoin and Cryptocurrency Technologies - Quiz 11 Problem 1
Bitcoin and Cryptocurrency Technologies - Quiz 11 Problem 2
Bitcoin and Cryptocurrency Technologies - Quiz 11 Problem 3
Bitcoin and Cryptocurrency Technologies - Quiz 11 Problem 4

Tuesday, January 12, 2016

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 10

Problem:


Solution:

First, let's look at what is $ V(x - y) $, it is the point set such that $ x - y = 0 $, so it is simply the straight line $ (t, t) $.

Next, we look at what $ \langle x - y \rangle $ is, it is the set of all polynomial with a factor $ (x - y) $, so it must vanish on the straight line, so we showed $ \langle x - y \rangle \subset I(V(x - y)) $

For the reverse inclusion, we consider the polynomials in $ I(V(x - y)) $, they must vanishes on $ (t, t) $. The challenge is to show one such polynomial must have $ (x - y) $ as a factor.

In order to solve the challenge, we need this result:

We claim that any polynomial $ f(x, y) $ can be written as $ f(x, y) = h(x, y)(x - y) + r(x) $.

The prove the claim, it suffice to show that the trick works when $ f(x, y) $ are monomials. For general polynomials we just add the terms up.

So for a general monomial, we see that we can indeed express it in the claim form as follow:

$ x^a y^b = x^a(x - (x - y))^b = x^a(x^b + c(x, y)(x-y)) = x^{a+b} + x^ac(x, y)(x - y) $.

Armed with the claim, we write any polynomial $ f(x, y) \in I(V) $, $ f(x, y) = h(x, y)(x - y) + r(x) $.

It must vanishes on $ (t, t) $, so $ h(t, t)(t - t) + r(t) = 0 \implies r(t) = 0 $.

Therefore we proved any polynomial $ f(x, y) \in I(V) \implies f(x, y) \in \langle x - y \rangle $.



Here we have the previous wrong proof  - just for reference for a mistake I had.

An easy fact is that such polynomial must vanish on $ (0, 0) $, so the polynomial must not have a constant term, any such polynomial can be written as

$ f(x, y) = x a(x, y) + y b(x, y) $.

Next, we substitute $ (t, t) $ and get $ a(t, t) = -b(t, t) $ whenever $ t \ne 0 $.

So we have two polynomials that agree on infinite number of points (as the field $ k $ is infinite). The two polynomials must be equal, so we have $ a(x, y) = -b(x, y) $.

Putting back in, we have $ f(x, y) = x a(x, y) - y a(x, y) = (x - y) a(x, y) $, so we have proved that any such polynomial must have $ (x - y) $ as a factor, or $ I(V(x, y)) \subset \langle x - y \rangle $.

The key mistake is in the red line. In general, two polynomials of two or more variables, even when they agree on infinite number of points, can be different.

See:
http://math.stackexchange.com/questions/623981/check-that-two-function-fx-y-and-gx-y-are-identical

This is a good story learnt.

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 9

Problem:


Solution:

The parameterization of the twisted cubic is $ (t, t^2, t^3) $, so all points in $ V $ must be of that form.

Now we test such points on the polynomial $ y^2 - xz = (t^2)^2 - (t)(t^3) = t^4 - t^4 = 0 $, so the polynomial vanishes on all points in the variety, so $ y^2 - xz \in I(V) $.

For part (b), the key observation is that we have $ xz $, so we multiply the second polynomial by $ x $, the rest seems the just follow as:

$ (y)(y - x^2) - (x)(z - x^3) = (y^2 - xz) - x^2 y  + x^4 = (y^2 - xz) - x^2(y - x^2) $.

So we just it back on the left hand side and get our answer as:

$ (x^2 + y)(y - x^2) - (x)(z - x^3) = (y^2 - xz) $.

Monday, January 11, 2016

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 8

Problem:


Solution:

For part (a), if $ f^m \in I(V) $, then for all points $ p $ in $ V $, $ f^m(p) = 0 \implies f(p) = 0 \implies f \in I(V) $. Therefore $ I(V) $ is radical.

For part (b), $ x^2 \in \langle x^2, y^2 \rangle $ but $ x \notin \langle x^2, y^2 \rangle $. That shows the $ \langle x^2, y^2 \rangle $ is not radical and therefore cannot be an ideal of a variety.

Look forward to Nullstellensatz, what a long word to type ...

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 7

Problem:


Solution:

Recall the ideal of a variety is the set of all polynomials vanishes on $ V $, but what is $ V $ as a point set?

We claim $ V(x^n, y^m) = \{(0,0)\} $, this is actually pretty obvious, for this is the only solution for $ x^n = y^m = 0 $.

So the problem becomes, what is the set of all polynomials that vanish on $ \{(0,0)\} $?

For one thing, it must not have a constant term, otherwise $ \{(0,0)\} $ is not a solution. With that, we pick all the terms with $ x $ and factor out $ x $, and then all the term without $ x $ must have $ y $ and therefore factor out $ y $, we get

$ f(x, y) \in I(V(x^n, y^m)) \implies f(x, y) = a(x, y) x + b(x, y) y \in \langle x, y \rangle $, this show $ I(V(x^n, y^m)) \subset \langle x, y \rangle $.

The other inclusion is just as easy, notice if $ f(x, y) = c_1 x + c_2 y $, then $ f(0, 0) = 0 \in I(V(x^n, y^m)) $.

Therefore we proved $ I(V(x^n, y^m)) = \langle x, y \rangle $.

UTM Ideals Varieties and Algorithm - Chapter 1 Section 4 Exercise 6

Problem:


Solution:

Another long problem.

For part (a), let's review what is a vector space first.

A vector space is a set of vectors $ v $ such that we can add these vector together and do 'scalar' multiplication, where the scalar is an element of a field $ k $, and in this case we say it is a vector field over $ k $.

To see, how $ k[x] $ can be interpreted as a vector space, we already know the scalar are elements of $ k $, so the vectors must be power of $ x $, and therefore $ \langle I \rangle $ is a subspace with the 0th power missing.

To show that must have an infinite basis, we simply note that there is no way one can construct $ x^n $ from linear combination of $ x^k $ where $ k < n $, thus a basis must be infinite.

For part (b), it is trivial. So trivial that I am not sure if I will remember what I meant, so let's be specific. The form of the solution is:

$ c_1 x + c_2 y  = 0 $

So we pick the coefficients $ c_1 = y $ and $ c_2 = -x $, both of them are not zero and yet the result is 0.

Part (c) is equally trivial. We just simply do exactly the same as above:

$ \sum\limits_{i = 0}^{s} c_i f_i = 0 $

So we pick $ c_1 = f_2 $, $ c_2 = -f_1 $ and $ c_k = 0 $ for other $ k $.

For part (d), we need to be a little more creative, the two representations are

$ \begin{eqnarray*} x^2 + xy + y^2 &=& (x + y)(x) &+& (y)(y) \\ x^2 + xy + y^2 &=& (x)(x) &+& (x + y)(y) \end{eqnarray*} $

So there you go, two representations of the same polynomial.

For part (e), it suffice to show three facts:

$ \langle x + x^2, x^2 \rangle = \langle x \rangle $
$ \langle x + x^2 \rangle \ne \langle x \rangle $
$ \langle x^2 \rangle \ne \langle x \rangle $

All of them are pretty obvious.
$ x = (1)(x + x^2) + (-1)(x^2) \in \langle x + x^2, x^2 \rangle $, this implies $ \langle x \rangle \subset \langle x^2 + x, x^2 \rangle $.
$ x = (1)(x) \in \langle x \rangle $ and $ x + x^2 = (x + 1)(x) \in \langle x \rangle $, this implies $ \langle x + x^2, x \rangle \subset \langle x \rangle $.
Together we have shown $ \langle x + x^2, x^2 \rangle = \langle x \rangle $

Note that for the other two statements, any polynomial in the left hand side subsets necessarily have degree at least 2, so they cannot have the monomial $ x $, which is in $ \langle x \rangle $, so we establish the other two statements. These two statements together indicate it is a minimal basis.

In linear algebra, the minimal basis always have the same size, which is the dimension of the space. But apparently this does not hold with ideals.