Has anybody got a cleaner solution?

  • Thread starter macilrae
  • Start date
In summary, the conversation discusses different methods of solving the differential equation dx/dy = x/y - √{1 + (x/y)^2}, with the goal of finding a more elegant and direct substitution. One method involves substituting x/y = z and using logarithms, while another involves using trigonometric functions. The conversation also touches on the concept of implicit equations and singular solutions. The final solution is y^2 = 2Cx + C^2, where C/2 is the focal length.
  • #1
macilrae
7
0
Attempting to solve

dx/dy = x/y - √{1 + (x/y)^2}

I can substitute x/y = z and get

ln(y/c) = arcsinh(z) c is constant of integration

or putting x/y = tan(θ)

I get

ln(y/c) = ln(sec(θ) + tan(θ))

both of which do give a parabola but the interim logs seem so messy and unnecessary.
Is there a better more direct substitution?
 
Physics news on Phys.org
  • #2
Hi !
Let x = y sinh(t)
dx/dy = sinh(t) + y cosh(t) (dt/dy)
which leads to a very simple ODE
 
  • #3
Thanks, JJaquelin - that's certainly a fast and ingenious idea - you still bump into the Sinh(ln()) thingy which I had hoped to avoid - probably I'm too picky.
The equation arose from asking what curve, symmetric about the x axis, will always reflect back a right-to-left ray, parallel to x axis, through the same point (parabolic reflector - focal point).
 
  • #4
A trig substitution is the "natural" way to solve this if you formulate the DE using geometry. Putting the fixed point at the origin, the equations for the directon of the reflected ray and the tangent to the curve are

dy/dx = cot (t/2)
tan t = y/x
 
  • #5
