Calculus · real student question

Solve the differential equation X'' = -0.1X.

Question

Solve the differential equation

X=0.1XX''=-0.1X

Step-by-step solution

  1. Move every term to one side to expose the standard form. Second-order linear theory only applies to an equation written as aX+bX+cX=0aX''+bX'+cX=0, so add 0.1X0.1X to both sides:

    X+0.1X=0X''+0.1X=0

    There is no XX' term and no forcing term on the right, so this is homogeneous with constant coefficients — the case that the exponential ansatz solves exactly.

  2. Substitute X=ertX=e^{rt} to turn calculus into algebra. Differentiating twice gives X=rertX'=re^{rt} and X=r2ertX''=r^{2}e^{rt}, so the equation becomes

    r2ert+0.1ert=ert(r2+0.1)=0r^{2}e^{rt}+0.1e^{rt}=e^{rt}\left(r^{2}+0.1\right)=0

    Because erte^{rt} is never zero for any real tt, the bracket must vanish. That leaves the characteristic equation r2+0.1=0r^{2}+0.1=0.

  3. Solve for rr and read the sign of r2r^{2}.

    r2=0.1r=±i0.1=±i10r^{2}=-0.1\qquad\Longrightarrow\qquad r=\pm i\sqrt{0.1}=\pm\frac{i}{\sqrt{10}}

    The roots are purely imaginary: there is no real part at all. That is the algebraic signature of undamped oscillation — nothing in the equation grows or decays.

  4. Convert the complex roots into real sine and cosine. For a conjugate pair r=±iωr=\pm i\omega the two real independent solutions are cos(ωt)\cos(\omega t) and sin(ωt)\sin(\omega t), so with ω=0.1\omega=\sqrt{0.1}:

    X(t)=C1cos ⁣(0.1t)+C2sin ⁣(0.1t)X(t)=C_{1}\cos\!\left(\sqrt{0.1}\,t\right)+C_{2}\sin\!\left(\sqrt{0.1}\,t\right)

    Writing 0.1=1/10\sqrt{0.1}=1/\sqrt{10} gives the equivalent form X(t)=C1cos(t/10)+C2sin(t/10)X(t)=C_{1}\cos(t/\sqrt{10})+C_{2}\sin(t/\sqrt{10}).

  5. Check by substituting back. Differentiating twice multiplies each term by ω2=0.1-\omega^{2}=-0.1, so X=0.1XX''=-0.1X identically. A numerical second difference of XX with C1=1.3C_{1}=1.3, C2=0.7C_{2}=-0.7 at t=0.5t=0.5, 1.71.7 and 3.33.3 reproduces 0.1X(t)-0.1X(t) to within 10610^{-6} ✓.

  6. Interpret the constants. The angular frequency is ω=0.10.3162\omega=\sqrt{0.1}\approx0.3162 rad per unit time, so the period is T=2π/ω=2π1019.87T=2\pi/\omega=2\pi\sqrt{10}\approx19.87. The two constants C1C_{1} and C2C_{2} are fixed by initial data: C1=X(0)C_{1}=X(0) and C2=X(0)/ωC_{2}=X'(0)/\omega.

Answer

X(t)=C1cos ⁣(0.1t)+C2sin ⁣(0.1t)X(t)=C_{1}\cos\!\left(\sqrt{0.1}\,t\right)+C_{2}\sin\!\left(\sqrt{0.1}\,t\right)

Need to solve a different problem like this? Open the solver →