You are on page 1of 62

ECUACIONES DIFERENCIALES

Nombre: Armando Enrique Cortés González


ID: 000430669

Solución de la ED sin paso a paso

In[ ]:= DSolve[y '[t] == 1 / 3 y[t], y[t], t]


resolvedor diferencial

Out[]= y[t] → ⅇt/3 1 

Solución de la Ed con paso a paso

 DSolvey'[t] == 13 y[t], y[t], t


DSolve[Derivative[1][y][t] == (1 / 3) * y[t], y[t], t]

Input:

DSolve[Derivative[1][y][t] == (1 / 3) * y[t], y[t], t]

1
DSolve y′ (t)  y ( t ) , y( t ) , t 
3

Separable equation:

y′ (t )
1
y(t )
3

ODE classification:

first-order linear ordinary differential equation

Differential equation solutions: Approximate form

Solve as a separable equation |▾


Hide steps

DSolve[{Derivative[1][y][t] == y[t] / 3}, y[t], t]

y ( t )  c 1 ⅇt / 3

Printed by Wolfram Mathematica Student Edition


2 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

Possible intermediate steps:

ⅆ y(t ) y(t )
Solve the separable equation  :
ⅆt 3

y(t )
Divide both sides by :
3
ⅆ y(t )
3 ⅆt
1
y(t )

Integrate both sides with respect to t:


ⅆ y(t )
3 ⅆt
 ⅆt   1 ⅆt
y(t )

Evaluate the integrals:


3 log( y(t))  t + c1 , where c1 is an arbitrary constant.

Solve for y(t):

Answer:

y(t)  ⅇ1/3 (t+c1 )

Slope field: Fewer points

More points Slope field |▾

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

-1.0 -0.5 0.0 0.5


t

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 3

Plots of sample individual solution:

y y′
y ( 0)  1

t y

Sample solution family:

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

Solución de la ED y una condición inicial

Printed by Wolfram Mathematica Student Edition


4 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

1
In[ ]:= sol = DSolvey '[t] == y[t], y[0] ⩵ 400, y[t], t
resolvedor diferencial 3

Out[]= y[t] → 400 ⅇt/3 

Solución de la ED en un intervalo de la variable independiente.

In[ ]:= Plot[Evaluate[y[t] /. sol], {t, 0, 10}]


repr⋯ evalúa

10 000

8000

6000
Out[]=

4000

2000

2 4 6 8 10

SOLO PARA EL CASO DE E.D. DE RICATTI

SIN PASO A PASO: ARROJA LA SOLUCIÓN GENERAL


y[x] y[x]2
In[ ]:= DSolveValuey′ [x] ⩵ - 1 + + , y[x] ⩵ x, x
valor de resolución diferencial x x

BesselK1, 2 x
Out[]= - x - BesselK0, 2 x+ - BesselK2, 2 x+
x

BesselI1, 2 x 1
- + - BesselI0, 2 x  - BesselI2, 2 x  1 
2 x 2

2 x BesselK1, 2 x- x BesselI1, 2 x  1  ⩵ x

CON PASO A PASO: FIJESE QUE LA RECONOCE DE RICATTI Y ARROJA LA SOLUCIÓN GENERAL

In[ ]:=  DSolveValue[Derivative[1][y][x] ⩵ -1 + y[x]/x + y[x]^2/x,


valor de reso⋯ derivada

y[x] ⩵ x, x]
Derivative[1][y][x] ⩵ -1 + y[x]/x + y[x]^2/x
Differential equation solution

DSolve[{Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x}, y[x], x]

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 5

Using closest Wolfram|Alpha interpretation: Derivative[1][y][x] ⩵ -1 + y[x]/x + y[x]^2/x

Input:

Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x

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:

first-order nonlinear ordinary differential equation

Alternate forms:

FullSimplify[Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x]

y ( x ) ( y ( x ) + 1)
y′ ( x) + 1 
x

Simplify[Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x]

y( x)2 + y( x) - x
y′ ( x) 
x

Factor[Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x]

- y( x)2 - y( x) + x
y′ ( x)  -
x

Alternate form assuming x is positive:

FullSimplify[Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x, x > 0]


y ( x ) 2 + y ( x )  x ( y ′ ( x ) + 1)

Differential equation solution:

DSolve[{Derivative[1][y][x] == -1 + y[x] / x + y[x] ^ 2 / x}, y[x], x]

I 2  K 2 
   

Printed by Wolfram Mathematica Student Edition


6 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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 »

I_n(z) is the modified Bessel function of the first kind »

Slope field: Fewer points

More points Slope field |▾

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

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:

y

500

400

300 (sampling y(1))


200

100

x
1.2 1.4 1.6 1.8 2.0

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 7

1.2 1.4 1.6 1.8 2.0

Interactive differential equation solution plots:

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

BesselK1, 2 x
Out[]= y[x] → - x - BesselK0, 2 x+ - BesselK2, 2 x+
x

BesselI1, 2 x 1
- + - BesselI0, 2 x  - BesselI2, 2 x  1 
2 x 2

2 x BesselK1, 2 x- x BesselI1, 2 x  1  

Printed by Wolfram Mathematica Student Edition


8 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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 

In[ ]:= y[x] → 3 + x + x2 〚1, 1, 2〛

Out[]= 3 + x + x2

In[ ]:= Plot3 + x + x2 , {x, - 6.5, 5.5}


representación gráfica
40

30

Out[]= 20

10

-6 -4 -2 2 4

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 9

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:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

2
x
y( x)  c1 +
2

Slope field: Fewer points More points Slope field |▾

10

0
y

-5

-10

-10 -5 0 5 10
x

Plots of sample individual solution:

Printed by Wolfram Mathematica Student Edition


10 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

y y′
y ( 0)  1

x y

Sample solution family:


y

25

20

15 (sampling y(0))

10

x
1 2 3 4 5 6 7

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 11

In[ ]:=  DSolve[{y'[x] == 2 x y[x]}, y[x], x]

Using closest Wolfram|Alpha interpretation: y'[x] == 2 x y[x]

Input interpretation:

y′ ( x)  2 x y ( x)

Separable equation:
y′ ( x)
2x
y( x)

ODE classification:

first-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

2
y( x)  c1 ⅇ x

Slope field: Fewer points More points Slope field |▾

-2

-4

-6

-6 -4 -2 0 2 4 6

Printed by Wolfram Mathematica Student Edition


12 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

ECUACIONES DIFERENCIALES EXACTAS

4. y2 dx + 2 xydy = 0
In[ ]:=  DSolve[y[x]^2 + 2 x yy' == 0, y[x], x]

Using closest Wolfram|Alpha interpretation: y[x]^2 + 2 x yy' == 0

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:

first-order nonlinear ordinary differential equation

Alternate form:

y( x) (2 x y′ ( x) + y( x))  0

Differential equation solutions: Step-by-step solution

y( x)  0
c1
y( x) 
x

Slope field: Fewer points More points Slope field |▾

1.0

0.5

0.0
y

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 13

-0.5

-1.0

-1.0 -0.5 0.0 0.5


x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

2
(sampling y(1))

x
200 400 600 800 1000

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


14 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

5. xdx + (x + y) dy = 0
In[ ]:=  DSolve[x + (x + y[x]) y'[x] == 0, y[x], x]

Input:

DSolve[ x + ( x + y( x)) y′ ( x)  0, y( x), x]

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:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

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 »

Slope field: Fewer points More points Slope field |▾

1.0

0.5

0.0
y

-0.5

-1.0

-1.0 -0.5 0.0 0.5

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 15

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y

x
0.5 1.0 1.5 2.0 2.5 3.0
(sampling y(0))
-1

-2

-3

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


16 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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:

DSolve2 x y( x) +  x2 + cos( y( x)) y′ ( x)  0, y( x), x

Exact equation:

2 x y( x) ⅆ x +  x2 + cos( y( x)) ⅆ y  0
Exact equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

x2 y( x) + sin( y( x))  c1

Slope field: Fewer points More points Slope field |▾

10

0
y

-5

-10

-10 -5 0 5 10
x

Plots of sample individual solution:

y y′
y ( 0)  1

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 17

x y

Interactive differential equation solution plots:

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

In[ ]:=  DSolve[y[x] - x y'[x] == y[x]^3 y'[x], y[x], x]

Input:

DSolve y( x) - x y′ ( x)  y( x)3 y′ ( x), y( x), x

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solutions: Approximate forms Step-by-step solution

2 c1
3
3 8 c31 + 27 x2 - 9 x
y( x)  -
3
3 3
3 8 c31 + 27 x2 - 9 x 32/3

Printed by Wolfram Mathematica Student Edition


18 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y
8

4 (sampling y(0))

x
50 100 150

Interactive differential equation solution plots:

y(0)  1.
y

2.5

2.0
y( x)
1.5

x
1 2 3 4

Initial conditions:

y  0

More controls

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 19

8. 2 y2 x - y dx + xdy = 0
In[ ]:=  DSolve[2 x y[x]^2-y[x]) + x y'[x] == 0, y[x], x]

An attempt was made to fix mismatched parentheses, brackets, or braces.

Input:

DSolve2 x y( x)2 - y( x) + x y′ ( x)  0, y( x), x

Bernoulli's equation:
y( x)
y′ ( x)  - 2 y( x ) 2
x
Bernoulli's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

x
y( x) 
c1 + x2

Slope field: Fewer points More points Slope field |▾

10

0
y

-5

-10

-10 -5 0 5 10
x

Plots of sample individual solution:

Printed by Wolfram Mathematica Student Edition


20 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

y y′
y ( 1)  1

x y

Sample solution family:


y

2.5

2.0

1.5 (sampling y(1))


1.0

0.5

x
1.5 2.0 2.5

Interactive differential equation solution plots:

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:

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 21

first-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

y( x)  c1 ⅇx + ⅇ2 x + 1

Slope field: Fewer points More points Slope field |▾

1.5

1.0

0.5

0.0
y

-0.5

-1.0

-1.5

-1.5 -1.0 -0.5 0.0 0.5 1.0 1.5


x

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y

80

60
(sampling y(0))
40

20

x
0.5 1.0 1.5 2.0

Interactive differential equation solution plots:

y(0)  1.
y

1500

1000

Printed by Wolfram Mathematica Student Edition


22 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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:

DSolve y( x) + ⅇ-x  + y′ ( x)  0, y( x), x

ODE classification:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

-x -x
y( x)  c1 ⅇ - ⅇ x

Slope field: Fewer points More points Slope field |▾

0
y

-1

-2

-3

-4
-4 -2 0 2 4
x

Plots of sample individual solution:

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 23

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y
1.5

1.0
(sampling y(0))
0.5

x
5 10 15 20 25 30

Interactive differential equation solution plots:

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

ECUACIÓN DIFERENCIAL LINEAL

Printed by Wolfram Mathematica Student Edition


24 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

11. (t + y + 1) dt - dy = 0
In[ ]:=  DSolve[1 + t + y[t] - y'[t] == 0, y[t], t]

Input:

DSolve[1 + t + y(t) - y′ (t)  0, y(t), t]

d'Alembert's equation:

y(t)  t (-1) - 1 + y′ (t)


d'Alembert's equation »

ODE classification:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

y(t )  c1 ⅇ - t - 2
t

Slope field: Fewer points More points Slope field |▾

1.0

0.5

0.0
y

-0.5

-1.0

-1.0 -0.5 0.0 0.5


t

Plots of sample individual solution:

y y′
y ( 0)  1

t y

Sample solution family:


y

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 25

40

30
(sampling y(0))
20

10

t
0.5 1.0 1.5 2.0 2.5

Interactive differential equation solution plots:

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:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

c1 log( x)
y( x)  +
x x

Printed by Wolfram Mathematica Student Edition


26 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

log(x) is the natural logarithm »

Slope field: Fewer points More points Slope field |▾

10

0
y

-5

-10

-10 -5 0 5 10
x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y
1.5

1.4

1.3

1.2 (sampling y(1))


1.1

1.0

x
1.1 1.2 1.3 1.4 1.5 1.6

Interactive differential equation solution plots:

y(1)  1.
y
1.2

1.0

0.8
y( x)

0.6
x
2 3 4 5

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 27

2 3 4 5
0.4

Initial conditions:

y  1

More controls

ECUACIONES REDUCIBLES A SEPARACIÓN DE


VARIABLES
dy
13. = tan2 (x + y)
dx
In[2]:=  DSolve[y'[x] == Tan[x + y[x]]^2, y[x], x]

Input:

DSolve y′ ( x)  tan2 ( x + y( x)), y( x), x

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

1
2 y( x ) + (-2 y( x) + sin(2 ( y( x) + x)) - 2 x)  c1
2

Slope field: Fewer points More points Slope field |▾

10

0
y

Printed by Wolfram Mathematica Student Edition


28 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

-5

-10

-15
-15 -10 -5 0 5 10 15
x

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 29

In[10]:=  DSolve[y'[x] == -1 + E^(-1 + x + y[x]), y[x], x]

Input:

DSolve y′ ( x)  -1 + ⅇ-1+x+ y(x) , y( x), x

Result:

{{ y[ x] → 1 - x - Log[- x - 1 ]}}
log(x) is the natural logarithm »

ECUACIONES DIFERENCIALES HOMOGÉNEAS


15. (x + y) dx + xdy = 0

In[12]:=  DSolve[x + y[x] + x y'[x] == 0, y[x], x]

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:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

c1 x
y( x)  -
x 2

Printed by Wolfram Mathematica Student Edition


30 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

Slope field: Fewer points More points Slope field |▾

1.0

0.5

0.0
y

-0.5

-1.0

-1.0 -0.5 0.0 0.5


x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

1.4

1.2
(sampling y(1))
1.0

0.8

x
1.05 1.10 1.15 1.20 1.25

Interactive differential equation solution plots:

y(1)  1.
y

x y( x)
2 3 4 5
-1

-2

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 31

-3

Initial conditions:

y  1

More controls

16. xy + y2 dx - x2 dy = 0


In[14]:=  DSolve[x y[x] + y[x]^2 - x^2 y'[x] == 0, y[x], x]

Input:

DSolve x y( x) + y( x)2 - x2 y′ ( x)  0, y( x), x

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:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

x
y( x) 
c1 - log( x)
log(x) is the natural logarithm »

Slope field: Fewer points More points Slope field |▾


10

Printed by Wolfram Mathematica Student Edition


32 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

y
0

-5

-5 0 5 10
x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

500

400

300 (sampling y(1))


200

100

x
1.5 2.0 2.5

Interactive differential equation solution plots:

y(1)  1.
y

60

40
y( x)
20

x
1.5 2.0 2.5

-20

Initial conditions:

y  1

More controls

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 33

ECUACIONES REDUCIBLES A HOMOGÉNEAS


17. (x - y + 1) dy - (x + y - 1) dx = 0
In[16]:=  DSolve[1 - x - y[x] + (1 + x - y[x]) y'[x] == 0, y[x], x]

Input:

DSolve[1 - x - y( x) + (1 + x - y( x)) y′ ( x)  0, y( x), x]

d'Alembert's equation:
x (-1 + y′ ( x))
y( x)  +1
1 + y′ ( x)
d'Alembert's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

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 »

Slope field: Fewer points More points Slope field |▾

2.0

1.5

1.0
y

0.5

Printed by Wolfram Mathematica Student Edition


34 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

0.0
-1.0 -0.5 0.0 0.5
x

Plots of sample individual solution:

y y′ 1
y ( 0)  2

x y

Sample solution family:


y
0.9

0.8

0.7

0.6 (sampling y(0))


0.5

0.4

x
0.05 0.10 0.15 0.20 0.25 0.30 0.35

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 35

In[19]:=  DSolve[-7 - 4 x + 3 y[x] - (1 + x) y'[x] == 0, y[x], x]

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:

first-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

3
y ( x )  c 1 ( x + 1) + 2 x + 3

Slope field: Fewer points More points Slope field |▾

2.0

1.5

1.0
y

0.5

0.0
-2.0 -1.5 -1.0 -0.5
x

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y

x
0.5 1.0 1.5
5

Printed by Wolfram Mathematica Student Edition


36 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

-5
-10
-15 (sampling y(0))
-20
-25
-30
-35

Interactive differential equation solution plots:

y(0)  1.
y
100

x
1 2 3 4

100
y( x)

200

300

Initial conditions:

y  0

More controls

ECUACIONES DIFERENCIAL DE BERNOULLI


dy
19. x + y = x 2 y2
dx
In[22]:=  DSolve[y[x] + x y'[x] == x^2 y[x]^2, y[x], x]

Input:

DSolve y( x) + x y′ ( x)  x2 y( x)2 , y( x), x

Bernoulli's equation:

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 37

Bernoulli s equation:
y( x)
y′ ( x)  - + x y ( x)2
x
Bernoulli's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

1
y( x)  -
x (c1 + x)

Slope field: Fewer points More points Slope field |▾

0
y

-1

-2

-3

-3 -2 -1 0 1 2 3
x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

600

400
(sampling y(1))

200

x
1.2 1.4 1.6 1.8 2.0 2.2

Printed by Wolfram Mathematica Student Edition


38 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

Interactive differential equation solution plots:

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:

DSolve y( x) + x y( x)3 + y′ ( x)  0, y( x), x

Bernoulli's equation:

y′ ( x)  - y( x) - x y ( x)3
Bernoulli's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solutions: Approximate forms Step-by-step solution

2
y( x)  -
c 1 ⅇ2 x - 2 x - 1
2

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 39

2
y( x) 
c 1 ⅇ2 x - 2 x - 1

Slope field: Fewer points More points Slope field |▾

0
y

-5

-5 0 5
x

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Sample solution family:


y

(sampling y(0))
2

x
0.5 1.0 1.5 2.0 2.5 3.0 3.5

Interactive differential equation solution plots:

y(0)  1.
y

1.0

y( x)
0.5

Printed by Wolfram Mathematica Student Edition


40 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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]:=
 DSolveValuey [x] ⩵ -1 + x + 2 y , y[x] ⩵ x, x
valor de resolución diferencial x

Using closest Wolfram|Alpha interpretation: Derivative[1][y][x] == -1 + 1/x + 1/x^2 y^2

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:

first-order nonlinear ordinary differential equation

Alternate forms:

y( x)2

( ) 1

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 41

x y ′ ( x) + x  +1
x
x2 - y( x)2 - x
y′ ( x)  -
x2

Alternate form assuming x is positive:

y ( x ) 2  x ( x y ′ ( x ) + x - 1)

Differential equation solution:

y( x) 

1 1 3/2+ 5 2+1/2 1- 5 1 1 5 1


- x2 c1 - Γ1 - 5  J-1- 5 2 - J 1- 5 2 - + 1 - 5
2 x x x 2 2

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 + 5J 5 2
x x x x

J_n(z) is the Bessel function of the first kind »


Γ(x) is the gamma function »

Slope field: Fewer points More points Slope field |▾

10

0
y

Printed by Wolfram Mathematica Student Edition


42 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

-5

-10

-10 -5 0 5 10
x

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y
600
500
400
300 (sampling y(1))
200
100
x
1.5 2.0 2.5

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 43

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:

DSolve x3 y′ ( x)  -1 - 2 x2 y( x) + x4 y( x)2 , y( x), x

Riccati's equation:
2 y( x ) 1
y′ ( x)  x y ( x)2 - -
x x3
Riccati's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

tanh(log( x) - ⅈ c1 )
y( x)  -
x2
log(x) is the natural logarithm »
tanh(x) is the hyperbolic tangent function »

Slope field: Fewer points More points Slope field |▾

0
y

-1

-2

-1.5 -1.0 -0.5 0.0 0.5 1.0 1.5


x

Printed by Wolfram Mathematica Student Edition


44 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

600

400
(sampling y(1))

200

x
2 3 4

Interactive differential equation solution plots:

y(1)  1.
y

1.0

y( x)
0.5

x
2 3 4 5

Initial conditions:

y  1

More controls

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 45

ECUACION DE CLAIRAUT
23. y = xy ' + (y ')2
In[34]:=  DSolve[y[x] == x y'[x] + y'[x]^2, y[x], x]

Input:

DSolve y( x)  x y′ ( x) + y′ ( x)2 , y( x), x

Clairaut's equation:

y( x)  x y ′ ( x) + y′ ( x)2
Clairaut's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solution: Step-by-step solution

y( x)  c1 x + c21

Plots of sample individual solution:

y y′
y ( 0)  1

x y

Im y
y y′
y ( 0)  1

x y Re y

Sample solution family:


y

80

60

Printed by Wolfram Mathematica Student Edition


46 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

40
(sampling y(0))

20

x
5 10 15 20 25 30

Interactive differential equation solution plots:

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

24. y = xy ' - ey'

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 47

In[36]:=  DSolve[y[x] == -E^y'[x] + x y'[x], y[x], x]

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:

first-order nonlinear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

y( x)  c1 x - ⅇc1

Sample solution family:


y

x
200 400 600 800 1000
-1

(sampling y(0))
-2

-3

-4

Interactive differential equation solution plots:

could not numerically solve the differential equation for the specified parameters

Initial conditions:

y  1

More controls

Printed by Wolfram Mathematica Student Edition


48 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

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:

DSolve[ y( x)  1 - 2 y( x) + 2 x y′ ( x), y( x), x]

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:

first-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

1
y( x)  c1 x3/2 +
3

Slope field: Fewer points More points Slope field |▾

1.0

0.5
y

0.0

-0.5

-1.0 -0.5 0.0 0.5


x

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 49

Plots of sample individual solution:

y y′
y ( 1)  1

x y

Sample solution family:


y

35
30
25
20 (sampling y(1))
15
10
5
x
4 6 8

Interactive differential equation solution plots:

y(1)  1.
y

10

6
y( x)
4

2
x
0 2 3 4 5

Initial conditions:

y  1

More controls

26. y = x (y ')2 + (y ')2

Printed by Wolfram Mathematica Student Edition


50 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

In[42]:=  DSolve[y[x] == y'[x]^2 + x y'[x]^2, y[x], x]

Input:

DSolve y( x)  y′ ( x)2 + x y′ ( x)2 , y( x), x

d'Alembert's equation:

y( x)  x y ′ ( x)2 + y′ ( x)2
d'Alembert's equation »

ODE classification:

first-order nonlinear ordinary differential equation

Differential equation solutions: Step-by-step solution

1
y( x)  -4 c1 x + 1 + c21 + 4 ( x + 1)
4
1
y( x)   4 c1 x + 1 + c21 + 4 ( x + 1)
4

Plots of sample individual solution:

Im y
y y′
y ( 0)  1

x y Re y

y y′
y ( 0)  1

x y

Sample solution family:


y

80

60

(sampling y(0))
40

20

x
10 20 30 40 50 60

Interactive differential equation solution plots:

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 51

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:

DSolve[- y′ ( x) + 4 y′′ ( x)  0, y( x), x]

Autonomous equation:

4 y′′ ( x)  y′ ( x)
Autonomous equation »

ODE classification:

second-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

x/4
y( x)  c1 ⅇ + c2

Plots of sample individual solutions:

y y′ y ( 0)  1
y ′ ( 0)  0

x y

y y′ y ( 0)  0
y ′ ( 0)  1

x y

Sample solution family:


y

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 53

10

5
(sampling y(0) and y′ (0))
x
2 4 6 8
-5

-10

Interactive differential equation solution plots:

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

28. y ''' - 2 y ' - 4 y = 0


In[46]:=  DSolve[-4 y[x] - 2 y'[x] + y'''[x] == 0, y[x], x]

Input:

DSolve-4 y( x) - 2 y′ ( x) + y(3) ( x)  0, y( x), x

Autonomous equation:

Printed by Wolfram Mathematica Student Edition


54 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

equation

-4 y( x) - 2 y′ ( x) + y(3) ( x)  0
Autonomous equation »

ODE classification:

third-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

y( x)  c3 ⅇ2 x + c1 ⅇ-x sin( x) + c2 ⅇ-x cos( x)

Plots of sample individual solutions:

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

Sample solution family:


y

x
0.5 1.0 1.5 2.0 2.5
-5

-10 (sampling y(0), y′ (0) and y′′ (0))


-15

-20

-25

Interactive differential equation solution plots:

y(0)  1.
y′ (0)  1.
y′′ (0)  1.

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 55

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

ECUACIONES NO HOMOGÉNEAS CON


COEFICIENTES CONSTANTES

29. y ''' - 6 y '' = 3 - cosx


In[48]:=  DSolve[-6 y''[x] + y'''[x] == 3 - Cos[x], y[x], x]

Input:

DSolve-6 y′′ ( x) + y(3) ( x)  3 - cos( x), y( x), x

ODE classification:

third-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

1 x2 sin( x) 6 cos( x)
y( x)  c3 x + c 1 ⅇ6 x + c 2 - + -

Printed by Wolfram Mathematica Student Edition


56 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

y( x)  c3 x + c1 ⅇ + c2 +
222 4 37 37

Plots of sample individual solutions:

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

Sample solution family:


y

500
400
300
(sampling y(0), y′ (0) and y′′ (0))
200
100
x
0.5 1.0 1.5
-100

Interactive differential equation solution plots:

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

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 57

Initial conditions:

y  0

y ′  0

y ′′ 0

More controls

30. y '' - 5 y ' + 4 y = 8 ex


In[50]:=  DSolve[4 y[x] - 5 y'[x] + y''[x] == 8 E^x, y[x], x]

Input:

DSolve4 y( x) - 5 y′ ( x) + y′′ ( x)  8 ⅇx , y( x), x

ODE classification:

second-order linear ordinary differential equation

Differential equation solution: Approximate form Step-by-step solution

8ⅇ x
x
y ( x )  c 1 ⅇ x + c 2 ⅇ4 x -
3

Plots of sample individual solutions:

y y′ y ( 0)  1
y ′ ( 0)  0

x y

y y′ y ( 0)  0
y ′ ( 0)  1

x y

Sample solution family:


y

Printed by Wolfram Mathematica Student Edition


58 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

50

40

30 (sampling y(0) and y′ (0))


20

10

x
0.2 0.4 0.6 0.8 1.0

Interactive differential equation solution plots:

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

E.D. CAUCHY EULER


31. x3 y ''' + xy ' + y = 0

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 59

In[52]:=  DSolve[y[x] + x y'[x] + x^3 y'''[x] == 0, y[x], x]

Input:

DSolve y( x) + x y′ ( x) + x3 y(3) ( x)  0, y( x), x

Euler-Cauchy equation:

x3 y(3) ( x) + x y′ ( x) + y( x)  0
Euler-Cauchy equation »

ODE classification:

third-order linear ordinary differential equation

Differential equation solution: Step-by-step solution

3
3 223 3 223
y( x)  c3 x1+1+ⅈ + c2 x1+1-ⅈ + c1 x1- 2

Plots of sample individual solutions:

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

Sample solution family:


y

40

20 (sampling y(1), y′ (1) and y′′ (1))

x
10 15 20

Printed by Wolfram Mathematica Student Edition


60 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

10 15 20

-20

Interactive differential equation solution plots:

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:

DSolve x2 y′′ ( x)  x + 2 y( x), y( x), x

Euler-Cauchy equation:

x2 y′′ ( x) - 2 y( x)  x
Euler-Cauchy equation »

ODE classification:

second-order linear ordinary differential equation

Printed by Wolfram Mathematica Student Edition


LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb 61

Differential equation solution: Step-by-step solution

c1 x
y( x)  c2 x2 + -
x 2

Plots of sample individual solutions:

y y′ y ( 1)  1
y ′ ( 1)  0

x y

y y′ y ( 1)  0
y ′ ( 1)  1

x y

Sample solution family:


y

30

20 (sampling y(1) and y′ (1))

10

x
2 3 4 5 6 7 8

Interactive differential equation solution plots:

y(1)  1.
y′ (1)  1.
y

30

20
y( x)
10

x
2 3 4 5

Initial conditions:

y  1

Printed by Wolfram Mathematica Student Edition


62 LABORATORIO DE ED CON WOLFRAM MATHEMATICA.nb

y ′  1

More controls

Possible Lagrangian:

1 2 y2 2y
ℒ( y′ , y, x)  + + ( y′ )2
2 2 x
x

Printed by Wolfram Mathematica Student Edition

You might also like