
This is an example of a symmetric tricocycloid that is not a commutative tricocycloid.
Tags: tricocycloid.
Python code
#!/usr/bin/env python3
from sympy import *
x1 = Symbol("x1", positive=True)
x2 = Symbol("x2", positive=True)
a1 = Symbol("a1", positive=True)
a2 = Symbol("a2", positive=True)
y1 = Symbol("y1", positive=True)
y2 = Symbol("y2", positive=True)
M1 = Matrix([[x1 , a1], [0, y1]])
M2 = Matrix([[x2 , a2], [0, y2]])
I = eye(2)
# Tricocycloid comultiplication.
R = Matrix([
[ x1*(1-x2)/(1-x1*x2) ,
x1*(1-x2)*(a1*y2+a2*x1)/((1-x1*x2)*(1-y1*y2)) + (a1*(1-y2)-a2*x1)/(1-y1*y2)
],
[ 0,
y1*(1-y2)/(1-y1*y2) ]])
print(R)
print(simplify(M1 * (I - M2) * (I - M1 * M2)**(-1) - R))
# Non-commutativity
C1 = Matrix([[1/2 , 1], [0, 1/3]])
C2 = Matrix([[1/3 , 1], [0, 1/2]])
print(C1*C2)
print(C2*C1)