Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have problems entering a system of differential equations to Maple 13. Equations are:

$x' = -4x + 2y$
$y' = 5x - 4y$

Solve for $x = 0, y = 0$

Thank you in advance

share|cite|improve this question
Have you seen this? – J. M. Apr 26 '11 at 18:27
@J. M. yes, the problem is, that examples contain y(t), x(t), but in my case it is x(y)=... y(x)=... – Kukmedis Apr 26 '11 at 18:42
...there is (supposed to be) an implied independent variable for your functions. So, something like $\frac{\mathrm d}{\mathrm dt}x(t)=-4x(t)+2y(t)$ and similarly for your second equation. – J. M. Apr 26 '11 at 18:45
When you write "solve for $x=0,y=0$", I presume you meant to give an initial condition, e.g. $x(0) = 0, y(0) = 0$? – Sam Lisi Apr 28 '11 at 0:07
@Sam It is as written in condition. Solve in dead point environment (x = 0, y = 0). I do not actually understand why there should be independent variable (maybe because I am not math student) – Kukmedis May 1 '11 at 20:09

I have two ways for solving this system of equations:


sys := diff(x(t), t) = -4*x(t)+2*y(t), diff(y(t), t) = 5*x(t)-4*y(t):

f := {x(t), y(t)}:

dsolve({sys, x(0) = 0, y(0) = 0}, f);


sys := [diff(x(t), t) = -4*x(t)+2*y(t), diff(y(t), t) = 5*x(t)-4*y(t)]:

p := dsolve(sys):

a1 := subs(x(t) = 0, t = 0, p[1]):

a2 := subs(y(t) = 0, t = 0, p[2]):

solve({a1, a2}, {_C1, _C2});

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.