Link to home
Start Free TrialLog in
Avatar of BrianGEFF719
BrianGEFF719Flag for United States of America

asked on

Differential Equations (Seperation of Variables)

Find and Sketch the solution to satisfying P = 5 when t = 0.

dP
-- = 2P - 2Pt
dt

The first part of this problem makes plenty of sense:

dP
--- = 2 - 2t dt
 P

ln |P| = 2t - t^2 + C

|P| = e^(2t - t^2 + C)
|P| = e^C * e^(2t - t^2)

A = e^C

|P| = Ae^(2t - t^2)



Now this next part in the book doesnt make sense to me:

"so A > 0 (Makes Sense). In addition, A = 0 gives a solution (WHAT?? HOW?) Thus the general solution to the differential equation is P = Be^(2t - t^2) for any B (Again how so?)"

Then they go on to find the value of B by plugging in t = 0 and P = 5. (this seems easy enough).

I dont get where they just threw in the B from or what they are talking about when they say A = 0 is a solution.
Avatar of ozo
ozo
Flag of United States of America image

Multipying a soultion by any non zero constant won't change
dP
--
 P
multiplying P by 0 would make sense if the equation was
dP = P * (2 - 2t dt)
for which P=0 is an obvious solution, instead of
dP
--- = 2 - 2t dt
 P
but if P=0 then dividing both sides by P would not be valid
Avatar of BrianGEFF719

ASKER

Ozo, I dont quite understand. Maybe I dont quite understand what you mean by a solution.
You have this:

|P| = Ae^(2t - t^2)

Putting A = 0 would give P = 0

So,

dP
-- = 2P - 2Pt
dt

will be satisfied for that case.
>>dP
>>-- = 2P - 2Pt
>>dt
>>
>>will be satisfied for that case.


How so, I do not understand., P = 0 Gives dP/dt = 0.
how is that a "SOLUTION" though?
>>dP
>>-- = 2P - 2Pt
>>dt
>>
>>will be satisfied for that case.


How so, I do not understand., P = 0 Gives dP/dt = 0.

P = 0 also gives 2P - 2Pt = 0
so 0 = 0 is satisfied
I dont get the idea of how the rate at which a function changes is dependant on the function...it's kinda throwing me through a loop.
Also,

I'm not getting these zero solutions.

dy
--- = 0, does not imply that y(x) = 0.
dx




no, but y(x) = 0 does imply that
dy
--- = 0
dx

so y(x) = 0 satisfies
dy
--- = y(x)
dx
Oh I think I got it ozo.

dP
-- = 2P - 2Pt
dt

P is a function of t.

So when p(t) = 0, 2p = 0 and - 2p = 0
thus

dP
--- = 2P - 2Pt  -> is true when P = 0.
dt



Is this logic correct?
>>no, but y(x) = 0 does imply that
>>dy
>>--- = 0
>>dx


Okay that confused me, y(x) = x = 0, dy/dx = 1 ?
dP
--- = 2P - 2Pt  -> is true when P = 0.
dt

Yes.

Okay that confused me, y(x) = x = 0, dy/dx = 1 ?
No, not  y(x) = x
y(x) = 0

y(x) = 0 and P(t) = 0 are the same function
>>No, not  y(x) = x
>>y(x) = 0

*DING* Got it. We are saying the function is a horizontal line y = 0. When this is the case then dy/dx is also = 0.

So let ask you:

 dY
 --- = Y + 3
 dt

Does not have a solution of zero because of that + 3?

Y(t) = 0 is not a solution to
 dY
 --- = Y + 3
 dt
Y(t) = -3 is  a solution to
 dY
 --- = Y + 3
 dt
>>Y(t) = 0 is not a solution to
>> dY
>> --- = Y + 3
>> dt

So, a solution to this problem would require us to know what Y(t) is then, correct? We would then have to differentiate and set it equal to Y + 3, correct?


Brian
I think I get why in my original question A = 0 is a solution:

dP
-- = 2P - 2Pt
dt

 P = Ae^(2t - t^2)

 p = 0 when A = 0

dP
--- = 0
dt
Y(t) = e^t - 3
is another solution to
 dY
 --- = Y + 3
 dt
>>Y(t) = -3 is  a solution to
>> dY
>> --- = Y + 3
>> dt


So when Y(t) = -3, dY/dt = 0, how does this qualify as a solution exactly? What are we trying to satisfy by showing that the derivative is equal to zero for a given function value?
So when Y(t) = -3, dY/dt = 0, and Y+3 = 0
so
dY/dt = Y+3
Okay, so to determine if something is a solution.

You say y(x) = {stuff}, then you differentiate y(x) -> y`(x) = {smaller stuff}

and if you have a differential equation

 dy
 ---  = AY + y^2 (or something)
 dx


You would plugin the value of Y and the value of dy/dx and if you have a true statment, y(x) = {stuff} is a solution.


Sorry for the nonsense in this post i'm very tried.
So the solution to:


d^2 Y
------- = Y
 dt^2

is y(x) = cosh(x) or y(x) = sinh(x).


I think I'm getting it.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
e^(-t) is also a solution.
Yes.. of course :)
Thanks for your patience ozo and harish...I really do appricate it.