twoflower
- 363
- 0
Hi all,
I'd be happy if someone could clarify these two things to me:
1. While solving linear first-order ODE, I first solve homogenous equation (with the right side equal to 0) and eventually I get to the point (just an example):
<br /> \log |y| = \log C(e^{x} - 1)<br />
Now, is it ok to compute C for given non-homogenous equation and then write there two solutions
<br /> y = C(e^{x} - 1)<br />
<br /> y = -C(e^{x} - 1)\mbox{ ?}<br />
Because, you know, both satisfy
<br /> \log |y| = \log C(e^{x} - 1)<br />
Anyway, sometimes it gave me correct results (both C(e^{x} - 1) and -C(e^{x} - 1) were solutions) while other times only plus-signed solution was ok.
2. Solving Bernoulli's ODE, let's say
<br /> y' = 2y + 2x\sqrt{y}<br />
and substituting
<br /> z = \sqrt{y}<br />
<br /> y = z^2<br />
<br /> y' = 2zz'<br />
We get
<br /> 2zz' = 2z^2 + 2xz<br />
and first thing I do is dividing with 2z and so getting the condition z \neq 0
After some computing, I get the result
<br /> z = Ce^{x} - x - 1<br />
and thus
<br /> y = (Ce^{x} - x - 1)^2<br />
a) first question
I'd suppose this expression must not get zeroed because at the beginning we divided the equation with 2z. Anyway, even if C=1 and x=0 (and thus z = 0 = y), the original equation holds true. How it comes?b) second question
Having the substitution above in mind, I know that z itself must be \geq 0. Anyway, if we take C \in (0, 1), then the equation
<br /> Ce^{x} -x - 1 = 0<br />
has two roots, x_0 and x_1. Then we know that
for x \in (x_0, x_1)
<br /> Ce^{x} -x - 1 < 0<br />
Ok, still remembering that this is z and it must be \geq 0, we shouldn't accept this interval for x. However, what's the problem with this solution on this interval? When you put it in the original equation, it's ok I think.
I can't understand why the interval (x_0,x_1) is excluded from the solution (according to our professor).Thank you for any suggestions.
I'd be happy if someone could clarify these two things to me:
1. While solving linear first-order ODE, I first solve homogenous equation (with the right side equal to 0) and eventually I get to the point (just an example):
<br /> \log |y| = \log C(e^{x} - 1)<br />
Now, is it ok to compute C for given non-homogenous equation and then write there two solutions
<br /> y = C(e^{x} - 1)<br />
<br /> y = -C(e^{x} - 1)\mbox{ ?}<br />
Because, you know, both satisfy
<br /> \log |y| = \log C(e^{x} - 1)<br />
Anyway, sometimes it gave me correct results (both C(e^{x} - 1) and -C(e^{x} - 1) were solutions) while other times only plus-signed solution was ok.
2. Solving Bernoulli's ODE, let's say
<br /> y' = 2y + 2x\sqrt{y}<br />
and substituting
<br /> z = \sqrt{y}<br />
<br /> y = z^2<br />
<br /> y' = 2zz'<br />
We get
<br /> 2zz' = 2z^2 + 2xz<br />
and first thing I do is dividing with 2z and so getting the condition z \neq 0
After some computing, I get the result
<br /> z = Ce^{x} - x - 1<br />
and thus
<br /> y = (Ce^{x} - x - 1)^2<br />
a) first question
I'd suppose this expression must not get zeroed because at the beginning we divided the equation with 2z. Anyway, even if C=1 and x=0 (and thus z = 0 = y), the original equation holds true. How it comes?b) second question
Having the substitution above in mind, I know that z itself must be \geq 0. Anyway, if we take C \in (0, 1), then the equation
<br /> Ce^{x} -x - 1 = 0<br />
has two roots, x_0 and x_1. Then we know that
for x \in (x_0, x_1)
<br /> Ce^{x} -x - 1 < 0<br />
Ok, still remembering that this is z and it must be \geq 0, we shouldn't accept this interval for x. However, what's the problem with this solution on this interval? When you put it in the original equation, it's ok I think.
I can't understand why the interval (x_0,x_1) is excluded from the solution (according to our professor).Thank you for any suggestions.
Last edited: