Bug introduced in 12.2(?), persisting through 14.0 or later.

When I am solving odes using LaplaceTransform, I found that LaplaceTransform works well with u[t] or y[t] or x[t], but doesn't recognize x[1][t].

So, how to make LaplaceTransform know x[1][t]?


In[125]:= LaplaceTransform[a x[t] + b y'[t], t, s] // Simplify

a LaplaceTransform[x[t], t, s] + b s LaplaceTransform[y[t], t, s] - 
 b y[0]

In[126]:= LaplaceTransform[a x[1][t] + b x[2]'[t], t, s] // Simplify

Out[126]= LaplaceTransform[a x[1][t] + b Derivative[1][x[2]][t], t, s]
  • 3
    $\begingroup$ Simpler fix: LaplaceTransform[#, t, s] & /@ (a x[1][t] + b x[2]'[t]). $\endgroup$ Jan 6, 2022 at 15:36

1 Answer 1


Obviously a bug. (If I guess it right, it's introduced in v12.2 together with this bug. ) v9.0.1 gives the desired result:

enter image description here

A possible fix is turning to the method mentioned here:

LaplaceTransform[(h : Plus)[a__], t_, w_] := LaplaceTransform[#, t, w] & /@ h[a]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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