Problem: The polynomial $f(x)=ax^2+bx+c$ has a local maximum on the positive $y$ axis. Decide the conditions that must be true for the coefficients $a$, $b$ and $c$. Show how you do this.
Solution: $$f'(x)=2ax+b$$ $$f'(0)=2a\cdot 0+b=0\, , \;b=0 \rightarrow f'(x)=2ax.$$ The maximum demands that $f'(x)>0$ for $x$ negative, which means that $a$ is also negative, $a<0$. The positive $y$ axis gives us that $f(0)>0\rightarrow c>0$.
I do not understand this way of reasoning, could you please help me understand it - for example add more details to it, explain why it is as it is/ stands as it stands?