- #1
rghurst
- 7
- 0
- TL;DR Summary
- Can someone please explain why the solution provided by the characteristic equation does not entirely match the series solution? Thanks.
pasmith said:You are representing a vector, [itex]y[/itex], with respect to two different bases. The first basis - the obvious one obtained from the characteristic polynomial - is [itex]\{e^x, xe^x\}[/itex] and the components are [itex]c_1[/itex] and [itex]c_2[/itex]. The second basis, obtained from the series solution - is [itex]\{e^x, e^x - xe^x\}[/itex] and the components are [itex]a_0[/itex] and [itex]a_1[/itex]. These components are related by [tex]
\begin{pmatrix} c_1 \\ c_2 \end{pmatrix} =
\begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix}
\begin{pmatrix} a_0 \\ a_1\end{pmatrix}.[/tex] You should not expect different solution methods to give you exactly the same basis. However, for given initial or boundary conditions you should expect them to give the same solution.
This makes full sense to me now. Thanks.pasmith said:You are representing a vector, [itex]y[/itex], with respect to two different bases. The first basis - the obvious one obtained from the characteristic polynomial - is [itex]\{e^x, xe^x\}[/itex] and the components are [itex]c_1[/itex] and [itex]c_2[/itex]. The second basis, obtained from the series solution - is [itex]\{e^x, e^x - xe^x\}[/itex] and the components are [itex]a_0[/itex] and [itex]a_1[/itex]. These components are related by [tex]
\begin{pmatrix} c_1 \\ c_2 \end{pmatrix} =
\begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix}
\begin{pmatrix} a_0 \\ a_1\end{pmatrix}.[/tex] You should not expect different solution methods to give you exactly the same basis. However, for given initial or boundary conditions you should expect them to give the same solution.
A series solution for a 2nd-order homogeneous ODE is a method of finding a solution to a second-order differential equation that involves representing the solution as an infinite series of terms. This method is useful when the equation cannot be solved using other methods, such as separation of variables or substitution.
A series solution is obtained by assuming that the solution can be written as a power series, plugging this series into the differential equation, and solving for the coefficients of each term. This results in a recurrence relation that can be used to find the coefficients and therefore the solution.
One advantage is that it can be used to find solutions to equations that cannot be solved using other methods. Additionally, it can provide a more accurate solution compared to other methods, as the series can be truncated at any desired degree of accuracy.
One limitation is that it can be a time-consuming process, as finding the coefficients of each term can involve solving a system of equations. Additionally, the series may not converge for all values of the independent variable, leading to a solution that is only valid for a limited range of values.
No, a series solution is only applicable to homogeneous second-order differential equations, meaning that the equation must be in the form of y'' + p(x)y' + q(x)y = 0. It cannot be used for non-homogeneous equations or equations of higher order.