How to solve these kind of recurrence relations using matrices:
$$A_{n+1} = \sqrt 2 (A_n + B_n) - \sqrt 3 (A_n - B_n)$$ $$B_{n+1} = \sqrt 2 (A_n - B_n) + \sqrt 3 (A_n + B_n)$$
with initial $A_0$ and $B_0$ given.
I want a general idea about how to make the matrix which can be used to solve these kind of recurrence relations.
Thanks.