Professional Documents
Culture Documents
Input:
1
DSolve y′ (t) y ( t ) , y( t ) , t
3
Separable equation:
y′ (t )
1
y(t )
3
ODE classification:
y ( t ) c 1 ⅇt / 3
ⅆ y(t ) y(t )
Solve the separable equation :
ⅆt 3
y(t )
Divide both sides by :
3
ⅆ y(t )
3 ⅆt
1
y(t )
Answer:
VectorPlot[{1, y / 3}, {t, -1, 1}, {y, -1, 1}, VectorStyle -> "Segment"]
representación vectorial estilo de vector
1.0
0.5
0.0
y
-0.5
-1.0
y y′
y ( 0) 1
t y
12
10
8
(sampling y(0))
6
t
2 4 6 8
Interactive differential equation solution plots:
y(0) 1.
y
3
y(t )
2
t
1 2 3 4
Initial conditions:
y 0
More controls
1
In[ ]:= sol = DSolvey '[t] == y[t], y[0] ⩵ 400, y[t], t
resolvedor diferencial 3
10 000
8000
6000
Out[]=
4000
2000
2 4 6 8 10
BesselK1, 2 x
Out[]= - x - BesselK0, 2 x+ - BesselK2, 2 x+
x
BesselI1, 2 x 1
- + - BesselI0, 2 x - BesselI2, 2 x 1
2 x 2
CON PASO A PASO: FIJESE QUE LA RECONOCE DE RICATTI Y ARROJA LA SOLUCIÓN GENERAL
y[x] ⩵ x, x]
Derivative[1][y][x] ⩵ -1 + y[x]/x + y[x]^2/x
Differential equation solution
Input:
y( x) y( x)2
y′ ( x) - 1 + +
x x
Riccati's equation:
y( x)2 y( x)
y′ ( x) + -1
x x
Riccati's equation »
ODE classification:
Alternate forms:
y ( x ) ( y ( x ) + 1)
y′ ( x) + 1
x
y( x)2 + y( x) - x
y′ ( x)
x
- y( x)2 - y( x) + x
y′ ( x) -
x
y ( x ) 2 + y ( x ) x ( y ′ ( x ) + 1)
I 2 K 2
1 I1 2 x K1 2 x
x c1 2 - I0 2 x - I2 2 x - - K0 2 x+ - K2 2 x
2 x x
y( x) -
2 x K 1 2 x - c1 x I1 2 x
K_n(x) is the modified Bessel function of the second kind »
VectorPlot[{1, -1 + y / x + y ^ 2 / x},
representación vectorial
{x, -10., 10.}, {y, -10., 10.}, VectorStyle -> "Segment"]
estilo de vector
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 1) 1
x y
y
500
400
100
x
1.2 1.4 1.6 1.8 2.0
y(1) 1.
y
25
20
15
y( x)
10
x
1.2 1.4 1.6 1.8 2.0 2.2 2.4
-5
Initial conditions:
y 1
More controls
BesselK1, 2 x
Out[]= y[x] → - x - BesselK0, 2 x+ - BesselK2, 2 x+
x
BesselI1, 2 x 1
- + - BesselI0, 2 x - BesselI2, 2 x 1
2 x 2
ECUACIONES
DIFERENCIALES
DE PRIMER ORDEN
Variables Separables
variables
dy
1. = 2 x + 1; y [0] = 3
dx
In[ ]:= DSolve[{y '[x] ⩵ 2 x + 1, y[0] ⩵ 3}, y[x], x]
resolvedor diferencial
Out[]= y[x] → 3 + x + x2
Out[]= 3 + x + x2
30
Out[]= 20
10
-6 -4 -2 2 4
dy
2. =x
dx
In[ ]:= DSolve[y'[x] == [x], y[x], x]
Input:
DSolve[ y′ ( x) x, y( x), x]
ODE names:
Separable equation:
y′ ( x) x
Exact equation:
-x ⅆ x + ⅆ y 0
Exact equation »
ODE classification:
2
x
y( x) c1 +
2
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 0) 1
x y
25
20
15 (sampling y(0))
10
x
1 2 3 4 5 6 7
y(0) 1.
y
12
10
6 y( x)
4
2
x
0 1 2 3 4
-2
Initial conditions:
y 0
More controls
dy
3. = 2 xy
dx
Input interpretation:
y′ ( x) 2 x y ( x)
Separable equation:
y′ ( x)
2x
y( x)
ODE classification:
2
y( x) c1 ⅇ x
-2
-4
-6
-6 -4 -2 0 2 4 6
4. y2 dx + 2 xydy = 0
In[ ]:= DSolve[y[x]^2 + 2 x yy' == 0, y[x], x]
Input:
y( x)2 + 2 x ( y( x) y′ ( x)) 0
Exact equation:
y( x)2 ⅆ x + 2 x y ( x) ⅆ y 0
Exact equation »
ODE classification:
Alternate form:
y( x) (2 x y′ ( x) + y( x)) 0
y( x) 0
c1
y( x)
x
1.0
0.5
0.0
y
-0.5
-1.0
y y′
y ( 1) 1
x y
2
(sampling y(1))
x
200 400 600 800 1000
y(1) 1.
y
1.2
1.0
0.8 y( x)
0.6
x
2 3 4 5
Initial conditions:
y 1
More controls
5. xdx + (x + y) dy = 0
In[ ]:= DSolve[x + (x + y[x]) y'[x] == 0, y[x], x]
Input:
ODE names:
Homogeneous equation:
1
y′ ( x) -
y( x)
1+ x
D'Alembert's equation:
x (-1) (1 + y′ ( x))
y( x)
y′ ( x)
d'Alembert's equation »
ODE classification:
2 y( x )
+1
2 2
tan-1 x
1 x + x y ( x) + y( x) 3
log + c1 - log( x)
2 x2 3
tan^(-1)(x) is the inverse tangent function »
log(x) is the natural logarithm »
1.0
0.5
0.0
y
-0.5
-1.0
y y′
y ( 0) 1
x y
x
0.5 1.0 1.5 2.0 2.5 3.0
(sampling y(0))
-1
-2
-3
y(0) 1.
y
x
0.5 1.0 1.5 2.0 2.5 3.0 y( x)
-2
-4
Initial conditions:
y 0
More controls
AGRUPACIÓN DE TÉRMINOS
6.2 xydx + (x ^ 2 + cosy) dy = 0
In[ ]:= DSolve[2 x y[x] + (x^2 + Cos[y[x]]) y'[x] == 0, y[x], x]
Input:
Exact equation:
2 x y( x) ⅆ x + x2 + cos( y( x)) ⅆ y 0
Exact equation »
ODE classification:
x2 y( x) + sin( y( x)) c1
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 0) 1
x y
y(0) 1.
y
1.0
y( x)
0.5
x
1 2 3 4
Initial conditions:
y 0
More controls
FACTORES INTEGRANTES
7. ydx - xdy = y3 dy
Input:
ODE classification:
2 c1
3
3 8 c31 + 27 x2 - 9 x
y( x) -
3
3 3
3 8 c31 + 27 x2 - 9 x 32/3
3 3 8 c1 27 x 9x
1 - ⅈ 3 3
3 8 c31 + 27 x2 - 9 x 1 + ⅈ 3 c1
y( x) -
2 × 32/3 3
3 3
3 8 c31 + 27 x2 - 9 x
1 + ⅈ 3 3
3 8 c31 + 27 x2 - 9 x 1 - ⅈ 3 c1
y( x) -
2 × 32/3 3
3 3
3 8 c31 + 27 x2 - 9 x
y y′
y ( 0) 1
x y
4 (sampling y(0))
x
50 100 150
y(0) 1.
y
2.5
2.0
y( x)
1.5
x
1 2 3 4
Initial conditions:
y 0
More controls
8. 2 y2 x - y dx + xdy = 0
In[ ]:= DSolve[2 x y[x]^2-y[x]) + x y'[x] == 0, y[x], x]
Input:
Bernoulli's equation:
y( x)
y′ ( x) - 2 y( x ) 2
x
Bernoulli's equation »
ODE classification:
x
y( x)
c1 + x2
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 1) 1
x y
2.5
2.0
0.5
x
1.5 2.0 2.5
y(1) 1.
y
1.2
1.0
0.8
y( x)
0.6
0.4
x
2 3 4 5
0.0
Initial conditions:
y 1
More controls
9. y ' = e2 x + y - 1
In[ ]:= DSolve[y'[x] == E^(2 x) + y[x] - 1, y[x], x]
Input:
DSolve y′ ( x) ⅇ2 x + y( x) - 1, y( x), x
ODE classification:
y( x) c1 ⅇx + ⅇ2 x + 1
1.5
1.0
0.5
0.0
y
-0.5
-1.0
-1.5
y y′
y ( 0) 1
x y
80
60
(sampling y(0))
40
20
x
0.5 1.0 1.5 2.0
y(0) 1.
y
1500
1000
1000
y( x)
500
x
0.5 1.0 1.5 2.0 2.5 3.0 3.5
500
Initial conditions:
y 0
More controls
10. (y + e-x) dx + dy = 0
In[ ]:= DSolve[(y[x] + E^(-x)) + y'[x] == 0, y[x], x]
Input:
ODE classification:
-x -x
y( x) c1 ⅇ - ⅇ x
0
y
-1
-2
-3
-4
-4 -2 0 2 4
x
y y′
y ( 0) 1
x y
1.0
(sampling y(0))
0.5
x
5 10 15 20 25 30
y(0) 1.
y
0.6
0.4
0.2 y( x)
x
1 2 3 4
0.2
Initial conditions:
y 0
More controls
11. (t + y + 1) dt - dy = 0
In[ ]:= DSolve[1 + t + y[t] - y'[t] == 0, y[t], t]
Input:
d'Alembert's equation:
ODE classification:
y(t ) c1 ⅇ - t - 2
t
1.0
0.5
0.0
y
-0.5
-1.0
y y′
y ( 0) 1
t y
40
30
(sampling y(0))
20
10
t
0.5 1.0 1.5 2.0 2.5
y(0) 1.
y
200
150
100 y(t )
50
t
1 2 3 4
-50
Initial conditions:
y 0
More controls
12. x2 y ' + xy = 1
In[ ]:= DSolve[x y[x] + x^2 y'[x] == 1, y[x], x]
Input:
DSolve x y( x) + x2 y′ ( x) 1, y( x), x
ODE classification:
c1 log( x)
y( x) +
x x
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 1) 1
x y
1.4
1.3
1.0
x
1.1 1.2 1.3 1.4 1.5 1.6
y(1) 1.
y
1.2
1.0
0.8
y( x)
0.6
x
2 3 4 5
2 3 4 5
0.4
Initial conditions:
y 1
More controls
Input:
ODE classification:
1
2 y( x ) + (-2 y( x) + sin(2 ( y( x) + x)) - 2 x) c1
2
10
0
y
-5
-10
-15
-15 -10 -5 0 5 10 15
x
y y′
y ( 0) 1
x y
y(0) 1.
y
1.6
1.4
y( x)
1.2
x
0.01 0.02 0.03 0.04 0.05
0.8
Initial conditions:
y 0
More controls
dy
14. = ex+y-1 - 1
dx
Input:
Result:
{{ y[ x] → 1 - x - Log[- x - 1 ]}}
log(x) is the natural logarithm »
Input:
DSolve[ x + y( x) + x y′ ( x) 0, y( x), x]
ODE names:
Homogeneous equation:
y( x)
y′ ( x) - 1 -
x
Exact equation:
( x + y( x)) ⅆ x + x ⅆ y 0
D'Alembert's equation:
y( x) x (-1 - y′ ( x))
d'Alembert's equation »
ODE classification:
c1 x
y( x) -
x 2
1.0
0.5
0.0
y
-0.5
-1.0
y y′
y ( 1) 1
x y
1.4
1.2
(sampling y(1))
1.0
0.8
x
1.05 1.10 1.15 1.20 1.25
y(1) 1.
y
x y( x)
2 3 4 5
-1
-2
-3
Initial conditions:
y 1
More controls
Input:
ODE names:
Bernoulli's equation:
′
y( x) y( x)2
y ( x) +
x x2
Homogeneous equation:
y( x)
y( x) 1 + x
′
y ( x)
x
Homogeneous equation »
ODE classification:
x
y( x)
c1 - log( x)
log(x) is the natural logarithm »
y
0
-5
-5 0 5 10
x
y y′
y ( 1) 1
x y
500
400
100
x
1.5 2.0 2.5
y(1) 1.
y
60
40
y( x)
20
x
1.5 2.0 2.5
-20
Initial conditions:
y 1
More controls
Input:
d'Alembert's equation:
x (-1 + y′ ( x))
y( x) +1
1 + y′ ( x)
d'Alembert's equation »
ODE classification:
2 2
x + y ( x ) - 2 y( x ) + 1 2x
c1 + log + 2 tan-1 1 - + 2 log( x) 0
2 x2 - y( x) + x + 1
tan^(-1)(x) is the inverse tangent function »
log(x) is the natural logarithm »
2.0
1.5
1.0
y
0.5
0.0
-1.0 -0.5 0.0 0.5
x
y y′ 1
y ( 0) 2
x y
0.8
0.7
0.4
x
0.05 0.10 0.15 0.20 0.25 0.30 0.35
y(0) 1.
y
1.000000
1.000000
y( x)
1.000000
x
2. × 10-7 4. × 10-7 6. × 10-7 8. × 10-7 1. × 10-6
0.999999
Initial conditions:
y 0
More controls
18. (-4 x + 3 y - 7) dx - (x + 1) dy = 0
Input:
DSolve[-7 - 4 x + 3 y( x) - (1 + x) y′ ( x) 0, y( x), x]
d'Alembert's equation:
1 1
y( x) x (4 + y′ ( x)) + (7 + y′ ( x))
3 3
d'Alembert's equation »
ODE classification:
3
y ( x ) c 1 ( x + 1) + 2 x + 3
2.0
1.5
1.0
y
0.5
0.0
-2.0 -1.5 -1.0 -0.5
x
y y′
y ( 0) 1
x y
x
0.5 1.0 1.5
5
-5
-10
-15 (sampling y(0))
-20
-25
-30
-35
y(0) 1.
y
100
x
1 2 3 4
100
y( x)
200
300
Initial conditions:
y 0
More controls
Input:
Bernoulli's equation:
Bernoulli s equation:
y( x)
y′ ( x) - + x y ( x)2
x
Bernoulli's equation »
ODE classification:
1
y( x) -
x (c1 + x)
0
y
-1
-2
-3
-3 -2 -1 0 1 2 3
x
y y′
y ( 1) 1
x y
600
400
(sampling y(1))
200
x
1.2 1.4 1.6 1.8 2.0 2.2
y(1) 1.
y
4
y( x)
2
x
1.2 1.4 1.6 1.8
0
Initial conditions:
y 1
More controls
dy
20. + xy3 + y = 0
dx
In[23]:= DSolve[y[x] + x y[x]^3 + y'[x] == 0, y[x], x]
Input:
Bernoulli's equation:
y′ ( x) - y( x) - x y ( x)3
Bernoulli's equation »
ODE classification:
2
y( x) -
c 1 ⅇ2 x - 2 x - 1
2
2
y( x)
c 1 ⅇ2 x - 2 x - 1
0
y
-5
-5 0 5
x
y y′
y ( 0) 1
x y
(sampling y(0))
2
x
0.5 1.0 1.5 2.0 2.5 3.0 3.5
y(0) 1.
y
1.0
y( x)
0.5
x
1 2 3 4
Initial conditions:
y 0
More controls
ECUACION DE RICATTI
1 1
21. y ' = + y2 - 1
x x2
′
1 1 2
In[25]:=
DSolveValuey [x] ⩵ -1 + x + 2 y , y[x] ⩵ x, x
valor de resolución diferencial x
Input:
1 1
y′ ( x) - 1 + + y( x)2
x 2
x
Riccati's equation:
y( x)2 1
y′ ( x) -1+
x2 x
Riccati's equation »
ODE classification:
Alternate forms:
y( x)2
′
( ) 1
x y ′ ( x) + x +1
x
x2 - y( x)2 - x
y′ ( x) -
x2
y ( x ) 2 x ( x y ′ ( x ) + x - 1)
y( x)
1 1+ 5 2+1/2 1- 5 1
Γ1 - 5 J- 5 2 -
x x
1
J 2
5 1 1
Γ1 + 5 2 2
x
1
+ J-1+ 5 - J1+ 5
x x
x
2 x2
1 5 2+1/2 1- 5 1 1 1
c1 Γ1 - 5 J- 5 2 + Γ1 + 5J 5 2
x x x x
10
0
y
-5
-10
-10 -5 0 5 10
x
y y′
y ( 1) 1
x y
y(1) 1.
y
2.0
1.5
1.0 y( x)
0.5
x
2 3 4 5
0.5
Initial conditions:
y 1
More controls
22. x3 y ' = x4 y2 - 2 x2 y - 1
In[32]:= DSolve[x^3 y'[x] == -1 - 2 x^2 y[x] + x^4 y[x]^2, y[x], x]
Input:
Riccati's equation:
2 y( x ) 1
y′ ( x) x y ( x)2 - -
x x3
Riccati's equation »
ODE classification:
tanh(log( x) - ⅈ c1 )
y( x) -
x2
log(x) is the natural logarithm »
tanh(x) is the hyperbolic tangent function »
0
y
-1
-2
y y′
y ( 1) 1
x y
600
400
(sampling y(1))
200
x
2 3 4
y(1) 1.
y
1.0
y( x)
0.5
x
2 3 4 5
Initial conditions:
y 1
More controls
ECUACION DE CLAIRAUT
23. y = xy ' + (y ')2
In[34]:= DSolve[y[x] == x y'[x] + y'[x]^2, y[x], x]
Input:
Clairaut's equation:
y( x) x y ′ ( x) + y′ ( x)2
Clairaut's equation »
ODE classification:
y( x) c1 x + c21
y y′
y ( 0) 1
x y
Im y
y y′
y ( 0) 1
x y Re y
80
60
40
(sampling y(0))
20
x
5 10 15 20 25 30
y(0) 1.
y
4 Re( y( x))
2
Im( y( x))
x
0.5 1.0 1.5 2.0
-2
Initial conditions:
y 0
More controls
Input:
′
DSolve y( x) -ⅇ y (x) + x y′ ( x), y( x), x
Clairaut's equation:
′
y ( x ) x y ′ ( x ) - ⅇ y ( x)
Clairaut's equation »
ODE classification:
y( x) c1 x - ⅇc1
x
200 400 600 800 1000
-1
(sampling y(0))
-2
-3
-4
could not numerically solve the differential equation for the specified parameters
Initial conditions:
y 1
More controls
ECUACIONES DE LAGRANGE
25. y = 2 xy ' - 2 y + 1
In[39]:= DSolve[y[x] == 1 - 2 y[x] + 2 x y'[x], y[x], x]
Input:
ODE names:
Separable equation:
y′ ( x) 1
1
(-1 + 3 y( x)) x
2
D'Alembert's equation:
1 1
y( x) x 2 y ′ ( x) +
3 3
d'Alembert's equation »
ODE classification:
1
y( x) c1 x3/2 +
3
1.0
0.5
y
0.0
-0.5
y y′
y ( 1) 1
x y
35
30
25
20 (sampling y(1))
15
10
5
x
4 6 8
y(1) 1.
y
10
6
y( x)
4
2
x
0 2 3 4 5
Initial conditions:
y 1
More controls
Input:
d'Alembert's equation:
y( x) x y ′ ( x)2 + y′ ( x)2
d'Alembert's equation »
ODE classification:
1
y( x) -4 c1 x + 1 + c21 + 4 ( x + 1)
4
1
y( x) 4 c1 x + 1 + c21 + 4 ( x + 1)
4
Im y
y y′
y ( 0) 1
x y Re y
y y′
y ( 0) 1
x y
80
60
(sampling y(0))
40
20
x
10 20 30 40 50 60
y(0) 1.
y
4 Re( y( x))
2
Im( y( x))
x
0.5 1.0 1.5 2.0 2.5 3.0
-2
Initial conditions:
y 0
More controls
ECUACIONES
DIFERENCIALES DE
ORDEN SUPERIOR
Printed by Wolfram Mathematica Student Edition
52 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb
ECUACIONES HOMOGÉNEAS
27. + 4 y '' - y ' = 0
In[44]:= DSolve[-y'[x] + 4 y''[x] == 0, y[x], x]
Input:
Autonomous equation:
4 y′′ ( x) y′ ( x)
Autonomous equation »
ODE classification:
x/4
y( x) c1 ⅇ + c2
y y′ y ( 0) 1
y ′ ( 0) 0
x y
y y′ y ( 0) 0
y ′ ( 0) 1
x y
10
5
(sampling y(0) and y′ (0))
x
2 4 6 8
-5
-10
y(0) 1.
y′ (0) 1.
y
10
6 y( x)
4
2
x
0 1 2 3 4
Initial conditions:
y 0
y ′ 0
More controls
Possible Lagrangian:
1
ℒ( y′ , y, x) ⅇ- x / 4 ( y ′ ) 2
2
Input:
Autonomous equation:
equation
-4 y( x) - 2 y′ ( x) + y(3) ( x) 0
Autonomous equation »
ODE classification:
y ( 0) 1
y y′
y ′ ( 0) 0
y′′ (0) 0
x y
y ( 0) 0
y y′
y ′ ( 0) 1
y′′ (0) 0
x y
y ( 0) 0
y y′
y ′ ( 0) 0
y′′ (0) 1
x y
x
0.5 1.0 1.5 2.0 2.5
-5
-20
-25
y(0) 1.
y′ (0) 1.
y′′ (0) 1.
800
600 y( x)
400
200
x
0.5 1.0 1.5 2.0 2.5 3.0 3.5
200
Initial conditions:
y 0
y ′ 0
y ′′ 0
More controls
Input:
ODE classification:
1 x2 sin( x) 6 cos( x)
y( x) c3 x + c 1 ⅇ6 x + c 2 - + -
y( x) c3 x + c1 ⅇ + c2 +
222 4 37 37
y ( 0) 1
y y′
y ′ ( 0) 0
y′′ (0) 0
x y
y ( 0) 0
y y′
y ′ ( 0) 1
y′′ (0) 0
x y
y ( 0) 0
y y′
y ′ ( 0) 0
y′′ (0) 1
x y
500
400
300
(sampling y(0), y′ (0) and y′′ (0))
200
100
x
0.5 1.0 1.5
-100
y(0) 1.
y′ (0) 1.
y′′ (0) 1.
y
107
107
y( x)
107
107
x
0.5 1.0 1.5 2.0 2.5 3.0 3.5
107
Initial conditions:
y 0
y ′ 0
y ′′ 0
More controls
Input:
ODE classification:
8ⅇ x
x
y ( x ) c 1 ⅇ x + c 2 ⅇ4 x -
3
y y′ y ( 0) 1
y ′ ( 0) 0
x y
y y′ y ( 0) 0
y ′ ( 0) 1
x y
50
40
10
x
0.2 0.4 0.6 0.8 1.0
y(0) 1.
y′ (0) 1.
y
106
106
y( x)
000
x
0.5 1.0 1.5 2.0 2.5 3.0 3.5
Initial conditions:
y 0
y ′ 0
More controls
Possible Lagrangian:
1
ℒ( y′ , y, x) -4 ⅇ-5 x y2 + ⅇ-5 x ( y′ )2 + 16 ⅇ-4 x y
2
Input:
Euler-Cauchy equation:
x3 y(3) ( x) + x y′ ( x) + y( x) 0
Euler-Cauchy equation »
ODE classification:
3
3 223 3 223
y( x) c3 x1+1+ⅈ + c2 x1+1-ⅈ + c1 x1- 2
y ( 1) 1
y y′
y ′ ( 1) 0
y′′ (1) 0
x y
y ( 1) 0
y y′
y ′ ( 1) 1
y′′ (1) 0
x y
y ( 1) 0
y y′
y ′ ( 1) 0
y′′ (1) 1
x y
40
x
10 15 20
10 15 20
-20
y(1) 1.
y′ (1) 1.
y′′ (1) 1.
y
4
y( x)
3
x
2 3 4 5
0
Initial conditions:
y 1
y ′ 1
y ′′ 1
More controls
32. x2 y '' = x + 2 y
In[54]:= DSolve[x^2 y''[x] == x + 2 y[x], y[x], x]
Input:
Euler-Cauchy equation:
x2 y′′ ( x) - 2 y( x) x
Euler-Cauchy equation »
ODE classification:
c1 x
y( x) c2 x2 + -
x 2
y y′ y ( 1) 1
y ′ ( 1) 0
x y
y y′ y ( 1) 0
y ′ ( 1) 1
x y
30
10
x
2 3 4 5 6 7 8
y(1) 1.
y′ (1) 1.
y
30
20
y( x)
10
x
2 3 4 5
Initial conditions:
y 1
y ′ 1
More controls
Possible Lagrangian:
1 2 y2 2y
ℒ( y′ , y, x) + + ( y′ )2
2 2 x
x