They did not specify that calculus mustn't be used, but I was curious
if it could be solved in a simpler way – Monocerotis Nov 20 at 8:19
thanks man, you saved me from a lot of differentiation and
substitution – Monocerotis Nov 20 at 8:46
The most simple way to solve your problem is by using calculus:
By applying the quotient rule, you get: $y'(x)=(\frac{x^2-3x+4}{x^2+3x+4})'=\frac{(2x-3)(x^2+3x+4)-(2x+3)(x^2-3x+4)}{(x^2+3x+4)^2}$.
After putting the condition $y'(x)=0$ and expanding the numerator of $y'(x)$, you obtain:
$x^2-4=0$, whose solutions are:
$x_1=2$ and $x_2=-2$.
In conclusion:
$y_{max}=7$ (for $x=-2$) and $y_{min}=\frac{1}{7}$ (for $x=2$).