Nonlinear First Order ODE: Bernoulli Equation with n = 2

In summary, the conversation discusses solving a differential equation by converting it to a Bernoulli equation and making a substitution. The solution involves using the logarithm of a ratio and can be rearranged into various forms. The individual speaking is having trouble arranging it into the form in the answer key.
  • #1
Mangoes
96
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
  • #2
Recall what the logarithm of a ratio is.
 
  • #3
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...
 

What is a nonlinear first order ODE?

A nonlinear first order ODE (ordinary differential equation) is a mathematical equation that describes the relationship between a function and its derivatives, where the function is not proportional to its derivative. This means that the rate of change of the function is not constant and can vary depending on the value of the function itself.

What is the difference between a nonlinear and linear first order ODE?

The main difference between a nonlinear and linear first order ODE is that a linear ODE has a constant rate of change, while a nonlinear ODE has a varying rate of change. This results in different methods of solving the equations and can lead to different types of solutions.

What are some real-world applications of nonlinear first order ODEs?

Nonlinear first order ODEs have a wide range of applications in various fields such as physics, biology, economics, and engineering. They can be used to model population growth, chemical reactions, electric circuits, and many other dynamic systems.

What are the methods for solving a nonlinear first order ODE?

There are several methods for solving nonlinear first order ODEs, including separation of variables, substitution, integrating factor, and series solutions. The choice of method depends on the specific form of the equation and the initial conditions given.

What should I know before attempting to solve a nonlinear first order ODE?

Before solving a nonlinear first order ODE, it is important to have a solid understanding of basic calculus concepts such as derivatives, integrals, and differential equations. It is also helpful to have knowledge of specific techniques for solving nonlinear ODEs, such as substitution and integrating factor methods.

Similar threads

  • Calculus and Beyond Homework Help
Replies
19
Views
765
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
613
  • Calculus and Beyond Homework Help
Replies
4
Views
681
  • Calculus and Beyond Homework Help
Replies
21
Views
827
  • Calculus and Beyond Homework Help
Replies
6
Views
746
  • Calculus and Beyond Homework Help
Replies
2
Views
531
  • Calculus and Beyond Homework Help
Replies
6
Views
840
  • Calculus and Beyond Homework Help
Replies
2
Views
452
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
Back
Top