Absolute values resulting in diff-eqs

In summary, the conversation discusses a first-order linear differential equation with an initial condition and the general method for solving it. The attempt at a solution presents a problem with absolute value signs, but it is clarified that they can be dropped in certain cases. It is important to analyze each specific equation carefully to determine if and when the absolute value signs can be dropped.
  • #1
process91
106
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
  • #2
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.
 
  • #3
OK, sounds good. Thanks for the clarification.
 

1. What is an absolute value?

An absolute value is a mathematical concept that represents the distance of a number from zero on a number line. It is always positive, regardless of the sign of the number.

2. How do absolute values result in differential equations?

Absolute values can be used in differential equations to account for different possible solutions. They can help to solve for the constant of integration and allow for different initial conditions to be considered.

3. What are some applications of absolute values in differential equations?

Absolute values can be used in various fields such as physics, engineering, and economics to model real-world phenomena. For example, in physics, absolute values can be used to model the motion of objects with changing acceleration.

4. Can absolute values be negative?

No, absolute values are always positive. This is because absolute values represent distance, which cannot be negative.

5. Are there any other ways to represent absolute values in differential equations?

Yes, absolute values can also be represented using piecewise functions or using the square root function. These representations can be useful in certain situations, such as when dealing with complex numbers.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
905
  • Calculus and Beyond Homework Help
Replies
5
Views
268
  • Calculus and Beyond Homework Help
Replies
6
Views
746
  • Calculus and Beyond Homework Help
Replies
8
Views
752
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
251
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
452
  • Calculus and Beyond Homework Help
Replies
1
Views
692
  • Calculus and Beyond Homework Help
Replies
21
Views
822
Back
Top