How to Solve an Initial-Value Problem?

In summary, to solve the initial-value problem \(y'+5y=1,\:y(1)=0\), we first find the general solution by setting \(y' + 5y = 0\) and solving for y, which gives us y = -(5/2)y^2. Then, to find the particular solution, we set \(y' + 5y = 1\) and solve for y, which gives us y = 1/5. Adding these two equations together, we get the final solution of y = 1/5 - (5/2)y^-2. However, to find the exact solution, we use separation of variables and solve for y, which gives us the equation y =
  • #1
ssb
119
0

Homework Statement


Solve the following initial-value problem
[tex] \(y'+5y=1,\:y(1)=0\) [/tex]


The Attempt at a Solution



y' + 5y = 0 (this is to solve for a general solution)

y = -(5/2)y^2
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

y' + 5y = 1 (this is for the particular solution)

y = 1/5

Therefore when you add the 2 equations up the answer should be

1/5 - (5/2)y^-2

But I went wrong somewhere.
My math tutor said that the answer involves e somehow but frankly I am kinda lost here. Thanks.
 
Physics news on Phys.org
  • #2
y' = dy/dt
So if you go with y = -(5/2)y^2, y' = 0. This would mean that the original differential equation isn't satisfied.

What methods do you have at your disposal? Are you familiar with separation of variables?
Write the equation as
y' + 5y = 1
dy/dt + 5y = 1
dy/(1-5y) = dt
Does that ring any bells?

EDIT: You could use x instead of t if you're more used to that.
 
Last edited:
  • #3
ssb said:

Homework Statement


Solve the following initial-value problem
[tex] \(y'+5y=1,\:y(1)=0\) [/tex]


The Attempt at a Solution



y' + 5y = 0 (this is to solve for a general solution)

y = -(5/2)y^2
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Olay, how in the world did you get this?
y is a function of x not y!
If you meant y= - (5/2)x2, that obviously doesn't work:
If y= -(5/2)x2, then y'= -5x, not -5 y.
To solve y'= -5y write it as dy/y= -5dx and integrate both sides.


y' + 5y = 1 (this is for the particular solution)

y = 1/5

Therefore when you add the 2 equations up the answer should be

1/5 - (5/2)y^-2

But I went wrong somewhere.
My math tutor said that the answer involves e somehow but frankly I am kinda lost here. Thanks.
 
  • #4
You got this in before looking at my respons. You want y as a function of x, not y!

1. Integrate dy/y= -5 dx

2. Sollve for y.
 
  • #5
I think the easiest way to do it is like Päällikkö said, separation of variables.
Just do the following:

[tex]y' + 5y = 1[/tex]

[tex]y' = 1 -5y[/tex]

[tex]\frac{dy}{1 - 5y} = 1 dt[/tex]

[tex]\int\frac{dy}{1 - 5y} = \int1 dt[/tex]

[tex]-\frac{1}{5}\ln(1 - 5y) = t + C[/tex]

[tex]\ln(1 - 5y) = -5t + C[/tex]

[tex]1 -5y = Ce^{-5t}[/tex]

[tex]5y = Ce^{-5t} - 1[/tex]

[tex]y = \frac{1 - Ce^{-5t}}{5}[/tex]

Now use the initial condition to find C:

[tex]0 = \frac{1 - Ce^{-5}}{5}[/tex]

[tex]0 = 1 - Ce^{-5}[/tex]

[tex]1 = Ce^{-5}[/tex]

[tex]\frac{1}{e^{-5}} = C[/tex]

[tex]C = e^{5}[/tex]

Now put it all together:

[tex]y = \frac{1 - e^{5}e^{-5t}}{5}[/tex]

Simplify and you get:

[tex]y = \frac{1 - e^{5 (1 - t)}}{5}[/tex]
 

What is an initial value problem?

An initial value problem (IVP) is a mathematical problem that involves finding a solution to a differential equation which satisfies certain conditions. These conditions typically include the value of the function at a specific point, known as the initial value.

What is the process for solving an initial value problem?

The process for solving an initial value problem involves four main steps: 1) setting up the differential equation, 2) finding the general solution, 3) using the initial conditions to find the particular solution, and 4) checking the solution to ensure it satisfies the initial conditions.

Why is solving initial value problems important?

Solving initial value problems is important because it allows us to model real-world phenomena and make predictions based on mathematical equations. These predictions can have a wide range of applications, from predicting population growth to analyzing the behavior of physical systems.

What are the different methods for solving initial value problems?

There are several methods for solving initial value problems, including separation of variables, substitution, and the use of integrating factors. Each method may be more suitable for certain types of differential equations, and it is important to choose the appropriate method for the specific problem at hand.

What are some common mistakes to avoid when solving initial value problems?

Some common mistakes to avoid when solving initial value problems include incorrect application of the chosen method, errors in algebraic manipulations, and forgetting to check the solution against the initial conditions. It is also important to carefully consider the domain of the solution and any potential singularities.

Similar threads

  • Calculus and Beyond Homework Help
Replies
10
Views
440
  • Calculus and Beyond Homework Help
Replies
1
Views
968
  • Calculus and Beyond Homework Help
Replies
7
Views
788
  • Calculus and Beyond Homework Help
Replies
11
Views
960
  • Calculus and Beyond Homework Help
Replies
1
Views
704
  • Calculus and Beyond Homework Help
Replies
2
Views
543
  • Calculus and Beyond Homework Help
Replies
2
Views
462
  • Calculus and Beyond Homework Help
Replies
14
Views
243
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
Back
Top