A differential equation question

In summary, the conversation discusses a differential equation with an initial condition. The solution for the equation is given as y = ce^-x + 1, with y = 2.5 when x = 0. The conversation then goes on to discuss taking the derivative of y and adding it to y, and how this is in harmony with the given equation. However, there is an infinite number of possible values for c, but the answer is given as c = -1.5. The conversation concludes by mentioning that this value was determined by the initial condition y(0) = 2.5.
  • #1
mech-eng
828
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
  • #2
?
y=1+c*e^(-x); at x= 0, y = 1+c*e° = 1+c=2.5, ...so, c = 1.5
 
Last edited:
  • Like
Likes 1 person
  • #3
abitslow said:
?
y=1+c*e^(-x); at x= 0, y = 1+c*e° = 1+c=2.5, ...so, c = 1.5

Thank you.
 
  • #4
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 1 person
  • #5


I would suggest taking a closer look at the initial condition given. The given initial condition states that y = 2.5 when x = 0. Plugging this into the general solution of y = ce^-x + 1 yields 2.5 = c + 1. This means that c must be equal to 1.5 in order for the initial condition to be satisfied. Therefore, the final solution to the differential equation is y = 1.5e^-x + 1. It is important to carefully consider the initial condition when solving differential equations to ensure that the solution is accurate and complete.
 

What is a differential equation?

A differential equation is a mathematical equation that describes how a variable changes over time, taking into account its rate of change. It involves one or more variables and their derivatives.

What is the purpose of solving a differential equation?

The purpose of solving a differential equation is to find a function that satisfies the equation and can be used to model real-world phenomena. This allows scientists to make predictions and understand the behavior of systems.

What are the different types of differential equations?

There are several types of differential equations, including ordinary differential equations (ODEs) which involve one independent variable, and partial differential equations (PDEs) which involve multiple independent variables. There are also different types of ODEs and PDEs depending on their order and linearity.

How do you solve a differential equation?

The method for solving a differential equation depends on its type and complexity. Some common techniques include separation of variables, integrating factors, and using series solutions. In some cases, numerical methods may also be used to approximate a solution.

What are some applications of differential equations?

Differential equations have many applications in science and engineering, including modeling population growth, predicting the spread of diseases, analyzing fluid flow, and understanding electrical circuits. They are also used in many other fields such as economics, biology, and finance.

Similar threads

  • Differential Equations
Replies
2
Views
989
  • Differential Equations
2
Replies
52
Views
816
  • Differential Equations
Replies
16
Views
894
  • Differential Equations
Replies
5
Views
653
  • Differential Equations
Replies
1
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
10
Views
2K
Replies
6
Views
2K
  • Differential Equations
Replies
3
Views
1K
  • Differential Equations
2
Replies
40
Views
545
Back
Top