Structure and Operations: Difference between revisions

From Knot Atlas
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 1 |
n = 2 |
in = <nowiki>Crossings</nowiki> |
in = <nowiki>Crossings</nowiki> |
out= <nowiki>Crossings[L] returns the number of crossings of a knot/link L (in its given presentation).</nowiki>}}
out= <nowiki>Crossings[L] returns the number of crossings of a knot/link L (in its given presentation).</nowiki>}}
Line 14: Line 14:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 2 |
n = 3 |
in = <nowiki>PositiveCrossings</nowiki> |
in = <nowiki>PositiveCrossings</nowiki> |
out= <nowiki>PositiveCrossings[L] returns the number of positive (right handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
out= <nowiki>PositiveCrossings[L] returns the number of positive (right handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
Line 22: Line 22:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 3 |
n = 4 |
in = <nowiki>NegativeCrossings</nowiki> |
in = <nowiki>NegativeCrossings</nowiki> |
out= <nowiki>NegativeCrossings[L] returns the number of negaitve (left handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
out= <nowiki>NegativeCrossings[L] returns the number of negative (left handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
<!--END-->
<!--END-->


Line 32: Line 32:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 4 |
n = 5 |
in = <nowiki>Crossings /@ {Knot[0, 1], TorusKnot[11,10]}</nowiki> |
in = <nowiki>Crossings /@ {Knot[0, 1], TorusKnot[11,10]}</nowiki> |
out= <nowiki>{0, 99}</nowiki>}}
out= <nowiki>{0, 99}</nowiki>}}
Line 42: Line 42:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 5 |
n = 6 |
in = <nowiki>K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}</nowiki> |
in = <nowiki>K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}</nowiki> |
out= <nowiki>{2, 4}</nowiki>}}
out= <nowiki>{2, 4}</nowiki>}}
Line 50: Line 50:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 6 |
n = 7 |
in = <nowiki>PositiveQ</nowiki> |
in = <nowiki>PositiveQ</nowiki> |
out= <nowiki>PositiveQ[xing] returns True if xing is a positive (right handed) crossing and False if it is negative (left handed).</nowiki>}}
out= <nowiki>PositiveQ[xing] returns True if xing is a positive (right handed) crossing and False if it is negative (left handed).</nowiki>}}
Line 58: Line 58:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 7 |
n = 8 |
in = <nowiki>NegativeQ</nowiki> |
in = <nowiki>NegativeQ</nowiki> |
out= <nowiki>NegativeQ[xing] returns True if xing is a negative (left handed) crossing and False if it is positive (right handed).</nowiki>}}
out= <nowiki>NegativeQ[xing] returns True if xing is a negative (left handed) crossing and False if it is positive (right handed).</nowiki>}}
Line 68: Line 68:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 8 |
n = 9 |
in = <nowiki>PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}</nowiki> |
in = <nowiki>PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}</nowiki> |
out= <nowiki>{False, True, True, True}</nowiki>}}
out= <nowiki>{False, True, True, True}</nowiki>}}
Line 76: Line 76:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{HelpLine|
n = 9 |
n = 10 |
in = <nowiki>ConnectedSum</nowiki> |
in = <nowiki>ConnectedSum</nowiki> |
out= <nowiki>ConnectedSum[K1, K2] represents the connected sum of the knots K1 and K2 (ConnectedSum may not work with links).</nowiki>}}
out= <nowiki>ConnectedSum[K1, K2] represents the connected sum of the knots K1 and K2 (ConnectedSum may not work with links).</nowiki>}}
Line 86: Line 86:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 10 |
n = 11 |
in = <nowiki>K = ConnectedSum[Knot[4,1], Knot[4,1]]</nowiki> |
in = <nowiki>K = ConnectedSum[Knot[4,1], Knot[4,1]]</nowiki> |
out= <nowiki>ConnectedSum[Knot[4, 1], Knot[4, 1]]</nowiki>}}
out= <nowiki>ConnectedSum[Knot[4, 1], Knot[4, 1]]</nowiki>}}
Line 94: Line 94:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 11 |
n = 12 |
in = <nowiki>Crossings[K]</nowiki> |
in = <nowiki>Crossings[K]</nowiki> |
out= <nowiki>8</nowiki>}}
out= <nowiki>8</nowiki>}}
Line 100: Line 100:


