You are Here: Home >< Maths

# Need help with differential equation questions

Announcements Posted on
TSR's new app is coming! Sign up here to try it first >> 17-10-2016
1. I've been revising for a maths retake using the chemistry maths book second edition, and there are some questions I can't do (for reference for those with the book; questions 21 and 22 from section 11.3 of the book).

21. when x0=2 and y0=, solve differential equation dy/dx = (y(y+1))/(x(x+1))
answer for this question should be y=x-1

22. when x0=0 and y0=0, solve dy/dx = e^(x+y)

I can't see how to get these answers out, so anyone willing to give me a thorough explanation will have my thanks!
2. Both are separable ODE's.
First one can be rearranged to
.

Remember for the second one, .
3. For the first, rearrange to get all of the y's on one side, all of the x's on the other. You will end up with dy*1/(y(y+1))=dx*1/(x(x+1)). Now you can integrate both sides (don't worry about the limits too much, they come out in the constant of integration). This integral is best tackled with partial fractions. You get a bunch of ln's flying about, and you can just exponentiate them all away! plugging in y0 and x0 give this constant of integration.

For the second, note that e^(x+y)=(e^x)*(e^y) then do a similar thing to before; rearrange to get the y's on one side and the x's on the other. It remains to integrate simple exponentials and deal with the constant of integration by plugging y0 and x0 in.

Hope this helps
4. Thanks guys, think I've got question 21 now, didn't think of partial fractions! I'll have a go with q22, my issue is I know in theory how to do the differential equation, I just get bogged down in the integration!
5. (Original post by dayflower2016)
I've been revising for a maths retake using the chemistry maths book second edition, and there are some questions I can't do (for reference for those with the book; questions 21 and 22 from section 11.3 of the book).

21. when x0=2 and y0=, solve differential equation dy/dx = (y(y+1))/(x(x+1))
answer for this question should be y=x-1

22. when x0=0 and y0=0, solve dy/dx = e^(x+y)

I can't see how to get these answers out, so anyone willing to give me a thorough explanation will have my thanks!
For question 21, multiply both sides by dx and divide by y(y+1). You should get 1/(y(y+1))dy = 1/(x(x+1))dx
You should then be able to solve this using separation of variables. To integrate both sides, you would need to use partial fractions. Then rearrange to get y= and sub in the initial conditions.
For question 22, e^(x+y) = e^x e^y. Get all the y expressions on one side and x on the other as before. Solve again by separation of variables.

I hope this helps. If you need anything else, just ask.
6. (Original post by dayflower2016)
I've been revising for a maths retake using the chemistry maths book second edition, and there are some questions I can't do (for reference for those with the book; questions 21 and 22 from section 11.3 of the book).

21. when x0=2 and y0=, solve differential equation dy/dx = (y(y+1))/(x(x+1))
answer for this question should be y=x-1

22. when x0=0 and y0=0, solve dy/dx = e^(x+y)

I can't see how to get these answers out, so anyone willing to give me a thorough explanation will have my thanks!
21.use partial fractions for the 1/(x(x+1))

22. Looks like you use e^(y+x)=e^Y*e^x

Hope that helps

Edit:As the comment above says aswell^^

Posted from TSR Mobile
7. I'm glad that people agree with me.
8. (Original post by NT226)
For question 21, multiply both sides by dx and divide by y(y+1). You should get 1/(y(y+1))dy = 1/(x(x+1))dx
You should then be able to solve this using separation of variables. To integrate both sides, you would need to use partial fractions. Then rearrange to get y= and sub in the initial conditions.
For question 22, e^(x+y) = e^x e^y. Get all the y expressions on one side and x on the other as before. Solve again by separation of variables.

I hope this helps. If you need anything else, just ask.
I've been able to get y/(y+1) = x/(x+1) +C
where do I go from here?
9. (Original post by dayflower2016)
I've been able to get y/(y+1) = x/(x+1) +C
where do I go from here?
You will have to use partial fractions to integrate .
Note that .
10. (Original post by B_9710)
You will have to use partial fractions to integrate .
Note that .
The y/(y+1) = x/(x+1) +C was after integration, I can't rearrange it to get anything close to y=x-1
11. (Original post by dayflower2016)
I've been able to get y/(y+1) = x/(x+1) +C
where do I go from here?
How did you get that im confused? Once you seperate into partial fractions and intergrate I think you get natural logs when you intergrate

Posted from TSR Mobile
12. (Original post by HFancy1997)
How did you get that im confused? Once you seperate into partial fractions and intergrate I think you get natural logs when you intergrate

Posted from TSR Mobile
I did get natural logs, I got lny - ln(y+1) = lnx - ln(x+1) + C
= ln(y/(y+1)) = ln(x/(x+1)) + C
and then exponentiated to get rid of the ln
13. (Original post by dayflower2016)
I did get natural logs, I got lny - ln(y+1) = lnx - ln(x+1) + C
= ln(y/(y+1)) = ln(x/(x+1)) + C
and then exponentiated to get rid of the ln
Is correct up to that point, now you just need to use boundary conditions.
14. (Original post by dayflower2016)
I did get natural logs, I got lny - ln(y+1) = lnx - ln(x+1) + C
= ln(y/(y+1)) = ln(x/(x+1)) + C
and then exponentiated to get rid of the ln
If you remove ln the constant would no longer be +C. A new constant would be multiplied so in your case
y/(y+1)=Ax/(x+1)

However let me just check your working out, gimme few minutes

Posted from TSR Mobile
15. Do you have what y0=

Posted from TSR Mobile

16. This is what i got, not what you asked for...Confused
17. (Original post by HFancy1997)
This is what i got, not what you asked for...Confused
Remember that you haven't used the boundary conditions yet.
18. (Original post by Zacken)
Remember that you haven't used the boundary conditions yet.
Yeah waiting for him to give em but it doesnt look right, we'll see I guess

Posted from TSR Mobile
19. (Original post by HFancy1997)
Yeah waiting for him to give em but it doesnt look right, we'll see I guess

Posted from TSR Mobile
Yeah, at a glance, the solution won't be .
20. I gave all the conditions given to solve the question in the original post
Thanks guys, I think I've got to grips with these now!

One more thing though, does anybody want to explain to me, in baby steps, how solving non-separable first order differential equations by substitution works? I've watched countless videos, read through the chapters in my textbook, tried the questions and scoured internet forums but it just doesn't make sense to me, everyone seems to do a different thing and I can't translate the method to any question I attempt :'(

## Register

Thanks for posting! You just need to create an account in order to submit the post
1. this can't be left blank
2. this can't be left blank
3. this can't be left blank

6 characters or longer with both numbers and letters is safer

4. this can't be left empty
1. Oops, you need to agree to our Ts&Cs to register

Updated: July 22, 2016
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

This forum is supported by:
Today on TSR

### How does exam reform affect you?

From GCSE to A level, it's all changing

Poll
Useful resources

### Maths Forum posting guidelines

Not sure where to post? Read here first

### How to use LaTex

Writing equations the easy way

### Study habits of A* students

Top tips from students who have already aced their exams