Hi,
I'm wondering about this equation:
y' + 3y = 1
Is this homogeneous or non-homogeneous? And how can I tell? What does homogeneous mean in this context, in straightforward language?
I tried to solve this equation in two ways. First, I actually tried the 'complicated' variation of parameters method, and got the wrong answer:
the CF is: g' + 3g = 0
solving this gives: g = ke^(-3x)
then, after the substitution phase, we end up with: u' = e^(3x)
so: u = (e^3x) / 3 + c (we lose the k here, and I don't know why...)
and: y = ug = 1 / 3 + ce^(-3x)
WRONG.
Second, I tried the simple separation of variables method, and got the right answer (maybe):
rewriting gives: y' / (1 - 3y) = 1
so we end up integrating this expression: 1 / (1-3y) dy
which can be solved using a substitution u = 1 - 3y, which yields: -ln(1 - 3y) / 3 + c
RIGHT - maybe!
Because the answer, acccording to online solvers, is: -ln(|3y - 1|) / 3 + c
Could some kind person clear up my confusion(s) here. Would be most appreciated.
-- C
I'm wondering about this equation:
y' + 3y = 1
Is this homogeneous or non-homogeneous? And how can I tell? What does homogeneous mean in this context, in straightforward language?
I tried to solve this equation in two ways. First, I actually tried the 'complicated' variation of parameters method, and got the wrong answer:
the CF is: g' + 3g = 0
solving this gives: g = ke^(-3x)
then, after the substitution phase, we end up with: u' = e^(3x)
so: u = (e^3x) / 3 + c (we lose the k here, and I don't know why...)
and: y = ug = 1 / 3 + ce^(-3x)
WRONG.
Second, I tried the simple separation of variables method, and got the right answer (maybe):
rewriting gives: y' / (1 - 3y) = 1
so we end up integrating this expression: 1 / (1-3y) dy
which can be solved using a substitution u = 1 - 3y, which yields: -ln(1 - 3y) / 3 + c
RIGHT - maybe!
Because the answer, acccording to online solvers, is: -ln(|3y - 1|) / 3 + c
Could some kind person clear up my confusion(s) here. Would be most appreciated.
-- C