- #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: