The functions $f(x)$ and $g(x)$ satisfy $f(0) = 3,$ $g(0) = -4,$ and \begin{align*} f'(x) &= 7f(x) + 2g(x), \\ g'(x) &= -4f(x) + g(x). \end{align*}Find $f(x).$
I've tried substituting values for f(x) and g(x) but haven't gotten anywhere. Is there another method?
Edit: I haven't worked with eigenvectors yet
You can write it as a linear system
$$\begin{pmatrix}f\\g\end{pmatrix}' = \begin{pmatrix}7 & 2\\-4 & 1\end{pmatrix}\begin{pmatrix}f\\g\end{pmatrix}$$
To me this would suggest diagonalising the coeffient matrix and write it as some $ADA^{-1}$ where $D$ is diagonal. The diagonal system is easy: $f'=af$ you can do with given $f(0)$, etc. and then compute back what the solutions are as linear combinations of those.