where
C
1
{\displaystyle C_{1}}
is a constant angle that comes in by integration.
Or, preferably, this may be written
y
=
A
sin
n
t
+
B
cos
n
t
{\displaystyle y=A\sin nt+B\cos nt}
, which is the solution.
Example 6.
d
2
y
d
t
2
−
n
2
y
=
0
{\displaystyle {\dfrac {d^{2}y}{dt^{2}}}-n^{2}y=0}
.
Here we have obviously to deal with a function
y
{\displaystyle y}
which is such that its second differential coefficient is proportional to itself. The only function we know that has this property is the exponential function (see p. 143), and we may be certain therefore that the solution of the equation will be of that form.
Proceeding as before, by multiplying through by
2
d
y
d
x
{\displaystyle 2{\dfrac {dy}{dx}}}
, and integrating, we get
2
d
2
y
d
x
2
d
y
d
x
−
2
x
2
y
d
y
d
x
=
0
{\displaystyle 2{\dfrac {d^{2}y}{dx^{2}}}\,{\dfrac {dy}{dx}}-2x^{2}y{\dfrac {dy}{dx}}=0}
, and, as
2
d
2
y
d
x
2
d
y
d
x
=
d
(
d
y
d
x
)
2
d
x
,
(
d
y
d
x
)
2
−
n
2
(
y
2
+
c
2
)
=
0
,
d
y
d
x
−
n
y
2
+
c
2
=
0
,
{\displaystyle {\begin{aligned}2{\frac {d^{2}y}{dx^{2}}}\,{\frac {dy}{dx}}={\frac {d\left({\dfrac {dy}{dx}}\right)^{2}}{dx}},\quad \left({\frac {dy}{dx}}\right)^{2}-n^{2}(y^{2}+c^{2})=0,\\{\frac {dy}{dx}}-n{\sqrt {y^{2}+c^{2}}}=0,\end{aligned}}}
where
c
{\displaystyle c}
is a constant, and
d
y
y
2
+
c
2
=
n
d
x
{\displaystyle {\dfrac {dy}{\sqrt {y^{2}+c^{2}}}}=n\,dx}
.
Now, if
w
=
log
ϵ
(
y
+
y
2
+
c
2
)
=
log
ϵ
u
{\displaystyle \quad w=\log _{\epsilon }(y+{\sqrt {y^{2}+c^{2}}})=\log _{\epsilon }u}
,
d
w
d
u
=
1
u
,
d
u
d
y
=
1
+
y
y
2
+
c
2
=
y
+
y
2
+
c
2
y
2
+
c
2
{\displaystyle {\frac {dw}{du}}={\frac {1}{u}},\quad {\frac {du}{dy}}=1+{\frac {y}{\sqrt {y^{2}+c^{2}}}}={\frac {y+{\sqrt {y^{2}+c^{2}}}}{\sqrt {y^{2}+c^{2}}}}}
and
d
w
d
y
=
1
y
2
+
c
2
{\displaystyle {\frac {dw}{dy}}={\frac {1}{\sqrt {y^{2}+c^{2}}}}}
.
Hence, integrating, this gives us
log
ϵ
(
y
+
y
2
+
c
2
)
=
n
x
+
log
ϵ
C
,
{\displaystyle \log _{\epsilon }(y+{\sqrt {y^{2}+c^{2}}})=nx+\log _{\epsilon }C,}
y
+
y
2
+
c
2
=
C
ϵ
n
x
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
(1)
{\displaystyle y+{\sqrt {y^{2}+c^{2}}}=C\epsilon ^{nx}.....................{\text{(1)}}}
Now
(
y
+
y
2
+
c
2
)
×
(
−
y
+
y
2
+
c
2
)
=
c
2
{\displaystyle \qquad (y+{\sqrt {y^{2}+c^{2}}})\times (-y+{\sqrt {y^{2}+c^{2}}})=c^{2}}
;
whence
−
y
+
y
2
+
c
2
=
c
2
C
ϵ
−
n
x
.
.
.
.
.
.
.
.
.
.
.
.
.
.
(2)
{\displaystyle \qquad -y+{\sqrt {y^{2}+c^{2}}}={\dfrac {c^{2}}{C}}\epsilon ^{-nx}..............{\text{(2)}}}