Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

General Solution to a D.E

  1. Sep 28, 2004 #1

    I'm having troubles finding the general solution to the following differential equation:

    [x + 1]dy - [x^2 - y - 1]dx = 0

    Any help would be great,

  2. jcsd
  3. Sep 28, 2004 #2


    User Avatar
    Science Advisor
    Homework Helper

    Can you find an integrating factor?
  4. Sep 28, 2004 #3
    No. I re-arrange the equation to dy/dx = (x^2 - y - 1 ) / (x + 1) and then dividing through by the highest power of x I obtain: (1 - y/x^2 - 1/x^2) / (1/ x + 1 / x^2)
    which indicates that it is non-homogenous as the term 1/x is not of the form (y/x)^n. I cannot move any futher. ;(
  5. Sep 28, 2004 #4


    User Avatar
    Science Advisor
    Homework Helper

    [tex]f(x, y) = \frac {1}{3} x^3 - (x+1) y[/tex]
    then your equation becomes
    [tex]\frac {\partial f}{\partial x} dx + \frac {\partial f}{\partial y} dy = df = 0[/tex]
    if I did that correctly. It's late - check my results!
  6. Sep 28, 2004 #5
    I'm not quite sure what you've done? According to my textbook the correct answer is: y = (x^3 - 3x + c) / 3(x + 1).

    By the way, how did you insert those images to represent mathematical symbols??
  7. Sep 28, 2004 #6


    User Avatar
    Science Advisor
    Homework Helper

    Oops! Yes, I left out the -x term in the numerator I wrote for f.

    I simply found a function f(x, y) such that
    [tex]\frac {\partial f}{\partial x} = x^2 - y - 1[/tex]
    [tex] \frac {\partial f}{\partial y} = -x -1[/tex]
    and this gives the same answer as the text.

    Click on one of the equations here and download the pdf file linked in the popup to find out how to make the equations.
  8. Sep 28, 2004 #7


    User Avatar
    Science Advisor
    Homework Helper

    Hmm I'll give it a quick try before I go to lessons:

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

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

    Note here we need not bother with the integrating factor as it is alread of the form vu' + v'u

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

    [tex](x + 1) y = \int x^2 - 1 dx[/tex]

    I don't think I need to go any further? I may of made a mistake but I need to rush of to lessons.
  9. Sep 28, 2004 #8
    Thanks. Is there any other method for solving this type of question without using partial derivatives? I've never covered them before.

    I think the point of this exercise that I'm working through is to test the students knowledge of first order differential equations by using only the provided textbook methods for variable separable equations, initial value problems, homogeneous equations, and linear first order equations... Briefly the methods covered are: solving a D.E by separating the variables and then integrating OR making the substitution v = y/x for D.E's in the form dy/dx = F[y/x] OR finding the integrating factor for D.E's in the form dy/dx + p[x]y = q[x].

    Thanks again :)
  10. Sep 28, 2004 #9
    Thanks a lot guys :)
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook