online advertising

Saturday, December 12, 2015

An abstract algebra problem

Problem:


Solution:

For part (a), we simply verify all the group axioms:

Closure: For any two matrices $ 2 \times 2 $ with determinant 1, their product must also be a $ 2 \times 2 $ matrix with determinant 1, so closure is satisfied.

Identity: we designate $ \left(\begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array}\right) $ be the identity of the group, apparently, it is an element of the group and any matrix multiplied with it must stay the same, so identity is satisfied.

Associative: Associativity of this group simply follows from matrix multiplication.

Inverse: $ \left(\begin{array}{cc} a & b \\ c & d \end{array}\right)\left(\begin{array}{cc} d & -b \\ -c & a \end{array}\right) = \left(\begin{array}{cc} ad-bc & -ab+ab \\ cd-cd & -bc+ad \end{array}\right) = \left(\begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array}\right) $, therefore inverse is satisfied.

We will prove part (b) and part (c) together by considering the mapping

$ \left(\begin{array}{cc} a & b \\ c & d \end{array}\right) \to \left(\begin{array}{cc} a \mod 2 & b \mod 2 \\ c \mod 2 & d \mod 2 \end{array}\right) $.

It is routine to check this is a homomorphism, the kernel for this mapping are matrices with $ a, d $ odd and $ b, c $ even and $ ad - bc = 1 $, therefore it is a normal subgroup (as all kernels are), its image is $ SL(2, \mathbf{F_2}) $, therefore the quoient group is isomorphic to it.

part (d) is an interesting part, I owe this solution to Raymond Chow.

Consider the elements of  $ SL(2, \mathbf{F_2}) $ as invertible linear transformations $ \mathbf{F_2}^2 $, there are four points in  the space, because the mapping is linear, it must map $ (0, 0) $ to $ (0, 0) $. Because the mapping is invertible, it can only permute the points, so we can build an homomorphism from $ SL(2, \mathbf{F_2}) $ to $ S_3 $. Now it is routine to just enumerate the elements and show it is an isomorphism.

It would be really tedious to just write out all of them, for example, here is the computation of one of the matrix

$\left(\begin{array}{cc} 1 & 0 \\ 1 & 1\end{array}\right)\left(\begin{array}{c} 0 \\ 1\end{array}\right) = \left(\begin{array}{c} 0 \\ 1\end{array}\right)$

$\left(\begin{array}{cc} 1 & 0 \\ 1 & 1\end{array}\right)\left(\begin{array}{c} 1 \\ 0\end{array}\right) = \left(\begin{array}{c} 1 \\ 1\end{array}\right)$

$\left(\begin{array}{cc} 1 & 0 \\ 1 & 1\end{array}\right)\left(\begin{array}{c} 1 \\ 1\end{array}\right) = \left(\begin{array}{c} 1 \\ 0\end{array}\right)$

The computation indicate we should map $\left(\begin{array}{cc} 1 & 0 \\ 1 & 1\end{array}\right) $ to $ (1, 3, 2) $.

The final mapping is

$ \left(\begin{array}{cc} 1 & 0 \\ 0 & 1\end{array}\right) \to (1, 2, 3) $

$ \left(\begin{array}{cc} 1 & 0 \\ 1 & 1\end{array}\right) \to (1, 3, 2) $

$ \left(\begin{array}{cc} 0 & 1 \\ 1 & 0\end{array}\right) \to (2, 1, 3) $

$ \left(\begin{array}{cc} 1 & 1 \\ 1 & 0\end{array}\right) \to (2, 3, 1) $

$ \left(\begin{array}{cc} 0 & 1 \\ 1 & 1\end{array}\right) \to (3, 1, 2) $

$ \left(\begin{array}{cc} 1 & 1 \\ 0 & 1\end{array}\right) \to (3, 2, 1) $

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

Problem:


Solution:

Part a is the most challenging part of the problem, see the drawing below:


The radius of the circle is 1. Therefore, $ |BE| = 2 $, the diameter.

By geometry, we know $ \measuredangle BDE = 90^{\circ} $ because it is the angle subtended by a semicircle, so we know $ \triangle BEC \sim \triangle EDC \sim \triangle EFD $, our goal is to express $ |DF| $ and $ |EF| $ in terms of $ |CE| $.

Once we have the triangle similarity relation, the rest is really just algebra, we know

$ \frac{2}{|CE|} = \frac{|BE|}{|CE|} = \frac{|DE|}{|CD|} $ by $ \triangle BEC \sim \triangle EDC $, and so $ |CD| = \frac{|DE||CE|}{2} $

We also have $ |DE|^2 + |CD|^2 = |CE|^2 $ by Pythagorean theorem, if we substitute the previous result, then we get $ |DE|^2 + (\frac{|DE||CE|}{2})^2 = |CE|^2 $, simplifying, we get $ 4|DE|^2 + |DE|^2 |CE|^2 = 4|CE|^2$, or simply $ |DE|^2 = \frac{4|CE|^2}{|CE|^2 + 4} $.

Next, we use another geometry idea that triangle area is the same no matter how it is calculated, in particular, we know $ |CD||DE| = |CE||DF| $, we eliminate $ |CD| $ by using the similarity relation again, $ |DF| = |DE|\frac{|CD|}{|CE|} = |DE|\frac{|DE|}{2} = \frac{|DE|^2}{2} = \frac{2|CE|^2}{|CE|^2 + 4} $

To finish up our story of finding lengths, $ |EF| $ can be found by similarity relation as well. $ \frac{EF}{DF} = \frac{2}{|CE|} $, therefore we get $ |EF| = \frac{2|DF|}{|CE|} = \frac{4|CE|}{|CE|^2 + 4} $

Now, let's relate these geometric results with the parametization problem. Consider this is a cross section view of the sphere with the plane containing the north pole, the origin and the point $ (u, v, 0) $. Note that the point $ (u, v, 0) $ is on the $ z = 0 $ plane which is the same as the center, therefore $ |CE| = 2\sqrt{u^2 + v^2} $.

Substitute these back to the lengths, we get :

$ |DF| = \frac{2|CE|^2}{|CE|^2 + 4} = \frac{2 \times 4(u^2 + v^2)}{4(u^2 + v^2) + 4} = \frac{2u^2 + 2v^2}{u^2 + v^2 + 1} $

$ |EF| = \frac{4|CE|}{|CE|^2 + 4} = \frac{4 \times 2\sqrt{u^2 + v^2}}{4(u^2 + v^2) + 4} = \frac{2\sqrt{u^2 + v^2}}{u^2 + v^2 + 1} $

Note the similarity of the formula with the given parametization! To finish the story, we note that by a simply coordinate transformation, $ -1 + |EF| = z $, so $ z = \frac{2u^2 + 2v^2}{u^2 + v^2 + 1} - 1 = \frac{u^2 + v^2 - 1}{u^2 + v^2 + 1} $.

$ x $ and $ y $ are slightly more complicated, we know the radial distance of the projection of the $ x $ and $ y $ point, but we do not know the angle yet. Geometrically, the angle, must be the same as the $ (u, v, 0) $ make with the origin, so we can claim that

$ x = \frac{2u}{u^2 + v^2 + 1} $ and $ y = \frac{2v}{u^2 + v^2 + 1} $ as this choice of coordinate fits the angle requirement and the radical distance requirements.

In comparison, part (b) is a lot simpler. Just substitute $ t = 0 $ and $ t = 1 $ to the given parametization will yield the two required points.

For part (c), we substitute the line into the sphere to find intersections.

$ \begin{eqnarray*} x^2 + y^2 + z^2 &=& 1 \\ (tu)^2 + (tv)^2 + (1 - t)^2 &=& 1 \\ (tu)^2 + (tv)^2 + (1 - 2t + t^2) &=& 1 \\ (tu)^2 + (tv)^2 - 2t + t^2 &=& 0 \\ (u^2 + v^2 + 1)t^2 - 2t &=& 0 \\ ((u^2 + v^2 + 1)t - 2)t &=& 0 \\ t &=& 0 \text{ or } \frac{2}{u^2 + v^2 + 1} \end{eqnarray*} $

That easily yield the parametization we wanted by substitute $ t $ back to the formula:

$ x = tu = \frac{2u}{u^2 + v^2 + 1} $

$ y = tv = \frac{2v}{u^2 + v^2 + 1} $

$ z = 1 - t = 1 - \frac{2}{u^2 + v^2 + 1} = \frac{u^2 + v^2 - 1}{u^2 + v^2 + 1} $

Story learnt? Solving things geometrically can be much harder.

Friday, December 11, 2015

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

Problem:




Solution:

For part (a), just substitute the definition of the hyperbolic trigonometric function into the hyperbola.

$ \begin{eqnarray*} & & x^2 - y^2 \\ &=& \cosh^2(t) - \sinh^2(t) \\ &=& (\frac{1}{2}(e^t + e^{-t}))^2 - (\frac{1}{2}(e^t - e^{-t}))^2 \\ &=& \frac{1}{4}((e^{2t} + 2 + e^{-2t}) - (e^{2t} - 2 + e^{-2t})) \\ &=& \frac{1}{4}(4) \\ &=& 1 \end{eqnarray*} $

Note that the hyperbola cover the whole y range, we also know that hyperbolic sine is monotonic and cover the whole $ y $ range, so we know for each $ y $ value, there is a corresponding $ t $, so we have a corresponding $ x $ as well. Note that as hyperbolic cosine is always positive, so it never covers the whole left hand side of the hyperbola.

