What is the Correct Domain for this ODE Solution?

In summary, the conversation discusses the solution to the ODE y' = 1 + y^2, which is found to be y = tan(x + C), where C is a constant. The last line of the conversation discusses the validity of this solution and whether it should be written as x \in (-\frac{\pi}{2} - C + k\pi, \frac{\pi}{2} - C + k\pi), k \in \mathbb{Z} or x \in (-\frac{\pi}{2} - C, \frac{\pi}{2} - C). It is concluded that the correct form depends on whether an initial value is given or if a completely general form is needed.
  • #1
twoflower
368
0
Hi all,

here is one ODE I solved now

[tex]
y' = 1 + y^2
[/tex]

So

[tex]
\frac{y'}{1+y^2} = 1
[/tex]

[tex]
\int \frac{dy}{1+y^2} = \int 1 dx
[/tex]

[tex]
\arctan y = x + C \leftrightarrow y = \tan (x + C)
[/tex]

[tex]
x \in (-\frac{\pi}{2} - C, \frac{\pi}{2} - C)
[/tex]

The last line is what I'm unsure about.

Shouldn't it rather be

[tex]
x \in (-\frac{\pi}{2} - C + k\pi, \frac{\pi}{2} - C + k\pi), k \in \mathbb{Z}
[/tex]

or is it ok as I wrote it originally?

Thank you.
 
Physics news on Phys.org
  • #2
It depends. Usually you would determine the constant by an initial value, ie, y(x0)=y0, in which case the solution would be valid within whichever region (ie, of width [itex]\pi[/tex]) contains x0. If you're just looking for a completely general form, one that represents every possible solution, then your second form is correct.
 

1. What is an ODE with separate variables?

An ODE (ordinary differential equation) with separate variables is a type of differential equation where the dependent variable can be separated into two independent variables. This allows for the equation to be solved by integrating each variable separately.

2. How do I solve an ODE with separate variables?

To solve an ODE with separate variables, first separate the dependent variable into two independent variables. Then integrate each variable separately. Finally, combine the two solutions and solve for any constants of integration.

3. What is the importance of ODEs with separate variables in science?

ODEs with separate variables are important in science because they allow for the modeling and prediction of various processes and phenomena in nature. Many physical, biological, and chemical systems can be described by ODEs with separate variables.

4. Can ODEs with separate variables be solved analytically?

Yes, ODEs with separate variables can be solved analytically by integrating each variable separately and then combining the solutions. However, some complex ODEs may require numerical methods for solution.

5. What are some real-world applications of ODEs with separate variables?

ODEs with separate variables have many real-world applications, such as in population dynamics, chemical reactions, electrical circuits, and mechanics. They are also used in various fields of science and engineering, including physics, biology, chemistry, and economics, to model and solve problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
16
Views
564
  • Calculus and Beyond Homework Help
Replies
3
Views
331
  • Calculus and Beyond Homework Help
Replies
6
Views
760
  • Calculus and Beyond Homework Help
Replies
2
Views
507
  • Calculus and Beyond Homework Help
Replies
2
Views
917
  • Calculus and Beyond Homework Help
Replies
3
Views
346
  • Calculus and Beyond Homework Help
Replies
3
Views
276
  • Calculus and Beyond Homework Help
Replies
21
Views
840
  • Calculus and Beyond Homework Help
Replies
3
Views
416
  • Calculus and Beyond Homework Help
Replies
3
Views
562
Back
Top