BOAS
- 546
- 19
Hi,
I have a first order linear DE that I need to find the general solution for. I thought that I had, but my solution does not make sense when plugged back into the equation.
I think that my method of separation of variables might be inapplicable here, but don't know the reason for this.
I know that for a DE of the form;
y' + ay = b, the general solution is given by y = \frac{b}{a} + Ce^{-ax} but I don't know where this result comes from, so I would greatly appreciate some help here.
I will show what I have done, even though it is wrong.
1. Homework Statement
Find the general solution to;
c(\phi) : c' + 2c = 1
[/B]
Rewrite as \frac{dc}{d \phi} = 1 - 2c
\frac{dc}{1 - 2c} = d\phi
Integrate both sides.
\int \frac{dc}{1 - 2c} = \int d\phi
- \frac{1}{2} ln(|1 - 2c|) + a_{1} = \phi + a_{2}
Exponentiate, to get rid of ln, and let a_2 - a_1 = a
(1 - 2c)^{-\frac{1}{2}} = e^{\phi} + e^{a}
c = \frac{1}{2} - \frac{e^{-2\phi} + e^{-2a}}{2}
which is not a solution to my differential equation...
c = \frac{1}{2} + Qe^{-2 \phi} is. (Using Q as my constant to avoid confusion)
So I have two questions;
1) Why can I not use separation of variables? (Or did I make a mistake?)
2) What is the argument that leads to the aforementioned 'formula' for solutions?
Thanks.
I have a first order linear DE that I need to find the general solution for. I thought that I had, but my solution does not make sense when plugged back into the equation.
I think that my method of separation of variables might be inapplicable here, but don't know the reason for this.
I know that for a DE of the form;
y' + ay = b, the general solution is given by y = \frac{b}{a} + Ce^{-ax} but I don't know where this result comes from, so I would greatly appreciate some help here.
I will show what I have done, even though it is wrong.
1. Homework Statement
Find the general solution to;
c(\phi) : c' + 2c = 1
Homework Equations
The Attempt at a Solution
[/B]
Rewrite as \frac{dc}{d \phi} = 1 - 2c
\frac{dc}{1 - 2c} = d\phi
Integrate both sides.
\int \frac{dc}{1 - 2c} = \int d\phi
- \frac{1}{2} ln(|1 - 2c|) + a_{1} = \phi + a_{2}
Exponentiate, to get rid of ln, and let a_2 - a_1 = a
(1 - 2c)^{-\frac{1}{2}} = e^{\phi} + e^{a}
c = \frac{1}{2} - \frac{e^{-2\phi} + e^{-2a}}{2}
which is not a solution to my differential equation...
c = \frac{1}{2} + Qe^{-2 \phi} is. (Using Q as my constant to avoid confusion)
So I have two questions;
1) Why can I not use separation of variables? (Or did I make a mistake?)
2) What is the argument that leads to the aforementioned 'formula' for solutions?
Thanks.
Last edited: