1st order nonlinear differential equation

Click For Summary

Homework Help Overview

The problem involves a first-order nonlinear differential equation given by the expression x²y' = (2y² - x²). Participants are exploring various methods to solve this equation, including substitutions and integrating factors.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the transformation of the equation using substitutions, particularly y = xv, and the resulting expressions. There are questions about the correctness of derived forms, such as the expression for dv.

Discussion Status

The discussion is ongoing, with participants sharing their attempts and questioning each other's steps. Some guidance has been offered regarding the manipulation of logarithmic expressions and the use of the quadratic formula, but no consensus has been reached on the final form of the solution.

Contextual Notes

Participants are navigating through potential errors in their calculations and interpretations of the equation. There are references to specific constants and the need to clarify terms in the context of their solutions.

magnifik
Messages
350
Reaction score
0
this is the problem:
x2y' = (2y2 - x2)

here's what i have done so far:

dy = (2y2/x2 - 1)dx
(2y2/x2 - 1)dx - dy = 0
i used the substitution y = xv then found an integrating factor and got
dx/x - dv/(2v2 - 2v - 1) = 0
but i am stuck at this point..
i know ln(x) + C is the first part, but is there an easy way to find the second part? or am i totally off to begin with?

this is the solution:
[PLAIN]http://www4c.wolframalpha.com/Calculate/MSP/MSP50419e2227898a2f2f0000026hh297a4ebd6b3h?MSPStoreType=image/gif&s=33&w=154&h=47

i am at a loss for how they got to this point
 
Last edited by a moderator:
Physics news on Phys.org
hi magnifik! :smile:
magnifik said:
dy = (2y2/x2 - 1)dx
(2y2/x2 - 1)dx - dy = 0

dx/x - dv/(2v2 - 2v - 1) = 0

isn't it (2v2 - v - 1) ?
 
i have tried it several times and seem to always get 2v2 - 2v - 1. do you get the correct solution using 2v2 - v - 1??
 
dy = vdx + xdv :wink:
 
ok, i see how you got 2v2 - v - 1

now i have
dx/x - dv/2v2 - v - 1 = 0
...
[ln(x) + C] - [1/3(ln(1-v) - ln(2v+1))+C] = 0
multiply everything by 3
3ln(x) + 3C1 - ln(1-v) + ln(2v+1) + 3C2

stuck here :\
 
magnifik said:
ok, i see how you got 2v2 - v - 1

now i have
dx/x - dv/2v2 - v - 1 = 0
...
[ln(x) + C] - [1/3(ln(1-v) - ln(2v+1))+C] = 0
multiply everything by 3
3ln(x) + 3C1 - ln(1-v) + ln(2v+1) + 3C2

stuck here :\

Define C3=3C1+3C2. Remember that the RHS is 0 or a constant (let's make it 0, merging that constant with C3 as well). Then rearrange to solve for v.
 
combining the constants, i have
3ln(x) - [ln(1-v) + ln(2v+1)] = C
using some properties of natural log,
ln(x3) - [ln((1-v)(2v+1))] = C
which simplifies to
ln(x3/(-2v2 + 3v - 1) = C
(x3/(-2v2 + 3v - 1) = eC
trying to solve for v i get,
x3/eC = -2v2 + 3v - 1
not sure if this step is correct:
0 = -2v2 + 3v - (1 - x3/eC)

i'm assuming i do the quadratic formula to find the answer then use v = y/x to get y?? is this correct?
 
magnifik said:
combining the constants, i have
3ln(x) - [ln(1-v) + ln(2v+1)] = C
using some properties of natural log,
ln(x3) - [ln((1-v)(2v+1))] = C
which simplifies to
ln(x3/(-2v2 + 3v - 1) = C
(x3/(-2v2 + 3v - 1) = eC
trying to solve for v i get,
x3/eC = -2v2 + 3v - 1
not sure if this step is correct:
0 = -2v2 + 3v - (1 + x3/eC)

i'm assuming i do the quadratic formula to find the answer then use v = y/x to get y?? is this correct?

Fixed that for you. And yes, that's what you got to do.
 
thanks for the help. much appreciated!
 
  • #10
It's not a problem. I actually enjoy solving these problems.
 
  • #11
I thought y = ux, not vx.
 
  • #12
The only real difference is using a u instead of a v. It's similar to using t or x in your equations. It doesn't really matter, as long as it's uniquely defined.
 
  • #13
ok...i tried to solve the quadratic equation but am still not getting the correct answer

x = -b + sqrt(b2 - 4ac)/2a

0 = -2v2 + 3v - (1 + x3/eC)
v = -2 + sqrt(9 - 4(-2)(-1-x3/eC))/-4
v = y/x
y = x[-2 + sqrt(9 - 4(-2)(-1-x3/eC))/-4]

i'm not sure how this would simplify to the correct answer, which is
[PLAIN]https://www.physicsforums.com/latex_images/30/3082166-0.png
 
Last edited by a moderator:
  • #14
hi magnifik! :smile:

(just got up :zzz: …)
magnifik said:
ok, i see how you got 2v2 - v - 1

i didn't "get" it :rolleyes:it was already there! :smile:
dx/x - dv/2v2 - v - 1 = 0
...
[ln(x) + C] - [1/3(ln(1-v) - ln(2v+1))+C] = 0

in the exams, you must write out everything in full

it'll stop you making mistakes, and even if you do make a mistake, you'll get more marks for following the right method …

in this case, your partial fractions are wrong: one of the ln should have a "2" in front of it :wink:
magnifik said:
combining the constants, i have
3ln(x) - [ln(1-v) + ln(2v+1)] = C

noooo :redface: … you've copied your own equation wrong … that + should be a - :cry:
 
  • #15
tiny tim,

i believe the integral is correct - there should not be a 2 in front of anything.
and the + should not be a -, but i did, however, group them mistakenly after i already distributed a -1
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
6
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
17
Views
2K
Replies
19
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K