Help with initial value problem

Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem involving a first-order differential equation: dy/dt = 4y - 2, with the initial condition y(0) = 3. Participants are exploring the separation of variables method and integration techniques.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss separating variables and integrating both sides, with some questioning the correctness of the antiderivative used. There are attempts to clarify the constants involved and how to apply the initial condition to find specific values.

Discussion Status

There is an ongoing exploration of the integration process and the correct interpretation of constants. Some participants have provided guidance on how to handle the constants and the initial condition, while others are still seeking clarity on the relationships between the constants.

Contextual Notes

Participants are navigating potential misunderstandings regarding the constants in the solution and the implications of the initial condition on their calculations. There is a focus on ensuring that different constants are recognized and properly defined throughout the discussion.

bengaltiger14
Messages
135
Reaction score
0
Solve: dy/dt = 4y-2, y(0)=3

I first separate variables: dy/(4y-2) = dt

I then integrate both sides to get: ln|4y-2|=t + c

I next set 4y-2=Ce^t

Do I just plug 3 in for y to get C=10 or am I going about this problem the wrong way??
 
Physics news on Phys.org
You're close, but made an error.
Your antiderivate for 1/(4y - 2) is not ln|4y - 2|.

Factor 4 from the two terms in the denominator, and then multiply both sides by 4, getting

dy/(y - 1/2) = 4dt

Then continue from there.
 
Ok, so it should be: ln|y-1/2| = 4t+C

then: y-1/2 = Ce^4t

I am not really sure what to do here.
 
Do I just set y=3 and t=0 to get C = 2.5?
 
bengaltiger14 said:
Do I just set y=3 and t=0 to get C = 2.5?

You seem to be using C in 2 places which is fine as long as you recognize that they are different things.

ln|y-1/2| = 4t+C => y - 1/2 = Ae^(4t) where A = e^C
 
so,
y-1/2=e^C*e^(4t)

Then C still equals 2.5 right?
 
Well if t = 0 and y = 3 then 2.5 = e^C*e^(0) => e^C = 2.5 i.e. C = ln(2.5)... how are you getting C = 2.5?

The point IS C = ln(2.5) is just some constant once again, so I can call that constant. If I defined A = e^C = e^(ln(2.5)) = 2.5 then I would get what you started with. You need to understand that you can't just say C = e^C and say that that equals 2.5, realize which constant you are talking about.
 
bengaltiger14 said:
Ok, so it should be: ln|y-1/2| = 4t+C

then: y-1/2 = Ce^4t

I am not really sure what to do here.

bengaltiger14 said:
Do I just set y=3 and t=0 to get C = 2.5?
If y- 1/2= Ce4t and you know that y(0)= 3, then 3-1/2= Ce0= C.
Yes, C= 5/2= 2.5.

y(t)= 1/2+ 2.5 e4t which can also be written
[tex]y(t)= \frac{1+ 5e^{4t}}{2}[/tex]
 

Similar threads

Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K