For part (b), $ x = 0 $ does not touch the hyperbola, $ x = 1 $ touches the hyperbola once as a tangent, $ y = 0 $ cuts the hyperbola twice.

For part (c), consider the line $ y = t(x + 1) = tx + t $, substitute this into the hyperbola, we get:

$ \begin{eqnarray*} x^2 - y^2 &=& 1 \\ x^2 - (tx + t)^2 &=& 1 \\ x^2 - (t^2x^2 + 2t^2x + t^2)&=& 1 \\ (1 - t^2)x^2 - 2t^2x - t^2 &=& 1 \\ (1 - t^2)x^2 - 2t^2x - (t^2 + 1) &=& 0 \end{eqnarray*} $

Normally, we would have to solve this, but we already know one of the solution must be $ (-1, 0) $, so we can simply use the sum of root formula.

$ \begin{eqnarray*} -1 + x &=& \frac{-b}{a} = \frac{2t^2}{1-t^2} \\ x &=& \frac{2t^2}{1-t^2} + 1 \\ &=& = \frac{1 + t^2}{1 - t^2} \end{eqnarray*} $

Then we simply also computes $ y $.

$ \begin{eqnarray*} y &=& tx + t = t\frac{1 + t^2}{1 - t^2} + t \\ &=& \frac{t + t^3}{1 - t^2} + \frac{t-t^3}{1 - t^2} \\ &=& \frac{2t}{1 - t^2} \end{eqnarray*} $

The final parametrization is therefore $ \left(\begin{array}{c}x \\ y\end{array}\right) = \left(\begin{array}{c}\frac{1 + t^2}{1 - t^2} \\ \frac{2t}{1 - t^2}\end{array}\right) $. It is interesting to compare it with the circle's parametrization as $ \left(\begin{array}{c}x \\ y\end{array}\right) = \left(\begin{array}{c}\frac{1 - t^2}{1 + t^2} \\ \frac{2t}{1 + t^2}\end{array}\right) $

Part (d) is obvious now, of course the line cannot be the asymptote, that correspond to $ t = \pm 1 $.

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

Problem:


Solution:

The first equation does not come with squares, so maybe it is easier to start with the first one.

$ \begin{eqnarray*} x &=& \frac{t}{1+t} \\ x + tx &=& t \\ x &=& t - tx \\ &=& t(1 - x) \\ t &=& \frac{x}{1 - x} \end{eqnarray*} $

Now we can substitute $ t $ into $ y $ to eliminate $ t $.

$ \begin{eqnarray*} y &=& 1 - \frac{1}{t^2} \\ &=& 1 - \frac{1}{(\frac{x}{1 - x})^2} \\ &=& 1 - (\frac{1 - x}{x})^2 \\ &=& 1 - (\frac{1}{x} - 1)^2 \\ &=& 1 - (\frac{1}{x^2} - \frac{2}{x} + 1) \\ &=& \frac{2}{x} - \frac{1}{x^2} \\ x^2y &=& 2x - 1 \end{eqnarray*} $

For part (b), first of all note that $ (1, 1) $ is in the variety. Note that by the equation $ t = \frac{x}{1 - x} $, we can substitute any $ x $ we want into the equation, except of course we cannot set $ x = 1 $. So for any point in the variety, we can find the corresponding $ t $, therefore we know the parametric representation does cover all points but $ (1, 1) $ on the variety.

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

Problem:


Solution:

This is trivial, the solution, with parameter $ s $, is

$ \left(\begin{array}{c}x \\ y \end{array}\right) = \left(\begin{array}{c}s \\ f(s) \end{array}\right) $

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

Problem:


Solution:

The key trigonometry identity to use is the double angle formula:

$ \begin{eqnarray*} \cos(2t) &=& 2\cos^2(t) - 1 \\ y &=& 2x^2 - 1 \end{eqnarray*} $

This is a parabola with vertex $ (0, -1) $, it cuts the x-axis as $ (-\frac{1}{\sqrt{2}}, 0) $ and $ (\frac{1}{\sqrt{2}}, 0) $.
As $ t \in [-\pi, \pi ] $, $ x \in [-1, 1] $, $ y \in [-1, 1] $.

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

Problem:


Solution:

Take the sum of the the equations, we have:

$ \begin{eqnarray*} 2x + 3y - z &=& 1 \\ z &=& 2x + 3y - 1 \\ w &=& x + y + z - 2 \\ &=& x + y + (2x + 3y - 1) + 2 \\ &=& 3x + 4y + 1 \end{eqnarray*} $

Therefore the solutions are, in parameters $ s $ and $ t $, are

$ \left(\begin{array}{c}x \\ y \\ z \\ w \end{array}\right) = \left(\begin{array}{c}s \\ t \\ 2s + 3t - 1 \\ 3s + 4t + 1 \end{array}\right) $