Absolute values resulting in diff-eqs

Click For Summary
SUMMARY

The discussion focuses on solving the first-order linear differential equation y' + tan(x) y = 0 with the initial condition y(0) = C. The solution is derived using the method y = b exp(-∫ P(t) dt), resulting in y = C |cos(x)|. However, the presence of the absolute value complicates the solution, as it may not satisfy the differential equation across the entire real line. The importance of understanding when to drop absolute value signs in solutions is emphasized, particularly in relation to the behavior of functions like tan(x) and 1/x.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with integration techniques, specifically ∫ tan(x) dx
  • Knowledge of initial value problems in differential equations
  • Concept of absolute values in mathematical functions
NEXT STEPS
  • Study the method of integrating factors for solving linear differential equations
  • Learn about the implications of absolute values in differential equation solutions
  • Explore the behavior of trigonometric functions, particularly tan(x) and cos(x), in different intervals
  • Investigate the use of computational tools like Wolfram Alpha for solving differential equations
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone interested in the nuances of absolute values in mathematical solutions.

process91
Messages
105
Reaction score
0

Homework Statement


Consider a simple first-order linear differential equation, such as

[tex]y' + \tan x y = 0[/tex]

With initial condition y(0)=C for some constant C. Find all solutions y which satisfy this differential equation on the entire real line.

Homework Equations



General method for solving such an equation:
Given
[tex]y' + P(x)y = 0[/tex]
and an initial condition y(a)=b for some constant b, the solution will be given by
[tex]y=b \exp{\left(-\int_a^x P(t) dt\right)}[/tex]

The Attempt at a Solution


[tex]\int_0^x \tan x dx = -ln|\cos x|[/tex]
so
[tex]y=C \exp(ln|\cos x|) = C | \cos x |[/tex]

However, the absolute value actually presents a problem. Leaving it in means that this is, in fact, not a solution for the differential equation, however nothing in the original question indicates that it should be removed.


To quote from http://tutorial.math.lamar.edu/Classes/DE/Linear.aspx" ,
Often [absolute value bars] can’t be dropped so be careful with them and don’t drop them unless you know that you can.

A similar problem is present with something like this:

[tex]y' - \frac {1}{x} y = 0[/tex]

Wolfram Alpha has removed the absolute value signs on both of these, but they often remove absolute value signs when it is convenient in the answer without justification.
 
Last edited by a moderator:
Physics news on Phys.org
In your first example, you can't get a solution beyond (-π/2,π/2) because tan(x) isn't defined at the end points. And on that interval you can indeed drop the || signs because cos(x) is positive there.

Similarly with 1/x in the equation, you aren't going to get a solution crossing the y axis. I would say you have to look at your particular equation and be careful about it.
 
OK, sounds good. Thanks for the clarification.
 

Similar threads

Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K