# Question:difference in output of solve(identity) in Maple 2024 vs. 2023

## Question:difference in output of solve(identity) in Maple 2024 vs. 2023

Maple 2024

I have been trying Maple 2024 and found this strange result.

Calling solve(identity...  on same input in Maple 2024 gives very large and complex output compare with Maple 2023.2.1.

This was causing problem, until I found that simplifying the solution now gives same output as Maple 2023.2.1

But why is this now needed in Maple 2024? i.e. why is calling simplify needed when in Maple 2023 the simpler solution was returned automatically?

I changed my code to call simplify now on result of solve(identity...  but I am just curious what happened to cause this?

Below are two worksheets, one from Maple 2024 and one from Maple 2023.2 and you see the huge difference in result.

 > interface(version);

 > Physics:-Version();

 > restart;

 > trial_solution_constants:=[A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8]]; eq:=-2*A[1]*sin(x)+2*A[2]*cos(x)-4*A[2]*x*sin(x)+2*A[3]*sin(x)+4*A[3]*x*cos(x)+2*A[4]*cos(x)-6*A[5]*sin(3*x)-8*A[5]*x*cos(3*x)+6*A[6]*cos(3*x)-8*A[6]*x*sin(3*x)-8*A[7]*cos(3*x)-8*A[8]*sin(3*x) = x*cos(x)^3; solve(identity(eq,x),trial_solution_constants)

 >

 > interface(version);

 > Physics:-Version();

 > restart;

 > trial_solution_constants:=[A[1], A[2], A[3], A[4], A[5], A[6], A[7], A[8]]; eq:=-2*A[1]*sin(x)+2*A[2]*cos(x)-4*A[2]*x*sin(x)+2*A[3]*sin(x)+4*A[3]*x*cos(x)+2*A[4]*cos(x)-6*A[5]*sin(3*x)-8*A[5]*x*cos(3*x)+6*A[6]*cos(3*x)-8*A[6]*x*sin(3*x)-8*A[7]*cos(3*x)-8*A[8]*sin(3*x) = x*cos(x)^3; solve(identity(eq,x),trial_solution_constants)

 > simplify(%);

 >