<s>[INST] How to solve $e^{2x - 1} = -x^2 + 3x - 0.25$ I know the answer is $x=0.5$, but I only know it because my calculator showed me the intersection point of the two graphs. What I want to know is how to get to this result algebraically. I've tried to use the Lambert-W function, but I ended up with $$W((1-2x)/(-x^2+3x-0.25))=1-2x$$ and this didn't help me either. If smn has an idea on how to solve this, pls let me know.
Obs: I don't know how to use the Newton-raphson's method, so that's why I haven't tried it.
 [/INST] For
$$e^{2x-1} + x^2 = 3 x - \frac{1}{4}$$
it can be seen that
\begin{align}
e^{2x-1} + x^2 &= 3 x - \frac{1}{4} \\
e^{2x -1} + x^{2} - x + \frac{1}{4} &= 2 x = 2 \left(x - \frac{1}{2}\right) + 1 \\
e^{2 x -1} + \left(x - \frac{1}{2}\right)^{2} - 2 \left( x - \frac{1}{2} \right) + 1 &= 2 \\
e^{2 x - 1} + \left( \left(x - \frac{1}{2}\right) - 1 \right)^{2} &= 2 \\
e^{2 \left(x - \frac{1}{2}\right)} + \left(x - \frac{3}{2}\right)^{2} &= 2.
\end{align}
The only solution to this equation is 
$$x = \frac{1}{2}.$$
</s>