Solve the given differential equation

  • Thread starter Thread starter chwala
  • Start date Start date
Click For Summary
The discussion revolves around solving a non-exact ordinary differential equation (ODE) presented by the user. Initial attempts to check for exactness were unsuccessful, leading to the conclusion that an analytical solution may not exist. Participants suggest that numerical methods, particularly the Runge-Kutta method, could be the most viable approach to find a solution. The conversation emphasizes the importance of exploring unconventional mathematical problems rather than relying solely on traditional methods. Overall, the focus is on leveraging numerical techniques to tackle the challenges posed by the ODE.
chwala
Gold Member
Messages
2,827
Reaction score
415
Homework Statement
##(2xy+\cos y+\dfrac{2y}{x}-\sin x)dx +(x^2-y\sin y+1)dy=0##
Relevant Equations
hybrid ode
Ok, i just came up with this ode. How does one go about to solve it?

My attempt

Let ##M(x,y) =(2xy+\cos y+\dfrac{2y}{x}-\sin x)## and ##N(x,y) = (x^2-y\sin y+1)##

##\dfrac{\partial M}{\partial y}= 2x - \sin y + \dfrac{2}{x}## and ##\dfrac{\partial N}{\partial x}= 2x##

Not exact.
 
Last edited:
Physics news on Phys.org
Say we have a point (x,y)=(x_0,y_0) on the solution, (x_0+\Delta x, y_0+\Delta y)
is also on the solution, where
\frac{\Delta y}{\Delta x}=\frac{dy}{dx}|_{x=x_0,y=y_0}=-\frac{2xy+\cos y+\frac{2y}{x}-\sin x}{x^2-y\sin y+1}|_{x=x_0,y=y_0}
In this way we can find successive solution points numerically. I have no idea how to get analytic solution if there is.
 
Last edited by a moderator:
chwala said:
Ok, i just came up with this ode.
There's no guarantee that an ODE devised more-or-less at random will have an analytical solution.
chwala said:
How does one go about to solve it?
Your approach of checking for exactness is a good start, but as you found, the equation isn't exact. Many textbooks on differential equations take this approach farther by making additional assumptions about the possible solutions.
@anuttarasammyak's suggestion of going for a numerical solution might be the only way forward here.
 
  • Like
Likes anuttarasammyak
Thanks for the thoughtful input — actually, I’ve taken this as a personal challenge! I’ll be applying the Runge-Kutta method to this problem and working through it manually as far as possible. I’m also committed to generating more of these hybrid-style problems that push the boundaries of how we see mathematics, rather than sticking to traditional textbook paths.

Your suggestion of checking for exactness was solid, and even though it didn’t yield a direct solution here, it shows the right instinct. I completely agree with @anuttarasammyak — numerical methods may indeed be our best route for a meaningful solution. Let’s stretch the limits a little!
 
  • Like
Likes anuttarasammyak and DeBangis21
First, I tried to show that ##f_n## converges uniformly on ##[0,2\pi]##, which is true since ##f_n \rightarrow 0## for ##n \rightarrow \infty## and ##\sigma_n=\mathrm{sup}\left| \frac{\sin\left(\frac{n^2}{n+\frac 15}x\right)}{n^{x^2-3x+3}} \right| \leq \frac{1}{|n^{x^2-3x+3}|} \leq \frac{1}{n^{\frac 34}}\rightarrow 0##. I can't use neither Leibnitz's test nor Abel's test. For Dirichlet's test I would need to show, that ##\sin\left(\frac{n^2}{n+\frac 15}x \right)## has partialy bounded sums...