First order differential equations.

bubokribuck
Messages
42
Reaction score
0
Hi, I have problems rewriting equations with the term y'' as a system of first order differential equations.

I've been given several equations and was told to write them as 1st order DEs, then calculate the numerical solution using the Euler's modified method.

I know that y'=f(x,y), so if [tex]y'=x+y , y(0)=1, h=0.1[/tex] I can apply the Euler's method:
[tex]y_1=y_0+hf(x_0,y_0)=1+0.1(0+1)=1+0.1=1.1[/tex]

But the following equations all contain the term y''.
[tex]y''-0.2(1-y^2)y'+y=0 , y(0)=0.1, y'(0)=0.1, calculate: y(0.2)[/tex]
[tex]-x^2y''-2xy'+2y=-4x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
[tex]y''=2y'/x-2y/x^2-1/x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)[/tex]
How am I supposed to turn them into first order DEs please?
 
Physics news on Phys.org
Instead of writing y''=f(x,y), write z(t)=y'(t), so that y''(t)=z'(t), solve for y(t) and z(t).
 
Hi sunjin09, thanks for your reply, but there are two variables x and y involved though, how can I convert (x,y) into (t) please?
 
Oh right, your free variable is x, not t, so, you should work with the functions y(x) and z(x)=y'(x), not t.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
2
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K