Second order diff eq with two variables

In summary, the problem is to solve x^2y''-3xy'-12y=0 with initial conditions y(1)=0 and y'(1)=7 for y in the form y=c1y1+c2y2. The first solution y1=x^6 is found by inspection. To find the second solution y2, the equation y1v''+(2y1'+py1)v'=0 is used, where p=-3/x. Solving for v and plugging it back into the equation, the second solution is found to be y2=-x^7/9e^(-x^2/18). However, this solution is incorrect and a simpler way to solve the problem is to
  • #1
glid02
54
0
Here's the problem:
x^2y''-3xy'-12y=0

with initial conditions y(1)=0 and y'(1)=7

I'm supposed to solve for y in the form y=c1y1+c2y2

y1 = x^6 by inspection

Now to solve for y2

y2=y1v

v can be solved for by the equation
y1v''+(2y1'+py1)v'=0
where p is the function in front of y' when there is no function in front of y'':
x^2y''-3xy'-12y=0 divide by x^2
y''-3/xy'-12/x^2y=0
so p=-3/x

x^6v''+(2*6x^5+(-3/x)x^6)v'=0
x^6v''+(12x^5-3x^5)v'=0
x^6v''=-9x^5v'
so v'=e^(-x^2/18)
and v= -x/9(e^(-x^2/18)+c

so y2=x^6(-x/9(e^(-x^2/18)))
y2=-x^(7)/9*e^(-x^2/18)

Now y=c1y1+c2y2 and my initial conditions are y(1)=0 and y'(1)=7

c1*x^6+c2*-x^(7)/9*e^((-x^2)/18)
y'=c1y1'+c2y2'
= c1*6*x^5+
c2*((-7/9*x^6*e^((-x^2)/18)+((-x^7)/9*(-x/9)*e^((-x^2)/18)

Subbing in 1 for x for both equations I get
c1+c2*-1/9*e^(-1/18)
and
6c1+c2*(-7/9*e^(-1/18)+(-1/9*-1/9*e^(-1/18))
=
6c1+c2*(-63/81*e^(-1/18)-1/81*e^(-1/18)
=
6c1-64/81*e^(-1/18)c2

I solved for c1 in the first equation:
c1=c2*1/9*e^(-1/18)
and plugged that into the second equation
6*c2*1/9*e^(-1/18)-64/81*e^(-1/18)*c2=7
c2*e^(-1/18)*(54/81-64/81)=7
c2*e^(-1/18)*-10/81=7
c2=-81/10*7*e^(1/18)

so c1=(-81/10*7*e^(1/18))*1/9*e^(-1/18)
c1=-567/10*e^(1/18)*1/9*e^(-1/18)
=-567/90

Now I plug those back in the equation c1y1+c2y2=y and that's not the right answer. There's a good chance I messed up in there somehow, although I've double checked everything. Does anyone see what I did wrong, or better yet, an easier way to solve this problem. This way is just ridiculous.

Thanks a lot.
 
Physics news on Phys.org
  • #2
If the first solution is a power law (x^6) it's a good guess that there may be another power law solution. Put y=x^n and solve for n.
 
  • #3
I think the two different solutions have to be independent of each other - or not be multiples of each other. I'll give it a shot and see what happens though. Thanks.
 
  • #4
wow, yeah, that's all I had to do. Thanks a lot.
 
  • #5
x^n and x^m where n and m are different are independent.
 
  • #6
glid02 said:
Here's the problem:
x^2y''-3xy'-12y=0

with initial conditions y(1)=0 and y'(1)=7

I'm supposed to solve for y in the form y=c1y1+c2y2

y1 = x^6 by inspection

Now to solve for y2

y2=y1v

v can be solved for by the equation
y1v''+(2y1'+py1)v'=0
where p is the function in front of y' when there is no function in front of y'':
x^2y''-3xy'-12y=0 divide by x^2
y''-3/xy'-12/x^2y=0
so p=-3/x

x^6v''+(2*6x^5+(-3/x)x^6)v'=0
x^6v''+(12x^5-3x^5)v'=0
x^6v''=-9x^5v'
In other words, with u= v', u'= (-9/x)u
du/u= -9dx/x so ln(u)= -9 ln x+ C, u= v'= Cx-9
v= Cx-8 and so vx6= x-2
NOT what you give:

so v'=e^(-x^2/18)
and v= -x/9(e^(-x^2/18)+c

so y2=x^6(-x/9(e^(-x^2/18)))
y2=-x^(7)/9*e^(-x^2/18)

Now y=c1y1+c2y2 and my initial conditions are y(1)=0 and y'(1)=7

c1*x^6+c2*-x^(7)/9*e^((-x^2)/18)
y'=c1y1'+c2y2'
= c1*6*x^5+
c2*((-7/9*x^6*e^((-x^2)/18)+((-x^7)/9*(-x/9)*e^((-x^2)/18)

Subbing in 1 for x for both equations I get
c1+c2*-1/9*e^(-1/18)
and
6c1+c2*(-7/9*e^(-1/18)+(-1/9*-1/9*e^(-1/18))
=
6c1+c2*(-63/81*e^(-1/18)-1/81*e^(-1/18)
=
6c1-64/81*e^(-1/18)c2

I solved for c1 in the first equation:
c1=c2*1/9*e^(-1/18)
and plugged that into the second equation
6*c2*1/9*e^(-1/18)-64/81*e^(-1/18)*c2=7
c2*e^(-1/18)*(54/81-64/81)=7
c2*e^(-1/18)*-10/81=7
c2=-81/10*7*e^(1/18)

so c1=(-81/10*7*e^(1/18))*1/9*e^(-1/18)
c1=-567/10*e^(1/18)*1/9*e^(-1/18)
=-567/90

Now I plug those back in the equation c1y1+c2y2=y and that's not the right answer. There's a good chance I messed up in there somehow, although I've double checked everything. Does anyone see what I did wrong, or better yet, an easier way to solve this problem. This way is just ridiculous.

Thanks a lot.
 
  • #7
glid02 said:
x^2y''-3xy'-12y=0 with initial conditions y(1)=0 and y'(1)=7

I'm supposed to solve for y in the form y=c1y1+c2y2

y1 = x^6 by inspection

...

Does anyone see what I did wrong, or better yet, an easier way to solve this problem. This way is just ridiculous.

You were too quick on the draw with "y1 = x^6 by inspection".
An easy way to solve this is to assume each [itex]y_i[/itex] is of the form [itex]y_i=x^n[/itex]. Then

[tex]x^2y_i^{\prime\prime}-3xy_i^{\prime}-12y_i =
n(n-1)x^2x^{n-2} -3nxx^{n-1}-12x^n = (n(n-1)-3n-12)x^n[/tex]

The characteristic polynomial

[tex]n(n-1)-3n-12 = n^2-4n-12[/tex]

has zeros [itex]n=6[/itex] and [itex]n=-2[/itex]. Thus

[tex]y=c_1x^6 + c_2x^{-2}[/tex]

Applying the given conditions [itex]y(1)=0[/itex], [itex]y'(1)=7[/itex] to the above leads to a unique solution for [itex]c_1[/itex] and [itex]c_2[/itex].
 
  • #8
Yes, that's the simplest way to do it, but I suspect he was told to find a second solution by reducing the order- and that "x6 is a solution by inspection" was in the book!
 

1. What is a second order differential equation with two variables?

A second order differential equation with two variables is a mathematical equation that involves two variables and their derivatives. It is of the form y'' = f(x,y,y') or y'' = f(x,y,y',y''). It describes the relationship between the variables and their rates of change.

2. What is the difference between a first order and a second order differential equation?

A first order differential equation involves only one variable and its derivative, while a second order differential equation involves two variables and their derivatives. This means that a second order differential equation is more complex and requires more information to solve.

3. How do you solve a second order differential equation with two variables?

To solve a second order differential equation with two variables, you need to find a solution that satisfies the equation. This can be done through various methods, such as separation of variables, substitution, or using a specific solution method such as the method of undetermined coefficients or variation of parameters.

4. What are some real-world applications of second order differential equations with two variables?

Second order differential equations with two variables are commonly used in physics and engineering to model the motion of objects. They can also be used in economics to model the relationship between two variables, such as supply and demand or interest rates and inflation.

5. What are the initial conditions for a second order differential equation with two variables?

The initial conditions for a second order differential equation with two variables are the values of the variables and their derivatives at a specific point. These initial conditions are required to find a unique solution to the equation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
930
  • Calculus and Beyond Homework Help
Replies
7
Views
771
  • Calculus and Beyond Homework Help
Replies
7
Views
489
  • Calculus and Beyond Homework Help
Replies
2
Views
135
  • Calculus and Beyond Homework Help
Replies
5
Views
268
  • Precalculus Mathematics Homework Help
Replies
6
Views
577
  • Calculus and Beyond Homework Help
Replies
2
Views
530
  • Calculus and Beyond Homework Help
Replies
1
Views
685
  • Calculus and Beyond Homework Help
Replies
8
Views
208
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
Back
Top