Question: how do i identify coefficients in maple

hey :) i have a set of equations on the form in the example below. i included my attempt at a solution which, as you might suspect, does not give me the answer on the form i want. what i want is to solve this assuming that the coefficients for each term in the polynomial of u and v sould be equal. eq1 := a1*u^2 + (a4 + 3 + 2*a6)*u*v + a3*v^2 + (a1 + a2 + a6)*u + a5*v + a6 = 5*u^2 + 7*v; solve(eq1, {a1,a2,a3,a4,a5,a6}); this example would for example have the solutions: a1 = 5 a2 = -5 a3 = 0 a4 = -3 a5 = 7 a6 = 0 but if you type the code ive written into maple, youll see thats not what i get at all :) any help in solving this much appreciated, thanks :)
Please Wait...