online advertising

Sunday, January 10, 2016

Differential Geometry and Its Application - Exercise 1.1.13

Problem:

Suppose a circle of radius $ a $ sits on the x-axis making contact at (0, 0). Let the circle roll along the positive x-axis. Show that the path $ a $ followed by the point originally in contact with the x-axis is given by:

$ \alpha(t) = (a(t - \sin t), a(1 - \cos t)) $

where $ t $ is the angle formed by the (new) point of contact with the axis, the center and the original point of contact. This curve is called a cycloid.

Solution;

Once we have the diagram, it is a simple matter to argue the formula:



As we can see, the point $ p $ should have coordinate $ at $ because the circle has rolled for $ t $ radian. Now the base of the triangle is given by $ a \sin t $, so the x coordinate is $ at - a\sin t = a(t - \sin t) $.

For y coordinate, we see the height of the triangle is $ a \cos t $, so the y-coordinate is $ a(1 - \cos t) $.

So we have proved the parametric formula for the cycloid.

Saturday, January 9, 2016

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

Problem:


Solution:

This is easy.

In exercise 3, we just shown $ \langle x + xy, y + xy, x^2, y^2 \rangle = \langle x, y \rangle $.
In exercise 4, we just shown if $ \langle f_1, \cdots, f_s \rangle = \langle g_1, \cdots, g_t \rangle $, then $ \mathbf{V}(f_1, \cdots, f_s) = \mathbf{V}(g_1, \cdots, g_t) $.

This is just applying the two facts we have just proved.

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

Problem:



Solution:

Consider a point $ \vec{x} \in \mathbf{V}(f_1, \cdots, f_s) $, we know $ f_1(\vec{x}) = \cdots = f_s(\vec{x}) = 0 $.

Because $ \langle f_1, \cdots, f_s \rangle = \langle g_1, \cdots, g_t \rangle $, therefore $ g_k = h_1f_1 + \cdots + h_sf_s $ for all $ k \in [1, t] $.

So $ g_k(\vec{x}) = h_1f_1(\vec{x}) + \cdots + h_sf_s(\vec{x}) = 0 $, so the point $ \vec{x} \in \mathbf{V}(g_1, \cdots, g_t) $.

We have just shown $ \mathbf{V}(f_1, \cdots, f_s) \subset \mathbf{V}(g_1, \cdots, g_t) $.

By symmetry, we also know $ \mathbf{V}(g_1, \cdots, g_t) \subset \mathbf{V}(f_1, \cdots, f_s) $, so the two varieties are equal.

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

Problem:


Solution:

Let's discuss how to we prove two finitely generated ideals are equal. By the previous problem, we can show one finitely generated ideal $ I $ to be a subset of another ideal $ J $ by simply showing its basis of $ I $ is in the ideal $ J $.

Therefore, to we prove two finitely generated ideals are equal, we simply check if the two sets of basis are included in each other. The rest is just algebra.

Part (a)

$ \begin{eqnarray*} x + y &=& 1x + 1y & \in & \langle x, y \rangle \\ x - y &=& 1x + (-1)y & \in & \langle x, y \rangle \end{eqnarray*} $

Therefore $ \langle x + y, x - y \rangle \subset \langle x, y \rangle $.

$ \begin{eqnarray*} x &=& \frac{1}{2}(x + y) + \frac{1}{2}(x - y) & \in & \langle x + y, x - y \rangle \\ y &=& \frac{1}{2}(x + y) + \frac{-1}{2}(x - y) & \in & \langle x + y, x - y \rangle \end{eqnarray*} $

Therefore $ \langle x, y \rangle \subset \langle x + y, x - y \rangle $.
Together we proved $ \langle x + y, x - y \rangle = \langle x, y \rangle $

Part (b)

$ \begin{eqnarray*} x + xy &=& (1)x + (x)y & \in & \langle x, y \rangle \\ y + xy &=& (y)x + (1)y & \in & \langle x, y \rangle \\ x^2 &=& (x)x + (0)y & \in & \langle x, y \rangle \\ y^2 &=& (x)x + (y)y & \in & \langle x, y \rangle \\ \end{eqnarray*} $

Therefore $ \langle x + xy, y + xy, x^2, y^2 \rangle \subset \langle x, y \rangle $.

$ \begin{eqnarray*} x &=& (1)(x+xy) + (-x)(y + xy) + (y)(x^2) + (0)(y^2) & \in & \langle x + xy, y + xy, x^2, y^2 \rangle \\ y &=& (-y)(x+xy) + (1)(y + xy) + (0)(x^2) + (x)(y^2) & \in & \langle x + xy, y + xy, x^2, y^2 \rangle \end{eqnarray*} $

Therefore $ \langle x, y \rangle \subset \langle x + xy, y + xy, x^2, y^2 \rangle $.
Together we proved $ \langle x + xy, y + xy, x^2, y^2 \rangle = \langle x, y \rangle $

Part (c)

$ \begin{eqnarray*} 2x^2 + 3y^2 - 11 &=& (2)(x^2 - 4) + (3)(y^2 - 1) & \in & \langle x^2 - 4, y^2 - 1 \rangle \\ x^2 - y^2 - 3 &=& (1)(x^2 - 4) + (-1)(y^2 - 1) & \in & \langle x^2 - 4, y^2 - 1 \rangle \end{eqnarray*} $

Therefore $ \langle 2x^2 + 3y^2 - 11, x^2 - y^2 - 3 \rangle \subset \langle x^2 - 4, y^2 - 1 \rangle $.

