# Integrating factor problems (property of exponents)

## Homework Statement

my integrating factor for the DE ty' + (t+1)y = t is mu(x) = e^integ (1+(1/t))
= e^(t + ln|t| + c)
so does this simplify to this...or not?

= e^t + t + c

so that DE becomes:

((e^t) + t))y = (e^t) + t)

and then after integrating...

((e^t) + t))y = e^t + (1/2)t^2 + c

is that correct??

Mark44
Mentor

## Homework Statement

my integrating factor for the DE ty' + (t+1)y = t is mu(x) = e^integ (1+(1/t))
= e^(t + ln|t| + c)
For the integrating factor you don't need the constant.
so does this simplify to this...or not?

= e^t + t + c
Or not. Your integrating factor is et + ln(t). This is NOT EQUAL to et + eln(t). There's a property of exponents you need here that can be used to simplify ab + c. What is it?
so that DE becomes:

((e^t) + t))y = (e^t) + t)

and then after integrating...

((e^t) + t))y = e^t + (1/2)t^2 + c

is that correct??

## The Attempt at a Solution

ty' + (t+1)y = t initial conditions: y(ln(2)) = 1

mu(x) = e^integ (1+(1/t))
= e^(t + ln|t|)
= te^t

(te^t)y = (te^t)t

integ ((te^t)y)' = integ(t^2)(e^t)

(te^t)y = e^t(t^2 - 2t +2 + c)

ty = t^2 - 2t +2 + c

y = t-2 + (2/t) + c/t

Mark44
Mentor
ty' + (t+1)y = t initial conditions: y(ln(2)) = 1
Your next step was to divide both sides by t to get
y' + (1 + 1/t)y = 1 (*)

This is the equation you used to get your integration factor.
mu(x) = e^integ (1+(1/t))
= e^(t + ln|t|)
= te^t

(te^t)y = (te^t)t
Too many t factors on right side. It should be just te^t.

The whole reason for find the integration factor is to be able to recognize the left side as the derivative of something. Multiplying (*) on both sides by te^t, we get
y' te^t + (1 + 1/t)y te^t = te^t

or
y' te^t + (y te^t + y e^t)= te^t

The left side happens to be the derivative of y*te^t, which you can check using the product rule.

So what we have is
d/dt[y te^t] = te^t
$$\Rightarrow y te^t = \int t e^t dt$$

Can you continue from here?
integ ((te^t)y)' = integ(t^2)(e^t)

(te^t)y = e^t(t^2 - 2t +2 + c)

ty = t^2 - 2t +2 + c

y = t-2 + (2/t) + c/t

I want to clarify why i need to use an integrating factor, to see if im understanding...
This equation is not separable, that is i cant separate all the t's from the y's. If it were separable it is solvable. correct?
ty' + (t+1)y = t
It is not exact either, so the point of using integrating factor is to make the equation exact. And once exact, I can then follow the steps for solving exact equation. correct?

To be exact, then M_x(x,y) + N_y(x,y) = 0.. That is, derivative of function wrt x + derivative of function wrt y = 0.

is this correct?
{"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": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.physicsforums.com/threads/integrating-factor-problems-property-of-exponents.394673/", "fetch_time": 1624093498000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2021-25/segments/1623487647232.60/warc/CC-MAIN-20210619081502-20210619111502-00473.warc.gz", "warc_record_offset": 847406614, "warc_record_length": 15012, "token_count": 936, "char_count": 2625, "score": 4.0625, "int_score": 4, "crawl": "CC-MAIN-2021-25", "snapshot_type": "latest", "language": "en", "language_score": 0.8189017176628113, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00058-of-00064.parquet"}