Struggling with ODE: Find Particular Solution y(0)=1

In summary, the equation y=sqrt(6x+4) -2x-1 can be solved using the substitution u=y+2x+1 and the completing the square technique.
  • #1
wozzers
13
1
i am having issues solving an ODE it is given as

y'= (1-2y-4x)/(1+y+2x)

I've been told to find the particular solution when y(0)=1

please help
 
Last edited:
Physics news on Phys.org
  • #2
wozzers said:
I am having issues solving an ODE it is given as

y'= (1-2y-4x)/(1+y+2x)

I've been told to find the particular solution when y(0)=1

please help
Your reason for editing was adorable. :tongue:

So, let's look at this.

We have that ##\frac{dy}{dx} = \frac{1-2y-4x}{1+y+2x}##. We need to reduce this to something we know how to solve. Do you see any useful substitutions?
 
  • #3
Mandelbroth said:
Your reason for editing was adorable. :tongue:

So, let's look at this.

We have that ##\frac{dy}{dx} = \frac{1-2y-4x}{1+y+2x}##. We need to reduce this to something we know how to solve. Do you see any useful substitutions?

at the moment none i thought about doing something with the y+2x and using a u substitution but noticed the signs were different so i am just lost currently and i wasn't sure if that is even applicable in this situation
 
  • #4
^That is good

u=y+2x+1 is even better
 
  • #5
lurflurf said:
^That is good

u=y+2x+1 is even better

okay i took the derivative of y+2x+1 and got 3dydx is that right or a little off with the dydx from there i am lost once again
 
Last edited:
  • #6
^
d(y+2x+1)=dy+2dx
or
(y+2x+1)'=y'+2

try to write the equation in terms of y+2x+1
 
  • #7
In general, if you have [itex]y'=L_{1}(x,y)/L_{2}(x,y),[/itex] where [itex]L_{1},L_{2}[/itex] are linear functions of [itex]x[/itex] and [itex]y[/itex], then your substitution depends on how the two lines relate to each other. Tenenbaum and Pollard have a great section in their book Ordinary Differential Equations, where they show you exactly which substitution to use for the following three cases:

Case 1: They are the same line.
Case 2: The two lines intersect at one point.
Case 3: The two lines are parallel.
 
  • #8
i will take a look at the book ackbeet as i know this is something i am going to have to apply consistently to completely comprehend this type of problem
 
  • Like
Likes 1 person
  • #9
There is no real need to look for substitutions- it's pretty simple as is. This is an "exact" equation.

[tex]\frac{dy}{dx}= \frac{1- 2y- 4x}{1+ y+ 2x}[/tex]

[tex](1+ y+ 2x)dy= (1- 2y- 4x)dx[/tex]

[tex](1+ y+ 2x)dy+ (4x+ 2y- 1)dx= 0[/tex]

Now we see that [itex](1+ y+ 2x)_x= 2= (4x+ 2y- 1)_y[/itex] so this is an "exact differential"- there exist a function F(x,y) such that [itex]dF= F_xdx+ F_ydy= (4x+2y- 1)dx+ (1+ y+ 2x)dx[/itex].

From [itex]F_x= 4x+ 2y- 1[/itex] so that [itex]F= 2x^2+ 2xy- g(y)[/itex].
(Since F_x is a differentiation with respect to x, treating y as a constant, when we "reverse" that the "constant of integration" may be a function of y.)

From that, [itex]F_y= 2x- g'(y)= 1+ y+ 2x[/itex] so that [itex]-g'(y)= 1+ y[/itex] and [itex]g'(y)= -1- y[/itex]. [itex]g(y)= -y- \frac{1}{2}y^2+ C[/itex].

So [itex]F(x,y)= 2x^2+ 2xy- (-y- \frac{1}{2}y^2+ C)= 2x^2+ 2xy+ y+ \frac{1}{2}y^2+ c[/itex].

Saying that "dF= 0" gives [itex]F(x, y)= 2x^2+ 2xy- (-y- \frac{1}{2}y^2+ C)= 2x^2+ 2xy+ y+ \frac{1}{2}y^2+ c[/itex] equals a constant. Including the "c" in that constant,
[itex]2x^2+ 2xy+ y+ \frac{1}{2}y^2= C[/itex].
 
Last edited by a moderator:
  • #10
