In PLA1, p26,
Prove that if
f”(t) + c^2f(t) = 0,
then there exist constants
f(t) = a\cos{ct} + b\sin{ct}.
This can be done by differentiating the two functions
Obviously we need that
Smart! But how to get the trick?
See
f(t) = a\cos{ct} + b\sin{ct},
then by differentiating the equation, we get
f'(t) = -ac\sin{ct} + bc\cos{ct}
Now we get equations with two variables
\left\{
\begin{array}{rl}
a\cos{ct} + b\sin{ct} &= f(t)\\
-ac\sin{ct} + bc\cos{ct} &= f'(t).
\end{array}
\right.
Solving it by simple linear algebra theorem,
\left\{
\begin{array}{l}
a = f(t)\cos{ct} – c^{-1}f'(t)\sin{ct}\\
b = f(t)\sin{ct} + c^{-1}f'(t)\cos{ct}.
\end{array}
\right.
and let
Leave your comment