3
$\begingroup$

I have eqn: $\frac{dx}{dt} = -y(t)$ and $\frac{dy}{dt} = x(t)$

I know that $(x(0),y(0))= (1,0)$.

I want to solve eqn and show that it admits an invariant $I = x(t)^2 + y(t)^2$.

I know $x' = -y$,

$y' = x$,

$x^{\prime\prime} = -y' = -x$

I know general solution of $x" = -x$ is $x = a\sin x = b\cos x$.

I know $x(0) = a\sin 0 + b\cos 0 = 1$ So $b = 1$

How can I show $a = 1$? (I think it should!)

I tried $x' = a\cos x - b\sin x$ since $y = -x$ but it just gives $ a = 0$.

  • 0
    For some basic information about writing math at this site see e.g. [here](http://meta.math.stackexchange.com/questions/5020/), [here](http://meta.stackexchange.com/a/70559/155238), [here](http://meta.math.stackexchange.com/questions/1773/) and [here](http://math.stackexchange.com/editing-help#latex).2012-11-18
  • 1
    Please, try to make the title of your question more informative. E.g., *Why does $a2012-11-18

1 Answers 1

1

You have $\frac{dx}{dt} = -y(t)$ and $x(t)=a\sin(t)+\cos(t)$ so take the derivative and use $y(0)=0$.

You will find $a=0$, as you have already discovered but do not believe. If you had $a=1$ then you would not have $y(0)=0$.

So you have $(x(t),y(t)) = \left((\cos(t),-\sin(t)\right)$. This is a parametric equation of a circle of radius $1$ centred on the origin.

  • 0
    Are you sure its -sin?2012-11-18
  • 0
    How does this show the invariant though?2012-11-18
  • 0
    @sam: on your first comment, perhaps it is $+\sin(t)$, and you should check and decide. On your second comment, $(\cos t)^2 + (\sin t)^2=1$ is constant.2012-11-18
  • 0
    I know that it is constant. But why did you square it?2012-11-18
  • 0
    @sam (a) It is not true unless it involves squares (Pythagoras). (b) Your question said "it admits an invariant $I = x(t)^2 + y(t)^2$."2012-11-19