I have this problem:
"Show that the function $f(x) = (x-a)^{2}(x-b) + x$ has a value $f(c) = \frac{a+b}{2}$ for a number c"
I am new to this kind of problems and I am having a bit of trouble expressing my answer. Can anyone give me some advice?
I want to write something like this:
"$f(x)$ is a polynomial and thus continuous everywhere,
$f(a) = a$,
$f(b) = b$
$a < \frac{a+b}{2} < b$
Thus, according to the intermediate-value theorem, $f(x)$ has a value $f(c)$ for a number $c$."
Can I write that? Sorry if it's obvious but I am not used to doing math this "proofy"- kind of way, and I find it hard to formulate it as a proper "question"