100%
PAGE 1

Variation of Parameters (Continued)

Review from Last Time

From last time:

The differential equation

\[ a y'' + b y' + c y = f(t) \]

has general solution

\[ y = u_1(t) y_1 + u_2(t) y_2 \]

where \( y_1 \) and \( y_2 \) are solutions to the corresponding homogeneous equation:

\[ a y'' + b y' + c y = 0 \]

and the functions \( u_1, u_2 \) satisfy the system:

\[ \begin{aligned} u_1' y_1 + u_2' y_2 &= 0 \\ u_1' y_1' + u_2' y_2' &= f(t) \end{aligned} \]

Justification of the First Condition

First, let's understand why \( u_1' y_1 + u_2' y_2 = 0 \) (we imposed this condition without explaining why when deriving the method).

Context: Since there are two unknown functions \( u_1(t) \) and \( u_2(t) \) but only one governing differential equation, we have an extra degree of freedom. We choose the condition \( u_1' y_1 + u_2' y_2 = 0 \) to simplify the first derivative \( y' \) and avoid second derivatives of \( u_1 \) and \( u_2 \).

Solution:

\[ y = u_1(t) y_1 + u_2(t) y_2 \]

At a time \( t_0 \), if we suddenly turn off \( f(t) \), then

\[ y = \underbrace{u_1(t_0)}_{\text{constant}} y_1 + \underbrace{u_2(t_0)}_{\text{constant}} y_2 = C_1 y_1 + C_2 y_2 \]

(homogeneous solution with some \( C_1 \) and \( C_2 \))

PAGE 2

Geometric Interpretation of Variation of Parameters

graphically:

Figure: coordinate graph showing tangent contact between y and y_c at t_0
Figure: coordinate graph showing tangent contact between y and \( y_c \) at \( t_0 \)
Figure: A coordinate plane with horizontal axis \( t \) and vertical axis \( f \). A curve representing \( y \) rises and continues as a dashed-line extension, while a curve representing the complementary solution \( y_c \) (with some constants \( c_1 \) and \( c_2 \)) branches downward after being tangent to \( y \) at point \( t_0 \), showing that both curves share the same position and velocity (slope) at \( t_0 \).

position and velocity cannot instantaneous jump at \( t_0 \)

at that \( t \), we want

\[ \begin{aligned} y &= u_1 y_1 + u_2 y_2 = c_1 y_1 + c_2 y_2 \\[6pt] y' &= u_1' y_1 + u_1 y_1' + u_2' y_2 + u_2 y_2' = c_1 y_1' + c_2 y_2' \end{aligned} \]

top equation: \( u_1 = c_1 \), \( u_2 = c_2 \)

bottom equation:

\[ \underbrace{u_1 y_1' + u_2 y_2'}_{\text{same as } c_1 y_1' + c_2 y_2'} + u_1' y_1 + u_2' y_2 = \underbrace{c_1 y_1' + c_2 y_2'}_{\text{same}} \]
Because \( u_1 = c_1 \) and \( u_2 = c_2 \) at \( t_0 \), the terms \( u_1 y_1' + u_2 y_2' \) match \( c_1 y_1' + c_2 y_2' \) on the right side and cancel out.

So, in order to match \( y \) and \( y' \) at all \( t \),

\[ u_1' y_1 + u_2' y_2 = 0 \]

at all \( t \), the general solution \( y = u_1(t) y_1 + u_2(t) y_2 \) has the same position and slope as some complementary solution \( y_c = c_1 y_1 + c_2 y_2 \).

PAGE 3

Variation of Parameters & Osculation

at \( t = t_0 \) \( y = u_1(t_0) y_1 + u_2(t_0) y_2 \) ⟶ \( y_c = c_1 y_1 + c_2 y_2 \)
at \( t = t_1 \) \( y = u_1(t_1) y_1 + u_2(t_1) y_2 \) ⟶ \( y_c = d_1 y_1 + d_2 y_2 \)
\( \vdots \)

etc

As \( t \) varies, \( y = u_1(t) y_1 + u_2(t) y_2 \) is just hopping from one complementary solution to another, while keeping the same \( y \) and \( y' \) (in higher order, also \( y'', y''', \text{etc.} \)).

⟶

osculation (matching all derivs like Taylor series)

Concept Note — Osculation:

The Latin term osculate means “to kiss.” In differential equations, the variation of parameters method constructs a particular solution that tangentially “kisses” (shares value and first derivative with) a member of the complementary family of solutions at each instant of \( t \).

Example

for example, \( y'' + y = \sin(2t) \) \( y(0) = 1, \; y'(0) = 0 \)
\( \vdots \)
\[ y = \frac{4}{3} \cos(t) - \frac{1}{3} \sin(2t) \]

osculates a particular \( y_c \) at all \( t \)

PAGE 4

Variation of Parameters as Osculation

\[ y'' + y = \sin(2t), \quad y(0) = 1, \quad y'(0) = 0 \]

At each marked time, the red homogeneous curve matches both position and slope.

Geometric Intuition of Osculation:

The method of variation of parameters constructs the solution to an inhomogeneous differential equation \( y(t) = u_1(t) y_1(t) + u_2(t) y_2(t) \) by continuously varying the constants \( u_1 \) and \( u_2 \). At each moment \( t \), the inhomogeneous trajectory touches ("osculates") a member of the homogeneous family, having the identical value and first derivative.

Coordinate graph showing the nonhomogeneous solution and osculating homogeneous curves, with an inset plot of coefficient space  (u_1, u_2) .
Figure: Coordinate graph showing the nonhomogeneous solution and osculating homogeneous curves, with an inset plot of coefficient space \( (u_1, u_2) \).
Figure: Plot illustrating variation of parameters as osculation for the initial value problem \( y'' + y = \sin(2t) \), \( y(0) = 1 \), \( y'(0) = 0 \). The thick blue line shows the nonhomogeneous solution over \( t \in [0, 2\pi] \). Short solid red arcs and dashed curves indicate the corresponding homogeneous solution curves matching the position and derivative at five labeled points \( t_1, t_2, t_3, t_4, t_5 \). An inset diagram depicts the astroid-like trajectory in the coefficient plane \( (u_1, u_2) \) traversed by the parameters across the labeled time points.
PAGE 5

Variation of Parameters: Geometric Vector Interpretation

Another interpretation:

\[ \begin{aligned} u_1' y_1 + u_2' y_2 &= 0 \\ u_1' y_1' + u_2' y_2' &= f \end{aligned} \]
This standard system of linear equations for the derivatives of the parameters \( u_1' \) and \( u_2' \) in the method of variation of parameters arises when imposing the auxiliary condition \( u_1' y_1 + u_2' y_2 = 0 \).

As a matrix equation:

\[ \begin{bmatrix} y_1 & y_2 \\ y_1' & y_2' \end{bmatrix} \begin{bmatrix} u_1' \\ u_2' \end{bmatrix} = \begin{bmatrix} 0 \\ f \end{bmatrix} \]

or

\[ u_1' \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} + u_2' \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} = \begin{bmatrix} 0 \\ f \end{bmatrix} \]

This is choosing \( u_1' \) and \( u_2' \) for all \( t \) such that the "vector" sum is satisfied.

Let \( \vec{y} = \begin{bmatrix} y \\ y' \end{bmatrix} \)

Geometrically, in the phase plane \( (y, y') \), the linear combination of the fundamental solution vectors \( \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} \) and \( \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} \) scaled by coefficients \( u_1' \) and \( u_2' \) sums exactly to the vertical vector \( \begin{bmatrix} 0 \\ f \end{bmatrix} \).
Vector sum decomposition in the phase plane  (y, y')
Figure: Vector sum decomposition in the phase plane \( (y, y') \)
Figure: Phase plane diagram depicting the vector formulation \( u_1' \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} + u_2' \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} = \begin{bmatrix} 0 \\ f \end{bmatrix} \). On the left, axes with horizontal component \( y \) and vertical component \( y' \) display the target vertical vector \( \begin{bmatrix} 0 \\ f \end{bmatrix} \) along the vertical axis, alongside the individual basis vectors \( \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} \) and \( \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} \). On the right, a parallelogram vector addition demonstrates how the scaled vector components \( u_1' \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} \) and \( u_2' \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} \) combine geometrically to form the resultant vector.
PAGE 6

Variation of Parameters: Algebraic View and Cramer's Rule

Algebraic view:

\[ \begin{bmatrix} y_1 & y_2 \\ y_1' & y_2' \end{bmatrix} \begin{bmatrix} u_1' \\ u_2' \end{bmatrix} = \begin{bmatrix} 0 \\ f \end{bmatrix} \]
This matrix equation represents the standard system solved in the method of variation of parameters for a second-order linear non-homogeneous differential equation.

if we used Cramer's Rule

\[ u_1' = \frac{\begin{vmatrix} 0 & y_2 \\ f & y_2' \end{vmatrix}}{\begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix}} = \frac{-y_2 f}{W} \]
\( W \): Wronskian
\[ u_2' = \frac{\begin{vmatrix} y_1 & 0 \\ y_1' & f \end{vmatrix}}{\begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix}} = \frac{y_1 f}{W} \]

So, both are ratios of areas of two parallelograms

Figure: Geometric illustration of 2x2 determinants as parallelogram areas
Figure: Geometric illustration of 2x2 determinants as parallelogram areas
Figure: Geometric representation of determinants as the signed areas of parallelograms formed by vectors. On the left, the determinant \( \begin{vmatrix} y_1 & y_2 \\ y_1' & y_2' \end{vmatrix} \) corresponds to the shaded parallelogram spanned by the column vectors \( \begin{bmatrix} y_1 \\ y_1' \end{bmatrix} \) and \( \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} \). On the right, the numerator determinant \( \begin{vmatrix} 0 & y_2 \\ f & y_2' \end{vmatrix} \) represents the parallelogram spanned by \( \begin{bmatrix} 0 \\ f \end{bmatrix} \) and \( \begin{bmatrix} y_2 \\ y_2' \end{bmatrix} \).
PAGE 7

Variation of Parameters & General Solution

\[ u_1 = -\int \frac{y_2 f}{W} \, dt \]
\[ u_2 = \int \frac{y_1 f}{W} \, dt \]

General solution:

\[ y = u_1 y_1 + u_2 y_2 \]
\[ y = c_1 y_1 + c_2 y_2 + y_2 \int \frac{y_1 f}{W} \, dt - y_1 \int \frac{y_2 f}{W} \, dt \]
\[ y = \underbrace{c_1 y_1 + c_2 y_2}_{y_c} + \underbrace{\int \frac{y_1(\tau) y_2(t) - y_2(\tau) y_1(t)}{W(\tau)} f \, d\tau}_{y_p} \]

Note: Here, \( y_c \) represents the complementary (homogeneous) solution, while \( y_p \) is the particular solution obtained via the Green's function integral representation.

\[ \int \frac{y_1(\tau) y_2(t) - y_2(\tau) y_1(t)}{W(\tau)} \, d\tau \]

is called Green's function / kernel

measures an impulse at some \( \tau \) in the past and its effect on output at time \( t \)

(related to convolution)

PAGE 8

Variation of Parameters for First-Order ODEs

Derivation and Method

We can also use variation for first-order

\[ y' + p y = f \]
Solve \( y' + p y = 0 \) first \(\to\) \[ y = C e^{-\int p \, dt} \]
Homogeneous Solution: The general solution to the homogeneous equation \( y' + py = 0 \) is obtained by separation of variables: \( \frac{dy}{y} = -p \, dt \implies \ln|y| = -\int p \, dt + C_0 \implies y(t) = C e^{-\int p \, dt} \).

Replace \( C \) with \( u(t) \)

\[ y = u(t) e^{-\int p \, dt} \]
Sub into \( y' + p y = f \)

Differentiating using the product rule:

\[ y' = u'(t) e^{-\int p \, dt} + e^{-\int p \, dt} \cdot (-p \, u(t)) \]
Substitution: Substituting \( y \) and \( y' \) into \( y' + py = f \), the terms involving \( u(t) \) cancel out: \( \bigl(u'(t) e^{-\int p \, dt} - p u(t) e^{-\int p \, dt}\bigr) + p\bigl(u(t) e^{-\int p \, dt}\bigr) = f \), leaving only the derivative term.
\[ u'(t) e^{-\int p \, dt} = f \]
\[ u'(t) = f \cdot e^{\int p \, dt} \]
\[ u = \int e^{\int p \, dt} f \, dt \]

result matches if we had used integrating factor