Problem: A particle traveling in a straight line is located at the point $(1,-1,2)$ and has speed $2$ at time $t=0$. The particle moves toward the point $(3,0,3)$ with constant acceleration $2\hat{i}+\hat{j}+\hat{k}$. Find the particle's position vector $\vec{r}(t)$ and the time $t$ that it takes to get to the point $(3,0,3)$.
I did the following:
$$\begin{aligned} &\vec{v}(t)=\int\vec{a}(t)\,dt=\int(2\hat{i}+\hat{j}+\hat{k})\,dt=2t\hat{i}+t\hat{j}+t\hat{k}+\vec{C}\\ &|\vec{v}(0)|=\left|\vec{C}\right|=2\quad\text{assuming}\quad C_1=C_2=C_3\quad\text{then}\quad \vec{C}=\pm\frac2{\sqrt{3}}(\hat{i}+\hat{j}+\hat{k})\\ &\begin{aligned}\vec{r}(t)&=\int\vec{v}(t)\,dt=\int\left(\left(2t\pm\frac2{\sqrt{3}}\right)\hat{i}+\left(t\pm\frac2{\sqrt{3}}\right)\hat{j}+\left(t\pm\frac2{\sqrt{3}}\right)\hat{k}\right)dt\Big|_{(1,-1,2),\,t=0}\\ &=\left(t^2\pm\frac2{\sqrt{3}}t+1\right)\hat{i}+\left(\frac12t^2\pm\frac2{\sqrt{3}}t-1\right)\hat{j}+\left(\frac12t^2\pm\frac2{\sqrt{3}}t+2\right)\hat{k}\end{aligned}\\ \\ &\begin{cases} t^2\pm\frac2{\sqrt{3}}t+1=3\\ \frac12t^2\pm\frac2{\sqrt{3}}t-1=0\\ \frac12t^2\pm\frac2{\sqrt{3}}t+2=3\\ \end{cases}\implies\text{How can I choose which coefficient for t to take? Is my assumption for these coefficients wrong?} \end{aligned}$$
Or, the problem says that the particle moves in straight line, so:
$$\begin{aligned}&\vec{u}=(3-1,0-(-1),3-2)=(2,1,1).\\ &p_0=(1,-1,2)\\&\vec{r}(t)=(1+2t)\hat{i}+(-1+t)\hat{j}+(2+t)\hat{k}\\&\vec{v}(t)=\vec{r}(t)'=2\hat{i}+\hat{j}+\hat{k}\\ &\vec{a}(t)=\vec{v}(t)'=0\end{aligned} $$ so this cannot be because conditions are not satisfied. How do I do this? How can the path of a particle be described by a straight line and have acceleration?
We can calculate component by component as follow
and from the initial condition
then
with $\vec {s_0}=(1,-1,2)$.
The condition to reach $(3,0,3)$ is given by