Internal problem ID [13824]
Internal file name [OUTPUT/12996_Sunday_February_18_2024_08_02_36_AM_37653028/index.tex
]
Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell.
second edition. CRC Press. FL, USA. 2020
Section: Chapter 25. Review exercises for part III. page 447
Problem number: 27.
ODE order: 2.
ODE degree: 1.
The type(s) of ODE detected by this program : "kovacic", "exact linear second order ode", "second_order_integrable_as_is", "second_order_ode_missing_y", "second_order_linear_constant_coeff"
Maple gives the following as the ode type
[[_2nd_order, _missing_x]]
\[ \boxed {2 y^{\prime \prime }-7 y^{\prime }=-3} \]
This is second order non-homogeneous ODE. In standard form the ODE is \[ A y''(x) + B y'(x) + C y(x) = f(x) \] Where \(A=2, B=-7, C=0, f(x)=-3\). Let the solution be \[ y = y_h + y_p \] Where \(y_h\) is the solution to the homogeneous ODE \( A y''(x) + B y'(x) + C y(x) = 0\), and \(y_p\) is a particular solution to the non-homogeneous ODE \(A y''(x) + B y'(x) + C y(x) = f(x)\). \(y_h\) is the solution to \[ 2 y^{\prime \prime }-7 y^{\prime } = 0 \] This is second order with constant coefficients homogeneous ODE. In standard form the ODE is \[ A y''(x) + B y'(x) + C y(x) = 0 \] Where in the above \(A=2, B=-7, C=0\). Let the solution be \(y=e^{\lambda x}\). Substituting this into the ODE gives \[ 2 \lambda ^{2} {\mathrm e}^{\lambda x}-7 \lambda \,{\mathrm e}^{\lambda x} = 0 \tag {1} \] Since exponential function is never zero, then dividing Eq(2) throughout by \(e^{\lambda x}\) gives \[ 2 \lambda ^{2}-7 \lambda = 0 \tag {2} \] Equation (2) is the characteristic equation of the ODE. Its roots determine the general solution form.Using the quadratic formula \[ \lambda _{1,2} = \frac {-B}{2 A} \pm \frac {1}{2 A} \sqrt {B^2 - 4 A C} \] Substituting \(A=2, B=-7, C=0\) into the above gives \begin {align*} \lambda _{1,2} &= \frac {7}{(2) \left (2\right )} \pm \frac {1}{(2) \left (2\right )} \sqrt {-7^2 - (4) \left (2\right )\left (0\right )}\\ &= {\frac {7}{4}} \pm {\frac {7}{4}} \end {align*}
Hence \begin{align*} \lambda _1 &= {\frac {7}{4}} + {\frac {7}{4}} \\ \lambda _2 &= {\frac {7}{4}} - {\frac {7}{4}} \\ \end{align*} Which simplifies to \begin{align*} \lambda _1 &= {\frac {7}{2}} \\ \lambda _2 &= 0 \\ \end{align*} Since roots are real and distinct, then the solution is \begin{align*} y &= c_{1} e^{\lambda _1 x} + c_{2} e^{\lambda _2 x} \\ y &= c_{1} e^{\left ({\frac {7}{2}}\right )x} +c_{2} e^{\left (0\right )x} \\ \end{align*} Or \[ y =c_{1} {\mathrm e}^{\frac {7 x}{2}}+c_{2} \] Therefore the homogeneous solution \(y_h\) is \[ y_h = c_{1} {\mathrm e}^{\frac {7 x}{2}}+c_{2} \] The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is \[ 1 \] Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is \[ [\{1\}] \] While the set of the basis functions for the homogeneous solution found earlier is \[ \left \{1, {\mathrm e}^{\frac {7 x}{2}}\right \} \] Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes \[ [\{x\}] \] Since there was duplication between the basis functions in the UC_set and the basis functions of the homogeneous solution, the trial solution is a linear combination of all the basis function in the above updated UC_set. \[ y_p = A_{1} x \] The unknowns \(\{A_{1}\}\) are found by substituting the above trial solution \(y_p\) into the ODE and comparing coefficients. Substituting the trial solution into the ODE and simplifying gives \[ -7 A_{1} = -3 \] Solving for the unknowns by comparing coefficients results in \[ \left [A_{1} = {\frac {3}{7}}\right ] \] Substituting the above back in the above trial solution \(y_p\), gives the particular solution \[ y_p = \frac {3 x}{7} \] Therefore the general solution is \begin{align*} y &= y_h + y_p \\ &= \left (c_{1} {\mathrm e}^{\frac {7 x}{2}}+c_{2}\right ) + \left (\frac {3 x}{7}\right ) \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} {\mathrm e}^{\frac {7 x}{2}}+c_{2} +\frac {3 x}{7} \\ \end{align*}
Verification of solutions
\[ y = c_{1} {\mathrm e}^{\frac {7 x}{2}}+c_{2} +\frac {3 x}{7} \] Verified OK.
Integrating both sides of the ODE w.r.t \(x\) gives \begin {align*} \int \left (2 y^{\prime \prime }-7 y^{\prime }\right )d x &= \int \left (-3\right )d x\\ 2 y^{\prime }-7 y = -3 x + c_{1} \end {align*}
Which is now solved for \(y\).
Entering Linear first order ODE solver. In canonical form a linear first order is \begin {align*} y^{\prime } + p(x)y &= q(x) \end {align*}
Where here \begin {align*} p(x) &=-{\frac {7}{2}}\\ q(x) &=-\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
Hence the ode is \begin {align*} y^{\prime }-\frac {7 y}{2} = -\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
The integrating factor \(\mu \) is \begin{align*} \mu &= {\mathrm e}^{\int -\frac {7}{2}d x} \\ &= {\mathrm e}^{-\frac {7 x}{2}} \\ \end{align*} The ode becomes \begin {align*} \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}}\left ( \mu y\right ) &= \left (\mu \right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right ) \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left ({\mathrm e}^{-\frac {7 x}{2}}\right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right )\\ \mathrm {d} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left (\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\right )\, \mathrm {d} x \end {align*}
Integrating gives \begin {align*} {\mathrm e}^{-\frac {7 x}{2}} y &= \int {\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\,\mathrm {d} x}\\ {\mathrm e}^{-\frac {7 x}{2}} y &= \frac {{\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49} + c_{2} \end {align*}
Dividing both sides by the integrating factor \(\mu ={\mathrm e}^{-\frac {7 x}{2}}\) results in \begin {align*} y &= \frac {{\mathrm e}^{\frac {7 x}{2}} {\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
which simplifies to \begin {align*} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \\ \end{align*}
Verification of solutions
\[ y = \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \] Verified OK.
This is second order ode with missing dependent variable \(y\). Let \begin {align*} p(x) &= y^{\prime } \end {align*}
Then \begin {align*} p'(x) &= y^{\prime \prime } \end {align*}
Hence the ode becomes \begin {align*} 2 p^{\prime }\left (x \right )-7 p \left (x \right )+3 = 0 \end {align*}
Which is now solve for \(p(x)\) as first order ode. Integrating both sides gives \begin {align*} \int \frac {1}{\frac {7 p}{2}-\frac {3}{2}}d p &= x +c_{1}\\ \frac {2 \ln \left (p -\frac {3}{7}\right )}{7}&=x +c_{1} \end {align*}
Solving for \(p\) gives these solutions \begin {align*} p_1&={\mathrm e}^{\frac {7 x}{2}+\frac {7 c_{1}}{2}}+\frac {3}{7}\\ &=c_{1} {\mathrm e}^{\frac {7 x}{2}}+\frac {3}{7} \end {align*}
Since \(p=y^{\prime }\) then the new first order ode to solve is \begin {align*} y^{\prime } = c_{1} {\mathrm e}^{\frac {7 x}{2}}+\frac {3}{7} \end {align*}
Integrating both sides gives \begin {align*} y &= \int { c_{1} {\mathrm e}^{\frac {7 x}{2}}+\frac {3}{7}\,\mathop {\mathrm {d}x}}\\ &= \frac {3 x}{7}+\frac {2 c_{1} {\mathrm e}^{\frac {7 x}{2}}}{7}+c_{2} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= \frac {3 x}{7}+\frac {2 c_{1} {\mathrm e}^{\frac {7 x}{2}}}{7}+c_{2} \\ \end{align*}
Verification of solutions
\[ y = \frac {3 x}{7}+\frac {2 c_{1} {\mathrm e}^{\frac {7 x}{2}}}{7}+c_{2} \] Verified OK.
Writing the ode as \[ 2 y^{\prime \prime }-7 y^{\prime } = -3 \] Integrating both sides of the ODE w.r.t \(x\) gives \begin {align*} \int \left (2 y^{\prime \prime }-7 y^{\prime }\right )d x &= \int \left (-3\right )d x\\ 2 y^{\prime }-7 y = -3 x +c_{1} \end {align*}
Which is now solved for \(y\).
Entering Linear first order ODE solver. In canonical form a linear first order is \begin {align*} y^{\prime } + p(x)y &= q(x) \end {align*}
Where here \begin {align*} p(x) &=-{\frac {7}{2}}\\ q(x) &=-\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
Hence the ode is \begin {align*} y^{\prime }-\frac {7 y}{2} = -\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
The integrating factor \(\mu \) is \begin{align*} \mu &= {\mathrm e}^{\int -\frac {7}{2}d x} \\ &= {\mathrm e}^{-\frac {7 x}{2}} \\ \end{align*} The ode becomes \begin {align*} \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}}\left ( \mu y\right ) &= \left (\mu \right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right ) \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left ({\mathrm e}^{-\frac {7 x}{2}}\right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right )\\ \mathrm {d} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left (\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\right )\, \mathrm {d} x \end {align*}
Integrating gives \begin {align*} {\mathrm e}^{-\frac {7 x}{2}} y &= \int {\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\,\mathrm {d} x}\\ {\mathrm e}^{-\frac {7 x}{2}} y &= \frac {{\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49} + c_{2} \end {align*}
Dividing both sides by the integrating factor \(\mu ={\mathrm e}^{-\frac {7 x}{2}}\) results in \begin {align*} y &= \frac {{\mathrm e}^{\frac {7 x}{2}} {\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
which simplifies to \begin {align*} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \\ \end{align*}
Verification of solutions
\[ y = \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \] Verified OK.
Writing the ode as \begin {align*} 2 y^{\prime \prime }-7 y^{\prime } &= 0 \tag {1} \\ A y^{\prime \prime } + B y^{\prime } + C y &= 0 \tag {2} \end {align*}
Comparing (1) and (2) shows that \begin {align*} A &= 2 \\ B &= -7\tag {3} \\ C &= 0 \end {align*}
Applying the Liouville transformation on the dependent variable gives \begin {align*} z(x) &= y e^{\int \frac {B}{2 A} \,dx} \end {align*}
Then (2) becomes \begin {align*} z''(x) = r z(x)\tag {4} \end {align*}
Where \(r\) is given by \begin {align*} r &= \frac {s}{t}\tag {5} \\ &= \frac {2 A B' - 2 B A' + B^2 - 4 A C}{4 A^2} \end {align*}
Substituting the values of \(A,B,C\) from (3) in the above and simplifying gives \begin {align*} r &= \frac {49}{16}\tag {6} \end {align*}
Comparing the above to (5) shows that \begin {align*} s &= 49\\ t &= 16 \end {align*}
Therefore eq. (4) becomes \begin {align*} z''(x) &= \frac {49 z \left (x \right )}{16} \tag {7} \end {align*}
Equation (7) is now solved. After finding \(z(x)\) then \(y\) is found using the inverse transformation \begin {align*} y &= z \left (x \right ) e^{-\int \frac {B}{2 A} \,dx} \end {align*}
The first step is to determine the case of Kovacic algorithm this ode belongs to. There are 3 cases depending on the order of poles of \(r\) and the order of \(r\) at \(\infty \). The following table summarizes these cases.
Case |
Allowed pole order for \(r\) |
Allowed value for \(\mathcal {O}(\infty )\) |
1 |
\(\left \{ 0,1,2,4,6,8,\cdots \right \} \) |
\(\left \{ \cdots ,-6,-4,-2,0,2,3,4,5,6,\cdots \right \} \) |
2 |
Need to have at least one pole that is either order \(2\) or odd order greater than \(2\). Any other pole order is allowed as long as the above condition is satisfied. Hence the following set of pole orders are all allowed. \(\{1,2\}\),\(\{1,3\}\),\(\{2\}\),\(\{3\}\),\(\{3,4\}\),\(\{1,2,5\}\). |
no condition |
3 |
\(\left \{ 1,2\right \} \) |
\(\left \{ 2,3,4,5,6,7,\cdots \right \} \) |
The order of \(r\) at \(\infty \) is the degree of \(t\) minus the degree of \(s\). Therefore \begin {align*} O\left (\infty \right ) &= \text {deg}(t) - \text {deg}(s) \\ &= 0 - 0 \\ &= 0 \end {align*}
There are no poles in \(r\). Therefore the set of poles \(\Gamma \) is empty. Since there is no odd order pole larger than \(2\) and the order at \(\infty \) is \(0\) then the necessary conditions for case one are met. Therefore \begin {align*} L &= [1] \end {align*}
Since \(r = {\frac {49}{16}}\) is not a function of \(x\), then there is no need run Kovacic algorithm to obtain a solution for transformed ode \(z''=r z\) as one solution is \[ z_1(x) = {\mathrm e}^{-\frac {7 x}{4}} \] Using the above, the solution for the original ode can now be found. The first solution to the original ode in \(y\) is found from \begin{align*} y_1 &= z_1 e^{ \int -\frac {1}{2} \frac {B}{A} \,dx} \\ &= z_1 e^{ -\int \frac {1}{2} \frac {-7}{2} \,dx} \\ &= z_1 e^{\frac {7 x}{4}} \\ &= z_1 \left ({\mathrm e}^{\frac {7 x}{4}}\right ) \\ \end{align*} Which simplifies to \[ y_1 = 1 \] The second solution \(y_2\) to the original ode is found using reduction of order \[ y_2 = y_1 \int \frac { e^{\int -\frac {B}{A} \,dx}}{y_1^2} \,dx \] Substituting gives \begin{align*} y_2 &= y_1 \int \frac { e^{\int -\frac {-7}{2} \,dx}}{\left (y_1\right )^2} \,dx \\ &= y_1 \int \frac { e^{\frac {7 x}{2}}}{\left (y_1\right )^2} \,dx \\ &= y_1 \left (\frac {2 \,{\mathrm e}^{\frac {7 x}{2}}}{7}\right ) \\ \end{align*} Therefore the solution is
\begin{align*} y &= c_{1} y_1 + c_{2} y_2 \\ &= c_{1} \left (1\right ) + c_{2} \left (1\left (\frac {2 \,{\mathrm e}^{\frac {7 x}{2}}}{7}\right )\right ) \\ \end{align*} This is second order nonhomogeneous ODE. Let the solution be \[ y = y_h + y_p \] Where \(y_h\) is the solution to the homogeneous ODE \( A y''(x) + B y'(x) + C y(x) = 0\), and \(y_p\) is a particular solution to the nonhomogeneous ODE \(A y''(x) + B y'(x) + C y(x) = f(x)\). \(y_h\) is the solution to \[ 2 y^{\prime \prime }-7 y^{\prime } = 0 \] The homogeneous solution is found using the Kovacic algorithm which results in \[ y_h = c_{1} +\frac {2 c_{2} {\mathrm e}^{\frac {7 x}{2}}}{7} \] The particular solution is now found using the method of undetermined coefficients. Looking at the RHS of the ode, which is \[ 1 \] Shows that the corresponding undetermined set of the basis functions (UC_set) for the trial solution is \[ [\{1\}] \] While the set of the basis functions for the homogeneous solution found earlier is \[ \left \{1, \frac {2 \,{\mathrm e}^{\frac {7 x}{2}}}{7}\right \} \] Since \(1\) is duplicated in the UC_set, then this basis is multiplied by extra \(x\). The UC_set becomes \[ [\{x\}] \] Since there was duplication between the basis functions in the UC_set and the basis functions of the homogeneous solution, the trial solution is a linear combination of all the basis function in the above updated UC_set. \[ y_p = A_{1} x \] The unknowns \(\{A_{1}\}\) are found by substituting the above trial solution \(y_p\) into the ODE and comparing coefficients. Substituting the trial solution into the ODE and simplifying gives \[ -7 A_{1} = -3 \] Solving for the unknowns by comparing coefficients results in \[ \left [A_{1} = {\frac {3}{7}}\right ] \] Substituting the above back in the above trial solution \(y_p\), gives the particular solution \[ y_p = \frac {3 x}{7} \] Therefore the general solution is \begin{align*} y &= y_h + y_p \\ &= \left (c_{1} +\frac {2 c_{2} {\mathrm e}^{\frac {7 x}{2}}}{7}\right ) + \left (\frac {3 x}{7}\right ) \\ \end{align*}
The solution(s) found are the following \begin{align*} \tag{1} y &= c_{1} +\frac {2 c_{2} {\mathrm e}^{\frac {7 x}{2}}}{7}+\frac {3 x}{7} \\ \end{align*}
Verification of solutions
\[ y = c_{1} +\frac {2 c_{2} {\mathrm e}^{\frac {7 x}{2}}}{7}+\frac {3 x}{7} \] Verified OK.
An ode of the form \begin {align*} p \left (x \right ) y^{\prime \prime }+q \left (x \right ) y^{\prime }+r \left (x \right ) y&=s \left (x \right ) \end {align*}
is exact if \begin {align*} p''(x) - q'(x) + r(x) &= 0 \tag {1} \end {align*}
For the given ode we have \begin {align*} p(x) &= 2\\ q(x) &= -7\\ r(x) &= 0\\ s(x) &= -3 \end {align*}
Hence \begin {align*} p''(x) &= 0\\ q'(x) &= 0 \end {align*}
Therefore (1) becomes \begin {align*} 0- \left (0\right ) + \left (0\right )&=0 \end {align*}
Hence the ode is exact. Since we now know the ode is exact, it can be written as \begin {align*} \left (p \left (x \right ) y^{\prime }+\left (q \left (x \right )-p^{\prime }\left (x \right )\right ) y\right )' &= s(x) \end {align*}
Integrating gives \begin {align*} p \left (x \right ) y^{\prime }+\left (q \left (x \right )-p^{\prime }\left (x \right )\right ) y&=\int {s \left (x \right )\, dx} \end {align*}
Substituting the above values for \(p,q,r,s\) gives \begin {align*} 2 y^{\prime }-7 y&=\int {-3\, dx} \end {align*}
We now have a first order ode to solve which is \begin {align*} 2 y^{\prime }-7 y = -3 x +c_{1} \end {align*}
Entering Linear first order ODE solver. In canonical form a linear first order is \begin {align*} y^{\prime } + p(x)y &= q(x) \end {align*}
Where here \begin {align*} p(x) &=-{\frac {7}{2}}\\ q(x) &=-\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
Hence the ode is \begin {align*} y^{\prime }-\frac {7 y}{2} = -\frac {3 x}{2}+\frac {c_{1}}{2} \end {align*}
The integrating factor \(\mu \) is \begin{align*} \mu &= {\mathrm e}^{\int -\frac {7}{2}d x} \\ &= {\mathrm e}^{-\frac {7 x}{2}} \\ \end{align*} The ode becomes \begin {align*} \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}}\left ( \mu y\right ) &= \left (\mu \right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right ) \\ \frac {\mathop {\mathrm {d}}}{ \mathop {\mathrm {d}x}} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left ({\mathrm e}^{-\frac {7 x}{2}}\right ) \left (-\frac {3 x}{2}+\frac {c_{1}}{2}\right )\\ \mathrm {d} \left ({\mathrm e}^{-\frac {7 x}{2}} y\right ) &= \left (\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\right )\, \mathrm {d} x \end {align*}
Integrating gives \begin {align*} {\mathrm e}^{-\frac {7 x}{2}} y &= \int {\frac {\left (-3 x +c_{1} \right ) {\mathrm e}^{-\frac {7 x}{2}}}{2}\,\mathrm {d} x}\\ {\mathrm e}^{-\frac {7 x}{2}} y &= \frac {{\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49} + c_{2} \end {align*}
Dividing both sides by the integrating factor \(\mu ={\mathrm e}^{-\frac {7 x}{2}}\) results in \begin {align*} y &= \frac {{\mathrm e}^{\frac {7 x}{2}} {\mathrm e}^{-\frac {7 x}{2}} \left (21 x -7 c_{1} +6\right )}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
which simplifies to \begin {align*} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \end {align*}
Summary
The solution(s) found are the following \begin{align*} \tag{1} y &= \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \\ \end{align*}
Verification of solutions
\[ y = \frac {3 x}{7}-\frac {c_{1}}{7}+\frac {6}{49}+c_{2} {\mathrm e}^{\frac {7 x}{2}} \] Verified OK.
\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & 2 y^{\prime \prime }-7 y^{\prime }=-3 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 2 \\ {} & {} & y^{\prime \prime } \\ \bullet & {} & \textrm {Isolate 2nd derivative}\hspace {3pt} \\ {} & {} & y^{\prime \prime }=\frac {7 y^{\prime }}{2}-\frac {3}{2} \\ \bullet & {} & \textrm {Group terms with}\hspace {3pt} y\hspace {3pt}\textrm {on the lhs of the ODE and the rest on the rhs of the ODE; ODE is linear}\hspace {3pt} \\ {} & {} & y^{\prime \prime }-\frac {7 y^{\prime }}{2}=-\frac {3}{2} \\ \bullet & {} & \textrm {Characteristic polynomial of homogeneous ODE}\hspace {3pt} \\ {} & {} & r^{2}-\frac {7}{2} r =0 \\ \bullet & {} & \textrm {Factor the characteristic polynomial}\hspace {3pt} \\ {} & {} & \frac {r \left (2 r -7\right )}{2}=0 \\ \bullet & {} & \textrm {Roots of the characteristic polynomial}\hspace {3pt} \\ {} & {} & r =\left (0, \frac {7}{2}\right ) \\ \bullet & {} & \textrm {1st solution of the homogeneous ODE}\hspace {3pt} \\ {} & {} & y_{1}\left (x \right )=1 \\ \bullet & {} & \textrm {2nd solution of the homogeneous ODE}\hspace {3pt} \\ {} & {} & y_{2}\left (x \right )={\mathrm e}^{\frac {7 x}{2}} \\ \bullet & {} & \textrm {General solution of the ODE}\hspace {3pt} \\ {} & {} & y=c_{1} y_{1}\left (x \right )+c_{2} y_{2}\left (x \right )+y_{p}\left (x \right ) \\ \bullet & {} & \textrm {Substitute in solutions of the homogeneous ODE}\hspace {3pt} \\ {} & {} & y=c_{1} +c_{2} {\mathrm e}^{\frac {7 x}{2}}+y_{p}\left (x \right ) \\ \square & {} & \textrm {Find a particular solution}\hspace {3pt} y_{p}\left (x \right )\hspace {3pt}\textrm {of the ODE}\hspace {3pt} \\ {} & \circ & \textrm {Use variation of parameters to find}\hspace {3pt} y_{p}\hspace {3pt}\textrm {here}\hspace {3pt} f \left (x \right )\hspace {3pt}\textrm {is the forcing function}\hspace {3pt} \\ {} & {} & \left [y_{p}\left (x \right )=-y_{1}\left (x \right ) \left (\int \frac {y_{2}\left (x \right ) f \left (x \right )}{W \left (y_{1}\left (x \right ), y_{2}\left (x \right )\right )}d x \right )+y_{2}\left (x \right ) \left (\int \frac {y_{1}\left (x \right ) f \left (x \right )}{W \left (y_{1}\left (x \right ), y_{2}\left (x \right )\right )}d x \right ), f \left (x \right )=-\frac {3}{2}\right ] \\ {} & \circ & \textrm {Wronskian of solutions of the homogeneous equation}\hspace {3pt} \\ {} & {} & W \left (y_{1}\left (x \right ), y_{2}\left (x \right )\right )=\left [\begin {array}{cc} 1 & {\mathrm e}^{\frac {7 x}{2}} \\ 0 & \frac {7 \,{\mathrm e}^{\frac {7 x}{2}}}{2} \end {array}\right ] \\ {} & \circ & \textrm {Compute Wronskian}\hspace {3pt} \\ {} & {} & W \left (y_{1}\left (x \right ), y_{2}\left (x \right )\right )=\frac {7 \,{\mathrm e}^{\frac {7 x}{2}}}{2} \\ {} & \circ & \textrm {Substitute functions into equation for}\hspace {3pt} y_{p}\left (x \right ) \\ {} & {} & y_{p}\left (x \right )=\frac {3 \left (\int 1d x \right )}{7}-\frac {3 \,{\mathrm e}^{\frac {7 x}{2}} \left (\int {\mathrm e}^{-\frac {7 x}{2}}d x \right )}{7} \\ {} & \circ & \textrm {Compute integrals}\hspace {3pt} \\ {} & {} & y_{p}\left (x \right )=\frac {3 x}{7}+\frac {6}{49} \\ \bullet & {} & \textrm {Substitute particular solution into general solution to ODE}\hspace {3pt} \\ {} & {} & y=c_{1} +c_{2} {\mathrm e}^{\frac {7 x}{2}}+\frac {3 x}{7}+\frac {6}{49} \end {array} \]
Maple trace
`Methods for second order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable -> Calling odsolve with the ODE`, diff(_b(_a), _a) = (7/2)*_b(_a)-3/2, _b(_a)` *** Sublevel 2 *** Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear <- 1st order linear successful <- high order exact linear fully integrable successful`
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve(2*diff(y(x),x$2)-7*diff(y(x),x)+3=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {2 \,{\mathrm e}^{\frac {7 x}{2}} c_{1}}{7}+\frac {3 x}{7}+c_{2} \]
✓ Solution by Mathematica
Time used: 0.022 (sec). Leaf size: 26
DSolve[2*y''[x]-7*y'[x]+3==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {3 x}{7}+\frac {2}{7} c_1 e^{7 x/2}+c_2 \]