I am trying to solve the following equations for the coefficients c1 and c2.
w[x_] := c1*(1 - x)
a[x_] := c2*(1 - x)
Given the constraints:
Solve[(1 + w[x]*a[x]) == (1/x) && w[0] == wmax && a[1] == 0 , {c1, c2}]
Mathematica gives me:
{{c1->wmax,c2->1/((x-x^2) wmax)}}
However when plugging the formula for c2 into a, the condition a[1] == 0 is not satisfied. Instead of being zero, a[1] == 1/wmax.
How can I convince Solve to generate a c2 that truly makes a[1] == 0?

editlink above to see how to do this for your next post. – Szabolcs Dec 14 '12 at 0:06Cis a defined system symbol. It is used for several purposes by the system. Make sure you never use a system symbol where you need an undefined one! Even if it hasn't caused trouble in this example, it will sooner or later. (Actually there was a post a couple of days ago where usingCdid cause problems.) In general, it is good practice never to use symbols starting with capitals. All system symbols start with a capital, so if your own ones start with a lowercase, you can be sure you won't run into this kind of trouble. – Szabolcs Dec 14 '12 at 0:11w[x]anda[x]the equationa[1] == 0is identically true, therefore no condition forc2is needed. – Artes Dec 14 '12 at 0:29a[1] == 0holds for any constantc2(i.e. independent ofx). The remaining two conditions tell you thatc1andc2must depend onxthe way you posted in your answer. Thisc2 == 1/(wmax x - wmax x^2)is undefined forx==1(1/0), but taking the limitx -> 1givesa[x] -> 1/wmax(and not 0). It's a good example of a simple problem where you can't just blindly input equations into a CAS and look at what comes out. You need to be careful and look at what is happening. – Szabolcs Dec 14 '12 at 0:31