You are on page 1of 6

Prctica 2.

Ecuaciones diferenciales
Ejercicios

1. Siendo ds = 36
aL
DSolve@y ''@xD Sin@2 xD + Exp@- 2 xD, y@xD, xD
::y@xD

-2 x

1
+ C@1D + x C@2D -

Sin@2 xD>>
4

carac = r ^ 2 0
r2 0
Solve@caracD
88r 0<, 8r 0<<
bL
DSolve@ y ''@xD - y@xD 0, y@xD, xD
::y@xD

C@1D +

C@2D>>

carac1 = r ^ 2 - 0
- + r2 0
Solve@carac1D
::r -

>, :r

>>

cL
ecu@y_D := D@y, 8x, 4<D - 11 D@y, 8x, 3<D + 41 D@y, 8x, 2<D - 61 D@y, xD + 30 y
DSolve@8ecu@y@xDD 0, y@0D 36<, y@xD, xD
99y@xD x I36 - C@2D + x C@2D - C@3D + 2 x C@3D - C@4D + 4 x C@4DM==
carac2 = r ^ 4 - 11 r ^ 3 + 41 r ^ 2 - 61 r + 30 0
30 - 61 r + 41 r2 - 11 r3 + r4 0
Solve@carac2D
88r 1<, 8r 2<, 8r 3<, 8r 5<<
Como vemos en todos los casos,
las soluciones que obtenemos como races de la ecuacin caracterstica,
son tambin la soluciones de la ecuacin diferencial.

2. Siendo d1 = 7
Determinamos las soluciones de la ecuacin diferencial
particularizando para que por el punto H0, 7L pase una recta con pendiente 3

Printed by Mathematica for Students

Ecuaciones diferenciales.nb

sol1 = DSolve@8y ''''''@xD + 2 y ''''@xD + y ''@xD x + x , y@0D 7, y '@0D 3<,


y@xD, x, GeneratedParameters KD
::y@xD
1
12

I3 x + 2 x3 + 81 Cos@xD - 33 x Cos@xD - 12 x Cos@xD K@3D + 12 K@5D - 12 Cos@xD K@5D + 12 x K@6D +


12 x Cos@xD K@6D + 66 Sin@xD + 12 K@3D Sin@xD - 12 x K@4D Sin@xD - 24 K@6D Sin@xDM>>

Plot@Evaluate@Table@Hy@xD . sol1L@@1DD, 8K@3D, - 1, 1<,


8K@4D, - 1, 1<, 8K@5D, - 1, 1<, 8K@6D, - 1, 1<DD, 8x, - 1, 1<D

-1.0

-0.5

0.5

1.0

3. Siendo d1 = 7 y ds = 36
Las ecuaciones diferenciales de cada conjunto sern
aL
Wronskian@8x, x ^ 2, x ^ 3, y@xD<, xD
2 I- 6 y@xD + x I6 y @xD + x I- 3 y @xD + x yH3L @xDMMM
bL
WronskianA9x , -7 x , 2 x , y@xD=, xE
- 72 -4 x I14 y@xD - 19 y @xD + 4 y @xD + yH3L @xDM
cL
Wronskian@8x , Cos@xD, Sin@xD, y@xD<, xD
- 2 x Iy@xD - y @xD + y @xD - yH3L @xDM
dL
WronskianA936 x * Cos@2 xD, 36 x * Sin@2 xD, 0, 1, y@xD=, xE
0

4.
Las funciones de Airy se definen como las soluciones de la siguiente ecuacin diferencial

Printed by Mathematica for Students

Ecuaciones diferenciales.nb

DSolve@y ''@xD - x y@xD 0, y@xD, xD

88y@xD AiryAi@xD C@1D + AiryBi@xD C@2D<<


Y as representadas
Plot@8AiryAi@xD<, 8x, - 20, 5<D

0.4

0.2

-20

-15

-10

-5

5
-0.2

-0.4

Plot@8AiryBi@xD<, 8x, - 20, 5<D


2.5
2.0
1.5
1.0
0.5

-20

-15

-10

-5

5
-0.5

Plot@8AiryAi@xD, AiryBi@xD<, 8x, - 5, 5<D

-4

-2

Luego realizamos el proceso a la inversa,


hallamos la ecuacin diferencial que tenga como solucin a estas funciones

Printed by Mathematica for Students

Ecuaciones diferenciales.nb

Wronskian@8AiryAi@xD, AiryBi@xD, y@xD<, xD


- x y@xD + y @xD

5. Siendo d2 = 7 y d4 = 8
L7@x_D := LegendreP@7, xD
L8@x_D := LegendreP@8, xD
ecuacion@y_D := H1 - x ^ 2L D@y, 8x, 2<D - 2 x D@y, xD + a Ha + 1L y
Solve@ecuacion@L7@xDD 0, aD
88a - 8<, 8a 7<<

Solve@ecuacion@L8@xDD 0, aD
88a - 9<, 8a 8<<
As obtenemos

6. Siendo ds = 36
solu = NDSolveA9y '''@xD - y '@xD 36 x , y@1D 1, y '@1D 0, y ''@1D 1=, y@xD, 8x, - 1, 1<E
88y@xD InterpolatingFunction @881., 1.<<, <>D@xD<<
Plot@y@xD . solu, 8x, - 1, 1<D
1.0