thank you all for your help i finally worked it out, i have a better understanding using the substitution method hallsofivy i still need to practice a few more problems to be confident in my ability to solve the type of DE using the Intial condition i got y= sqrt (6x+4) -2x-1 quite happy although the question is very tedious was required utilizing the completing the square technique to completely solve it if anyone knows where i can find more problems like this with solutions please assist
 
  • #11
wozzers said:
...if anyone knows where i can find more problems like this with solutions please assist

The ODE's book I mentioned has loads of these problems. You could also make up your own. I haven't tried Mathematica recently to see if it can solve these. WolframAlpha can't, and Sage (Maxima) can't.
 
  • #12
Ackbeet said:
The ODE's book I mentioned has loads of these problems. You could also make up your own. I haven't tried Mathematica recently to see if it can solve these. WolframAlpha can't, and Sage (Maxima) can't.

i've looked in the book i am struggling to find these type of problems in the book do you know where exactly in the book these problems are?
 
  • #13
The section in the book dealing with these kinds of equations is Lesson 8, starting on Page 62. The exercises are on page 69, with answers immediately following. Incidentally, this entire section of the book is available on Google Books.
 
  • #16
wozzers said:
i am having issues solving an ODE it is given as

y'= (1-2y-4x)/(1+y+2x)

I've been told to find the particular solution when y(0)=1

please help

This looks to me like just a warming up excercise preparatory to treating the more general case called the 1st order linear homogeneous equation I think. They are hoping you'd notice that the RHS is a function of (y + 2x). Call this Y, ask yourself (e.g.) what dY/dx is and it all works out nice and simple I think.

Edit. I see you did notice this, #3. Maybe another look?
 
Last edited:
  • #17
Since solutions have been given, with my version with the substitution I mentioned we have y' = Y' - 2 and get

[tex] Y' = \frac{3}{1+Y} [/tex]

We can easily solve and incorporate the initital condition to give I think

y2 + 4xy + 4x2 + 2y - 2x - 3 = 0

And we could leave it like that.



But if it is wanted factorised, snce it was mentioned doing this is a bore, it appears easier to start from the form in which this is first solved:

Y2 + 2Y = 6x + 3

(initial condition incorporated here). Write this

Y2 + 2Y +1 - 6x - 4 = 0

then proceed

(Y + 1)2 = 6x + 4

(y + 2x + 1)2 = 6x + 4

(y + 2x + 1) = ± √(6x + 4)

y = -(2x + 1) ± √(6x + 4)

which appears the same as answers given.
 
  • #18
Ackbeet said:
The ODE's book I mentioned has loads of these problems. You could also make up your own. I haven't tried Mathematica recently to see if it can solve these. WolframAlpha can't, and Sage (Maxima) can't.

Maple finds a solution with no trouble.
 
  • Like
Likes 1 person

1. What is an ODE?

An ODE (ordinary differential equation) is a mathematical equation that involves an unknown function and its derivatives. It is used to model relationships between different variables and their rates of change over time.

2. How do I find the particular solution for y(0)=1?

To find the particular solution for y(0)=1 in an ODE, you will need to use initial value conditions and the method of undetermined coefficients or variation of parameters. These methods involve solving the ODE and plugging in the initial value to find the particular solution for y.

3. What is the importance of finding the particular solution?

The particular solution is important because it represents the specific solution to the ODE that satisfies the given initial value conditions. It allows us to make accurate predictions and analyze the behavior of the system over time.

4. Can I use a calculator to find the particular solution?

Yes, you can use a calculator to solve some ODEs and find the particular solution. However, for more complex ODEs, it may be necessary to use mathematical software or solve the equation by hand.

5. Are there real-life applications of ODEs and finding particular solutions?

Yes, ODEs and finding particular solutions have many real-life applications in fields such as physics, chemistry, engineering, and economics. They are used to model and predict the behavior of systems and processes over time.

Similar threads

  • Calculus and Beyond Homework Help
Replies
7
Views
501
  • Calculus and Beyond Homework Help
Replies
3
Views
332
Replies
4
Views
501
  • Calculus and Beyond Homework Help
Replies
3
Views
571
  • Calculus and Beyond Homework Help
Replies
2
Views
193
  • Calculus and Beyond Homework Help
Replies
6
Views
994
  • Calculus and Beyond Homework Help
Replies
2
Views
462
  • Calculus and Beyond Homework Help
Replies
2
Views
179
  • Calculus and Beyond Homework Help
Replies
11
Views
962
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
Back
Top