Definition. A differential equation of the form πΉ(π₯, π¦, π¦Λ, π¦ΛΛ) = 0 (1) is called the second order differential equation. In some cases a second-order differential equation (1) can be solved by reducing it to a firstorder equation, using an appropriate variable substitution. In the following examples we consider such particular types of equations. Example 1. Solve the equation π₯ 2 π¦ΛΛ = 1. Solution. When the equation (1) does not contain π¦ and π¦Λ, and can be written as π¦ΛΛ = π(π₯), we use the substitution π¦Λ = π§. This implies π¦ΛΛ = π§Λ, and the original equation turns into an equation of the first order: π§Λ = π(π₯). 1 The given equation, π₯ 2 π¦ΛΛ = 1, can be rewritten as π¦ΛΛ = π₯ 2 . By the substitution π¦Λ = π§ we arrive at the equation of the first order π§Λ = 1 . π₯2 Integrating implies 1 π§ = − π₯ + πΆ1. Thus, we arrive at the equation 1 π₯ π¦Λ = − + πΆ1, which has the general solution π¦ = − ln π₯ + πΆ1 π₯ + πΆ2 . Example 2. Solve the equation π¦ΛΛ + π¦Λ π₯ = π₯. Solution. When the equation (1) does not contain π¦, the substitution π¦Λ = π§ can be used to reduce the given second-order differential equation to one of the first-order. Thus, the given equation, π¦Λ π¦ΛΛ + π₯ = π₯, becomes π§ π§Λ + π₯ = π₯. This is a linear equation of the first order. Put π§(π₯) = π’(π₯)π£(π₯), where π’(π₯) and π£(π₯) are to be determined. On substituting into the equation, we obtain π’Λπ£ + π’π£Λ + π’π£ π₯ π£ = π₯ or π’Λπ£ + π’(π£Λ + π₯) = π₯. So, the functions π’(π₯) and π£(π₯) can be found from the following equations: π£ 1. π£Λ + π₯ =0, and 2. π’π£Λ = π₯. 1 π₯3 3 The first equation provides π£(π₯) = π₯ and, hence, the second equation has the solution π’(π₯) = π₯3 1 + πΆ1. Thus, π§ = π’(π₯)π£(π₯) = ( 3 + πΆ1 ) π₯ = π¦Λ = π₯2 3 + π₯2 3 + πΆ1 . π₯ Since π§ = π¦Λ, the next equation to be solved is πΆ1 . π₯ On integrating both sides of the equation we get the general solution to the original equation: π₯3 9 π¦= + πΆ1 ln π₯ + πΆ2 . Example 3. Solve the equation 2π¦π¦ΛΛ + π¦Λ2 = 0 for π¦ > 0. Solution. When the equation (1) does not contain π₯, it can be reduced to a first-order equation using the substitution π¦Λ = π, where π is considered a function of π¦. The latter implies: ππ ππ ππ¦ ππ π¦ΛΛ = ππ₯ = ππ¦ ππ₯ = ππ¦ π. Using these, the given equation turns to ππ ππ 2π¦π ππ¦ + π2 = 0 or π (2π¦ ππ¦ + π) = 0. From π = 0, that implies π¦Λ = 0, we obtain the solution π¦ = ππππ π‘. Alternatively, we have the equation ππ 2π¦ ππ¦ + π = 0, which, after separating variables and integrating, provides the solution π= πΆ1 . √π¦ Thus, the next equation to be solved is π¦Λ = πΆ1 . √π¦ Its general solution can be easily determined: 3 π¦ = √(πΆ1 π₯ + πΆ2 )2, where πΆ1 and πΆ2 are arbitrary constants. 3 Note that π¦ = ππππ π‘ is included in the latter expression. Thus, π¦ = √(πΆ1 π₯ + πΆ2 )2 is the general solution to the original equation. Consider a nonhomogeneous linear equation π¦ΛΛ + π1 π¦Λ + π2 π¦ = π(π₯). (D) To find the general solution to the equation (D), we have, according to Theorem 3, to determine the general solution to the corresponding homogeneous equation (C): π¦ΛΛ + π1 π¦Λ + π2 π¦ = 0, (C) and one particular solution to equation (D). Sometimes the particular solution can be determined from the right-hand side of the equation. In the following examples we consider some of such cases. Example 4. Solve the equation π¦ΛΛ − 2π¦Λ + π¦ = 1 + π₯. Solution. When the right-hand side of the linear equation (D) has the form π(π₯) = π(π₯)π π‘π₯ , where π(π₯) is a polynomial and π‘ is a real number, then the given equation possesses a particular solution π¦π = π₯ π π(π₯)π π‘π₯ , where π(π₯) is a polynomial of the same degree as π(π₯), and π takes the following values: π={ 0 ππ π‘ ππ πππ‘ π ππππ‘ ππ π‘βπ πβπππππ‘ππππ π‘ππ πππ’ππ‘πππ . ππ’ππ‘πππππππ‘π¦ ππ π‘ (1 ππ2) ππ π‘ ππ π‘βπ πβπππππ‘ππππ π‘ππ ππππ‘ To start, we consider the homogeneous equation π¦ΛΛ − 2π¦Λ + π¦ = 0. Its characteristic equation, π 2 − 2π + 1 = 0, has a double root π = 1. Hence, the general solution to the homogeneous equation is π¦π = π π₯ (πΆ1 + πΆ2 π₯), where πΆ1 and πΆ2 are arbitrary constants. To find a particular solution to the original equation, we examine the right-hand side of the equation, the function π(π₯) = 1 + π₯. This function has the form π(π₯)π π‘π₯ , where π(π₯) = 1 + π₯ (a polynomial of the first degree) and π‘ = 0. Hence, the particular solution to the original equation will have the form π¦π = π₯ π π(π₯)π π‘π₯ , with π = 0, since 0 is not a characteristic root, and π(π₯) = π΄π₯ + π΅. Thus, π¦π = π΄π₯ + π΅. where π΄ and π΅ are constants to be determined. Substituting π¦π , π¦π Λ, and π¦π ΛΛ into initial equation yields π΄ = 1 and π΅ = 3. So, the particular solution is π¦π = π₯ + 3, and, the general solution to the given equation is π¦πΊ (π₯) = π¦π (π₯) + π¦π (π₯) = π π₯ (πΆ1 + πΆ2 π₯) + (π₯ + 3). Example 5. Solve the equation π¦ΛΛ + 4π¦Λ + 13π¦ = 5 sin 2π₯. Solution. When the right-hand side of the equation (D) is the function π(π₯) = π cos ππ₯ + π sin ππ₯, then the particular solution to equation (D) has the form π΄ cos ππ₯ + π΅ sin ππ₯ ππ π‘βπ ππ’πππππ ± ππ πππ πππ‘ πβπππππ‘ππππ π‘ππ ππππ‘π π¦π (π₯) = { . π₯(π΄ cos ππ₯ + π΅ sin ππ₯) ππ π‘βπ ππ’πππππ ± ππ πππ πβπππππ‘ππππ π‘ππ ππππ‘π The characteristic equation, π 2 + 4π + 13 = 0, has complex conjugate roots π1 = −2 + 3π and π2 = −2 − 3π. Hence, the general solution to the corresponding homogeneous equation is π¦π = π −2π₯ (πΆ1 cos 3π₯ + πΆ2 sin 3π₯). Since the numbers ±2π are not the characteristic roots, the particular solution to the original equation will be written as π¦π = π΄ cos 2π₯ + π΅ sin 2π₯, where π΄ and π΅ are constants to be determined. 8 9 Substituting π¦π , π¦π Λ, and π¦π ΛΛ into initial equation gives π΄ = − 29 and π΅ = 29. Therefore, the particular solution is π¦π = − 8 29 cos 2π₯ + 9 29 sin 2π₯, and the general solution to the initial equation is 8 9 π¦πΊ = π −2π₯ (πΆ1 cos 3π₯ + πΆ2 sin 3π₯) − 29 cos 2π₯ + 29 sin 2π₯. Example 6. Solve the equation π¦ΛΛ + π¦ = 4π₯ sin π₯. Solution. When the right-hand side of the equation (D) has the form π(π₯) = π ππ₯ (π1 (π₯) cos ππ₯ + π2 (π₯) sin ππ₯), where π1 (π₯) and π2 (π₯) are polynomials, then the particular solution is π¦π = π ππ₯ (π1 (π₯) cos ππ₯ + π2 (π₯) sin ππ₯) ππ π‘βπ ππ’πππππ π ± ππ πππ πππ‘ πβπππππ‘ππππ π‘ππ ππππ‘π . { ππ₯ π₯[π (π1 (π₯) cos ππ₯ + π2 (π₯) sin ππ₯)] ππ π‘βπ ππ’πππππ π ± ππ πππ πβπππππ‘ππππ π‘ππ ππππ‘π The characteristic equation, π2 + 1 = 0 has complex conjugate roots ±π. Therefore, the general solution to the homogeneous equation is π¦π = πΆ1 cos π₯ + πΆ2 sin π₯, while the particular solution will be of the form π¦π = π₯[((π΄π₯ + π΅) cos π₯ + (πΆπ₯ + π·) sin π₯)], where π΄, π΅, πΆ, and π· are constants to be determined. Substituting π¦π , π¦π Λ, and π¦π ΛΛ into initial equation gives π΄ = −1 and π΅ = 0, πΆ = 0, and π· = 1. Thus, the particular solution is π¦π = π₯(−π₯ cos π₯ + sin π₯), and the general solution to the given equation is π¦πΊ = πΆ1 cos π₯ + πΆ2 sin π₯ + π₯(−π₯ cos π₯ + sin π₯).