$ \begin{eqnarray*} x^2 - 4 &=& (\frac{1}{5})(2x^2 + 3y^2 - 11) + (\frac{3}{5})(x^2 - y^2 - 3) & \in & \langle 2x^2 + 3y^2 - 11, x^2 - y^2 - 3 \rangle \\ y^2 - 1 &=& (\frac{1}{5})(2x^2 + 3y^2 - 11) + (\frac{-2}{5})(x^2 - y^2 - 3) & \in & \langle 2x^2 + 3y^2 - 11, x^2 - y^2 - 3 \rangle \end{eqnarray*} $

Therefore $ \langle x^2 - 4, y^2 - 1 \rangle \subset \langle 2x^2 + 3y^2 - 11, x^2 - y^2 - 3 \rangle $.
Together we proved $ \langle 2x^2 + 3y^2 - 11, x^2 - y^2 - 3 \rangle = \langle x^2 - 4, y^2 - 1 \rangle $

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

Problem:


Solution:

(i) $ \implies $ (ii)

If $ f_i \in I $, $ \forall i $, then $ \sum\limits_{i = 1}^{s}h_i f_i \in I $ because $ I $ is an ideal, therefore $ \langle f_1, \cdots f_s \rangle \subset I $.

(ii) $ \implies $ (i)

If $ \langle f_1, \cdots f_s \rangle \subset I $, then $ \sum\limits_{i = 1}^{s}h_i f_i \in \langle f_1, \cdots f_s \rangle \subset I $ because $ \langle f_1, \cdots f_s \rangle $ is an ideal. For $ k \in [1, s] $, set $ h_k = 1 $ and $ h_i = 0 $ for all $ i \ne k $, we get (i).

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

Problem:


Solution:

For part (a), the second equation seems to be simpler and therefore we will start there. Assuming $ x \ne 0 $, we can write $ y = \frac{1}{x} $. Putting this back to the first equation gives:

$ x^2 + \frac{1}{x^2} - 1 = 0 $.

This works if $ x \ne 0 $, but what if $ x = 0 $? Turn out we do not need to worry about it because if $ x = 0 $, then the second equation cannot possibly be satisfied. Envisioning part (b), let's convert it into a polynomial by multiplying through $ x^2 $ and get:

$ x^4 - x^2 + 1 = 0 $

For part (b), we use the hint and get $ (xy - 1)(xy + 1) = x^2y^2 - 1 $. To eliminate $ y^2 $, we multiply the first equation by $ x^2 $ so we get $ x^2(x^2 + y^2 - 1) = x^4 + x^2y^2 - x^2 $.

Finally we get $ x^4 - x^2 + 1 = x^2(x^2 + y^2 - 1) - (xy - 1)(xy + 1) $, therefore $ x^4 - x^2 + 1 \in \langle x^2 + y^2 - 1, xy - 1 \rangle $

Wednesday, January 6, 2016

UTM Ideals Varieties and Algorithm - Chapter 1 Section 3 Exercise 17

Problem:


Solution:

It is obvious that the tangent meets at $ (1, 1) $, so that would be our $ (x_2, y_2) $.

The mid-point is $ (0.5, 0.5) $, the point on the circle is $ (\frac{1}{\sqrt{2}},\frac{1}{\sqrt{2}} ) $, so the distance ratio can be computed as :

$ \begin{eqnarray*} a &=& \sqrt{2(\frac{1}{\sqrt{2}} - 0.5)^2} \\ b &=& \sqrt{2(1 - \frac{1}{\sqrt{2}})^2} \\ \frac{a}{b} &=& \frac{\sqrt{2(\frac{1}{\sqrt{2}} - 0.5)^2}}{\sqrt{2(1 - \frac{1}{\sqrt{2}})^2}} \\ &=& \sqrt{\frac{2(\frac{1}{\sqrt{2}} - 0.5)^2}{2(1 - \frac{1}{\sqrt{2}})^2}} \\ &=& \sqrt{\frac{(\frac{1}{\sqrt{2}} - 0.5)^2}{(1 - \frac{1}{\sqrt{2}})^2}} \\ &=& \frac{\frac{1}{\sqrt{2}} - 0.5}{1 - \frac{1}{\sqrt{2}}} \\ &=& \frac{2 - \sqrt{2}}{2\sqrt{2} - 2} \\ &=& \frac{2 - \sqrt{2}}{\sqrt{2}(2 - \sqrt{2})} \\ &=& \frac{1}{\sqrt{2}} \\ \end{eqnarray*} $

So we get $ w = \frac{1}{\sqrt{2}} $.

It remains to show that the obtained parametrization indeed describe the circle by substituting the values into the circles equation. The calculation can get really complicated, to the point that even MATLAB got confused, but with some help, MATLAB can get to the answer we wanted as follow:

cxn = subs(subs(subs(subs(x * d, 'x1', 1), 'x2', 1), 'x3', 0), 'w', 1/sqrt(2));
cyn = subs(subs(subs(subs(y * d, 'y1', 0), 'y2', 1), 'y3', 1), 'w', 1/sqrt(2));
cd = subs(d, 'w', 1/sqrt(2));
simplify((cxn^2 + cyn^2)/expand(cd^2))

Note that we need to help it by making sure we do expand the denominator, as well as processing the numerator and denominator separately. But otherwise, the code output 1 meaning for whatever value of t it does stay on the circle.