Solving a 2nd Order Differential Equation with Initial Conditions

robertjordan
Messages
71
Reaction score
0

Homework Statement


\frac{d^2 y}{dx^2}\cdot\frac{dy}{dx}=x(x+1), \hspace{10pt} y(0)=1, \hspace{5pt} y'(0)=2


Homework Equations



None I can think of...

The Attempt at a Solution




The only thing I even thought to try was turn it into the form:
\frac{d^2 y}{dx^2}{dy}=x(x+1){dx}
...and then it looks kind of like a separable equation?

I'm lost.
 
Physics news on Phys.org


Try setting w=dy/dx
 


That simplifies the equation to:
{w}\frac{dw}{dx}=x(x+1)

Integrating both sides with respect to x gives:

\int{w}\frac{dw}{dx}dx=\int{x(x+1)}dx
\frac{w^2}{2}=\frac{(\frac{dy}{dx})^2}{2}=\frac{x^3}{3}+\frac{x^2}{2}+C

Now what? Am I on the right track?
 
Last edited:


wdw=(x^2+x)dx
From here, you merely have to integrate both sides. You can utilize your initial conditions to determine a value for the constant of integration.Edit: Yes, you are on the right track. Solve for C, then I am assuming you want to solve for y, however, you never really stated what is being asked.
 


How can we use y(0)=1? Do we say:
\int_{x_o}^{0}wdx+C_2=1?
 


You don't need to use that condition. [[y'(0)]^2/2=[x]^3/3+[x]^2/2+c_1 since y'=w. Make sense? Can you take it from here?
 
Last edited:


sandy.bridge said:
You don't need to use that condition. [[y'(0)]^2/2=[x(0)]^3/3+[x(0)]^2/2+c_1 since y'=w. Make sense? Can you take it from here?

I don't understand why you said x(0)? I thought x was the independent variable? So why wouldn't it be:
\frac{y'(0)^2}{2}=\frac{2^2}{2}=2=\frac{0^3}{3}+ \frac{0^2}{2}+c_1

... which means c1=2?

But I still don't get how that helps me find y?

that would just change the equation we want to solve to:

\frac{{[\frac{dy}{dx}]^2}}{2}=\frac{x^3}{3}+\frac{x^2}{2}+2

But I still don't see how to find y from that. :(
 
Last edited:


You are right, that was a typo on my part. Get dy/dx by itself. What is the relationship between y and y'?
 


sandy.bridge said:
You are right, that was a typo on my part. Get dy/dx by itself. What is the relationship between y and y'?

So multiply both sides by 2 and then take the square root? Getting:

\frac{dy}{dx}=\sqrt{\frac{2x^3}{3}+ x^2+4}

And then integrate with respect to x...

I don't know how to do that integral, and wolframalpha couldn't do it either. (http://www.wolframalpha.com/input/?i=integrate+sqrt%282x^3%2F3%2Bx^2%2B4%29+with+respect+to+x)

Sorry to drag this out so long but I just don't get it!
 
  • #10


You don't have to necessarily evaluate the integral. You can change the integral to a definite integral; there will be an upper limit and a lower limit. You will change the variable of the integrand from x to some other variable. I can't integrate that either, so that is what I would do. If I missed something, I'm sure someone will jump in.

ie. \int{}\frac{e^{at^2}}{t^2}dt=\int_{s_0}^{s}\frac{e^{as^2}}{s^2}ds
 
Last edited:
  • #11


sandy.bridge said:
You don't have to necessarily evaluate the integral. You can change the integral to a definite integral; there will be an upper limit and a lower limit. You will change the variable of the integrand from x to some other variable. I can't integrate that either, so that is what I would do. If I missed something, I'm sure someone will jump in.

y(x)=\int_{x_o}^{x}\sqrt{\frac{2u^3}{3}+ u^2+4}du+C_2
So
y(0)=\int_{x_o}^{0}\sqrt{\frac{2u^3}{3}+ u^2+4}du+C_2 = 1
Choose xo=0, so
y(0)=\int_{0}^{0}\sqrt{\frac{2u^3}{3}+ u^2+4}du+C_2 = 0+C_2=1
So C2=1, So the final answer is...

y(x)=\int_{0}^{x}\sqrt{\frac{2u^3}{3}+ u^2+4}du+1



Is that right?
 
Back
Top