Let $A$ is 2x1 translation matrix and $B$ is 2x2 matrix of reflection or rotation matrix (reflection, rotation, etc.).
Suppose I want to find the mapping of a $y=mx+c$ line and the mapping is done by two steps. I know about how to differentiate between $A \circ B$ and $B \circ A$. Thus $A \circ B=A \cdot B$ and $B \circ A=B \cdot A$.
Usually if the both matrices have 2x2 matrix, I could find the single transformation matrix by multiply both matrices, inverse the multiplication, and substitute the values to original line. But not with 2x1 and 2x2 matrices.
I'd like to know how do you make single transformation matrix of $A \circ B$ and $B \circ A$.
I'd like also to know how do you make single transformation of $A \circ B$ and $B \circ A$ with $A$ is 2x2 translation matrix and $B$ is matrix of reflection about $y=mx$ with $M_{y=mx}=\frac{1}{1+m^{2}} \begin{pmatrix} 1-m^{2} & 2m \\ 2m & m^{2}-1 \end{pmatrix}$ with $m$ as gradient of $y=mx$ line.
Detail help is appreciated! Thanks.
I think the difficulty here is that translation by a fixed vector isn't a linear transformation. One way to see this is that a sum of translates isn't the translate of the sum.
Thus not going to be able to cook up a matrix to get the job done.