If $f$ be a decreasing function satisfying $f(x+y)= f(x)+ f(y)- f(x)f(y) ~\forall x, y \in \mathbb R$ and $f'(0)= -1$ then $\displaystyle\int_0^1 f(x)dx $ is:
A)$1$
B) $1- e$
C) $2- e$
D) None of these.
Attempt:
Put y = 0,
$f(0)(1- f(x)) = 0$
$f(x)\ne 1$ therefore $f(0) = 0$
Differentiating wrt $x$
$f'(x+y) = f'(x) - f(y)f'(x)$
put $x= 0$
$f'(y) = - 1 + f(y) $
$\implies f(y) = e^{y+c} + 1$
put y = 0,
$-1 = e^c$ which ain't possible since $e^x > 0$
How do I solve this problem then? What is the mistake in my solution?
Answer is:
$C$
$\frac{\rm d f}{\rm d y} = -1 + f\\ \rm d f = (-1 + f)\rm d y\\ \rm \frac{df}{-1 + f} = dy \\ \ln\color{red}{|}-1 +f\color{red}{|} = y+C\\f = 1\color{red}{\pm}Ae^y$