The acceleration of a body is given in terms of the displacement $s$ meters as $$a = \frac{2s}{s^2+1}$$ Give a formula for the velocity as a function of displacement given that when $s=1,v = 2.$
$$\therefore \frac{1}{2}v^2 = ln(s^2+1)$$
$$v = \sqrt{2ln(s^2+1)}$$
To match initial conditions, I did the following:
$$v = \sqrt{2ln(s^2+1)} + k$$ $$2 = \sqrt{2ln(2)} + k$$ $$k = 2 - \sqrt{ln(4)}$$ $$v = \sqrt{2ln(s^2+1)} + (2 - \sqrt{ln(4)})$$
However, the answer given adds a constant $k$ when in terms of $\frac{1}{2}v^2$:
Can we say that one answer is correct? This goes on to cause trouble in further subsections of this question; Is the answer provided the standard way of solving such questions? If so, why?



You might like to consider the following trick.
When you have separated the variables and applied the integration signs, why don't you also apply the limits as shown below. Then you don't have to worry about the constant of integration at all:
$$\int vdv=\int \frac{2s}{s^2+1} ds\Rightarrow\int_{\color{red}{2}}^{\color{green}{v}} vdv=\int_{\color{red}{1}}^{\color{green}{s}} \frac{2s}{s^2+1} ds$$