I am not able to get the particular solution of a linear differential equation from the general solution and the particular solution.
Clear[t, x]
ecuación = x''''[t] + 5 x''[t] + 4 == Sin[t] + Cos[2 t]
xc = x''''[t] + 5 x''[t] + 4 == 0
xg = DSolve[ecuación, x[t], t]
xc1 = Solve[x''''[t] + 5 x''[t] + 4 - Sin[t] - Cos[t] == C[1], x[t]]
s2 = xg[[1, 1]]
ip1 = s2 /. x[t] -> x
xc1 = DSolve[xc, x[t], t]
xc2 = Solve[x''''[t] + 5 x''[t] + 4 == C[1], x[t]]
s3 = xc1[[1, 1]]
ip2 = s3 /. x[t] -> x
FullSimplify[ip1 - ip2]
Can somebody help me please