Given that $y=\ln\Bigl(\frac{e^{-x}+1}{2}\Bigl)$, show $\frac{dy}{dx}=\frac{1}{2}e^{-y}-1$. Show that the series expansion of $\frac{dy}{dx}$ in ascending powers of $x$, up to and including the term in $x^2$ is $-\frac{1}{2}+\frac{1}{4}x+kx^2+\dots$ , where $k$ is to be determined.
I'm able to solve this question but I'm unsure if my $k$ value is correct. My $k$ is $0$. Am I correct? Otherwise, I might have made a mistake somewhere.
My work
1) $f(0)=y=0$
2) $\frac{dy}{dx}=\frac{1}{2}e^{-y}-1\ $ therefore $f'(0)=-\frac{1}{2}$
3) $\frac{d^2y}{dx^2}=-\frac{1}{2}e^{-y}\cdot\Big(\frac{dy}{dx}\Bigl)\ $ therefore $f''(0)=\frac{1}{4}$
4) $\frac{d^3y}{dx^3}=\frac{1}{2}e^{-y}\cdot\Bigl(\frac{dy}{dx}\Bigl)^2-\frac{1}{2}e^{-y}\cdot\Bigl(\frac{d^2y}{dx^2}\Bigl)\ $ therefore $f'''(0)=0$
Hence $$\frac{dy}{dx}=f'(0)+f''(0)x+\frac{f'''(x)}{2}x^2+\dots=-\frac{1}{2}+\frac{1}{4}x+\dots$$
A hint. If you set $$ u=\frac{1-e^{-x}}2$$ then, as $t\to0$, $u \to 0$ and you can use $$\ln(1-u)=-u+\frac{u^2}2+o(u^3) $$ to get a Maclaurin series expansion of $$y=\ln\Bigl(\frac{e^{-x}+1}{2}\Bigl).$$