Solve: x' = Ax + b Given: A = {{1, 2}, {3, 4}}; b = {{e^{t}},{2}};
This will solve if b == 0
DSolve[{x1'[t], x2'[t]} == a.{x1[t], x2[t]}, {x1[t], x2[t]}, t]
But if I add "b" I get "DSolve::nolist: ...there should be no lists on either side of the equation" error.
DSolve[{x1'[t], x2'[t]} == a.{x1[t], x2[t]}+b, {x1[t], x2[t]}, t]
A
and youDSolve
code has a lower casea
? For instanceDSolve[{x1'[t], x2'[t]} == A.{x1[t], x2[t]} + b, {x1[t], x2[t]}, t]
works for me. $\endgroup$