Solution to nonlinear ODE with radicals

davikrehalt
Messages
5
Reaction score
0
I am not too familiar with differential equations but am familiar with basic calculus, I came across this equation trying to describe a particular function:
dy/dx =((sqrt((y-x)^2+y^2)-abs(y))/(y-x))*abs(y)/y

Anyway I tried to separate the variables unsuccessfully and using v(x)=y(x)/x with no success, I really tried and couldn't solve it, so some insight would be appreciated. I tried restricting y to be positive, still without a breakthrough. Sorry if it's confusing, can't figure out the math format.
 
Physics news on Phys.org
There is a solution y = cx, if that helps. c satisfies a quartic. One of the roots is 1, but you can discount that, leaving a cubic. All the real roots of that are negative.
 
Are you suggesting that I try to solve the differential equation with respect to c? Could you elaborate a little since I fail to see c satisfying a quartic.
 
Suppose y > 0 in some domain:
dy/dx = (√((y-x)2+y2)-y)/(y-x)
Put y = cx:
c = (√((c-1)2+c2)-c)/(c-1)
c(c-1) + c = √((c-1)2+c2) = c2
(c-1)2+c2 = c4
(c-1)2 = c2(c2-1)
There's a common factor c-1. That root corresponds to y=x, which makes the original equation indeterminate. Otherwise:
(c-1) = c2(c+1)

OTOH, where y < 0:
dy/dx = -(√((y-x)2+y2)+y)/(y-x)
Put y = cx:
c = -(√((c-1)2+c2)+c)/(c-1)
c(c-1) - c = -√((c-1)2+c2) = c2 -2c
etc.
 
haruspex said:
Suppose y > 0 in some domain:
dy/dx = (√((y-x)2+y2)-y)/(y-x)
Put y = cx:
c = (√((c-1)2+c2)-c)/(c-1).

Thanks for the reply, but I was looking for a more general solution where y is not necessarily a linear function of x, perhaps where c would also be a function of x. It seems that your solution forces the y to be zero when x is zero. If c is a function of x then,

c+x*dc/dx =(√((c-1)2+c2)-c)/(c-1)
x*dc/dx=(√((c-1)2+c2)-c^2)/(c-1)
Then, I am quite at a loss trying to integrate and solve that for c
 
davikrehalt said:
Thanks for the reply, but I was looking for a more general solution where y is not necessarily a linear function of x,
Of course. I was merely pointing out one set of solutions. These should shed light on the overall behaviour. Other solutions cannot cross the line y = cx. Finding all the real roots for the two cases (y >/< 0) will carve up the plane into separate domains.
 
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top