Is this general solution correct?

  • #1
2
0

Main Question or Discussion Point

Question : General solution of dy/dt = -ay + b
My solution :

dy/dt = -a(y-b/a)
(dy/dt)/(y-(b/a)) = -a

Integrating both sides :
ln | y-(b/a) | = -at + C
e(-at+C) = y-(b/a)
Ce(-at) = y-(b/a)
 

Answers and Replies

  • #2
33,314
5,006
Question : General solution of dy/dt = -ay + b
My solution :

dy/dt = -a(y-b/a)
(dy/dt)/(y-(b/a)) = -a

Integrating both sides :
ln | y-(b/a) | = -at + C
e(-at+C) = y-(b/a)
Ce(-at) = y-(b/a)
Or ##y = Ce^{-at} + \frac b a##
Did you check to see if your solution satisfies the diff. equation?
 
  • #3
2
0
How do I do that? Differentiate it to get back to the original diff eq ? If yes, then what about the assumption eCe-at = Ce-at ?
 
  • #4
33,314
5,006
How do I do that? Differentiate it to get back to the original diff eq ? If yes, then what about the assumption eCe-at = Ce-at ?
Substitute your solution in the original differential equation and you should get a true statement.
 

Related Threads on Is this general solution correct?

Replies
2
Views
2K
Replies
1
Views
1K
  • Last Post
Replies
1
Views
2K
Replies
7
Views
4K
Replies
4
Views
4K
  • Last Post
Replies
4
Views
3K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
1
Views
2K
Replies
1
Views
2K
Top