Solution to an initial value problem

Click For Summary

Homework Help Overview

The discussion revolves around solving an initial value problem involving a first-order differential equation, specifically dy/dx = 5y(1-y) with the initial condition y(0) = 0.1. Participants are exploring the integration process and the implications of the initial condition on the solution.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the use of partial fractions and integration techniques to solve the differential equation. There are questions about the correct interpretation of the initial condition and the role of the integration constant. Some participants express confusion about the presence of multiple instances of y in the equations.

Discussion Status

The discussion is active, with participants providing guidance on the importance of the integration constant and how it relates to the initial condition. There is recognition of the need to simplify expressions and clarify steps in the solution process. While some participants have made progress, there is still exploration of different interpretations and methods.

Contextual Notes

Participants are navigating the complexities of the problem, including the integration constant and its relation to the initial condition. There is an emphasis on ensuring that the solution aligns with the given initial value, which adds a layer of complexity to the discussion.

dooogle
Messages
20
Reaction score
0

Homework Statement



dy/dx=5y(1-y)

y(0)=0.1

x belongs to [0; 2]

Homework Equations



The Attempt at a Solution



dy/5y(1-y)=dx

using partial fractions (1/(-y^2+y))=1/(y(1-y))= A/y+B/1-y

multiplying both sides by (y(1-y)) gives 1=A(1-y)+B(y)

when y=0 1=A so A=1

when y=1 1=B so B=1

so 1/(1-y) +1/y =1/(y(1-y))

1/5*(int 1/(1-y)+int 1/(y))=1/5*(-ln (1-y)+ln (y))

so x=1/5*(-ln (1-y)+ln (y))

5x=-ln (1-y)+ln (y)

e^5x=y/1-y

but that doesn't work when y(0)=0.1 does y(0)=0.1 mean when y=0 or when x=0? either way i don't get the right answer please can someone explain where I am going wrong

cheers

dooogle
 
Physics news on Phys.org
dooogle said:
1/5*(int 1/(1-y)+int 1/(y))=1/5*(-ln (1-y)+ln (y))

so x=1/5*(-ln (1-y)+ln (y))

5x=-ln (1-y)+ln (y)

e^5x=y/1-y

but that doesn't work when y(0)=0.1 does y(0)=0.1 mean when y=0 or when x=0? either way i don't get the right answer please can someone explain where I am going wrong

You forgot about the integration constant. The initial value y(x=0)=0.1 will fix the value of the integration constant.
 
so e^5x +c =y/1-y where c=0.1

is a gd answer?

im just concerned due to the fact i have 2 y's thanks for the help

dooogle
 
No, the integration constant came in as

5x + C =-ln (1-y)+ln (y)

So you'd have

[tex]e^{5x + C} = \frac{y}{1-y} .[/tex]

This is not the simplest form of the equation. We can still solve for y directly.
 
e^-(5x+c)=(1-y)/y

e^-(5x+c)=(1/y)-(y/y)

e^-(5x+c)=(1/y)-(1)

e^(5x+c)=y-1

e^(5x+c)+1=y?
 
dooogle said:
e^-(5x+c)=(1/y)-(1)

e^(5x+c)=y-1

The 2nd line does not follow from the first.

[tex]\frac{1}{\frac{1}{y} -1} \neq y -1[/tex]

Try writing 1/y by itself on one side of the equation:

[tex]\frac{1}{y} = ?[/tex]

Then you can compute the reciprocal of both sides to determine y.
 
e^-(5x+c)=(1/y)-(1)

raise both sides to the power of minus 1 so 1/y=y^-1 becomes y and -1 becomes -1^-1 =1/-1 =-1 and e^-(5x+c)=1/e^(5x+c) becomes e^(5x+c)

e^(5x+c)=y-1
 
dooogle said:
e^-(5x+c)=(1/y)-(1)

raise both sides to the power of minus 1 so 1/y=y^-1 becomes y and -1 becomes -1^-1 =1/-1 =-1 and e^-(5x+c)=1/e^(5x+c) becomes e^(5x+c)

e^(5x+c)=y-1

No, it doesn't work that way

[tex]\frac{1}{a+b} \neq \frac{1}{a} + \frac{1}{b}.[/tex]

Use my suggestion by adding 1 to both sides of

e^-(5x+c)=(1/y)-(1)

Compare the answer you get with the wrong result.
 
ok i understand now thanks for your help

i did what u said

e^-(5x+c)=(1/y)-(1)

1/y=e^-(5x+c) +1

y=1/(e^-(5x+c) +1)

thanks very much for help

doogle
 
  • #10
No problem. Don't forget to use the initial condition to eliminate the integration constant.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
Replies
11
Views
2K
Replies
2
Views
1K