• Support PF! Buy your school textbooks, materials and every day products Here!

Can someone just qickly check if this diff.equ is right?

  • Thread starter indie452
  • Start date
  • #1
124
0

Homework Statement



evaluate dy/dx + y2 + 1 = 0

The Attempt at a Solution



dy/dx + y2 = -1

integtating factor I:- ex + c = exec = Cex

so xboth sides by I and rearranging forms:- d/dx(exy2) = -ex

integrating both sides:- exy2 = -ex + c

so y2 = -1 + Ce-x

y = SQRT[Ce-x -1]
 

Answers and Replies

  • #2
Cyosis
Homework Helper
1,495
0
With these kind of problems, like integrals it's really easy to check the answer yourself. Not only is it really easy, you really really should get used to doing it. Later on there won't be people to check your answers. Teaching yourself to be critical and able to convince yourself and others that your answer is correct is very important.

Plug the answer you got into the differential equation and you will see right away that the equality doesn't hold, thus your answer can't be right. I suggest you check this yourself and don't just take my word on it.

The correct way to do it is to write the differential equation as:

[tex]\frac{dy}{1+y^2}=-dx[/tex]
 
  • #3
Pengwuino
Gold Member
4,989
15
Your equation, as previously noted, is separable. Integrating factors are used in functions of the form

[tex]y'(x) + P(x)y(x) = Q(x)[/tex]

Where your integrating factor is [tex]\mu = e^{\int {P(x)dx} }[/tex]
 

Related Threads for: Can someone just qickly check if this diff.equ is right?

Replies
2
Views
1K
  • Last Post
Replies
3
Views
1K
Replies
9
Views
3K
  • Last Post
Replies
3
Views
1K
Replies
7
Views
2K
Replies
6
Views
2K
  • Last Post
Replies
17
Views
2K
Top