Question: A question about solve

I have a polynomial with parameter. I hope to solve the equation that every coefficient of the polynomial is zero.

For example

f(t):=(a+b+1)t+(a-b-1)

then I use the function solve(f(t),{a,b}),

I hope to get the solution to a+b+1=0 and a-b-1=0. However the output of Maple is {a = -(b*t-b+t-1)/(t+1), b = b}. How could regard t as a variable?

 

Thank you very much.

Please Wait...