A differential equation question

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
mech-eng
Messages
826
Reaction score
13
There is differential equation with initial condition perplexing me.

y'+ y = 1, y = ce^-x + 1 , y = 2.5 when x = 0

First I take derivative of y which is -ce^-x then I sum it up with y which is -ce^-x+ce^-x + 1 equals 1 which is in harmony with y' + y = 1 but it
seems that this is independent from integral constant c and so there are infinite number of c but in the answer c is -1.5.

Have a nice day.
 
Physics news on Phys.org
?
y=1+c*e^(-x); at x= 0, y = 1+c*e° = 1+c=2.5, ...so, c = 1.5
 
Last edited:
  • Like
Likes   Reactions: 1 person
abitslow said:
?
y=1+c*e^(-x); at x= 0, y = 1+c*e° = 1+c=2.5, ...so, c = 1.5

Thank you.
 
You were told, when they said "y= ce^{-x}+ 1" that this would satisfy the differential equation for all values of c. That is what that means. The problem was to find c such that y(0)= 2.5.
 
  • Like
Likes   Reactions: 1 person