Solve the given differential equation

  • Thread starter Thread starter chwala
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on solving a specific ordinary differential equation (ODE) defined by the functions M(x,y) = (2xy + cos(y) + 2y/x - sin(x)) and N(x,y) = (x^2 - y sin(y) + 1). The equation is determined not to be exact, as evidenced by the partial derivatives ∂M/∂y and ∂N/∂x. Participants suggest that numerical methods, particularly the Runge-Kutta method, may be the most viable approach for finding solutions, given the lack of an analytical solution.

PREREQUISITES
  • Understanding of ordinary differential equations (ODEs)
  • Familiarity with numerical methods, specifically the Runge-Kutta method
  • Knowledge of partial derivatives and their applications in differential equations
  • Basic trigonometric functions and their derivatives
NEXT STEPS
  • Research the Runge-Kutta method for solving ODEs
  • Explore numerical analysis techniques for approximating solutions to non-exact equations
  • Study the concept of exactness in differential equations and methods to determine it
  • Investigate hybrid mathematical problems that combine analytical and numerical approaches
USEFUL FOR

Mathematicians, students of differential equations, and anyone interested in numerical methods for solving complex ODEs.

chwala
Gold Member
Messages
2,828
Reaction score
420
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   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!
 
  • Like
Likes   Reactions: anuttarasammyak and DeBangis21

Similar threads

Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K