What am I missing in solving this differential equation?

In summary, the conversation discusses a problem in finding the general solution for a given equation. It involves manipulating equations and using an integrating factor to solve it. The solution involves setting certain terms equal to 0 and finding the appropriate values for m and n. The final solution matches with the one in the book.
  • #1
discoverer02
138
1
I'm having trouble finding the general solution for the following problem:

(1-xy)y' + y^2 + 3xy^3

It's obviously not an exact equation.

I multiply through by an integrating factor (x^m)(y^n) and get

(x^m)(y^(n+2)) + [(3x^(m+1))(y^(n+3))] + [(x^m)(y^n) - (x^(m+1)y^(n+1)]y' (the forms aren't similar, I can't multiply one side to make them similar and have an equivalent equation)

The partial derivative with respect to y:
(n+2)[(x^m)(y^(n+1))] + 3(n+3)[x^(m+1)y^(n+2)]

The partial derivative with respect to x:
m(x^(m-1)y^n) - (m+1)[(x^m)y^(n+1)]

They are not of a similar form so it doesn't do any good to solve

n + 2 = m
3n + 9 = m + 1

What am I missing? Do I need to manipulate the equations somehow?

The General Solution in the book is:

y = [x+-(4x^2 + c)^(1/2)]^(-1) with an integrating factor of y^(-3)

Thanks in advance for the help.
 
Physics news on Phys.org
  • #2
The first thing I would see is that the very nice
(n+2)[(x^m)(y^(n+1))] and - (m+1)[(x^m)y^(n+1)] terms match up as long as n+2= -(m+1).

The second thing I would see is that in order to have
3(n+3)[x^(m+1)y^(n+2)] and m(x^(m-1)y^n) match up, we would need to have either m+1= m-1, which is impossible, or have those terms equal to 0: n+3= 0 and m= 0. That, of course gives m=0, n= -3 which, fortunately, also satisfy -3+2= -1= -(0+1).

Taking m=0, n= -3, the integrating factor is x0y-3= y-3 just as your book said.
 
  • #3
Thanks for the help.

The mechanical approach the instructor took didn't make this clear, but I understand your explanation.
 

FAQ: What am I missing in solving this differential equation?

What is a differential equation?

A differential equation is a mathematical equation that relates a function with its derivatives. It is used to model many natural phenomena in science and engineering.

What is the difference between an ordinary and a partial differential equation?

An ordinary differential equation involves only one independent variable, while a partial differential equation involves multiple independent variables. Ordinary differential equations are used to study systems with one variable, while partial differential equations are used for systems with multiple variables.

What are some real-life applications of differential equations?

Differential equations are used to model various physical systems, such as population growth, chemical reactions, and fluid flow. They are also used in engineering fields to analyze and design complex systems, such as electrical circuits and mechanical systems.

What is the order of a differential equation?

The order of a differential equation is the highest derivative present in the equation. For example, a first-order differential equation has a first derivative, while a second-order differential equation has a second derivative.

What are initial and boundary conditions in a differential equation?

Initial conditions are values of the function and its derivatives at a specific point, usually the starting point, that are used to solve the differential equation. Boundary conditions are values of the function at the boundaries of the domain, which are also used to solve the equation.

Back
Top