How to Solve the Given Differential Equation?

In summary: Just use the substitutions and the DE transforms into:$$\cosh(2\theta)\frac{dr}{d\theta}-r \sinh(2\theta)=\sqrt{\cosh^2(2\theta)+\sinh^2(2\theta)}$$$$\Rightarrow \cosh(2\theta)\frac{dr}{d\theta}-r \sinh(2\theta)=1$$This DE is separable, as you have noticed already. :DI just realized that I didn't square the radicand. :fool:Yes, I think your calculation is correct. :DI just realized that I didn't square the radicand. :fool:Yes
  • #1
Saitama
4,243
93
Problem:
Solve:
$$\frac{x\,dx-y\,dy}{x\,dy-y\,dx}=\sqrt{\frac{1+x^2-y^2}{x^2-y^2}}$$

Attempt:
I rewrite the given differential equation as:
$$\frac{(1/2)d(x^2-y^2)}{x^2d(y/x)}=\sqrt{\frac{1+x^2-y^2}{x^2-y^2}}$$

I thought of using the substitution $x^2-y^2=t^2$ but that doesn't seem to help. The following is what I get after the substitution:
$$\frac{t\sqrt{x^2-t^2}\,dt}{t\,dx-x\,dt}=\sqrt{1+t^2}$$
But I don't see how to proceed from here. :(

Any help is appreciated. Thanks!
 
Physics news on Phys.org
  • #2
I tried isolating $dy/dx$,
$$\frac{dy}{dx}=\frac{x\sqrt{x^2-y^2}+y\sqrt{1+x^2-y^2}}{y\sqrt{x^2-y^2}+x\sqrt{1+x^2-y^2}}$$
But this still doesn't ring a bell. :(

Please help.
 
  • #3
I find that by switching to polar coordinates, one obtains a linear ODE in $r$ and $\theta$. :D
 
  • #4
MarkFL said:
I find that by switching to polar coordinates, one obtains a linear ODE in $r$ and $\theta$. :D

Hi MarkFL! :)

I tried substituting $x=r\cos\theta$ and $y=r\sin\theta$ and got the following DE
$$\cos(2\theta)\frac{dr}{d\theta}-r\sin(2\theta)=\sqrt{\frac{1+r^2 \cos (2\theta)}{\cos(2\theta)}}$$

How do I solve the above DE? I have got both $r$ and $\theta$ inside the radical, how to deal with this? :confused:
 
  • #5
Pranav said:
Hi MarkFL! :)

I tried substituting $x=r\cos\theta$ and $y=r\sin\theta$ and got the following DE
$$\cos(2\theta)\frac{dr}{d\theta}-r\sin(2\theta)=\sqrt{\frac{1+r^2 \cos (2\theta)}{\cos(2\theta)}}$$

How do I solve the above DE? I have got both $r$ and $\theta$ inside the radical, how to deal with this? :confused:

Yes, I see now that I made an error on my worksheet and dropped the $r^2$ under the radical...darn...I should have written instead:

\(\displaystyle \frac{dr}{d\theta}-\tan(2\theta)r=\sqrt{\frac{1+r^2\cos(2\theta)}{ \cos^3(2\theta)}}\)

That is clearly not linear. Back to the drawing board...:D
 
  • #6
MarkFL said:
Yes, I see now that I made an error on my worksheet and dropped the $r^2$ under the radical...darn...I should have written instead:

\(\displaystyle \frac{dr}{d\theta}-\tan(2\theta)r=\sqrt{\frac{1+r^2\cos(2\theta)}{ \cos^3(2\theta)}}\)

That is clearly not linear. Back to the drawing board...:D

Thanks MarkFL for the effort you are putting into this problem. :)

BTW, the answer is:
$$\sqrt{x^2-y^2}+\sqrt{1+x^2-y^2}=\frac{c(x+y)}{\sqrt{x^2-y^2}}$$
 
  • #7
I wonder if the substitution
\begin{align*}
x&= r \cosh( \theta) \\
y &= r \sinh( \theta)
\end{align*}
might not be better, as you get $x^{2}-y^{2}=r^{2}$.
You'd have
\begin{align*}
dx &= \cosh( \theta) \, dr+r \, \sinh( \theta) \, d\theta \\
dy &= \sinh( \theta) \, dr+r \, \cosh( \theta) \, d\theta.
\end{align*}
I'm still computing what this transforms the DE into...
 
  • #8
If my calculations are correct, the DE reduces down to
$$dr=\sqrt{1+r^{2}} \, d\theta,$$
which is separable.
 
  • #9
Ackbach said:
If my calculations are correct, the DE reduces down to
$$dr=\sqrt{1+r^{2}} \, d\theta,$$
which is separable.

That's awesome! :D

BTW, I seem to be getting something different. I continue from my first post and then use the substitutions suggested by you. I had:

