title: how to solve for the unknowns given two equating polynomials in mathematica
body: <p>I have, for example, the following polynomials to be equated, and I need to determine the unknowns c1, c2, c3, respectively. How can I do this automatically in mma, especially when there are many terms involved?</p>
  
  <pre><code>x+2*x^3+4*x^5==(c1+c2)*(x+2*c2*x^3)+(4-c1)*c3*x^5
  </code></pre>
  
  <p>Many thanks.</p>
  
  <p>Edit: ideally, I want to equate the coefficients of left and right for the terms with equal exponents in x. Then solve this system of equations.</p>