Intereting Posts

Weak derivative zero implies constant function
A subset $P$(may be void also) is selected at random from set $A$ and the set $A$ is then reconstructed by replacing the elements of $P$.
Bijection between Extensions and Ext (Weibel Theorem 3.4.3)
Hausdorff measure of $f(A)$ where $f$ is a Holder continuous function.
Why is the graph of a continuous function to a Hausdorff space closed?
Show that the odd prime divisors of the integer $n^2+n+1$ which are different from $3$ are of the form $6k+1$.
Apparent Paradox in the Idea of Random Numbers
Is there a non-cyclic group with every subgroup characteristic?
Express $1 + \frac {1}{2} \binom{n}{1} + \frac {1}{3} \binom{n}{2} + \dotsb + \frac{1}{n + 1}\binom{n}{n}$ in a simplifed form
Is there an example of a non-orientable group manifold?
linear subspace of dual space
What are some examples of induction where the base case is difficult but the inductive step is trivial?
Proving a property of an ellipse and a tangent line of the ellipse
A finite field extension that is not simple
What is the principal cubic root of $-8$?

I have calculated solutions to homogenous equations but is the complementary solution mentioned here the same as the homogenous solution?

Let’s take example $y”-3y’+2y=\cos(wx)$ and now the homogenous solution is

$$y_{hom}=C_{1}e^{2x}+C_{2}e^{x}_{|\text{Characteristic eq. =}(r-1)(r-2)}$$

- Solving an ordinary differential equation with initial conditions
- The general solution of $y''=-\sin y$
- Existence of solution of $\frac{\partial f}{\partial t}=-\Delta f+|\nabla f|^2-R(x,t)$
- Help on solving an apparently simple differential equation
- Solving a second-order linear ODE: $\frac{d^2 y}{dx^2}+(x+1)\cdot \frac{dy}{dx}+5x^2\cdot y=0$
- $\frac{dx}{dt}=-\lambda x +\epsilon x(t-a)$ series solution via Laplace method

which can be showed with Wronk’s determinant to be valid (cannot yet understand it but go on). Now to find out the general solution there are multiple ways apparently:

- Method of Undetermined Coefficient
- Variation of constant

I have not practised them yet enough (because cannot understand the terms yet) so cannot ask much about them but I am trying to, could someone help me with the terminology here about the `complementary solution`

?

