« previous | Wednesday, February 20, 2013 | next »
How would we go about solving
?
Particular Solution
Section 3.6: Variation of Parameters
Find solution to
Homogeneous solution is
What about non-constant coefficients; i.e. what if the constants were actually functions of
:
There are infinitely many possibilities for
and
, so we impose a restriction to limit the number of possibilities:
Using the above examples, we let
and
:
Simplification: We were able to simplify
with the restriction
.
Now we can plug our functions into the differential equation:
Use restriction as second equation in system:
We solve for
and
:
So general solution to original differential equation
is:
Method for Solving Second Order ODEs
To determine a particular solution to
Find
and
for corresponding homogeneous equation
Solve the following system for
and
or
A particular solution will be
Exercise 7
Find general solution to
Solution to homogeneous equation is
, where
and
.
Plug in to equations for
and
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} c_1(x) &= -\int \sin{x} \, \frac{1}{\sin{x}} \, \mathrm{d}x \\ &= -x + A \\ c_2(x) &= \int \cos{x} \, \frac{1}{\sin{x}} \, \mathrm{d}x \\ &= \ln{(\sin{x})} + B \end{align}}
General solution is
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \begin{align} y &= \left( -x + A \right) \, \cos{x} + \left( \ln{(\sin{x})} + B \right) \sin{x} \\ &= -x \, \cos{x} + A\,\cos{x} + \ln{(\sin{x})} \, \sin{x} + B\,\sin{x} \end{align}}