I'm trying to solve a system of ODEs, symbolically, using Maple and Mathematica. I'm actually comparing the analytic solution with a numerical one (this is for a large simulation project, of which this is a part), and what I find is that the Mathematica solution appears to follow the numerical solutions I'm running, whereas the Maple solution does not. The solutions in this case are too long to be computationally feasible when compared with a numerical solution anyway, so I won't be using either answer, but I'm very curious as to why there is a disagreement. The system of equations is not complex:
$$y_1=A(e^{-at}-e^{-bt})$$ $$\dot{y_2}=a_1y_1-a_2y_2$$ $$\dot{y_3}=a_2y_2-a_3y_3$$
The solution to $y_2$ is the same between Maple and Mathematica, but $y_3$ is very different. I'm aware that sometimes approximate solutions are used, but no warnings came up for this. Is there some other uniqueness in how the two packages handle symbolic solutions that I'm missing?
For completeness, my Mathematica code is: (https://i.stack.imgur.com/3qcr9.png)
And for Maple: (https://i.stack.imgur.com/pjAiS.png)
Any thoughts? Many thanks!
EDIT: While the initial values in general are variables, for purposes of comparison, I set them all to 0.
EDIT 2: Even though the form of the equations are very different, I know they could be mathematically identical. I think they are different, though, because I substituted values for all the parameters and get two different numbers as output.
The problem was one of those RATS (Read All The Screen) errors. Thanks to the comment by Mariusz I was able to find the bug. So this isn't really a good question after all. But I would like to keep this silly question up because of the answer that did come. It seems good to know.