Nonlinear First Order ODE: Bernoulli Equation with n = 2

Click For Summary
SUMMARY

The discussion focuses on solving the nonlinear first-order ordinary differential equation (ODE) represented by the Bernoulli equation with n = 2, specifically the equation (y^2 + xy)dx - x^2dy = 0. The solution involves transforming the equation into derivative form and recognizing it as a Bernoulli equation. A substitution of v = y^{-1} is employed, leading to the equation xv = -ln|x| + c. The participant expresses difficulty in rearranging the final equation into the form x + yln{|x|} = cy as presented in the answer key.

PREREQUISITES
  • Understanding of Bernoulli equations in differential equations
  • Knowledge of substitution methods in solving ODEs
  • Familiarity with logarithmic properties and manipulation
  • Proficiency in calculus, particularly integration techniques
NEXT STEPS
  • Study the method of solving Bernoulli equations in detail
  • Learn about integrating factors and their application in ODEs
  • Explore advanced techniques for manipulating logarithmic expressions
  • Practice solving various forms of first-order ODEs for mastery
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to enhance their problem-solving skills in nonlinear ODEs.

Mangoes
Messages
92
Reaction score
1

Homework Statement



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

The Attempt at a Solution



Put it into derivative form.

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

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

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

I recognized this as a Bernoulli equation where n = 2.

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

Plan to make a substitution of [itex]v = y^{-1}[/itex] and [itex]\frac{dv}{dx} = -y^{-2} \frac{dy}{dx}[/itex]

[tex]-\frac{dv}{dx} + \frac{-1}{x}v = \frac{1}{x^2}[/tex]

[tex]\frac{dv}{dx} + \frac{1}{x}v = \frac{-1}{x^2}[/tex]

[tex]u(x) = e^{\int{\frac{1}{x}}dx}[/tex]

[tex]u(x) = x[/tex]

[tex]\int{x\frac{dv}{dx} + v} = \int{\frac{-1}{x}}[/tex]

LHS is product of product rule.

[tex]xv = -lnx + c[/tex]

Since v = y^(-1)

[tex]\frac{x}{y} = ln{\frac{c}{x}}[/tex]

You could arrange the above equation into various forms, but I see no way to arrange it into the form in the answer key:

[tex]x + yln{|x|} = cy[/tex]

I've checked again and again and can't see where I'm going wrong with this...
 
Physics news on Phys.org
Recall what the logarithm of a ratio is.
 
Mangoes said:

Homework Statement



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

The Attempt at a Solution



Put it into derivative form.

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

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

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

I recognized this as a Bernoulli equation where n = 2.

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

Plan to make a substitution of [itex]v = y^{-1}[/itex] and [itex]\frac{dv}{dx} = -y^{-2} \frac{dy}{dx}[/itex]

[tex]-\frac{dv}{dx} + \frac{-1}{x}v = \frac{1}{x^2}[/tex]

[tex]\frac{dv}{dx} + \frac{1}{x}v = \frac{-1}{x^2}[/tex]

[tex]u(x) = e^{\int{\frac{1}{x}}dx}[/tex]

[tex]u(x) = x[/tex]

[tex]\int{x\frac{dv}{dx} + v} = \int{\frac{-1}{x}}[/tex]

LHS is product of product rule.

[tex]xv = -lnx + c[/tex]

Since v = y^(-1)

[tex]\frac{x}{y} = ln{\frac{c}{x}}[/tex]
Strictly speaking this should be
[tex]\frac{x}{y} = ln{\left|\frac{c}{x}\right|}[/tex]
and, of course, [itex]ln|c/x|= ln|c|- ln|x|[/itex]

You could arrange the above equation into various forms, but I see no way to arrange it into the form in the answer key:

[tex]x + yln{|x|} = cy[/tex]

I've checked again and again and can't see where I'm going wrong with this...
 

Similar threads

Replies
19
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
Replies
3
Views
2K
Replies
5
Views
2K
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
11K
Replies
6
Views
2K