Initial Value Differential Equations problem

Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem for a first-order differential equation of the form dy/dt = 2y - 5, with an initial condition y(0) = y_0. Participants are examining the derivation of the solution and the appearance of the exponent -2t in the context of their calculations.

Discussion Character

  • Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants share their attempts at integrating the differential equation and express confusion about the correct exponent in the solution. Some participants question the steps taken in their integration process and the manipulation of logarithmic and exponential functions.

Discussion Status

There is an ongoing exploration of different integration techniques and interpretations of the solution. Some participants have identified errors in their reasoning and are reconsidering their approaches, while others are clarifying their understanding of the relationship between the steps in the integration process and the resulting solution.

Contextual Notes

Participants are working under the constraints of homework guidelines, which may limit the amount of direct assistance they can receive. There is also a focus on verifying the correctness of solutions derived from their calculations.

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}
 

Similar threads

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