# Thread:

1. ## Simple Separation of Variable Problem

I'm just starting a course in DiffEQ and we have a simple separation of variables problems.

The problem is to change the dy/dt equation into a simple y(t) equation (example dy/dt=ty becomes y=k*e^(t^2)) where k is any real number).

The problem I am stuck on is dy/dt=t/(y+y*t^2). Here is my work.
dy/dt=t/(y(1+t^2))
y*dy=[t/(1+t^2)]*dt
Integrate both sides
1/2y^2=1/2[ln|t^2+1|]+C where C is a constant
y^2=ln|t^2+1| + C where C is a constant
y = sqrt (ln|t^2+1| + C) where C is a constant and the sqrt is either positive or negative.

The book gives an answer of y(t)=sqrt(ln|k(t^2+1)|) where k is any real number and the sqrt is either positive or negative.

I understand most of the steps, but why do I get ln|t^2+1| + C inside the square root while the book gets ln|k(t^2+1)| inside the square root?

2. Originally Posted by David_is_a_LOSTaway
I'm just starting a course in DiffEQ and we have a simple separation of variables problems.

The problem is to change the dy/dt equation into a simple y(t) equation (example dy/dt=ty becomes y=k*e^(t^2)) where k is any real number).

The problem I am stuck on is dy/dt=t/(y+y*t^2). Here is my work.
dy/dt=t/(y(1+t^2))
y*dy=[t/(1+t^2)]*dt
Integrate both sides
1/2y^2=1/2[ln|t^2+1|]+C where C is a constant
y^2=ln|t^2+1| + C where C is a constant
y = sqrt (ln|t^2+1| + C) where C is a constant and the sqrt is either positive or negative.

The book gives an answer of y(t)=sqrt(ln|k(t^2+1)|) where k is any real number and the sqrt is either positive or negative.

I understand most of the steps, but why do I get ln|t^2+1| + C inside the square root while the book gets ln|k(t^2+1)| inside the square root?
Define $C=\ln K$.
{"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": 1, "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.856830894947052, "perplexity_flag": "middle"}