# Thread:

1. ## [SOLVED] Verify solution for 2nd order eqn. by taking real part....

Find the particular solutions of $y_{p}(t)$ for the DEs:
$y''+B^{2}y=cos(wt)$ and
$y''+B^{2}y=sin(wt)$
by taking both the real and imaginary parts of the solution:
$z_{p}=\dfrac{sin((w-B)\dfrac{t}{2})}{(w-B)\dfrac{1}{2}} \dfrac{e^{i(w+B)\dfrac{t}{2}}}{i(w+B)}$
Verify the solution for for: $y''+B^{2}y=cos(wt)$

Just to clarify, all other variables except $i$ are real numbers.

Well, here is what i tried...
I started of by trying to take the Real part of $z_{p}$, as the directions state. I think i can do it fine until i get to the denominator on the right side. Once i take the real part of $i(w+b)$, it makes the demoninator zero, which leaves me stuck.

Any helps would be be GREAT!

2. Take the i out from the denominator by multiplying top and bottom by i to get:

$-i\left(\frac{\sin((w-b)t/2)e^{i(w-b)t/2}}{(w-b)(w+b)}\right)$

Now, when you expand the exponent you'll get an x+iy term which when multiplied by the i gives you a real component.

3. Thanks, I got it figured out now.
{"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.18, "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.9252359867095947, "perplexity_flag": "middle"}