Find value of K for differential equation to be exact

Click For Summary

Homework Help Overview

The discussion revolves around determining the value of K in the differential equation (y³ + kxy⁴ - 2x)dx + (3xy² + 20x²y³)dy = 0 for it to be exact. The subject area is differential equations, specifically focusing on the conditions for exactness.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the derivatives of M and N, questioning what value of K equates the two expressions derived from the original equation. Some participants express uncertainty about how to proceed after finding K, while others suggest integrating M and N with respect to their respective variables.

Discussion Status

The discussion is active, with participants exploring different interpretations of the problem. Some guidance has been offered regarding the integration process and the conditions for exactness, but there is no explicit consensus on the final solution or method.

Contextual Notes

Participants note the difficulty in applying the same reasoning to more complex equations, indicating a need for further exploration of techniques when the differential equation is not exact.

masterchiefo
Messages
211
Reaction score
2

Homework Statement


Hello everyone,
I need to find K for the following differential equation to be exact.
(y3+kxy4-2*x)dx +(3xy2 +20x2y3)dy=0

Homework Equations

The Attempt at a Solution


(y3+kxy4-2*x)dx +(3xy2 +20x2y3)dy=0

dM/dy = d/dy(y3+kxy4-2*x) = 4*k*y3*x+3*y2

dN/dx =d/dx(3xy2 +20x2y3) = 40*x*y3+3*y2

After that I really have no idea how to continue this.

thank you.
 
Physics news on Phys.org
You have done 98% of it. What value of k makes the two expressions equal?
 
masterchiefo said:

Homework Statement


Hello everyone,
I need to find K for the following differential equation to be exact.
(y3+kxy4-2*x)dx +(3xy2 +20x2y3)dy=0

Homework Equations

The Attempt at a Solution


(y3+kxy4-2*x)dx +(3xy2 +20x2y3)dy=0

dM/dy = d/dy(y3+kxy4-2*x) = 4*k*y3*x+3*y2

dN/dx =d/dx(3xy2 +20x2y3) = 40*x*y3+3*y2

After that I really have no idea how to continue this.
Your diff. equation will be exact if My = Nx; that is, if 4kxy3 + 3y2 = 40xy3 + 3y2. What does k have to be so that the two expressions are identically equal?
 
Mark44 said:
Your diff. equation will be exact if My = Nx; that is, if 4kxy3 + 3y2 = 40xy3 + 3y2. What does k have to be so that the two expressions are identically equal?

davidmoore63@y said:
You have done 98% of it. What value of k makes the two expressions equal?
oh wow I am so sleepy.

K have to be 10.
But in this particular equation its pretty easy to spot out, but what if both part is very different, how do I proceed?
 
masterchiefo said:
oh wow I am so sleepy.

K have to be 10.
But in this particular equation its pretty easy to spot out, but what if both part is very different, how do I proceed?
Yes, k = 10. If the equation isn't exact, there are several alternatives, but they are too involved to explain in a small space like this. If you read ahead in your book, they might have some discussion of these techniques.
 
  • Like
Likes   Reactions: masterchiefo
Mark44 said:
Yes, k = 10. If the equation isn't exact, there are several alternatives, but they are too involved to explain in a small space like this. If you read ahead in your book, they might have some discussion of these techniques.
thanks also, to find the solution of current equation after finding k=10

I do
integral(40*x*y3+3*y2)dx = 20*x2*y3+3*x*y2
integral(40*x*y3+3*y2)dy =10*y4*x+y3

I look for same terms in both results, but here I see that there isnt.

so c= 20*x2*y3+3*x*y2+ 10*y4*x+y3

is that correct ?
 
masterchiefo said:
thanks also, to find the solution of current equation after finding k=10

I do
integral(40*x*y3+3*y2)dx = 20*x2*y3+3*x*y2
integral(40*x*y3+3*y2)dy =10*y4*x+y3

I look for same terms in both results, but here I see that there isnt.

so c= 20*x2*y3+3*x*y2+ 10*y4*x+y3

is that correct ?
No. Integrate M with respect to x, keeping in mind that there might be a "constant" of integration that would be either a constant or a function of y alone, say g(y).
Then integrate N with respect to y, also keeping in mind that there could be a "constant" of integration that would be a constant or a function of x alone, say h(x).

What you're doing here is assuming that there is an equation F(x, y) = C. If you take the total derivative of both sides, you get
$$\frac{\partial F}{\partial x} dx + \frac{\partial F}{\partial y} dy = 0$$
Here, M = ##\frac{\partial F}{\partial x}## and N = ##\frac{\partial F}{\partial y}##, and you're trying to reconstruct F from its two partial derivatives.
 
Mark44 said:
No. Integrate M with respect to x, keeping in mind that there might be a "constant" of integration that would be either a constant or a function of y alone, say g(y).
Then integrate N with respect to y, also keeping in mind that there could be a "constant" of integration that would be a constant or a function of x alone, say h(x).
I don't understand.

M(x,y) = 40*x*y3+3*y2
N(x,y)= 40*x*y3+3*y2

I don't simply integrate each ?
 
masterchiefo said:
I don't understand.

M(x,y) = 40*x*y3+3*y2
N(x,y)= 40*x*y3+3*y2

I don't simply integrate each ?
From the original problem, M = y3 + 10xy4, and N = 3xy2 + 40xy3.

What you have above are My and Nx. The condition for exactness is that these two partials should be equal. To solve the diff. eqn, you need to do as I suggest in my previous post.
 
  • Like
Likes   Reactions: masterchiefo
  • #10
Mark44 said:
From the original problem, M = y3 + 10xy4, and N = 3xy2 + 40xy3.

What you have above are My and Nx. The condition for exactness is that these two partials should be equal. To solve the diff. eqn, you need to do as I suggest in my previous post.
= integral(y3+10xy4-2*x)dx
= x2*(5*y4-1)+x*y3 +h(y)
= x2*5*y4-x2+x*y3 +h(y)
h(y) = n/a

integral(3xy2 +20x2y3)dy
= 5*y4*x2+y3*x +g(x)
g(x) = -x2

c= x2*5*y4-x2+x*y3
 
  • #11
masterchiefo said:
= integral(y3+10xy4-2*x)dx
= x2*(5*y4-1)+x*y3 +h(y)
= x2*5*y4-x2+x*y3 +h(y)
h(y) = n/a

integral(3xy2 +20x2y3)dy
= 5*y4*x2+y3*x +g(x)
g(x) = -x2

c= x2*5*y4-x2+x*y3
Yes, looks good.

To check, take the total differential of both sides. (I mistakely said total derivative earlier.)

Your solution F(x, y) = C, where ##F(x, y) = 5x^2y^4 + xy^3 - x^2##
Taking the total differential of both sides, we get d(F(x, y)) = d(C)
or, ##\frac{\partial F}{\partial x}dx + \frac{\partial F}{\partial y}dy = 0##
With the partial derivatives calculated, you should get your original diff. equation.
 
  • Like
Likes   Reactions: masterchiefo

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K