2079 4

MTH117 · 2079 · 10 marks

Define initial value problem. Solve: y'' + 4y' - 6y = 0, y(0) = 1, y'(0) = 0. Find the Taylor's series expansion for cos x at x = 0. [10+0]

Define initial value problem. Solve: $y'' + 4y' - 6y = 0$, $y(0) = 1$, $y'(0) = 0$. Find the Taylor's series expansion for $\cos x$ at $x = 0$. [10+0]

Mathematics IChapter 7: Ordinary Differential EquationsSecond order linear differential equationsNumerical: IVP and Taylor series

Initial Value Problem: Definition and Solutions

Given Data

  • ODE: $y'' + 4y' - 6y = 0$
  • Initial conditions: $y(0) = 1$, $y'(0) = 0$
  • Second task: Taylor (Maclaurin) series of $\cos x$ at $x = 0$

Definition of Initial Value Problem

An initial value problem (IVP) is a differential equation together with the values of the unknown function and its derivatives specified at a single point $x_0$ (the initial point). For a second-order ODE:

$$y'' = f(x, y, y'), \quad y(x_0) = y_0, \quad y'(x_0) = y_1$$

The constants $y_0, y_1$ are the initial conditions, and the aim is to find the particular solution satisfying both the ODE and these conditions.


Solving $y'' + 4y' - 6y = 0$

Step 1: Auxiliary Equation

Assume $y = e^{mx}$:

$$m^2 + 4m - 6 = 0$$

Step 2: Roots

$$m = \frac{-4 \pm \sqrt{16 + 24}}{2} = \frac{-4 \pm \sqrt{40}}{2} = -2 \pm \sqrt{10}$$

Real, distinct roots: $m_1 = -2 + \sqrt{10}$, $m_2 = -2 - \sqrt{10}$.

Step 3: General Solution

$$y = C_1 e^{(-2+\sqrt{10})x} + C_2 e^{(-2-\sqrt{10})x}$$

Step 4: Apply Initial Conditions

$y(0) = 1$: $$C_1 + C_2 = 1 \quad (i)$$

Differentiate: $$y' = C_1(-2+\sqrt{10})e^{(-2+\sqrt{10})x} + C_2(-2-\sqrt{10})e^{(-2-\sqrt{10})x}$$

$y'(0) = 0$: $$C_1(-2+\sqrt{10}) + C_2(-2-\sqrt{10}) = 0$$ $$-2(C_1+C_2) + \sqrt{10}(C_1 - C_2) = 0$$

Using $(i)$: $$-2 + \sqrt{10}(C_1 - C_2) = 0 ;\Rightarrow; C_1 - C_2 = \frac{2}{\sqrt{10}} = \frac{\sqrt{10}}{5} \quad (ii)$$

Solution

Adding $(i)$ and $(ii)$: $$2C_1 = 1 + \frac{\sqrt{10}}{5} = \frac{5+\sqrt{10}}{5} ;\Rightarrow; C_1 = \frac{5+\sqrt{10}}{10}$$

Subtracting: $$2C_2 = 1 - \frac{\sqrt{10}}{5} ;\Rightarrow; C_2 = \frac{5-\sqrt{10}}{10}$$

Particular Solution

$$\boxed{y = \frac{5+\sqrt{10}}{10}, e^{(-2+\sqrt{10})x} + \frac{5-\sqrt{10}}{10}, e^{(-2-\sqrt{10})x}}$$


Taylor (Maclaurin) Series of $\cos x$ at $x = 0$

$$f(x) = f(0) + f'(0)x + \frac{f''(0)}{2!}x^2 + \frac{f'''(0)}{3!}x^3 + \cdots$$

$n$$f^{(n)}(x)$$f^{(n)}(0)$
0$\cos x$$1$
1$-\sin x$$0$
2$-\cos x$$-1$
3$\sin x$$0$
4$\cos x$$1$

Substituting:

$$\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \frac{x^6}{6!} + \cdots$$

$$\boxed{\cos x = \sum_{n=0}^{\infty} \frac{(-1)^n}{(2n)!}, x^{2n}}$$


Verified results: roots $-2 \pm \sqrt{10}$, constants $\frac{5\pm\sqrt{10}}{10}$, and the standard cosine series.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.