Given the function f (x) = - x ^ 2 + ax + 1-lnx, does the function have both maxima and minima? If so, find out the value range of A. if not, explain the reason

Given the function f (x) = - x ^ 2 + ax + 1-lnx, does the function have both maxima and minima? If so, find out the value range of A. if not, explain the reason

First of all, we understand the definition field x > 0. Then we obtain that: f * (x) = - 2x + A-1 / x = - 1 / X (2x ^ 2-ax + 1) = 0 has two solutions. For the function: G (x) = 2x ^ 2-ax + 1 = 0 has two solutions in x > 0