I'm having a problem with my solution to a textbook exercise:
Find the Cartesian equation of the curve given by this parametric equation: $$x = \frac{t}{2t-1}, y = \frac{t}{t+1}$$
The textbook's answer is $y = \frac{x}{3x-1}$
My solution is different. I understand how the textbook got to its solution, but I can't find where I made my mistake. Can anyone spot my error below?
$$x = \frac{t}{2t-1} = \frac{t}{2t} - \frac{t}{1}$$ $$\implies x = \frac{1}{2} - t$$ $$\implies x - \frac{1}{2} = -t$$ $$\implies t = -x + \frac{1}{2}$$
Sub this into $y = \frac{t}{t+1} \implies y = \frac{-x + \frac{1}{2}}{-x + \frac{1}{2} + 1}$ $$= \frac{-x + \frac{1}{2}}{-x + \frac{1}{2}} + \frac{-x + \frac{1}{2}}{1}$$ $$= 1 - x + \frac{1}{2}$$ $$= -x + \frac{3}{2}$$
So $y = -x + \frac{3}{2}$
I suspect my error is when I split my fractions up, but if so, why can't I do it like that?
Many thanks!