How to Solve an Initial-Value Problem?

Click For Summary

Homework Help Overview

The discussion revolves around solving an initial-value problem represented by the differential equation \(y' + 5y = 1\) with the initial condition \(y(1) = 0\). Participants are exploring methods to approach this problem, particularly focusing on the integration of differential equations.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the separation of variables as a potential method and question the correctness of initial attempts at finding the general solution. There are discussions about the integration process and the need to express \(y\) as a function of \(x\) rather than \(y\) itself. Some participants also express confusion regarding the role of constants and the implications of the initial condition.

Discussion Status

The discussion is ongoing, with various participants offering different perspectives on how to approach the problem. Some have provided steps involving integration and manipulation of the equation, while others are questioning assumptions made in earlier posts. There is no explicit consensus on the correct method yet, but several productive lines of reasoning have been introduced.

Contextual Notes

Participants are navigating through potential misunderstandings regarding the formulation of the problem and the application of initial conditions. There is also mention of a tutor's input suggesting that the solution involves the exponential function, which has led to further exploration of integration techniques.

ssb
Messages
119
Reaction score
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
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:
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.
 
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.
 
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]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
11
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K