Right, I meant to say [imath]\frac{d^2}{d^2t}z = -z[/imath]. Thanks for correcting my incorrect notation. But still, when I calculate it I get [math]\int\frac{d^2z}{d^2t} = \int -z = ie^{it} + C = \frac{d}{dt}z[/math] so now we have [imath]\frac{d}{dt}z = ie^{it} + C \rightarrow z = -e^{it} + ct + D[/imath] but it is not equal to expected result [imath]e^{\pm it}[/imath]
It is supposed to be a differential equation for the motion of an object going round elliptical trajectory. I have no initial conditions.
Yes I think the differential equation is as you wrote [imath]\frac{d^2}{d^2t}z(t) = -z[/imath]
So take
[imath]z^{\prime \prime} (t) = -z(t), \quad z(0) = a, \quad z^{\prime}(0) = b[/imath]
The symbol
[imath]\displaystyle \int \dfrac{d^2z}{dt^2}[/imath]
has no meaning. You would need to write something like
[imath]\displaystyle \int \dfrac{d^2z}{dt^2} \, dt[/imath]
But to do it this way would require the steps:
[imath]\dfrac{d^2z}{dt^2} = -z(t)[/imath]
[imath]\displaystyle \int \dfrac{d^2z}{dt^2} \, dt = - \int z(t) \, dt[/imath]
[imath]\displaystyle \dfrac{dz}{dt} = - \int z(t) \, dt[/imath]
but what is the integral of the unknown function z(t)?
See
here for a suggestion how to solve this equation. Look for the section on "Homogeneous Equation with Constant Coefficients."
-Dan