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

  • Thread starter Thread starter indie452
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on solving the differential equation dy/dx + y² + 1 = 0. The initial attempt at a solution incorrectly leads to y = SQRT[Ce^(-x) - 1]. However, the correct approach involves rewriting the equation as dy/(1+y²) = -dx, which is separable. The use of integrating factors, specifically μ = e^(∫P(x)dx), is essential for solving linear differential equations of the form y'(x) + P(x)y(x) = Q(x).

PREREQUISITES
  • Understanding of differential equations
  • Familiarity with integrating factors
  • Knowledge of separable equations
  • Basic calculus concepts, including integration
NEXT STEPS
  • Study the method of integrating factors in detail
  • Learn how to solve separable differential equations
  • Practice verifying solutions to differential equations
  • Explore advanced topics in differential equations, such as exact equations
USEFUL FOR

Students studying calculus, particularly those focusing on differential equations, as well as educators and tutors looking to enhance their understanding of solving and verifying solutions to these equations.

indie452
Messages
115
Reaction score
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]
 
Physics news on Phys.org
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:

\frac{dy}{1+y^2}=-dx
 
Your equation, as previously noted, is separable. Integrating factors are used in functions of the form

y'(x) + P(x)y(x) = Q(x)

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

Similar threads

Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
19
Views
2K
  • · Replies 2 ·
Replies
2
Views
868
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K