What went wrong with my simple differential equation?

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation of the form dy/dt = c - ky. Participants are examining the integration process and the resulting expression for y, addressing potential errors in the constant of integration and the overall solution structure.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the integration of the equation and the implications of the constant of integration. Questions arise about the correct form of the solution and the role of initial conditions in determining the constant.

Discussion Status

There is an active exchange of ideas regarding the integration steps and the interpretation of constants. Some participants provide alternative forms of the solution, while others express confusion about the derivation of certain terms. The discussion is ongoing with no clear consensus yet.

Contextual Notes

Participants are working under the constraints of homework rules, which may limit the depth of exploration into the solution process. There is an emphasis on understanding the derivation rather than simply obtaining the final answer.

Vriska
Messages
138
Reaction score
2

Homework Statement


[/B]
dy/dt = c - ky

Homework Equations



integral 1/y dy = ln(y)

The Attempt at a Solution



let y = c/k + z

dy/dt = dz/dt = -kz

dz/z = -kdt

ln(z) = - kt

z = e^(-kt)

but z = y - c/k

y = e^(-kt) + c/k + cons.

answer should have been negative sign on the e term. I can't find anything wrong and I've been at it for the past hour :/
 
Physics news on Phys.org
The only error I have found is, that your constant is wrong. It has to be ##y=\dfrac{c}{k} + c_0e^{-kt}## and that ##\int \dfrac{dz}{z} = \log |z|##. So the sign depends on initial conditions.
 
fresh_42 said:
The only error I have found is, that your constant is wrong. It has to be ##y=\dfrac{c}{k} + c_0e^{-kt}## and that ##\int \dfrac{dz}{z} = \log |z|##. So the sign depends on initial conditions.

? this is new to me, how did you get the c_0 on the exponent term??
 
This is not new to you, I bet. You have
$$
\int \dfrac{dz}{z} = -k \int dt \Longrightarrow \log|z| + C_1 = -kt +C_2 \longrightarrow |z|=\exp(-kt + C_3) = e^{C_3}\cdot \exp(-kt) = c_0e^{-kt}
$$
 
fresh_42 said:
This is not new to you, I bet. You have
$$
\int \dfrac{dz}{z} = -k \int dt \Longrightarrow \log|z| + C_1 = -kt +C_2 \longrightarrow |z|=\exp(-kt + C_3) = e^{C_3}\cdot \exp(-kt) = c_0e^{-kt}
$$

haha, damn, that was real neat . Thanks!
 
I get something different: $$y=y(0)e^{-kt}+\frac{c}{k}(1-e^{-kt})$$
 
Chestermiller said:
I get something different: $$y=y(0)e^{-kt}+\frac{c}{k}(1-e^{-kt})$$

That's not really all that different is it? That's just what you get after you solve for ##c_0## in terms of ##y(0)##.
 
Dick said:
That's not really all that different is it? That's just what you get after you solve for ##c_0## in terms of ##y(0)##.
I guess I got confused.
 

Similar threads

Replies
2
Views
2K
Replies
6
Views
2K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K