I have tried 2 different approaches, both yielding different results and both results are present in the options. Am I doing something wrong or why is this happening? You can check the question and the 2 approaches in the link below.
Question and 2 possible solutions
I have an exam tomorrow, so couldn't learn mathjax to type my question, would really help if you'd understand, thanks.
A computationally simpler method of directly calculating the derivative at $x = 1$ is to write $$\tan y = \frac{2x-1}{1+x-x^2}$$ so that $$\log \tan y = \log (2x-1) - \log (1 + x - x^2).$$ Then implicit differentiation yields $$\frac{\sec^2 y}{\tan y} \frac{dy}{dx} = \frac{2}{2x-1} - \frac{1 - 2x}{1 + x - x^2}.$$ Since, when $x = 1$, we have $\tan y = \frac{2 - 1}{1 + 1 - 1} = 1$, it follows from the trigonometric identity $\sec^2 y = 1 + \tan^2 y$ that $\sec^2 y = 1 + 1^2 = 2$; therefore $$2 \left[\frac{dy}{dx}\right]_{x=1} = \frac{2}{2-1} - \frac{1 - 2}{1 + 1 - 1} = 3,$$ hence the answer is $3/2$. Note this solution uses two tactics; logarithmic differentiation and implicit differentiation, to make the calculation extremely simple.