Solve 2nd Order Inhomogeneous ODE: Kartika's Q on Yahoo Answers

In summary, we are asked to solve the inhomogeneous differential equation y'' -6y' +9y = 4e^(3x) without using the method of undetermined coefficients. Using the variation of parameters method, we find the general solution to be y(x) = (c1 + c2x + 2x^2)e^(3x).
  • #1
MarkFL
Gold Member
MHB
13,288
12
Here is the question:

Solve this inhomogeneous differential equation?


Please show all your steps, and DO NOT use the method of undetermined coefficients. Thanks.

y'' -6y' +9y = 4e^(3x)

I have posted a link there to this topic so the OP can see my work.
 
Mathematics news on Phys.org
  • #2
Re: Kartika's question at Yahoo! Answers regarding solvinga 2nd order inhomogeneous ODE

Hello Kartika,

We are given to solve:

\(\displaystyle y''-6y'+9y=4e^{3x}\)

and we are instructed not to use the method of undetermined coefficients. So, I will use variation of parameters instead.

First, we want to find a fundamental solution set for the corresponding homogeneous equation. We see that we have the repeated characteristic root $r=3$, and so our set is:

\(\displaystyle \{e^{3x},xe^{3x}\}\)

Hence, we take as our particular solution:

\(\displaystyle y_p(x)=v_1(x)e^{3x}+v_2xe^{3x}\)

Next, we determine $v_1(x)$ and $v_2(x)$ by solving the system:

\(\displaystyle e^{3x}v_1'+xe^{3x}v_2'=0\)

\(\displaystyle 3e^{3x}v_1'+\left(3xe^{3x}+e^{3x} \right)v_2'=4e^{3x}\)

Dividing through both equations by $e^{3x}\ne0$, we obtain:

\(\displaystyle v_1'+xv_2'=0\)

\(\displaystyle 3v_1'+\left(3x+1 \right)v_2'=4\)

The first equation gives us:

\(\displaystyle v_1'=-xv_2'\)

And substituting into the second equation, we find:

\(\displaystyle -3xv_2'+\left(3x+1 \right)v_2'=4\)

\(\displaystyle v_2'=4\,\therefore\,v_1'=-4x\)

Integrating with respect to $x$, we now find:

\(\displaystyle v_1(x)=-2x^2\)

\(\displaystyle v_2(x)=4x\)

And thus, our particular solution is:

\(\displaystyle y_p(x)=-2x^2e^{3x}+4x^2e^{3x}=2x^2e^{3x}\)

Thus, by superposition, we find the general solution is:

\(\displaystyle y(x)=y_h(x)+y_p(x)=c_1e^{3x}+c_2xe^{3x}+2x^2e^{3x}\)
 

FAQ: Solve 2nd Order Inhomogeneous ODE: Kartika's Q on Yahoo Answers

How do I solve a second order inhomogeneous differential equation?

To solve a second order inhomogeneous differential equation, you can use the method of undetermined coefficients or variation of parameters. First, find the general solution to the corresponding homogeneous equation. Then, use the method of undetermined coefficients to find a particular solution. If the coefficients of the inhomogeneous term are not constant, you can use variation of parameters to find a particular solution.

What is a homogeneous differential equation?

A homogeneous differential equation is a differential equation where all the terms can be expressed in terms of the dependent variable and its derivatives. This means that there are no external or forcing functions present in the equation. The general solution to a homogeneous differential equation will only depend on the initial conditions.

What is an inhomogeneous differential equation?

An inhomogeneous differential equation is a differential equation where there is an external or forcing function present. This means that there is a term in the equation that does not depend on the dependent variable or its derivatives. The general solution to an inhomogeneous differential equation will depend on both the initial conditions and the external function.

Can you provide an example of solving a second order inhomogeneous differential equation?

Consider the equation y'' + 5y' + 6y = 3x + 2. First, we find the general solution to the corresponding homogeneous equation y'' + 5y' + 6y = 0, which is y = c1e^-2x + c2e^-3x. Next, we use the method of undetermined coefficients to find a particular solution, which is yp = ax + b. Plugging this into the original equation, we get 2a + 5b = 3x + 2. Solving for a and b, we get a = 3/2 and b = 2/5. Therefore, the general solution to the inhomogeneous equation is y = c1e^-2x + c2e^-3x + (3/2)x + (2/5).

What are some practical applications of solving second order inhomogeneous differential equations?

Second order inhomogeneous differential equations are commonly used in physics and engineering to model real-world phenomena. They can be used to describe the motion of a mass on a spring, the oscillations of an electric circuit, or the vibrations of a bridge. They are also used in economics to model population growth and in biology to model the spread of diseases. Being able to solve these equations allows us to make predictions and better understand the behavior of these systems.

Back
Top