This is the first example which has non-constant coefficients, since \(Q = t\text{.}\)
\begin{equation*}
y^{\prime \prime} + ty = 0
\end{equation*}
\(P=0\) and \(Q=t\text{,}\) both of which are analytic everywhere, so I expect a series solution with infinite radius of convergence. I repeat the calculation from the previous example.
\begin{align*}
y \amp = \sum_{n=0}^\infty c_n t^n\\
y^\prime \amp = \sum_{n=1}^\infty c_n nt^{n-1}\\
y^{\prime\prime} \amp = \sum_{n=2}^\infty c_n
n(n-1)t^{n-2}\\
y^{\prime \prime} + ty \amp = \sum_{n=2}^\infty c_n
n(n-1)t^{n-2} + t\sum_{n=0}^\infty c_n t^n\\
y^{\prime \prime} + ty \amp = \sum_{n=2}^\infty c_n
n(n-1)t^{n-2} + \sum_{n=0}^\infty c_n t^{n+1}
\end{align*}
I’ve brought the \(t\) into the second series, which I have to do before I have any hope of combining them. Here, I could try to shift indices, but that wouldn’t help yet since the exponent are different. I have to make the exponents match first. I’ll shift both series so that the exponents are both \(t^n\text{.}\) This is shifting the index of the first series down by two and the index of the second series up by one.
\begin{align*}
\amp = \sum_{n=0}^\infty c_{n+2} (n+2)(n+1) t^n +
\sum_{n=1}^\infty c_{n-1} t^n
\end{align*}
Now the exponents are the same, but the starting indices are not. Shifting would mess up the exponents. So, instead, I take out terms. I’ll take out the \(0\)th term from the first series so that they both start at 1. After that, I can finally combine the series.
\begin{align*}
\amp = 2c_2 + \sum_{n=1}^\infty c_{n+2} (n+2)(n+1) t^n +
\sum_{n=1}^\infty c_{n-1} t^n
\end{align*}
\begin{align*}
\amp = 2c_2 + \sum_{n=1}^\infty \left[ c_{n+2}
(n+2)(n+1) + c_{n-1} \right] t^n = 0
\end{align*}
Since the right side is zero, all these coefficients to be zero. The constnat coefficient on the left is just \(2c_2=0\text{,}\) which implies \(c_2 = 0\text{.}\) For the rest, \(c_0\) and \(c_1\) are unknown and I can use the series to generate a recurrence relation.
\begin{align*}
(n+2)(n+1)c_{n+2} + c_{n-1} \amp = 0\\
c_{n+2} \amp = \frac{-c_{n-1}}{(n+2)(n+1)}\\
c_{n+3} \amp = \frac{-c_n}{(n+3)(n+2)}
\end{align*}
I shifted the recurrent relation in the last step, to make it a bit easier to read. This is a third order recurrence relation, which might imply that three starting values are needed. However, there are still only two parameters. This isn’t a problem, since I already calculated that \(c_2=0\text{,}\) which is essentially the third starting value. To try to see a pattern in the recurrence relation, I calculate some coefficients.
\begin{align*}
c_0 \amp = c_0\\
c_1 \amp = c_1\\
c_2 \amp = 0\\
c_3 \amp = \frac{-c_0}{(3)(2)}\\
c_4 \amp = \frac{-c_1}{(4)(3)}\\
c_5 \amp = \frac{-c_2}{(5)(4)} = 0\\
c_6 \amp = \frac{-c_3}{(6)(5)} =
\frac{c_0}{(6)(5)(3)(2)}\\
c_7 \amp = \frac{-c_4}{(7)(6)} =
\frac{c_1}{(7)(6)(4)(3)}\\
c_8 \amp = \frac{-c_5}{(8)(7)} = 0\\
c_9 \amp = \frac{-c_6}{(9)(8)} =
\frac{-c_0}{(9)(8)(6)(5)(3)(2)}\\
c_{10} \amp = \frac{-c_7}{(10)(9)} =
\frac{-c_1}{(10)(9)(7)(6)(4)(3)}\\
c_{11} \amp = \frac{-c_8}{(11)(10)} = 0
\end{align*}
I see that there are three groups of terms. Like before, where I used an indexing trick to refer to even and odd terms, I can use a similar indexing trick to refer to these three groups of terms.
Terms of the form \(c_{3n+2}\) are all zero, since they all relate back to \(c_2\text{.}\)
Terms of the form \(c_{3n}\) all involve \(c_0\text{.}\)
Terms of the form \(c_{3n+1}\) all involve \(c_1\text{.}\)
Expressing the coefficients in closed form is more difficult than before, but I still can intuite the general form. I use some factorial tricks to express the coefficients: the denominators are missing every third term, so if I mulitply numerator and denominator by those terms, I can write the denominator as a factorial.
\begin{align*}
c_{3n} \amp = \frac{(-1)^n (1)(4)(7)\ldots(3n-2)}{(3n)!}
c_0\\
c_{3n+1} \amp = \frac{(-1)^n
(2)(5)(8)\ldots(3n-1)}{(3n+1)!} c_1\\
c_{3n+2} \amp = 0
\end{align*}
Then I group the \(c_1\) terms into a series and the \(c_2\) terms into a series, to get a general solution.
\begin{align*}
y = \amp c_0 \left[ 1 + \sum_{n=1}^\infty \frac{(-1)^n
(1)(4)(7)\ldots(3n-2)}{(3n)!} t^{3n} \right] \\
\amp + c_1 \left[ t + \sum_{n=1}^\infty \frac{(-1)^n
(2)(5)(8)\ldots(n+2)}{(3n-1)!} t^{3n+1} \right]
\end{align*}
If I need to, I can easily check that each of these series has infinite radius of convergence.
I might wonder: what are these functions? These are two new, strange and unfamiliar functions. Unless I have the good fortune (as in the previous example) to recognize the resulting Taylor series, I simply treat the solutions as new functions. However, I still consider the DE solved, since Taylor series can be used to define new functions. I can know a great deal about a function based on its Taylor series, so this is a sufficient threshold of information to consider the DE solved.