Content deleted Content added
→Non-separable (non-homogeneous) first-order linear ordinary differential equations: Made differentiation of integrating factor more explanatory Tags: Reverted Visual edit |
→A simple example: Sweeping changes Tags: Reverted 2017 wikitext editor |
||
Line 79:
===A simple example===
Suppose a mass is attached to a spring which exerts an attractive force on the mass [[Proportionality (mathematics)|proportional]] to the extension/compression of the spring. For now, we may ignore any other forces ([[gravity]], [[friction]], etc.). We shall write the extension of the spring at a time
: <math>m\frac{d^2x}{dt^2} + kx = 0,</math>
where
If we look for solutions that have the form
: <math>x(t) = A \cos t + B \sin t.</math>
See a [http://www.wolframalpha.com/input/?i=x%27%27%3D-x solution] by [[WolframAlpha]].
To determine the unknown constants
For example, if we suppose at {{math|1=''t''
: <math>x(0) = A \cos 0 + B \sin 0 = A = 1,
and so {{math|1=''A''
: <math>x'(0) = -A \sin 0 + B \cos 0 = B = 0,
and so {{math|1=''B''
Therefore {{math|1=''x''(''t'')
See a [http://www.wolframalpha.com/input/?i=x%27%27%3D-x%2Cx%280%29%3D1%2Cx%27%280%29%3D0 solution] by [[Wolfram Alpha]].
|