Is This Differential Equation Exact?

Click For Summary
The differential equation presented is determined to be exact after confirming that dM/dy equals dN/dx. The solution process involves integrating the components M(x,y) and N(x,y) to find the function F(x,y). There is a discussion about the integration of specific terms, particularly the integral of x²cos(xy)dy, which some participants initially miscalculated. Clarifications are made regarding the correct approach to integrating sin(xy)dx using substitution. The conversation highlights the importance of careful differentiation and integration in solving differential equations.
sourlemon
Messages
52
Reaction score
1
1. Solve the equation
[sin(xy) + xycos(xy)]dx + [1 +x^{2}cos(xy)dy = 0

Homework Equations





The Attempt at a Solution


[sin(xy) + xycos(xy)]dx = M(x,y)
[1 +x^{2}cos(xy)dy = N(x,y)

dM/dy
sin(xy) = xcos(xy)

xycos(xy) = uv' + vu' = (xy)(-xsin(xy)) + (x)(cos(xy))
u = xy du = x v = cos(xy) dv=-xsin(xy)

dM/dy= xcos(xy) + (xy)(-xsin(xy)) + (x)(cos(xy)) = 2xcos(xy) - x^{2}ysin(xy)


dN/dy
u = x^{2} du = 2x v= cos(xy) dv = -ysin(xy)
x^{2}(-xsin(xy))+ (2x)cos(xy) = (2x)cos(xy) - x^{2}y(sin(xy))

Since dM/dy = dN/dx, the equation is exact.

F(x,y) = \int[1 + x^{2}cos(xy)dy + h(x)
dy = y
x^{2}cos(xy)dy = x^{2}xsin(xy) = x^{3}sin(xy)

F(x,y) = y + x^{3}sin(xy) + h(x)

dF/dx(x,y) = N(x,y) = 3x^{2}cos(xy) + h'(x)

N(x,y) = M (x,y)

3x^{2}cos(xy) + h'(x) = sin(xy) + xycos(xy)

h'(x) = sin(xy) + xycos(xy) - 3x^{2}cos(xy)

h(x) = \int[sin(xy) + xycos(xy) - 3x^{2}cos(xy)]

sin(xy) = -ycos(xy)

xycos(xy) = uv - \intvdv = xy^{2}sin(xy) - \intysin(u)(du) = xy^{2}sin(xy) + ycos(xy)
u = xy du = y dv = cos(xy) v=ysin(xy)

3x^{2}cos(xy) = 3x^{2}ysin(xy) - \intysin(xy)(6x)
u = 3x^{2} du = 6x dv=cos(xy) v = ysin(xy)

I got until there. How do I integrate \intysin(xy)(6x)? Or did I missed something?
 
Physics news on Phys.org
You are doing some pretty odd differentiating. For the common derivative of M and N, I get 2xcos(xy)-x^3*sin(xy). And when I integrate x^2*cos(xy)dy I get x*sin(xy). I sort of looks like you are mixing up pieces of differentiation and integration.
 
:(

How did you get (x^3)(sinxy)?

xycos(xy)

u = xy du = x v = cos(xy) dv=-xsin(xy)

= uv' + vu' = (xy)(-xsin(xy)) + (x)(cos(xy))

I still have this 2xcos(xy) - x^2ysin(xy) :(
 
OOOOPS. Apologies, I sent the wrong thing. You are right on the differentiation. But I still don't like the integral of x^2*cos(xy)dy. Can you check that one again. I still get x*sin(xy).
 
Unfortunately, the integral is correct.

I guess I should switch to M(x,y).

May I ask how to ingrate \int[sin(xy)dx?

I want to set xy = u, which means du = y, but I don't have du.
 
d/dy(x*sin(xy))=x^2*cos(xy). d/dy(x^3*sin(xy))=x^4*cos(xy). x^3*sin(xy) is not the correct antiderivative! To do the integral, sure u=xy, du=y*dx, dx=du/y. So integrate sin(u)*du/y (y is constant this time). So I get -cos(u)/y=-cos(xy)/y.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 25 ·
Replies
25
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K