# Welcome to College Confidential!

## The leading college-bound community on the web

Join for FREE, and start talking with other members, weighing in on community discussions, and more.

Also, by registering and logging in you'll see fewer ads and pesky welcome messages (like this one!)

### As a CC member, you can:

• Post reviews of your campus visits.
• Find hundreds of pages of informative articles.
• Search from over 3 million scholarships.

# Is The solution of differential equation correct?

Registered User Posts: 77 Junior Member
edited January 2014
Q: Solve the differential equation :
(x+y+1)(dy/dx) = 1

Ans : I put (x+y)=t
=> y=t-x

(t+1)(d(t-x)/dx) = 1

(t+1)(dt/dx - 1) = 1

(t+1)(dt/dx) = t+2

[(t+1)/(t+2)]*(dt/dx) = dx

integrating both sides,

int[ t/(t+2) + 1/(t+2) ]dt = int.dx

now the second term in the LHS can be integrated directly, and so can the RHS.

but the term t/(t+2) has to be integrated separately by adding and subtracting 2 in numerator.

=> (t+2-2)/(t+2)

=> 1 - 2/(t+2)

and so this can now be solved too.

=> int.[ 1-2/(t+2) + 1/(t+2) ]dt = int.dx

=> int.[ 1 - 1/(t+2) ]dt = int.dx

=> t - log(t+2) = x +C

substituting t= x+y

x+y - log(x+y+2) = x +C

y= log(x+y+2) +C

which i think is the answer.
am I correct? I dont have the answers so if some1 can verify, It would be a great.
Post edited by PettyOfficer on

## Replies to: Is The solution of differential equation correct?

• Registered User Posts: 4,747 Senior Member
Looks alright, but the closed form solution for y can't be expressed in terms of elementary functions.

A slightly shorter way to integrate the LHS is to see that (t+1)/(t+2) = (t+2)/(t+2) - 1/(t+2).
• Registered User Posts: 77 Junior Member
Thanks Man! :)

and i didn't see that shortcut, nice thinking.
This discussion has been closed.