Solve the given differential equation

  • Thread starter Thread starter chwala
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 2K views
chwala
Gold Member
Messages
2,843
Reaction score
428
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 [tex](x,y)=(x_0,y_0)[/tex] on the solution, [tex](x_0+\Delta x, y_0+\Delta y)[/tex]
is also on the solution, where
[tex]\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}[/tex]
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.
 
Reply
  • Like
Likes   Reactions: 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!
 
Reply
  • Like
Likes   Reactions: anuttarasammyak and DeBangis21