Linear equation (differential equations) problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
6 replies · 6K views
aero_zeppelin
Messages
85
Reaction score
0

Homework Statement



Solve:

dP/dt + 2tP = P + 4t - 2


The Attempt at a Solution



I've done a couple of these but I'm not sure how to start with this one...

First I have to put it in standard form right?

dP/dt + P(2t - 1) = 4t - 2

Then obtain the integrating factor by integrating (2t - 1)
 
Physics news on Phys.org
Ok! I get:

e^(t^2 - t)

Then we include it in the equation and integrate both sides?

d [e^(t^2 - t) P ] / dt = e^(t^2 - t) * (4t - 2)

The right hand side integral is giving me problems though...
 
aero_zeppelin said:
Ok! I get:

e^(t^2 - t)

Then we include it in the equation and integrate both sides?

d [e^(t^2 - t) P ] / dt = e^(t^2 - t) * (4t - 2)

The right hand side integral is giving me problems though...

Try a u substitution: ##u = t^2-t## as your first step.
 
Oh god, I can't believe I missed that one hehe I was overcomplicating it...

I end up with:

P = [2 e^(t^2 - t) + C ] / e^(t^2 - t)

Interval of definition would be (-inf, inf) correct?
 
aero_zeppelin said:
Oh god, I can't believe I missed that one hehe I was overcomplicating it...

I end up with:

P = [2 e^(t^2 - t) + C ] / e^(t^2 - t)

Interval of definition would be (-inf, inf) correct?

Yes, since the denominator is never zero.