Let's say I have a system of differential equations of the form
$$f'(x)=ag(x)+\operatorname{sn}(x;k)f(x),~g'(x)=bf(x)+\operatorname{sn}(x;k)g(x)$$
where $f$ and $g$ are some functions and $a$ and $b$ some constants, and $x$ is a real variable. What kind of methods could be used to find exact solutions to this sort of differential equation, if exact solutions do in fact exist?
$$f'(x)=ag(x)+\operatorname{sn}(x;k)f(x),~g'(x)=bf(x)+\operatorname{sn}(x;k)g(x)$$ $$\operatorname{sn}(x;k)=\frac{f'(x)-ag(x)}{f(x)}=\frac{g'(x)-bf(x)}{g(x)}$$ $$a-b\frac{f^2}{g^2}=\frac{f'g-g'f}{g^2}=\left(\frac{f}{g}\right)'$$ Let $\quad u=\frac{f}{g}$ $$u'=a-bu^2$$ Separable ODE : $\quad u=\sqrt{\frac{a}{b}}\tanh\left(\sqrt{ab}(x+c_1)\right)$ $$f(x)=\sqrt{\frac{a}{b}}\tanh\left(\sqrt{ab}(x+c_1)\right)g(x)$$ $$g'(x)=\sqrt{ab}\tanh\left(\sqrt{ab}(x+c_1)\right)g(x)+\operatorname{sn}(x;k)g(x)$$ $$g(x)=c_2\exp\left(\int \sqrt{ab}\tanh\left(\sqrt{ab}(x+c_1)\right)dx+\int \operatorname{sn}(x;k)dx\right)$$