In this post we answer the question how to extend periodic solution t[y]
up to $4 \pi$ and how to compute solution in a case of E^2>M^2
. Solution in a case of E=0
is given by
E0 = 0;
M = 5;
sol = DSolve[{t'[
y]^2 == (E0*Cos[y] - p*Sin[y])^2/((E0*Cos[y] - p*Sin[y])^2 -
M^2), t[1] == 2}, t, y]
Visualization
cp = Plot[Evaluate[t[y] /. sol /. p -> 5.942], {y, -Pi, Pi},
FrameLabel -> {"y", "t"}, PlotStyle -> Red, Frame -> True,
PlotLabel -> Row[{"E = ", E0}]];
fig1 = Show[
Show[MapAt[Translate[#, {0, 2 Pi}] &, cp, 1], cp,
MapAt[Translate[#, {0, -2 Pi}] &, cp, 1], PlotRange -> All],
Graphics[{Green, Thick, Line[{{0, -8}, {0, 13}}],
Line[{{Pi, -8}, {Pi, 13}}]}]]
Solution in a case of E0=6
is given by
E0 = 6;
M = 5;
sol1 = DSolve[{t'[
y]^2 == (E0*Cos[y] - p*Sin[y])^2/((E0*Cos[y] - p*Sin[y])^2 -
M^2), t[1] == 2}, t, y]
(*{{t -> Function[{y}, (144 Cos[1] Cos[y] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]] -
24 p Cos[y] Sin[1] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]] -
24 p Cos[1] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]] Sin[y] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]] +
4 p^2 Sin[1] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]] Sin[y] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]] +
6 Sqrt[2]
ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[1])/((-6 I +
p) Sqrt[-11 + 12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Cos[y] Sqrt[-(6 Cos[1] - p Sin[1])^2] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] -
6 Sqrt[2]
ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[1])/((6 I + p) Sqrt[-11 +
12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[1] Cos[
y] Sqrt[-(6 Cos[1] - p Sin[1])^2] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] -
Sqrt[2] p ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[1])/((-6 I +
p) Sqrt[-11 + 12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Sqrt[-(6 Cos[1] - p Sin[1])^2] Sin[y] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] +
Sqrt[2] p ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[1])/((6 I + p) Sqrt[-11 +
12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Sqrt[-(6 Cos[1] - p Sin[1])^2] Sin[y] Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] -
6 Sqrt[2]
ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[y])/((-6 I +
p) Sqrt[-11 + 12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[
1] Cos[y] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]]
Sqrt[-(6 Cos[y] - p Sin[y])^2]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] +
6 Sqrt[2]
ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[y])/((6 I + p) Sqrt[-11 +
12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[1] Cos[y] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]]
Sqrt[-(6 Cos[y] - p Sin[y])^2]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] +
Sqrt[2] p ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[y])/((-6 I +
p) Sqrt[-11 + 12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[
y] Sin[1] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]]
Sqrt[-(6 Cos[y] - p Sin[y])^2]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] -
Sqrt[2] p ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[y])/((6 I + p) Sqrt[-11 +
12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[y] Sin[1] Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]]
Sqrt[-(6 Cos[y] - p Sin[y])^2]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 -
p^2 Tan[y]^2])/(2 (-6 Cos[1] + p Sin[1]) Sqrt[
14 - p^2 - 36 Cos[2] + p^2 Cos[2] +
12 p Sin[2]] (-6 Cos[y] + p Sin[y]) Sqrt[
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] +
12 p Sin[2 y]])]}, {t ->
Function[{y}, (-144 Cos[1] Cos[y] + 24 p Cos[y] Sin[1] +
24 p Cos[1] Sin[y] - 4 p^2 Sin[1] Sin[y] +
6 Sqrt[2]
ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[1])/((-6 I +
p) Sqrt[-11 + 12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Cos[y] Sqrt[-((6 Cos[1] - p Sin[1])^2/(
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]))]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] -
6 Sqrt[2]
ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[1])/((6 I + p) Sqrt[-11 +
12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[1] Cos[
y] Sqrt[-((6 Cos[1] - p Sin[1])^2/(
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]))]
Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] -
Sqrt[2] p ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[1])/((-6 I +
p) Sqrt[-11 + 12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Sqrt[-((6 Cos[1] - p Sin[1])^2/(
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]))]
Sin[y] Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 - p^2 Tan[1]^2] +
Sqrt[2] p ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[1])/((6 I + p) Sqrt[-11 +
12 p Tan[1] - (-25 + p^2) Tan[1]^2])] Cos[
1] Sqrt[-((6 Cos[1] - p Sin[1])^2/(
14 - p^2 - 36 Cos[2] + p^2 Cos[2] + 12 p Sin[2]))]
Sin[y] Sqrt[-11 + 12 p Tan[1] + 25 Tan[1]^2 -
p^2 Tan[1]^2] -
6 Sqrt[2]
ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[y])/((-6 I +
p) Sqrt[-11 + 12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[
1] Cos[y] Sqrt[-((6 Cos[y] - p Sin[y])^2/(
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]))]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] +
6 Sqrt[2]
ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[y])/((6 I + p) Sqrt[-11 +
12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[1] Cos[
y] Sqrt[-((6 Cos[y] - p Sin[y])^2/(
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]))]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] +
Sqrt[2] p ArcTanh[(-11 -
6 I p + (-25 I + 6 p + I p^2) Tan[y])/((-6 I +
p) Sqrt[-11 + 12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[
y] Sin[1] Sqrt[-((6 Cos[y] - p Sin[y])^2/(
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]))]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 - p^2 Tan[y]^2] -
Sqrt[2] p ArcTanh[(
11 - 6 I p +
I (-25 + 6 I p + p^2) Tan[y])/((6 I + p) Sqrt[-11 +
12 p Tan[y] - (-25 + p^2) Tan[y]^2])] Cos[y] Sin[
1] Sqrt[-((6 Cos[y] - p Sin[y])^2/(
14 - p^2 - 36 Cos[2 y] + p^2 Cos[2 y] + 12 p Sin[2 y]))]
Sqrt[-11 + 12 p Tan[y] + 25 Tan[y]^2 -
p^2 Tan[y]^2])/(2 (6 Cos[1] - p Sin[1]) (-6 Cos[y] +
p Sin[y]))]}}*)
Visualization
cp1 = Plot[Evaluate[t[y] /. sol1 /. p -> 9.8], {y, -Pi, Pi},
FrameLabel -> {"y", "t"}, PlotStyle -> Red, Frame -> True,
PlotLabel -> Row[{"E = ", E0}]]
fig2 = Show[
Show[MapAt[Translate[#, {0, 2 Pi}] &, cp1, 1], cp1,
MapAt[Translate[#, {0, -2 Pi}] &, cp1, 1], PlotRange -> All],
Graphics[{Green, Thick, Line[{{0, -8}, {0, 13}}],
Line[{{Pi, -8}, {Pi, 13}}]}]]
Update 1 We can compare numerical solution proposed by Ulrich Neumann with exact solution as follows
erg[p_?NumericQ, E0_?NumericQ, M_?NumericQ] :=
NDSolve[{t'[\[Sigma]]^2 == (E0*Cos[\[Sigma]] -
p*Sin[\[Sigma]])^2/((E0*Cos[\[Sigma]] - p*Sin[\[Sigma]])^2 -
M^2), t[1] == 2}, t, {\[Sigma], -Pi, Pi},
Method -> {"StiffnessSwitching",
Method -> {"ExplicitRungeKutta", Automatic}},
WorkingPrecision -> 30]
Visualization in a case of E0=6
with cp1
computed above
Show[cp1,Plot[Evaluate[Chop[t[y] /. erg[4911/500, 6, 5]]], {y, -Pi, Pi},
PlotStyle -> {{Blue, Dashed}, {Blue, Dashed}}] // Quiet]