Differential equations question

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form (x^2+6x+12)dy=y^2dx, focusing on finding a general solution. The subject area is differential equations, specifically separable ordinary differential equations (ODEs).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the method of separation of variables and question the original poster's approach to integrating the equation. There are attempts to clarify the correct separation of variables and integration techniques, including completing the square for the quadratic polynomial.

Discussion Status

The discussion is ongoing, with participants providing guidance on how to separate the variables correctly and suggesting integration techniques. There is a recognition of the challenges posed by the quadratic polynomial and the need for proper integration methods.

Contextual Notes

Some participants note that the quadratic polynomial does not factor with rational coefficients, which influences the choice of integration method. There is also mention of the need to clarify the formula used for integration.

johnsholto
Messages
9
Reaction score
0

Homework Statement



I need to solve for a general solution of the following equation:

(x^2+6x+12)dy=y^2dx

2. The attempt at a solution

I tried using the method for seperable ODEs and got the following:

∫(x^2+6x+12)dy=∫(y^2)dx

(x^2+6x+12)y=(y^2)x+C

(x^2+6x+12-C)/x=y
 
Physics news on Phys.org
Here, "x" and "y" are your variables. So, by "separation of variables", it means that one has to bring all the "x"s to one side of the equation, and all the "y"s to the other side (Technically speaking, this is not what is actually happening, since then you would be integrating a different variable on both sides of the equation, which does not make any sense. However, let's just put this aside for now, and solve the problem. Maybe we can discuss it in a subsequent post).

You have not done the above in your first step. All you have done is, treat the expressions (x2 + 6x + 12) and (y2) as constants, and you took them out of the integral sign. However, this is incorrect, as these expressions involve the variables "x" and "y" and hence can't be taken out of the integral.

The first step would be to divide both sides by (x2 + 6x + 12) (y2). Then, you would get dy/y2 = dx/(x2 + 6x + 12). Now, you have "separated" both the variables and all you need to do is integrate both sides. Can you take it from here?
 
I did try that, but I don't know how to integrate 1/x^2+6x+12 easily.
 
The important thing to notice while trying to integrate dx/(x2 + 6x +12 ) is that the quadratic polynomial (x2 + 6x +12) does not factor with rational coefficients, and so the method of partial fractions is ruled out.

So, what one follows in such cases is "Completing the Square". I feel this concept is best understood with an example. Consider a quadratic polynomial (x2 + 12x + 40). This quadratic is clearly not a perfect square. But one can write this quadratic as the sum of a perfect square and a constant in the following manner :- (x+6)2 + (2)2. Do you see why this works? It's because in any perfect square (x+a)2, the number "a" is always half the coefficient of x, and the constant term is always equal to a2.Therefore, for the above problem, you can write (x2 + 6x +12) as (x+3)2 + (√3)2. So now, you've to integrate dx/( (x+3)2 + (√3)2 ). So now, you may ask why have I done this? It's because there is a direct formula for integrals of this form. Now all you have to do is just look it up, and use it.
 
Last edited:
So the integral must be √3 *arctan(√3 *(x+3))+C.

Which would give us y=-1/√3 *arctan(√3 *(x+3))+C
 
No, you've evaluated the integral incorrectly I'm afraid. Can you please completely state the formula you've used?
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
947
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K