Help with Differential Equations (First order)

Click For Summary

Homework Help Overview

The discussion revolves around solving two first-order differential equations: the first being \(xdy + ydx = ydy\) and the second \((y^2 + 1)dx +(2xy + 1)dy = 0\). Participants are exploring various approaches to manipulate and solve these equations.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Some participants attempt to solve the first equation by rearranging it for \(\frac{dx}{dy}\), while others express concerns about the complexity of solving for \(\frac{dy}{dx}\). There is mention of the product rule in relation to integration, and one participant questions the validity of their steps after checking results against an external tool.

Discussion Status

Participants are actively engaging with the problem, with some providing corrections to earlier statements and others suggesting alternative methods. There is a recognition of the equations being exact, and one participant notes the existence of a function that could simplify the solution process. However, no consensus has been reached on the correct approach or solution.

Contextual Notes

There are indications of potential errors in the manipulation of equations, and participants are questioning assumptions made during the problem-solving process. The discussion reflects a learning environment where participants are encouraged to verify their reasoning and explore different methods without arriving at a definitive solution.

genap
Messages
2
Reaction score
0

Homework Statement


Solve the given the two equations:

[tex]xdy + ydx = ydy[/tex]

and

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

Homework Equations



N/A.

The Attempt at a Solution



For the first, I can see that solving this with respect to [tex]dy/dx[/tex]might be a bit tricky.

However, if I solve it for [tex]dx/dy[/tex], things seem to be a bit easier.

[tex]xdy + ydx = ydy[/tex]

[tex]ydx = ydy - xdy[/tex]

[tex]y\frac{dx}{dy} + x = y[/tex]

Now, that looks a bit familiar. Did someone say "product rule"?

[tex]\int{yx\frac{dx}{dy}} = \int{ydy}[/tex]

[tex]yx = \frac{y^2}{2}[/tex]

[tex]x = \frac{y}{2}[/tex]

[tex]y = 2x + C[/tex]

Now, this seems a bit too easy to me. Is that really it?

As to the second...

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

[tex]y^2 dx + 2xy dy = -dy - dx[/tex]

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

Once again, it seems like that product rule comes up quite a bit...

[tex]\int{y^2 x\frac{dy}{dx}} = -\int{\frac{dy}{dx} - 1}[/tex]

At this point, I got a sinking feeling that something was horribly wrong with my work. I checked my answers on wolfram alpha, got a bunch of gibberish that made no sense, as well as answers that in no way resembled my own work. Could anyone verify if I'm taking the correct steps?

Thanks!
 
Last edited:
Physics news on Phys.org
genap said:

Homework Statement


Solve the given the two equations:

[tex]xdy + ydx = ydy[/tex]

and

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

Homework Equations



N/A.

The Attempt at a Solution



For the first, I can see that solving this with respect to [tex]dy/dx[/tex]might be a bit tricky.

However, if I solve it for [tex]dx/dy[/tex], things seem to be a bit easier.

[tex]xdy + ydx = ydy[/tex]

[tex]ydx = ydy - xdy[/tex]

[tex]y\frac{dy}{dx} + x = y[/tex]

Getting to the last equation was an error. That should be:
[itex]y \frac{dx}{dy} + x = y[/itex]
 
stevendaryl said:
Getting to the last equation was an error. That should be:
[itex]y \frac{dx}{dy} + x = y[/itex]

Doh! Fixed that, sorry.
 
genap said:
However, if I solve it for [tex]dx/dy[/tex], things seem to be a bit easier.

[tex]xdy + ydx = ydy[/tex]

[tex]ydx = ydy - xdy[/tex]

[tex]y\frac{dx}{dy} + x = y[/tex]

Now, that looks a bit familiar. Did someone say "product rule"?

[tex]\int{yx\frac{dx}{dy}} = \int{ydy}[/tex]

[tex]yx = \frac{y^2}{2}[/tex]
You miss an integration constant here.
 
genap said:
[tex]y^2 + 2xy\frac{dy}{dx} = -\frac{dy}{dx} - 1[/tex]

Once again, it seems like that product rule comes up quite a bit...

[tex]\int{y^2 x\frac{dy}{dx}} = -\int{\frac{dy}{dx} - 1}[/tex]

At this point, I got a sinking feeling that something was horribly wrong with my work. I checked my answers on wolfram alpha, got a bunch of gibberish that made no sense, as well as answers that in no way resembled my own work. Could anyone verify if I'm taking the correct steps?

Thanks!
The last line is wrong. As ## y^2 + 2xy\frac{dy}{dx}=\frac{d(y^2x)}{dx}##, it should be
[tex]\int{\frac{d(y^2 x)}{dx}dx} = -\int{(\frac{dy}{dx} + 1)dx}[/tex]
 
Personally, I dislike that particular method. It works- you can simply integrate- because these are exact equations.

The first, xdy+ ydx= ydy, is the same as ydx+ (x- y)dy= 0. Saying it is exact means there exist a function, F(x, y), such that
[tex]dF= F_x dx+ F_y dy= ydx+ (x- y)dy[/tex].
From [tex]F_x= y[/tex] we have, immediately, that F= xy+ g(y). From that, [tex]F_y= x+ g'(y)= x- y[/tex] so that [tex]g'(y)= -y[/tex]. Integrate that to find g.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
3K
Replies
19
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
6
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K