How Do You Solve an Exact Differential Equation?

  • Thread starter Pengwuino
  • Start date
In summary, to solve an exact equation for a DE, you differentiate each part by dx/dy and dy/dx to obtain - 2xy + 2\frac{{dx}}{{dy}} = - 2xy + 2\frac{{dy}}{{dx}} Then you integrate the original functions M and N. M = -2xy^2 + 2y dxN = -2x^2y +2x dyAfter that, you determine what the "constant" of integration is by solving for F and combining like terms. -x^2y^2+2xy=0
  • #1
Pengwuino
Gold Member
5,123
20
How do you determine a solution to a DE if you know the DE is exact? My professor (or possibly my notes) did a horrible job of explaining how to do it and the book does an even worse job explaining how to do it. For example, how would i go about solving this equation? I need to find c, the constant.

[tex] ( - 2xy^2 + 2y)dx + ( - 2x^2 y + 2x)dy = 0[/tex]

I know that I differentiate each part by dx/dy and dy/dx to attain:

[tex]- 2xy + 2\frac{{dx}}{{dy}} = - 2xy + 2\frac{{dy}}{{dx}}[/tex]

But where do I go from that point?
 
Physics news on Phys.org
  • #2
first you took the derivative wrong it should be -4xy+2

after that you would intergate and combine terms

can you do this
 
  • #3
haha oops oh yah... missed that twice it seems.

Which part do i integrate?
 
  • #4
you would integrate the original functions M and N

M = -2xy^2 + 2y dx

N = -2x^2y +2x dy
 
  • #5
Ok they both integrate to be:

-x^2y^2+2xy

now what?
 
  • #6
[tex] ( - 2xy^2 + 2y)dx + ( - 2x^2 y + 2x)dy = 0[/tex]

[tex] (-x^2y^2 + 2yx + c_1) + ( - x^2y^2 + 2xy + c_2 ) = 0 [/tex]

[tex] -2x^2y^2 + 4yx + k = 0 [/tex]

Edit: OOPS should be this:

[tex] k = 2x^2y^2 -4xy[/tex]

[tex] k= 2xy(xy - 2) [/tex]


I have no clue, I am just playing along here. Don't take what I post seriously. Do you have an idea of what the solution should look like? I don't see how you can get a specific value of c without any boundary conditions.
 
Last edited:
  • #7
Your original equation was
[tex] ( - 2xy^2 + 2y)dx + ( - 2x^2 y + 2x)dy = 0[/tex]
That is an exact equation because (-2xy2+ 2y)y= -4xy+ 2 and (-2x2y+ 2x)x= -2xy+ 2 also.

What that means is that there exist a function F(x,y) such that
[tex]dF= \frac{\partial F}{\partial x}dx+ \frac{\partial F}{\partial y}dy= (-2xy^2+ 2y)dx+ (-2x^2y+ 2x)dx[/tex]
(Above, we were checking the equality of the mixed second derivatives,
[tex]\frac{\partial^2 F}{\partial x\partial y}= \frac{\partial^2 F}{\partial y\partial x}[/tex])

That is, we must have
[tex]\frac{\partial F}{\partial x}= -2xy^2+ 2x[/tex]
Integrate that, with respect to x since in a partial derivative you are treating y as a constant. Of course, the "constant of integration" might, in fact, be a function of y. Once you get that expression for F, differentiate with respect to y and set it equal to
[tex]\frac{\partial F}{\partial y}= -2x^2y+ 2y[/tex] to determine what that "constant" must be.
In terms of that F, the equation just says "dF= 0" so F= constant is the general solution.
 
  • #8
So I set [tex] - x^2 y^2 + x^2 + c = - 2x^2 y + 2y[/tex] ??
 

FAQ: How Do You Solve an Exact Differential Equation?

1) What are exact differential equations?

Exact differential equations are a type of differential equation that can be solved using a specific method called the exact method. These equations have the property that their solutions depend only on the given boundary conditions and not on any arbitrary constants.

2) How do I know if a differential equation is exact?

A differential equation is exact if it satisfies the condition that the partial derivatives of its two sides with respect to all of its variables are equal. This means that if we rearrange the equation in a certain way, the resulting equation will have the same form as the exact method, making it solvable.

3) What is the step-by-step process for solving exact differential equations?

The step-by-step process for solving exact differential equations involves first checking if the equation is exact, then rearranging it into a specific form, and finally integrating both sides to find the solution. This process is detailed in the guide and should be followed carefully to ensure accurate results.

4) Are there any common mistakes to watch out for when solving exact differential equations?

Some common mistakes to watch out for when solving exact differential equations include forgetting to check if the equation is exact, missing steps in the rearrangement process, and making errors in the integration process. It is important to double-check each step and to practice with various examples to avoid these mistakes.

5) Can the exact method be used to solve all differential equations?

No, the exact method can only be used to solve a specific type of differential equation that satisfies the exact condition. There are other methods available for solving other types of differential equations, and it is important to determine which method is most appropriate for a given equation.

Similar threads

Back
Top