Subjects differential equations

Third Order Ode 95Ea0D

Step-by-step solutions with LaTeX - clean, fast, and student-friendly.

Use the AI math solver

1. **State the problem:** Solve the differential equation $$y''' - 3y'' + 3y' + y = 4e^t$$ with initial conditions $$y(0) = 1$$, $$y'(0) = 1$$, and $$y''(0) = -1$$. 2. **Characteristic equation:** For the homogeneous part $$y''' - 3y'' + 3y' + y = 0$$, assume solution $$y = e^{rt}$$, leading to the characteristic equation: $$r^3 - 3r^2 + 3r + 1 = 0$$. 3. **Solve characteristic equation:** Try to factor or find roots. Note that $$(r-1)^3 = r^3 - 3r^2 + 3r - 1$$, so $$r^3 - 3r^2 + 3r + 1 = (r-1)^3 + 2$$. Try $r=1$: $$1 - 3 + 3 + 1 = 2 \neq 0$$. Try $r=-1$: $$-1 - 3 + (-3) + 1 = -6 \neq 0$$. Use rational root theorem or synthetic division: Try $r= -1$: $$(-1)^3 - 3(-1)^2 + 3(-1) + 1 = -1 - 3 - 3 + 1 = -6 \neq 0$$. Try $r=2$: $$8 - 12 + 6 + 1 = 3 \neq 0$$. Try $r=-2$: $$-8 - 12 - 6 + 1 = -25 \neq 0$$. Try $r=0$: $$0 - 0 + 0 + 1 = 1 \neq 0$$. No rational roots, so use depressed cubic formula or factor by substitution. Rewrite as: $$r^3 - 3r^2 + 3r + 1 = 0$$. Try substitution $r = s + 1$: $$ (s+1)^3 - 3(s+1)^2 + 3(s+1) + 1 = 0$$ Expand: $$s^3 + 3s^2 + 3s + 1 - 3(s^2 + 2s + 1) + 3s + 3 + 1 = 0$$ Simplify: $$s^3 + 3s^2 + 3s + 1 - 3s^2 - 6s - 3 + 3s + 3 + 1 = 0$$ $$s^3 + (3s^2 - 3s^2) + (3s - 6s + 3s) + (1 - 3 + 3 + 1) = 0$$ $$s^3 + 0 + 0 + 2 = 0$$ $$s^3 + 2 = 0$$ $$s^3 = -2$$ So the roots are the cube roots of $-2$. 4. **Roots:** $$s = oot 3 elax {-2}$$, which has one real root and two complex conjugates. The real root is $$s = - oot 3 elax 2$$. Therefore, $$r = s + 1 = 1 - oot 3 elax 2$$ (real root). The complex roots are: $$r = 1 + rac{ oot 3 elax 2}{2} ig( ext{complex parts}ig)$$. 5. **General solution of homogeneous equation:** $$y_h = C_1 e^{r_1 t} + C_2 e^{r_2 t} + C_3 e^{r_3 t}$$ where $r_1, r_2, r_3$ are roots. 6. **Particular solution:** Since RHS is $$4e^t$$ and $e^t$ is not a root of the characteristic equation (check $r=1$), try $$y_p = Ae^t$$. Substitute into the differential equation: $$y_p''' - 3y_p'' + 3y_p' + y_p = 4e^t$$ Calculate derivatives: $$y_p = Ae^t$$ $$y_p' = Ae^t$$ $$y_p'' = Ae^t$$ $$y_p''' = Ae^t$$ Substitute: $$Ae^t - 3Ae^t + 3Ae^t + Ae^t = 4e^t$$ Simplify: $$(1 - 3 + 3 + 1)Ae^t = 4e^t$$ $$(2)A e^t = 4 e^t$$ Divide both sides by $e^t$: $$2A = 4$$ $$A = 2$$ 7. **Complete solution:** $$y = y_h + y_p = C_1 e^{r_1 t} + C_2 e^{r_2 t} + C_3 e^{r_3 t} + 2 e^t$$ 8. **Apply initial conditions:** Calculate $y(0)$, $y'(0)$, $y''(0)$ using the general solution and solve for $C_1, C_2, C_3$. Since roots are complicated, express the solution in terms of the roots $r_1, r_2, r_3$: $$y = C_1 e^{r_1 t} + C_2 e^{r_2 t} + C_3 e^{r_3 t} + 2 e^t$$ At $t=0$: $$y(0) = C_1 + C_2 + C_3 + 2 = 1$$ $$C_1 + C_2 + C_3 = -1$$ Derivatives: $$y' = C_1 r_1 e^{r_1 t} + C_2 r_2 e^{r_2 t} + C_3 r_3 e^{r_3 t} + 2 e^t$$ At $t=0$: $$y'(0) = C_1 r_1 + C_2 r_2 + C_3 r_3 + 2 = 1$$ $$C_1 r_1 + C_2 r_2 + C_3 r_3 = -1$$ Second derivative: $$y'' = C_1 r_1^2 e^{r_1 t} + C_2 r_2^2 e^{r_2 t} + C_3 r_3^2 e^{r_3 t} + 2 e^t$$ At $t=0$: $$y''(0) = C_1 r_1^2 + C_2 r_2^2 + C_3 r_3^2 + 2 = -1$$ $$C_1 r_1^2 + C_2 r_2^2 + C_3 r_3^2 = -3$$ 9. **Solve system:** $$\begin{cases} C_1 + C_2 + C_3 = -1 \\ C_1 r_1 + C_2 r_2 + C_3 r_3 = -1 \\ C_1 r_1^2 + C_2 r_2^2 + C_3 r_3^2 = -3 \end{cases}$$ This system can be solved using linear algebra methods. **Final answer:** $$y = C_1 e^{r_1 t} + C_2 e^{r_2 t} + C_3 e^{r_3 t} + 2 e^t$$ where $r_1, r_2, r_3$ are roots of $$r^3 - 3r^2 + 3r + 1 = 0$$ and constants $C_1, C_2, C_3$ satisfy the initial conditions above.