How do I solve this differential equation?

In summary,You are looking for a function f(x,y) such that \begin{align*}\frac{\partial f}{\partial x} &= x \cos(y) + x^2 +y \\\frac{\partial f}{\partial y} &= x + y^2 -\frac12 x^2 \sin y\end{align*} The solution is then given implicitly by f(x,y(x))) = C.f
  • #1
Homework Statement
(x cos(y) + x^2 +y ) dx + (x + y^2 - (x^2)/2 sin y ) dy = 0
Relevant Equations
(x cos(y) + x^2 +y ) dx = - (x + y^2 - (x^2)/2 sin y ) dy
(x cos(y) + x2 +y ) dx = - (x + y2 - (x2)/2 sin y ) dy
I integrated both sides
1/2x2cos(y) + 1/3 x3+xy = -xy - 1/3y3+x2cos(y)

Then
I get x3 + 6xy + y3 = 0

Am I doing the calculations correctly?
Do I need to solve it in another way?
 
  • #2
You are looking for a function [itex]f(x,y)[/itex] such that [tex]
\begin{align*}
\frac{\partial f}{\partial x} &= x \cos(y) + x^2 +y \\
\frac{\partial f}{\partial y} &= x + y^2 -\frac12 x^2 \sin y
\end{align*}[/tex] The solution is then given implicitly by [itex]f(x,y(x))) = C[/itex].

Are you familiar with how to solve such a system?
 
  • Like
Likes Delta2 and WWGD
  • #3
You are looking for a function [itex]f(x,y)[/itex] such that [tex]
\begin{align*}
\frac{\partial f}{\partial x} &= x \cos(y) + x^2 +y \\
\frac{\partial f}{\partial y} &= x + y^2 -\frac12 x^2 \sin y
\end{align*}[/tex] The solution is then given implicitly by [itex]f(x,y(x))) = C[/itex].

Are you familiar with how to solve such a system?
Then do I have to solve two different differential equations?
 
  • #4
the first thing i notice is that if i take the partial of the first equation with respect to y it is equal to the partial of the second equation with respect to x. I think this means the system is "exact". My differential equations are a bit rusty. To solve this system, you may need to review exact equations in yout textbook,
 
  • #5
the first thing i notice is that if i take the partial of the first equation with respect to y it is equal to the partial of the second equation with respect to x. I think this means the system is "exact". My differential equations are a bit rusty. To solve this system, you may need to review exact equations in yout textbook,
Correct. It implies there is f(x,y) with f_x , f_y equal to the respective equations.
 
  • #6
This is a class of ODE known as exact equations in this text

Here is the theorem that gives the solution and a corresponding example from the text


Screen Shot 2021-04-20 at 12.33.11 AM.png




Screen Shot 2021-04-20 at 12.33.22 AM.png

once you get the hang of the process it becomes pretty simple actually.
 
  • #7
This is a class of ODE known as exact equations in this text

Here is the theorem that gives the solution and a corresponding example from the text


View attachment 281782



View attachment 281783
once you get the hang of the process it becomes pretty simple actually.
I always wondered if it is a coincidence that these are precisely the Cauchy-Riemann equations.
 

Suggested for: How do I solve this differential equation?

Replies
10
Views
299
Replies
4
Views
257
Replies
7
Views
527
Replies
8
Views
468
Replies
2
Views
405
Replies
21
Views
915
Replies
7
Views
576
Replies
12
Views
923
Back
Top