\[ \left \{a \left (x'(t)-y'(t)\right )+\text {b1} x(t)+x''(t)=\text {c1} e^{i \omega t},a \left (y'(t)-x'(t)\right )+\text {b2} y(t)+y''(t)=\text {c2} e^{i \omega t}\right \} \] ✓ Mathematica : cpu = 0.297248 (sec), leaf count = 3386
DSolve[{b1*x[t] + a*(Derivative[1][x][t] - Derivative[1][y][t]) + Derivative[2][x][t] == c1*E^(I*omega*t), b2*y[t] + a*(-Derivative[1][x][t] + Derivative[1][y][t]) + Derivative[2][y][t] == c2*E^(I*omega*t)},{x[t], y[t]},t]
\[\left \{\left \{x(t)\to -a \text {b2} c_3 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]-a \text {b2} \int _1^t\left (a \text {c1} e^{i \omega K[3]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[3] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c2} e^{i \omega K[3]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[3] \text {$\#$1}} \text {$\#$1}^2+a e^{-K[3] \text {$\#$1}} \text {$\#$1}+\text {b1} e^{-K[3] \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[3] \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+a c_4 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+c_2 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^2+a e^{t \text {$\#$1}} \text {$\#$1}+\text {b2} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+c_1 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^3+2 a e^{t \text {$\#$1}} \text {$\#$1}^2+\text {b2} e^{t \text {$\#$1}} \text {$\#$1}+a \text {b2} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^3+2 a e^{t \text {$\#$1}} \text {$\#$1}^2+\text {b2} e^{t \text {$\#$1}} \text {$\#$1}+a \text {b2} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c2} e^{i \omega K[1]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[1] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c1} e^{i \omega K[1]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[1] \text {$\#$1}} \text {$\#$1}^2+a e^{-K[1] \text {$\#$1}} \text {$\#$1}+\text {b2} e^{-K[1] \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[1]+\text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^2+a e^{t \text {$\#$1}} \text {$\#$1}+\text {b2} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c2} e^{i \omega K[2]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[2] \text {$\#$1}} \text {$\#$1}^2}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c1} e^{i \omega K[2]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[2] \text {$\#$1}} \text {$\#$1}^3+a e^{-K[2] \text {$\#$1}} \text {$\#$1}^2+\text {b2} e^{-K[2] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[2]+a \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c1} e^{i \omega K[4]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[4] \text {$\#$1}} \text {$\#$1}^2}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c2} e^{i \omega K[4]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[4] \text {$\#$1}} \text {$\#$1}^3+a e^{-K[4] \text {$\#$1}} \text {$\#$1}^2+\text {b1} e^{-K[4] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[4],y(t)\to -a \text {b1} c_1 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]-a \text {b1} \int _1^t\left (a \text {c2} e^{i \omega K[1]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[1] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c1} e^{i \omega K[1]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[1] \text {$\#$1}} \text {$\#$1}^2+a e^{-K[1] \text {$\#$1}} \text {$\#$1}+\text {b2} e^{-K[1] \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[1] \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+a c_2 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+c_4 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^2+a e^{t \text {$\#$1}} \text {$\#$1}+\text {b1} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+c_3 \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^3+2 a e^{t \text {$\#$1}} \text {$\#$1}^2+\text {b1} e^{t \text {$\#$1}} \text {$\#$1}+a \text {b1} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^3+2 a e^{t \text {$\#$1}} \text {$\#$1}^2+\text {b1} e^{t \text {$\#$1}} \text {$\#$1}+a \text {b1} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c1} e^{i \omega K[3]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[3] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c2} e^{i \omega K[3]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[3] \text {$\#$1}} \text {$\#$1}^2+a e^{-K[3] \text {$\#$1}} \text {$\#$1}+\text {b1} e^{-K[3] \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[3]+a \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c2} e^{i \omega K[2]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[2] \text {$\#$1}} \text {$\#$1}^2}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c1} e^{i \omega K[2]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[2] \text {$\#$1}} \text {$\#$1}^3+a e^{-K[2] \text {$\#$1}} \text {$\#$1}^2+\text {b2} e^{-K[2] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[2]+\text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{t \text {$\#$1}} \text {$\#$1}^2+a e^{t \text {$\#$1}} \text {$\#$1}+\text {b1} e^{t \text {$\#$1}}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ] \int _1^t\left (a \text {c1} e^{i \omega K[4]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[4] \text {$\#$1}} \text {$\#$1}^2}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]+\text {c2} e^{i \omega K[4]} \text {RootSum}\left [\text {$\#$1}^4+2 a \text {$\#$1}^3+\text {b1} \text {$\#$1}^2+\text {b2} \text {$\#$1}^2+a \text {b1} \text {$\#$1}+a \text {b2} \text {$\#$1}+\text {b1} \text {b2}\& ,\frac {e^{-K[4] \text {$\#$1}} \text {$\#$1}^3+a e^{-K[4] \text {$\#$1}} \text {$\#$1}^2+\text {b1} e^{-K[4] \text {$\#$1}} \text {$\#$1}}{4 \text {$\#$1}^3+6 a \text {$\#$1}^2+2 \text {b1} \text {$\#$1}+2 \text {b2} \text {$\#$1}+a \text {b1}+a \text {b2}}\& \right ]\right )dK[4]\right \}\right \}\] ✓ Maple : cpu = 0.628 (sec), leaf count = 1040
dsolve({diff(diff(x(t),t),t)+a*(diff(x(t),t)-diff(y(t),t))+b1*x(t) = c1*exp(I*omega*t), diff(diff(y(t),t),t)+a*(diff(y(t),t)-diff(x(t),t))+b2*y(t) = c2*exp(I*omega*t)})
\[\text {Expression too large to display}\]