# Thread:

1. ## Finding the General Solution of a 2nd Order Linear Ordinary Differential Equation

Question: Find the general solution to the equation: $t^2y'' - 2y = t$.

Attempt at solution: The main catch to this question that causes me problems is the fact that the coefficients are not numbers but rather variables such as t in the question. I know to use the method of undetermined coefficients to solve this question, but i am just stuck on that part!

Thanks to all who contribute!

2. The equation is of the Cauchy Euler type.

Make the substitution

$z=\ln(t)$ then

$\frac{dy}{dt}=\frac{dy}{dz}\frac{dz}{dt}=\frac{1}{ t}\frac{dy}{dz}$

$y''=\frac{d}{dt}\frac{dy}{dt}=-\frac{1}{t^2}\frac{dy}{dz}+\frac{1}{t^2}\frac{dy^2 }{dz^2}$

Can you finish from here?

This gives the ODE

$t^2(-\frac{1}{t^2}\frac{dy}{dz}+\frac{1}{t^2}\frac{dy^2 }{dz^2})-2y=e^{z}$

$y''-y'-2y=e^{z}$
{"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": 6, "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": 5, "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.9279186129570007, "perplexity_flag": "head"}