Structure and Operations: Difference between revisions

From Knot Atlas
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
<!--$$?Crossings$$-->
<!--$$?Crossings$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=1|s=Crossings}}
n = 1 |
Crossings[L] returns the number of crossings of a knot/link L (in its given presentation).
in = <nowiki>Crossings</nowiki> |
{{Help2}}
out= <nowiki>Crossings[L] returns the number of crossings of a knot/link L (in its given presentation).</nowiki>}}
<!--END-->
<!--END-->


<!--$$?PositiveCrossings$$-->
<!--$$?PositiveCrossings$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=2|s=PositiveCrossings}}
n = 2 |
PositiveCrossings[L] returns the number of positive (right handed) crossings in a knot/link L (in its given presentation).
in = <nowiki>PositiveCrossings</nowiki> |
{{Help2}}
out= <nowiki>PositiveCrossings[L] returns the number of positive (right handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
<!--END-->
<!--END-->


<!--$$?NegativeCrossings$$-->
<!--$$?NegativeCrossings$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=3|s=NegativeCrossings}}
n = 3 |
NegativeCrossings[L] returns the number of negaitve (left handed) crossings in a knot/link L (in its given presentation).
in = <nowiki>NegativeCrossings</nowiki> |
{{Help2}}
out= <nowiki>NegativeCrossings[L] returns the number of negaitve (left handed) crossings in a knot/link L (in its given presentation).</nowiki>}}
<!--END-->
<!--END-->


Line 28: Line 31:
<!--$$Crossings /@ {Knot[0, 1], TorusKnot[11,10]}$$-->
<!--$$Crossings /@ {Knot[0, 1], TorusKnot[11,10]}$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut1|n=4}}
{{InOut|
n = 4 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>Crossings /@ {Knot[0, 1], TorusKnot[11,10]}</nowiki></pre>
{{InOut2|n=4}}<pre style="border: 0px; padding: 0em"><nowiki>{0, 99}</nowiki></pre>
in = <nowiki>Crossings /@ {Knot[0, 1], TorusKnot[11,10]}</nowiki> |
out= <nowiki>{0, 99}</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


Line 38: Line 41:
<!--$$K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}$$-->
<!--$$K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut1|n=5}}
{{InOut|
n = 5 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}</nowiki></pre>
in = <nowiki>K=Knot[6, 2]; {PositiveCrossings[K], NegativeCrossings[K]}</nowiki> |
{{InOut2|n=5}}<pre style="border: 0px; padding: 0em"><nowiki>{2, 4}</nowiki></pre>
out= <nowiki>{2, 4}</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


<!--$$?PositiveQ$$-->
<!--$$?PositiveQ$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=6|s=PositiveQ}}
n = 6 |
PositiveQ[xing] returns True if xing is a positive (right handed) crossing and False if it is negative (left handed).
in = <nowiki>PositiveQ</nowiki> |
{{Help2}}
out= <nowiki>PositiveQ[xing] returns True if xing is a positive (right handed) crossing and False if it is negative (left handed).</nowiki>}}
<!--END-->
<!--END-->


<!--$$?NegativeQ$$-->
<!--$$?NegativeQ$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=7|s=NegativeQ}}
n = 7 |
NegativeQ[xing] returns True if xing is a negative (left handed) crossing and False if it is positive (right handed).
in = <nowiki>NegativeQ</nowiki> |
{{Help2}}
out= <nowiki>NegativeQ[xing] returns True if xing is a negative (left handed) crossing and False if it is positive (right handed).</nowiki>}}
<!--END-->
<!--END-->


Line 62: Line 67:
<!--$$PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}$$-->
<!--$$PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut1|n=8}}
{{InOut|
n = 8 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}</nowiki></pre>
{{InOut2|n=8}}<pre style="border: 0px; padding: 0em"><nowiki>{False, True, True, True}</nowiki></pre>
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>}}
{{InOut3}}
<!--END-->
<!--END-->


<!--$$?ConnectedSum$$-->
<!--$$?ConnectedSum$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{HelpLine|
{{Help1|n=9|s=ConnectedSum}}
n = 9 |
ConnectedSum[K1, K2] represents the connected sum of the knots K1 and K2 (ConnectedSum may not work with links).
in = <nowiki>ConnectedSum</nowiki> |
{{Help2}}
out= <nowiki>ConnectedSum[K1, K2] represents the connected sum of the knots K1 and K2 (ConnectedSum may not work with links).</nowiki>}}
<!--END-->
<!--END-->


Line 79: Line 85:
<!--$$K = ConnectedSum[Knot[4,1], Knot[4,1]]$$-->
<!--$$K = ConnectedSum[Knot[4,1], Knot[4,1]]$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut1|n=10}}
n = 10 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>K = ConnectedSum[Knot[4,1], Knot[4,1]]</nowiki></pre>
{{InOut2|n=10}}<pre style="border: 0px; padding: 0em"><nowiki>ConnectedSum[Knot[4, 1], Knot[4, 1]]</nowiki></pre>
in = <nowiki>K = ConnectedSum[Knot[4,1], Knot[4,1]]</nowiki> |
out= <nowiki>ConnectedSum[Knot[4, 1], Knot[4, 1]]</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


<!--$$Crossings[K]$$-->
<!--$$Crossings[K]$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut1|n=11}}
n = 11 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>Crossings[K]</nowiki></pre>
{{InOut2|n=11}}<pre style="border: 0px; padding: 0em"><nowiki>8</nowiki></pre>
in = <nowiki>Crossings[K]</nowiki> |
out= <nowiki>8</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


Line 98: Line 104:
<!--$$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|
{{InOut1|n=12}}
n = 12 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]</nowiki></pre>
in = <nowiki>Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]</nowiki> |
{{InOut2|n=12}}<pre style="border: 0px; padding: 0em"><nowiki>True</nowiki></pre>
out= <nowiki>True</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


Line 108: Line 114:
<!--$$Jones[K][q] == Jones[Knot[8,9]][q]$$-->
<!--$$Jones[K][q] == Jones[Knot[8,9]][q]$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut1|n=13}}
n = 13 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>Jones[K][q] == Jones[Knot[8,9]][q]</nowiki></pre>
in = <nowiki>Jones[K][q] == Jones[Knot[8,9]][q]</nowiki> |
{{InOut2|n=13}}<pre style="border: 0px; padding: 0em"><nowiki>True</nowiki></pre>
out= <nowiki>True</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->


Line 118: Line 124:
<!--$${Alexander[K][t], Alexander[Knot[8,9]][t]}$$-->
<!--$${Alexander[K][t], Alexander[Knot[8,9]][t]}$$-->
<!--Robot Land, no human edits to "END"-->
<!--Robot Land, no human edits to "END"-->
{{InOut|
{{InOut1|n=14}}
n = 14 |
<pre style="color: red; border: 0px; padding: 0em"><nowiki>{Alexander[K][t], Alexander[Knot[8,9]][t]}</nowiki></pre>
in = <nowiki>{Alexander[K][t], Alexander[Knot[8,9]][t]}</nowiki> |
{{InOut2|n=14}}<pre style="border: 0px; padding: 0em"><nowiki> -2 6 2 -3 3 5 2 3
out= <nowiki> -2 6 2 -3 3 5 2 3
{11 + t - - - 6 t + t , 7 - t + -- - - - 5 t + 3 t - t }
{11 + t - - - 6 t + t , 7 - t + -- - - - 5 t + 3 t - t }
t 2 t
t 2 t
t</nowiki></pre>
t</nowiki>}}
{{InOut3}}
<!--END-->
<!--END-->

Revision as of 12:11, 30 August 2005


(For In[1] see Setup)

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

Thus here's one tautology and one easy example:

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

And another easy example:

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

For example,

In[8]:= PositiveQ /@ {X[1,3,2,4], X[1,4,2,3], Xp[1,3,2,4], Xp[1,4,2,3]}
Out[8]= {False, True, True, True}
In[9]:= ?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[10]:= K = ConnectedSum[Knot[4,1], Knot[4,1]]
Out[10]= ConnectedSum[Knot[4, 1], Knot[4, 1]]
In[11]:= Crossings[K]
Out[11]= 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[12]:= Jones[K][q] == Expand[Jones[Knot[4,1]][q]^2]
Out[12]= True

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

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

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

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