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

Integral giving me headache

  1. May 7, 2015 #1
    I've been trying to solve differential equation:

    [tex] y' = \frac{x+y}{x-y} [/tex]

    I came to the point where I got following integrals:

    [tex]\int \frac{(1-z) \cdot \,dz}{1+z^2} = \int \frac{dx}{x} [/tex]

    The integral on the left side is the problem. I tried substitution:
    [tex]t = 1+z^2 [/tex]
    but I always end up with one dz left in the numerator.

    I did the differential equation with numerator and denumerator inversed without problems, but I'm stuck on this one and I have a feeling that I can't figure out a trivial thing.

    Any hints?

    Thanks for help!
  2. jcsd
  3. May 7, 2015 #2
    Try substitution y = t·x right at the beginning. (it's an homogeneous differential equation)

    EDIT: Sorry for my stupidity. You already did. I'm trying to integrate your expression right now.
  4. May 7, 2015 #3
    OK. Try separating the fraction into two fractions and integrating them separetly (you have two summands at the numerator, so you can express that as the sum of two separated fraction with the same denominator).
  5. May 7, 2015 #4
    seems that a trig substitution would work.. have you tried z=tan(u)?
  6. May 7, 2015 #5


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    What's the definition of z in the OP?

    In any event, splitting the z-integral into two parts makes it rather easy to integrate, as suggested by marksman95. You should be able to find one integral in a table of integrals and the other integral can be solved by substitution.
  7. May 9, 2015 #6
    Thanks for help people. I will try both the trig substitution and by splitting the integral, and see what I will get. I will notice you on how it went. Thanks again.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook