# Differential equations help! (1 Viewer)

### Users Who Are Viewing This Thread (Users: 0, Guests: 1)

#### iamtrojan3

1. The problem statement, all variables and given/known data
this problem was on my finals and i stared at it for 30 mins straight and still didn't figure it out and now it just bothers me that i don't know how to do the first problem on my final exam.

"find the general solution to the dfq"
xy'+xy= 1-y

2. Relevant equations

3. The attempt at a solution
i dont think its linear cause if you do the integrating factor the right side is interms of x and y
i don't think its separable... or multiplying by 1/x and subbing v for y/x could help
i don't think its exact? or is it im not sure
bernouli's formula wont help here.
i don't know its probably something really stupid and easy... thanks for the help!

#### Dick

Homework Helper
The y doesn't have to be on the right side. Write it as x*y'+(x+1)*y=1. Now divide by x and find the integrating factor.

#### iamtrojan3

OH MY GOD. there goes 20 points that i should of gotten. thank you for the helpe.

### The Physics Forums Way

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving