How to Solve Coupled Differential Equations?

mkrems
Messages
7
Reaction score
0
Hi all,

I want to solve equations of the form:
\dot x + x + y = sin(\omega t)
\dot y = \dot x - y

This is not a standard type of form for Runge-Kutta or linear systems of equations because
\dot y = f(\dot x, y, t)
instead of
\dot y = f(x, y, t).
Any hints or links to place for help would be appreciated! Thanks!
 
Physics news on Phys.org
Hi mkrems! :wink:

Can't you get it into f(x, y, t) form by substituting for x' from the first equation? :smile:
 
Use your first equation to isolate y, namely,

y = \sin{\omega t} - x^{\prime} - x

Now, differentiate this to get y prime,

y^{\prime} = \omega \cos{\omega t} - x^{\prime \prime} - x^{\prime}

and substitute these into your second equation to get...

\omega \cos{\omega t} - x^{\prime \prime} - x^{\prime} =<br /> x^{\prime} - \sin{\omega t} + x^{\prime} + x

which may be rearranged to give you a (soluble) second-order equation in x only.

x^{\prime \prime} + 3 x^{\prime} + x = \omega \cos{\omega t} + \sin{\omega t}
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top