0.8

0.6

0.4

0.2

-1.0

-0.5

0.5

1.0

7. Siendo d2 = 7
solucion = DSolve@8H2 x + 3L ^ 3 y ''@xD + 2 H2 x + 3L ^ 2 y '@xD - 4 H2 x + 3L y@xD H2 x + 3L ^ 2,
y@0D 0, y '@0D 7<, y@xD, xD
::y@xD

8 H3 + 2 xL

I162 x + 54 x2 - 5 Log@3D - 6 x Log@3D - 2 x2 Log@3D -

4 Log@6D - 6 x Log@6D - 2 x2 Log@6D + 5 Log@3 + 2 xD + 6 x Log@3 + 2 xD +


2 x2 Log@3 + 2 xD + 4 Log@6 + 4 xD + 6 x Log@6 + 4 xD + 2 x2 Log@6 + 4 xDM>>

Printed by Mathematica for Students

Ecuaciones diferenciales.nb

Plot@y@xD . solucion, 8x, - 1, 1<D


5

-1.0

-0.5

0.5

1.0

-5

-10

8. Siendo ds = 36
s = DSolve@8y '@xD x - y@xD ^ 2 + 36 y@xD, y@0D 0<, y@xD, xD

88y@xD H- 324 AiryAi@324 + xD AiryBi@324D - 18 AiryAiPrime@324 + xD AiryBi@324D +


324 AiryAi@324D AiryBi@324 + xD + 18 AiryAiPrime@324D AiryBi@324 + xD 18 AiryAi@324 + xD AiryBiPrime@324D - AiryAiPrime@324 + xD AiryBiPrime@324D +
18 AiryAi@324D AiryBiPrime@324 + xD + AiryAiPrime@324D AiryBiPrime@324 + xDL
H- 18 AiryAi@324 + xD AiryBi@324D + 18 AiryAi@324D AiryBi@324 + xD +
AiryAiPrime@324D AiryBi@324 + xD - AiryAi@324 + xD AiryBiPrime@324DL<<
Simplify@sD
88y@xD H18 AiryAi@324 + xD H18 AiryBi@324D + AiryBiPrime@324DL +
AiryAiPrime@324 + xD H18 AiryBi@324D + AiryBiPrime@324DL H18 AiryAi@324D + AiryAiPrime@324DL H18 AiryBi@324 + xD + AiryBiPrime@324 + xDLL
H- H18 AiryAi@324D + AiryAiPrime@324DL AiryBi@324 + xD +
AiryAi@324 + xD H18 AiryBi@324D + AiryBiPrime@324DLL<<
y1 @x_D = 0 + Integrate@t + 0 ^ 2 + 36 0, 8t, 0, x<D
x2
2

y2 @x_D = 0 + Integrate@t + y1 @xD ^ 2 + 36 y1 @xD, 8t, 0, x<D


x2

+ 18 x3 +

x5

y3 @x_D = 0 + Integrate@t + y2 @xD ^ 2 + 36 y2 @xD, 8t, 0, x<D


x2

+ 18 x3 + 648 x4 +

x5

+ 27 x6 + 324 x7 +

x8

+ 9 x9 +

x11
16

y4 @x_D = 0 + Integrate@t + y3 @xD ^ 2 + 36 y3 @xD, 8t, 0, x<D


x2

+ 18 x3 + 648 x4 +

93 313 x5

+ 27 x6 + 1944 x7 +

139 969 x8
+

419 949 x9 + 1944 x10 +

746 501 x11

1 679 751 x12


+

16
419 985 x15
4

+ 729 x16 +

466 563 x14


+

186 627 x17

16

63 x18
+

32

+ 1539 x13 +

243 x19
+

x20
+

9 x21
+

32

Printed by Mathematica for Students

x23
+

256

Ecuaciones diferenciales.nb

Plot@8y@xD . s, y4 @xD<, 8x, - 5, 5<,


PlotStyle 88Blue, Thick<, 8Red, Thick<<, PlotRange AllD
1 1016

5 1015

-4

-2

-5 1015

-1 1016

Printed by Mathematica for Students

You might also like