It is also nice to know that, as expected, the Jones polynomial of <math>K</math> is the square of the Jones polynomial of [[4_1]]:
It is also nice to know that, as expected, the Jones polynomial of <math>K</math> is the square of the Jones polynomial of [[4_1]]:



<!--$$Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]$$-->
<!--$$Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 12 |
n = 13 |
in = <nowiki>Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]</nowiki> |
in = <nowiki>Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]</nowiki> |
out= <nowiki>True</nowiki>}}
out= <nowiki>True</nowiki>}}
<!--END-->
<!--END-->

{{Knot Image Pair|4_1|gif|8_9|gif}}


It is less nice to know that the Jones polynomial cannot tell <math>K</math> apart from the knot [[8_9]]:
It is less nice to know that the Jones polynomial cannot tell <math>K</math> apart from the knot [[8_9]]:
Line 115: Line 116:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 13 |
n = 14 |
in = <nowiki>Jones[K][q] == Jones[Knot[8,9]][q]</nowiki> |
in = <nowiki>Jones[K][q] == Jones[Knot[8,9]][q]</nowiki> |
out= <nowiki>True</nowiki>}}
out= <nowiki>True</nowiki>}}
Line 125: Line 126:
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut|
n = 14 |
n = 15 |
in = <nowiki>{Alexander[K][t], Alexander[Knot[8,9]][t]}</nowiki> |
in = <nowiki>{Alexander[K][t], Alexander[Knot[8,9]][t]}</nowiki> |
out= <nowiki> -2 6 2 -3 3 5 2 3
out= <nowiki> -2 6 2 -3 3 5 2 3

Latest revision as of 17:20, 21 February 2013


(For In[1] see Setup)

In[2]:= ?Crossings
Crossings[L] returns the number of crossings of a knot/link L (in its given presentation).
In[3]:= ?PositiveCrossings
PositiveCrossings[L] returns the number of positive (right handed) crossings in a knot/link L (in its given presentation).
In[4]:= ?NegativeCrossings
NegativeCrossings[L] returns the number of negative (left handed) crossings in a knot/link L (in its given presentation).

Thus here's one tautology and one easy example:

In[5]:= Crossings /@ {Knot[0, 1], TorusKnot[11,10]}
Out[5]= {0, 99}

And another easy example:

In[6]:= K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}
Out[6]= {2, 4}
In[7]:= ?PositiveQ
PositiveQ[xing] returns True if xing is a positive (right handed) crossing and False if it is negative (left handed).
In[8]:= ?NegativeQ
NegativeQ[xing] returns True if xing is a negative (left handed) crossing and False if it is positive (right handed).

For example,

In[9]:= PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}
Out[9]= {False, True, True, True}
In[10]:= ?ConnectedSum
ConnectedSum[K1, K2] represents the connected sum of the knots K1 and K2 (ConnectedSum may not work with links).

The connected sum of the knot 4_1 with itself has 8 crossings (unsurprisingly):

In[11]:= K = ConnectedSum[Knot[4,1], Knot[4,1]]
Out[11]= ConnectedSum[Knot[4, 1], Knot[4, 1]]
In[12]:= Crossings[K]
Out[12]= 8

It is also nice to know that, as expected, the Jones polynomial of is the square of the Jones polynomial of 4_1:

In[13]:= Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]
Out[13]= True
4 1.gif
4_1
8 9.gif
8_9

It is less nice to know that the Jones polynomial cannot tell apart from the knot 8_9:

In[14]:= Jones[K][q] == Jones[Knot[8,9]][q]
Out[14]= True

But isn't equivalent to 8_9; indeed, their Alexander polynomials are different:

In[15]:= {Alexander[K][t], Alexander[Knot[8,9]][t]}
Out[15]= -2 6 2 -3 3 5 2 3 {11 + t - - - 6 t + t , 7 - t + -- - - - 5 t + 3 t - t } t 2 t t