First order differential equations.

Click For Summary

Homework Help Overview

The discussion revolves around converting second-order differential equations into a system of first-order differential equations. The original poster presents several equations that include the term y'', seeking guidance on how to rewrite them appropriately for numerical solutions using Euler's modified method.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to apply Euler's method to a first-order equation but struggles with equations involving y''. Some participants suggest defining a new variable z(t) to represent y', while others clarify the need to maintain the variable x as the independent variable.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of how to approach the problem. Guidance has been offered regarding the use of a new variable to facilitate the conversion, but there remains some confusion about the appropriate variable representation.

Contextual Notes

The original poster is working under the constraints of a homework assignment that requires converting second-order equations to first-order ones without providing complete solutions. There is a focus on numerical methods and the specific equations provided for conversion.

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 y'=x+y , y(0)=1, h=0.1 I can apply the Euler's method:
y_1=y_0+hf(x_0,y_0)=1+0.1(0+1)=1+0.1=1.1

But the following equations all contain the term y''.
y''-0.2(1-y^2)y'+y=0 , y(0)=0.1, y'(0)=0.1, calculate: y(0.2)
-x^2y''-2xy'+2y=-4x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)
y''=2y'/x-2y/x^2-1/x^2 , y(1)=0, y'(1)=1, calculate: y(1.1)
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
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
2
Views
1K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
1K
Replies
3
Views
2K