- bounded vs. unbounded linear programs
- How do we deduce that $c_1 \phi_1(x)+c_2 \phi_2(x)$ is a solution of the specific initial value problem?
- Is a 2-dimensional subspace always called a plane no matter what the dimensions of the space is?
- How to solve $y'''+2y''-y'-2y= e^x+x^2$?
- Using the Existence and uniqueness theorem to find the interval of validity of a unique solution in a Linear ODE
- By using d'alembert's formula to deduce $k_1(z)$ and $k_2(z)$, show that they are periodic with period $2$.
- Solving second-order ODE using an integrating factor
- Repairing solutions in ODE
- Number of tangents
- Is the continuity of a vector field enough for the existence of the solution of a differential equation?

As Andre mentioned in his comment, the more common terminology is “particular solution”.

Your homogeneous solution $y_{hom} = C_1e^{2x} + C_2e^x$ a solution, not to the original equation, but to the homogeneous equation $y'' – 3y' + 2y = 0$, regardless of the constant parameters $C_1$ and $C_2$.

To find the particular (complementary) solution, we must consider solutions of the form $$y_p=A\cos(wx) + B\sin(wx)\tag{1}$$ After finding $$y_p'=wB\cos(wx) – wA\sin(wx)$$ and $$y_p''=-w^2A\cos(wx) – w^2B\sin(wx)$$ we substitute them into the original equation to get:

$-w^2A\cos(wx) – w^2Bsin(wx) – 3wB \cos(wx) + 3wA\sin(wx) + 2A\cos(wx) + 2Bs\in(wx) = \cos(wx)$

Because $\sin(wx)$ and $\cos(wx)$ are linearly independent, we know that the coefficients of $\cos(wx)$ on the LHS must equal the coefficient of $\cos(wx)$ on the RHS, and similarly for $\sin(wx)$ which gives us the system of equations:

$$\begin {cases} (-w^2 + 2)A + (-3w)B = 1 \\ (3w)A + (-w^2 + 2)B = 0 \end{cases}$$

Solving this system of equations gives us specific values for the coefficients $A$ and $B$:

$$A = \frac{2-w^2}{w^4+5w^2+4}, B = \frac{-3w}{w^4+5 w^2+4}$$

(provided that the denominator of those fractions is non-zero of course – also notice that that is equivalent to the condition that the determinant of the coefficient matrix for $A$ and $B$, in the system of equations given above, is non-zero.)

which now provides us with a particular (complimentary) solution to the original differential equation:

$$y_p=\frac{2-w^2}{w^4+5w^2+4}cos(wx) + \frac{-3w}{w^4+5 w^2+4}sin(wx)$$

And because, in general, (f + g)’ = f’ + g’, we can see that

$$ (y_{hom} + y_p)'' – 3(y_{hom} + y_p)' + 2(y_{hom} + y_p) = (y_{hom}'' – 3y_{hom}' + 2y_{hom}) + (y_p'' -3y_p' +2y_p)$$

and then

$$(y_{hom}'' – 3y_{hom}' + 2y_{hom}) + (y_p'' -3y_p' +2y_p) = 0 + cos(wx) = cos(wx)$$

thus the general solution will be

$$y=y_{hom}+y_p=C_1e^{2x} + C_2e^x + \frac{2-w^2}{w^4+5w^2+4}\cos(wx) + \frac{-3w}{w^4+5 w^2+4}\sin(wx)$$

I just wanted to answer the original question and point something out. In every class I’ve ever had, the complementary solution is the solution to the “homogeneous equation” and is often (if incorrectly) referred to as the homogeneous solution. So in this case I believe you are correct. The original equation is not itself homogeneous; however, the “homogeneous solution” is the solution for the original equation without a driving function (RHS = 0). And you’ve put that as your answer.

**Another point, as homogeneous solution and complementary solution are often used interchangeably, “particular solution” and “complimentary solution” are definitely *not* used interchangeably. In several answers and comments, people sound is if they refer to the same thing when they do not. For any linear ordinary differential equation, the general solution (for all t for the original equation) can be represented as the sum of the complementary solution and the particular solution.

Vg(t)=Vp(t)+Vc(t)

In electrical engineering context, the complementary and particular solutions have their own names (because we always rename things), the particular solution is usually called the “steady-state response” and the complementary solution is called the “transient response”.

- Convergence, absolute convergence of an integral
- What are some counter-intuitive results in mathematics that involve only finite objects?
- Sobolev spaces of sections of vector bundles
- Suppose a function $f : \mathbb{R}\rightarrow \mathbb{R}$ satisfies $f(f(f(x)))=x$ for all $x$ belonging to $\mathbb{R}$.
- How does (ZFC-Infinity+“There is no infinite set”) compare with PA?
- Is $Z(R)$ a maximal ideal?
- Computing sums and double sums
- Reed Solomon Polynomial Generator
- $ \sum_{y=1}^\infty {}_1F_1(1-y;2;-\pi\lambda c) \frac{\lambda^y}{y!} $
- Dirichlet Series and Average Values of Certain Arithmetic Functions
- Existence of a measure
- Where does Klein's j-invariant take the values 0 and 1, and with what multiplicities?
- $\operatorname{Soc}(\operatorname{Aut}( G))$ is isomorphic to $G$, for $G$ a nonabelian, simple group.
- How to solve : $\sum^{\infty}_{k=1} \frac{6^k}{(3^k-2^k)(3^{k+1}-2^{k+1})}$
- No group of order $400$ is simple – clarification