# Thread:

1. ## dst differential equation

I've got an answer for this question but i'd like to check it against someone else and see the working used
Attached Thumbnails

2. ## Re: dst differential equation

Originally Posted by jonnyl
I've got an answer for this question but i'd like to check it against someone else and see the working used
$\displaystyle \begin{align*} \frac{d^2x}{dt^2} &= -\frac{dx}{dt} + e^{-t} + 3 \\ \frac{d^2x}{dt^2} + \frac{dx}{dt} &= e^{-t} + 3 \end{align*}$

You need to solve the homogeneous equation $\displaystyle \frac{d^2x}{dt^2} + \frac{dx}{dt} = 0$.

The characteristic equation is

$\displaystyle \begin{align*} m^2 + m &= 0 \\ m(m + 1) &= 0 \\ m = 0 \textrm{ or }m &= -1 \end{align*}$

which means the solution to the homogeneous equation is

$\displaystyle x_c = Ae^{0t} + Be^{-t} = A + Be^{-t}$.

Now, using the method of undetermined coefficients to solve the nonhomogeneous equation, guess $\displaystyle x_p = C_1t^2 + C_2t + C_3 + C_4t\,e^{-t}$, then $\displaystyle \frac{dx}{dt} = 2C_1t + C_2 + C_4e^{-t} - C_4t\,e^{-t}$ and $\displaystyle \frac{d^2x}{dt^2} = 2C_1 - C_4e^{-t} - C_4e^{-t} + C_4t\,e^{-t}$.

Substitute each of these into the DE $\displaystyle \frac{d^2x}{dt^2} + \frac{dx}{dt} = e^{-t} + 3$ and equate like coefficients to solve for $\displaystyle C_1, C_2, C_3, C_4$.

3. ## Re: dst differential equation

Originally Posted by jonnyl
I've got an answer for this question but i'd like to check it against someone else and see the working used
If you have an answer, you can check it simply by substituting it into the DE and seeing if it works.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 9, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.3, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.944861888885498, "perplexity_flag": "middle"}