Solve Diff Eq: \frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0

  • Thread starter Peregrine
  • Start date
  • Tags
    Integration
In summary, the conversation discusses solving a differential equation by setting a variable and using substitution. The simpler method of treating it as a separable equation is suggested, which leads to an easier integration process. The mistake of leaving "y" in the u-substitution is pointed out and the correct integration is shown.
  • #1
Peregrine
22
0
Simple Diff Eq Help

I am trying to solve the following Diff Eq:

[tex]\frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0[/tex]

I tried to solve by setting [tex]\frac{dx}{dy}=z[/tex]

so: [tex]\frac{dz}{dy}+(\frac{y}{2}-\frac{1}{y})z=0[/tex]

I know the general solution to this is:

[tex]z=-e^{-\int{\frac{y}{2}-\frac{1}{y}dy}}\int{0}dy[/tex]

This then yields:
[tex]z=-C_1e^{ln(y)-1/4y^2}=\frac{dx}{dy}[/tex]

And trying to integrate again, Using u-substitution, [tex]u = ln(y) -1/4y^2[/tex]
[tex]du=(\frac{1}{y} - \frac{y}{2}) dy[/tex]
[tex]dy = \frac{2}{2-y^2} du[/tex]

Now, can I leave that y tern in the u-substitution? Or did I make a mistake along the way?

Also, is there an easier way to solve this integral than the path I've taken? Thanks.
 
Last edited:
Physics news on Phys.org
  • #2
I'd try not thinking about what the general solution should be and think about seperating the equation and solving from there.

however for you final integral, you need to symplify z a bit.

the integrand should be

Cye^-1/4y^2

which is easily integrable using the substitution u=y^2
 
  • #3
Peregrine said:
I am trying to solve the following Diff Eq:

[tex]\frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0[/tex]

I tried to solve by setting [tex]\frac{dx}{dy}=z[/tex]

so: [tex]\frac{dz}{dy}+(\frac{y}{2}-\frac{1}{y})z=0[/tex]

I know the general solution to this is:

[tex]z=-e^{-\int{\frac{y}{2}-\frac{1}{y}dy}}\int{0}dy[/tex]

This then yields:
[tex]z=-C_1e^{ln(y)-1/4y^2}=\frac{dx}{dy}[/tex]
That's valid, since this is a linear equation but I think it would be simpler to treat it as a separable equation:
[tex]\frac{dz}{z}= \left(\frac{1}{y}- \frac{y}{2}\right)dy[/itex]
so
[tex]ln(z)= ln(y)- \frac{y^2}{4}+ c[/tex]
or
[tex]z= \frac{dx}{dy}= \frac{Cy}{e^{\frac{y^2}{4}}}[/tex]
That also separates:
[tex]dx= \frac{Cy}{e^{\frac{y^2}{4}}}dy[/tex]
To integrate that, let u= y2/4.

And trying to integrate again, Using u-substitution, [tex]u = ln(y) -1/4y^2[/tex]
[tex]du=(\frac{1}{y} - \frac{y}{2}) dy[/tex]
[tex]dy = \frac{2}{2-y^2} du[/tex]

Now, can I leave that y tern in the u-substitution? Or did I make a mistake along the way?
No, you cannot leave "y" in something you are integrating with respect to u.

Also, is there an easier way to solve this integral than the path I've taken? Thanks.
 
Last edited by a moderator:
  • #4
Thanks for the help!
 

Related to Solve Diff Eq: \frac{d^2x}{dy^2}+(\frac{y}{2}-\frac{1}{y})\frac{dx}{dy}=0

1. What is a differential equation?

A differential equation is an equation that involves a function and its derivatives. It describes how a function changes over time or in relation to other variables.

2. What is the order of this differential equation?

This differential equation is of second order, as it involves the second derivative of the function x with respect to y.

3. How do I solve this differential equation?

To solve this differential equation, you can use various methods such as separation of variables, integrating factors, or substitution. You can also use numerical methods or software programs to find a solution.

4. What are the applications of differential equations?

Differential equations are used to model various phenomena in physics, engineering, biology, economics, and other fields. They are essential in understanding and predicting the behavior of complex systems and processes.

5. Can this differential equation have multiple solutions?

Yes, this differential equation can have multiple solutions. In general, a second-order differential equation can have two linearly independent solutions, which can be combined to form an infinite number of solutions.

Similar threads

  • Differential Equations
Replies
16
Views
912
Replies
2
Views
1K
  • Differential Equations
Replies
3
Views
2K
  • Differential Equations
Replies
2
Views
2K
Replies
4
Views
2K
Replies
5
Views
1K
  • Differential Equations
Replies
4
Views
1K
  • Differential Equations
Replies
18
Views
2K
  • Differential Equations
Replies
27
Views
2K
  • Differential Equations
Replies
3
Views
2K
Back
Top