sinh(ln(c*y)) = (c*y-(1/(c*y))/2
So, there is no hyperbolic function, nor trigonometric function, in the final result : x = function of y , which is a very simple parabolic function.
 
  • #6
AlephZero - Right, those were the starting equations & they look so simple - I don't begrudge a log popping up, but when I immediately have to antilog it, intuitively I think "There has to be a more elegant way!"
 
  • #7
JJaquelin - it's the sinh(ln()) that is bugging me! Having to "do and undo" seems redundant - especially because the final expression is the simplest parabola!
 
  • #8
Notice that:
[tex]
\mathrm{arcsinh} (x) = \ln \left( x + \sqrt{1 + x^2} \right)
[/tex]

Your equation
[tex]
\frac{dx}{dy} = \frac{x}{y} - \sqrt{1 + \left( \frac{x}{y} \right)^2}
[/tex]
after the substitution
[tex]
z = \frac{x}{y}, \ z = z(y)
[/tex]
reduces to:
[tex]
y \, z' + z = z - \sqrt{1 + z^2}
[/tex]
[tex]
\frac{dz}{\sqrt{1 + z^2}}+ \frac{dy}{y} = 0
[/tex]
which integrates to:
[tex]
\mathrm{arcsinh}(z) + \ln(y) = C
[/tex]
I think you have the realtive sign opposite to this in your solution. Then, use the above representation of the inverse hyperbolic sine, and take the antilogratihm:
[tex]
y \, \left( z + \sqrt{1 +z^2} \right) = C_1
[/tex]
[tex]
x + \sqrt{x^2 + y^2} = C_1
[/tex]
[tex]
\sqrt{x^2 + y^2} = C_1 - x
[/tex]
Square it:
[tex]
x^2 + y^2 = \left(C_1 - x \right)^2
[/tex]
[tex]
x^2 + y^2 = C^{2}_{1} - 2 \, x \, C_1 + x^2
[/tex]
[tex]
x = \frac{C_1}{2} - \frac{y^2}{2 C_1}
[/tex]
 
  • #9
Another way is to solve it as an implicit equation. Introduce [itex]p = dx/dy[/itex], and [itex]z = x/y[/itex]. Then:
[tex]
p = z - \sqrt{1 + z^2}
[/tex]
[tex]
\sqrt{1 + z^2} = z - p
[/tex]
Squaring it gives:
[tex]
1 + z^2 = z^2 - 2 p z + p^2
[/tex]
[tex]
z = \frac{p^2 - 1}{2 p}
[/tex]
or
[tex]
x = y \, \frac{p^2 - 1}{2 p}
[/tex]
This is an implicit equation of the Lagrange-Clairot type. Differentiate w.r.t. y to get:
[tex]
p \, dy = \frac{p^2 - 1}{2 p} \, dy + y \, \frac{2 p \cdot p - (p^2 - 1) \cdot 1}{2 p^2} \, dp
[/tex]
[tex]
\frac{2 p^2 - p^2 + 1}{2 p} \, dy = y \, \frac{2 p^2 - p^2 + 1}{2 p^2} \, dp
[/tex]
[tex]
\frac{d y}{y} = \frac{d p}{p}
[/tex]
Integrating this equation gives:
[tex]
\ln(p) = \ln(y) + C'_1
[/tex]
and taking the antilogarithm gives:
[tex]
p = C_1 \, y
[/tex]
Substitute this in the parametric solution for x:
[tex]
x = y \, \frac{C^{2}_{1} y^2 - 1}{2 \, C_{1} \, y} = \frac{C_1 \, y^2}{2} - \frac{1}{2 \, C_1}
[/tex]
which is the same general solution as before if you make the substitution [itex]C_1 \rightarrow -1/C_1[/itex].

But, there might also be a singular solution to the equation. It is obtained as an envelope of the family of general solutions. Differentiate w.r.t. to the arbitrary constant to get:
[tex]
0 = \frac{y^2}{2} + \frac{1}{2 \, C^{2}_{1}}
[/tex]
This sum of non-negative terms can only be zero, if each term is equal to zero separately. This corresponds to:
[tex]
y = 0, \ C_1 \rightarrow \infty
[/tex]
To check whether [itex]y = 0[/itex] is a solution of the original equation, solve it for [itex]y' = dy/dx = (dx/dy)^{-1}[/itex]:
[tex]
y' = \frac{1}{x/y - \sqrt{1 + (x/y)^2}} = \frac{y}{x - \mathrm{sgn}(y) \, \sqrt{y^2 + x^2}}
[/tex]
One may argue that it is because of the y in the numerator, or that the original equation is not defined for [itex]y = 0[/itex].
 
  • #10
Thanks to everyone for engaging my problem - seems the way below is the least painful but certainly not the most creative (thanks Dickfore, I had to look up Lagrange-Clairot!)

The original conditions for the mirror profile were:

dx/dy = -tan(2α) and y/x = tan(α)

which boils down to

dx/dy = x/y ± √{1 + (x/y)^2} ... thanks again for the "+" Dickfore, I'll use that.

using x/y = tan(θ)

dy/y = sec(θ)dθ ... really simple, huh?

but then:frown:

ln(y/C) = ln[tan(θ) + sec(θ)]

ending up with

y^2 = 2Cx + C^2 where C/2 is the focal length

for such a trivial result it seemed messy to go in and out of logs but hey
 
  • #11
correction

dx/dy = tan(α) and y/x = -tan(2α)

sorry
 
  • #12
Hi !

if you know an easier way... :devil:
 

Attachments

  • Easy way.JPG
    Easy way.JPG
    13.7 KB · Views: 399
  • #13
JJaquelin: It's just that given the chance I prefer trigonometrics to hyperbolicals - but never call me prejudiced - some of my best fiends are quite hyperbolic ...
 

FAQ: Has anybody got a cleaner solution?

What is meant by a "cleaner solution"?

A cleaner solution refers to a method or approach that is more efficient, effective, or simpler than existing solutions. It often involves reducing complexity, improving performance, or addressing a problem in a more sustainable way.

Why is finding a cleaner solution important?

Finding a cleaner solution is important because it can lead to better outcomes, such as cost savings, improved productivity, or reduced environmental impact. It also encourages innovation and progress in various fields.

How do scientists determine if a solution is "cleaner"?

Scientists evaluate a solution's cleanliness by considering various factors, such as its impact on the environment, its efficiency and effectiveness, and its long-term sustainability. They may also compare it to existing solutions and conduct experiments or simulations to measure its performance.

What are some examples of cleaner solutions in science?

Some examples of cleaner solutions in science include renewable energy sources, such as solar and wind power, which have a lower environmental impact compared to fossil fuels. Other examples include biodegradable materials, sustainable agriculture practices, and efficient waste management systems.

How can individuals and companies contribute to finding cleaner solutions?

Individuals and companies can contribute to finding cleaner solutions by supporting research and development in areas such as renewable energy, sustainable materials, and green technologies. They can also adopt environmentally-friendly practices in their daily lives and businesses, such as reducing waste and conserving resources.

Similar threads

Replies
2
Views
3K
Replies
1
Views
1K
Replies
8
Views
1K
Replies
6
Views
5K
Replies
4
Views
2K
Replies
8
Views
2K
Back
Top