General relativity is not linear algebra. Just glancing at the underlying equations, you can see they are non linear. [https://en.wikipedia.org/wiki/Einstein_tensor]
The same is true for quantum field theory. I'm curious why you're so confident that they are "in fact both linear algebra"