$$\frac{(1/2)\,d(x^2-y^2)}{x^2\,d(y/x)}=\sqrt{\frac{1+x^2-y^2}{x^2-y^2}}$$

We have $x^2-y^2=r^2$ and $y/x=\tanh (\theta) \Rightarrow d(y/x)=\text{sech}^2(\theta)d\theta$. Substituting, I get
$$\frac{r\,dr}{d\theta}=\frac{\sqrt{1+r^2}}{r}$$
$$\Rightarrow \frac{r^2dr}{\sqrt{1+r^2}}=d\theta$$

Solving the differential equation, I get
$$\frac{r}{2}\sqrt{1+r^2}-\frac{\sinh^{-1}(r)}{2}=\theta+c$$
Am I right so far?

EDIT: I am wrong. Please wait, I make a new post. :eek:
 
  • #10
Continuing from $dr=\sqrt{1+r^2}d\theta$, I get
$$\frac{dr}{\sqrt{1+r^2}}=d\theta$$
Solving the D.E, I get
$$\sinh^{-1}(r)=\theta+c$$
We have, $r=\sqrt{x^2-y^2}$ and $\theta=\tanh^{-1}(y/x)=(1/2)ln((x+y)/(x-y))$. Substituting,
$$\ln(\sqrt{x^2+y^2}+\sqrt{1+x^2-y^2})=\ln\left(\sqrt{\frac{x+y}{x-y}}\right)+\ln(K)$$
$$\Rightarrow \sqrt{x^2+y^2}+\sqrt{1+x^2-y^2}=K\sqrt{\frac{x+y}{x-y}}=\frac{K(x+y)}{\sqrt{x^2-y^2}}$$
Thanks a lot Ackbach and MarkFL! :)
 
  • #11
Pranav said:
$$\ln(\sqrt{x^2+y^2}+\sqrt{1+x^2-y^2})=\ln\left(\sqrt{\frac{x+y}{x-y}}\right)+\ln(K)$$
$$\Rightarrow \sqrt{x^2+y^2}+\sqrt{1+x^2-y^2}=K\sqrt{\frac{x+y}{x-y}}=\frac{K(x+y)}{\sqrt{x^2-y^2}}$$

Assume you meant
$$\Rightarrow \sqrt{x^2-y^2}+\sqrt{1+x^2-y^2}=K\sqrt{\frac{x+y}{x-y}}=\frac{K(x+y)}{\sqrt{x^2-y^2}},$$
right?
 
  • #12
Ackbach said:
Assume you meant
$$\Rightarrow \sqrt{x^2-y^2}+\sqrt{1+x^2-y^2}=K\sqrt{\frac{x+y}{x-y}}=\frac{K(x+y)}{\sqrt{x^2-y^2}},$$
right?

Yes. :eek:
 
  • #13
Ackbach said:
I wonder if the substitution
\begin{align*}
x&= r \cosh( \theta) \\
y &= r \sinh( \theta)
\end{align*}
might not be better, as you get $x^{2}-y^{2}=r^{2}$.
You'd have
\begin{align*}
dx &= \cosh( \theta) \, dr+r \, \sinh( \theta) \, d\theta \\
dy &= \sinh( \theta) \, dr+r \, \cosh( \theta) \, d\theta.
\end{align*}
I'm still computing what this transforms the DE into...

Very nicely done! :cool:
 
  • #14
MarkFL said:
Very nicely done! :cool:

BTW, as I stated previously, there is no need to find $dx$ and $dy$ separately. :)
 

FAQ: How to Solve the Given Differential Equation?

What is a differential equation?

A differential equation is a mathematical equation that describes how a physical quantity changes over time or space, based on the rate of change of that quantity. It relates the value of the quantity to its derivatives, or how the quantity changes with respect to its variables.

Why do we need to solve differential equations?

Differential equations are used to model many natural phenomena in fields such as physics, engineering, economics, and biology. By solving these equations, we can better understand and predict the behavior of complex systems and make informed decisions based on their solutions.

What methods can be used to solve differential equations?

There are various methods for solving differential equations, such as separation of variables, substitution, and using specific formulas for certain types of equations. Numerical methods, such as Euler's method and Runge-Kutta methods, can also be used to approximate solutions for more complex equations.

What are the challenges in solving differential equations?

Solving differential equations can be challenging because they often involve complex mathematical concepts and techniques. The choice of method to use can also greatly affect the accuracy and efficiency of the solution. Additionally, initial conditions and boundary conditions must be carefully considered to ensure an accurate solution.

What are the applications of solving differential equations?

Differential equations have many practical applications such as modeling population growth, predicting the motion of objects, understanding chemical reactions, and analyzing the behavior of electrical circuits. They are also useful in developing mathematical models for real-world problems and designing efficient systems.

Similar threads

Back
Top