Initial Value Differential Equations problem

Click For Summary
The discussion centers on solving the initial value differential equation dy/dt = 2y - 5 with the initial condition y(0) = y_0. The initial proposed solution was y = 5/2 + (y_0 - 5/2)e^t, but the correct solution is y = 5/2 + (y_0 - 5/2)e^(2t). Participants clarify the integration steps and the importance of factoring out constants during integration, which leads to the appearance of the -2t term in the exponent. Misinterpretations of the exponential function and logarithmic properties are discussed, emphasizing the need for careful verification of solutions. Ultimately, the correct solution is confirmed to be y = 5/2 + (y_0 - 5/2)e^(2t).
Chandasouk
Messages
163
Reaction score
0
dy/dt = 2y-5, y(0) = y_0

The answer I got for this was y =5/2 + (y_0-5/2)e^t

but the solution is y =5/2 + (y_0-5/2)e^-2t

Where did this -2t come from?

My steps:

dy = (2y-5)dt Integrating both sides gives

1/2*ln|2y - 5| = t + C take exp of both sides gives

1/2(2y-5) = Cet

y-5/2 = Cet

solving for C

(y0) - 5/2=C*e0

C= y0 - 5/2
 
Physics news on Phys.org
Chandasouk said:
dy/dt = 2y-5, y(0) = y_0

The answer I got for this was y =5/2 + (y_0-5/2)e^t

but the solution is y =5/2 + (y_0-5/2)e^-2t
Both answers above are incorrect. Did you write the book's solution incorrectly? The correct solution isd be y = 5/2 + (y0 - 5/2)e2t.
Chandasouk said:
Where did this -2t come from?

My steps:

dy = (2y-5)dt Integrating both sides gives
You're skipping some steps here. Here's what I did.
dy/(2y - 5) = dt
==> (1/2)dy/(y - 5/2) = dt (factoring 2 out of the denominator on the left)
==> dy/(y - 5/2) = 2dt
Now integrate, getting
ln(y - 5/2) = 2t + C
==> y - 5/2 = e2t + C = Ae2t, where A = eC

==> y = 5/2 + Ae2t

All that's left is to use the initial condition to solve for A.

Chandasouk said:
1/2*ln|2y - 5| = t + C take exp of both sides gives

1/2(2y-5) = Cet


y-5/2 = Cet

solving for C

(y0) - 5/2=C*e0

C= y0 - 5/2

Whenever you solve a differential equation, you should verify that your solution actually is a solution. If you had done that, you would have seen that neither the solution you found nor the one you said was "the solution" actually works.
 
I have misread the solution. The answer is y =5/2 + (y_0-5/2)e^2t

I would've never thought to factor out the 2 like you did though. I just integrated as

dy/(2y-5) = dt

Used U substitution for the integral on the left side of the equation.

U = 2y-5, du = 2dy, so du/2=dy

that gave me 1/2\int du/u = \intdt

1/2*ln|2y - 5| = t + C

e both sides

1/2(2y-5) = Cet

y-5/2 = Cet

solving for C

(y0) - 5/2=C*e0

C= y0 - 5/2

However I cannot get the 2t to appear as my exponent
 
Chandasouk said:
I have misread the solution. The answer is y =5/2 + (y_0-5/2)e^2t

I would've never thought to factor out the 2 like you did though. I just integrated as

dy/(2y-5) = dt

Used U substitution for the integral on the left side of the equation.

U = 2y-5, du = 2dy, so du/2=dy

that gave me 1/2\int du/u = \intdt

1/2*ln|2y - 5| = t + C

e both sides

1/2(2y-5) = Cet
You're making a mistake here (above). eu*v \neq eu * uv.

Also, e1/2 \neq 1/2.
Chandasouk said:
y-5/2 = Cet

solving for C

(y0) - 5/2=C*e0

C= y0 - 5/2

However I cannot get the 2t to appear as my exponent
 
So when I e both sides of 1/2*ln|2y - 5| = t + C

it's should be

e1/2*eln|2y - 5| = e t + C

e1/2*2y-5=Cet

2y-5 = Cet/e1/2

2y-5 = Ce2t

Now I see where the 2t came from.
 
Chandasouk said:
So when I e both sides of 1/2*ln|2y - 5| = t + C

it's should be

e1/2*eln|2y - 5| = e t + C
NO! That's what I said in my previous post.

Starting with 1/2*ln|2y - 5| = t + C, the simplest thing to do is to multiply both sides by 2.

But
e^{1/2 * ln|2y - 5|} \neq e^{1/2}~e^{ ln|2y - 5|}

which is what you're trying to do.
Chandasouk said:
e1/2*2y-5=Cet

2y-5 = Cet/e1/2

2y-5 = Ce2t

Now I see where the 2t came from.
No you don't.
\frac{e^t}{e^{1/2}} \neq e^{2t}
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K