Solving (1/2)y'' + y^2 = 1: How to Attack?

  • Thread starter Thread starter Adeimantus
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on solving the differential equation (1/2)y'' + y^2 = 1, which models the trajectory of a ball under constant gravitational acceleration and quadratic drag. Participants suggest various methods for approximating solutions, including transforming the equation into a first-order differential equation and utilizing elliptic integrals. The conversation highlights the complexity of finding explicit solutions, with recommendations to explore Mathematica for computational assistance and to investigate the properties of elliptic integrals for further insights.

PREREQUISITES
  • Understanding of differential equations, particularly second-order and first-order forms.
  • Familiarity with elliptic integrals and their properties.
  • Knowledge of non-dimensionalization techniques in physics.
  • Experience with computational tools like Mathematica for solving complex equations.
NEXT STEPS
  • Research the properties and applications of elliptic integrals in mathematical physics.
  • Learn how to convert second-order differential equations into first-order forms.
  • Explore numerical methods for approximating solutions to non-linear differential equations.
  • Investigate the capabilities of Mathematica for solving differential equations and visualizing solutions.
USEFUL FOR

Mathematicians, physicists, and engineers dealing with complex differential equations, particularly those modeling motion under non-linear forces such as drag. This discussion is also beneficial for students and researchers interested in advanced mathematical techniques and computational methods.

Adeimantus
Messages
112
Reaction score
1
How would you attack this equation?

(1/2)y'' + y^2 = 1

I'm trying to find an approximate solution for the trajectory of a ball acted on by constant gravity acceleration and quadratic drag (proportional to the speed squared), and it turns out the speed squared satisfies an equation that is equivalent to this one after non-dimensionalizing. Any kind of solution would be nice, whether it is good for large x, small x, or whatever.

I was thinking that for x << 1, the equation would be approximately (1/2)y'' + y^2 = 0, in which case y = -3/x^2 is a solution. But then I don't know how to proceed from there to a better approximation. For x >> 1, I was thinking y^2 = 1 would be a first approximation, but again I don't know how to get any farther than that.

thanks
 
Physics news on Phys.org
I'd multiply through by y', then note that you can integrate each of the three terms individually to get a 1st order diff eqn.

Maybe you probably meant (y')2, in which case try writing as y'' / ( 1 - (y')2)=2 and integrate.
 
Last edited:
gel said:
I'd multiply through by y', then note that you can integrate each of the three terms individually to get a 1st order diff eqn.

Maybe you probably meant (y')2, in which case try writing as y'' / ( 1 - (y')2)=2 and integrate.

No, y2 was what I meant. I forgot to mention that I had tried integrating it once as you suggested above, but I wasn't able to do the resulting integral

\int\frac{dy}{\sqrt{c+y-\frac{y^3}{3}}}

Is there a way to integrate that?

thanks
 
Adeimantus said:
\int\frac{dy}{\sqrt{c+y-\frac{y^3}{3}}}

Is there a way to integrate that?

I'm no expert on this, but it looks like an elliptic integral to me. I don't think you can do it explicitly.
 
to quote http://en.wikipedia.org/wiki/Elliptic_integral"

In general, elliptic integrals cannot be expressed in terms of elementary functions. Exceptions to this general rule are when P has repeated roots, or when R(x,y) contains no odd powers of y. However, with the appropriate reduction formula, every elliptic integral can be brought into a form that involves integrals over rational functions and the three canonical forms (i.e. the elliptic integrals of the first, second and third kind).

and, c + y - y3/3 won't in general have repeated roots.
 
Last edited by a moderator:
gel said:
I'm no expert on this, but it looks like an elliptic integral to me. I don't think you can do it explicitly.

OK, that helps. Perhaps I could look up an approximation to elliptic integrals, and then invert it to get y = y(x).

gel said:
to quote wikipedia


In general, elliptic integrals cannot be expressed in terms of elementary functions. Exceptions to this general rule are when P has repeated roots, or when R(x,y) contains no odd powers of y. However, with the appropriate reduction formula, every elliptic integral can be brought into a form that involves integrals over rational functions and the three canonical forms (i.e. the elliptic integrals of the first, second and third kind).

and, c + y - y3/3 won't in general have repeated roots.

Excellent. I'll take a look at that wikipedia article. Thank you.

Also, how do you write an inline fraction, such as 1/2, so that the 1 is on top of the 2?
 
Last edited:
can't help you with inline fractions though
 
Well darn. I went back and checked my derivation of the d.e. and realized I had a minus sign wrong. The correct equation is (I pretty sure this time :redface: ),

\frac{1}{2}y&#039;&#039; + 2y^{\frac{1}{2}}y&#039; + y^2 = 1

So I guess I'll get to work on this one...
 
Suppose a solution y(x) is invertible locally, then we can define v(y)=y&#039;(x(y)), where x(y) is the inverse of y(x). Substituting this in your d.e., you get

\frac{1}{2} v \dot{v} + 2 y^{1/2} v + y^2 = 1,

where \dot{v} denotes dv/dy. This is a first order d.e. which is easier to solve. Try substituting w=v/\sqrt{y} to get rid of the square root. If you have found the solution v(y), you can find y(x) by integrating

x-x_0 = \int_{y_0}^y \frac{dy}{v(y)}

and then solving the equation for y. Good luck!

...or use Mathematica :rolleyes:. It gives two solution: y=\tan^2 (x-x_0) and y=\coth^2(x-x_0). But you should check (and find the general solution).
 
  • #10
Timbuqtu said:
Suppose a solution y(x) is invertible locally, then we can define v(y)=y&#039;(x(y)), where x(y) is the inverse of y(x). Substituting this in your d.e., you get

\frac{1}{2} v \dot{v} + 2 y^{1/2} v + y^2 = 1,

where \dot{v} denotes dv/dy. This is a first order d.e. which is easier to solve. Try substituting w=v/\sqrt{y} to get rid of the square root. If you have found the solution v(y), you can find y(x) by integrating

x-x_0 = \int_{y_0}^y \frac{dy}{v(y)}

and then solving the equation for y. Good luck!

...or use Mathematica :rolleyes:. It gives two solution: y=\tan^2 (x-x_0) and y=\coth^2(x-x_0). But you should check (and find the general solution).

That is an excellent suggestion for clearing the square root. Thank you. I had found the solution y = tanh2(x-x0) by guessing and checking. What led me to guess it was the special case of a ball falling straight down (angle the velocity makes with the vertical is zero or pi, depending on how you define it) acted on by quadratic drag. In that case the non-dimensionalized speed is u = tanh(x-x0), and y = u2 in the above d.e.

The problem is, I don't know how to find a general solution for a non-linear d.e. Is there even a method of knowing how many solutions such an equation has?

Perhaps it would be better to work directly with the d.e. for the nondimensionalized velocity, u?

u(u'' + 2uu') + (u' + u2)2 = 1

edit:
.........
this eqn. comes from the pair of equations

u(u'' + 2uu') = sin2A
(u' + u2)2 = cos2A

where A(x) is the angle of the velocity vector with the vertical, as a function of the nondimensionalized time x.
.........

That way the special case of (u' + u2)2 = 1, which implies u'' + 2uu' = 0, would be apparent. But I'm guessing there are more solutions than that.

I will try out your suggestion. Thanks :)
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
615
  • · Replies 2 ·
Replies
2
Views
3K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K