First order separable differential equation

november1992
Messages
120
Reaction score
0

Homework Statement



x\frac{dy}{dx} = 4y

Homework Equations



I'm not sure if there is a specific equation for these type of problems. My professor just says to separate the two different variables and then integrate them with respect to x.

The Attempt at a Solution



\frac{1}{4y} \frac{dy}{dx} = \frac{1}{x}

∫\frac{1}{4y} \frac{dy}{dx} dx =∫\frac{1}{x} dx

left side:

∫\frac{1}{4y} \frac{dy}{dx} dx

u = y
du = \frac{dy}{dx} dx

\frac{1}{4}∫\frac{1}{u}du

ln(4y) + C_{y}right side:

∫\frac{1}{x} dx

ln(x) + C_{x}

ln(4y) = ln(x) + C

Do i have to continue or could I just stop here?

4y = e^{x} * e^{c}

y = \frac{e}{4}^{x} * \frac{e}{4}^{c}
 
Last edited by a moderator:
Physics news on Phys.org
Please don't use SIZE tags.
november1992 said:

Homework Statement



x\frac{dy}{dx} = 4y


Homework Equations



I'm not sure if there is a specific equation for these type of problems. My professor just says to separate the two different variables and then integrate them with respect to x.


The Attempt at a Solution



\frac{1}{4y} \frac{dy}{dx} = \frac{1}{x}

∫\frac{1}{4y} \frac{dy}{dx} dx =∫\frac{1}{x} dx

left side:

∫\frac{1}{4y} \frac{dy}{dx} dx

u = y
This is never a good substitution, because all you're doing is switching to a different letter.

november1992 said:
du = \frac{dy}{dx} dx

\frac{1}{4}∫\frac{1}{u}du

ln(4y) + C_{y}
You should have ended up with (1/4)ln|y| on the left side.

You made the problem considerably harder than it is by not immediately moving the constant outside the integral, and by dragging dy/dx along.

∫1/(4y)dy = (1/4)∫dy/y
november1992 said:
right side:

∫\frac{1}{x} dx

ln(x) + C_{x}

ln(4y) = ln(x) + C

Do i have to continue or could I just stop here?

4y = e^{x} * e^{c}
You have another mistake above. When you exponentiate the right side, you get eln(x) + C = eln(x) * eC. That first factor can be greatly simplfied.
november1992 said:
y = \frac{e}{4}^{x} * \frac{e}{4}^{c}
 
Sorry, I didn't know that wasn't allowed.

I was kind of following the example my teacher did that was similar to this problem.

I remember my calc 2 teacher telling me the integral of 1/Ax is ln(Ax). So that's why I thought it was ln(4y). When I did u substitution I thought it was kind of strange how the 4 ends up back inside ln. I guess I heard him wrong


Mark44 said:
You have another mistake above. When you exponentiate the right side, you get eln(x) + C = eln(x) * eC. That first factor can be greatly simplfied.

Yeah I know that e^ln(x) is just x i just copied it down incorrectly when i was posting it here.


So would it be,

(1/4)ln(y) = ln(x) +C

ln(y) = 4ln(x) +C

y = 4x +C

I don't think I exponentiated this correctly. If it were e^ln(4x) then it would be 4x.

Can e^4(lnx) be written as e^4 * e^ln(x)?

I don't think that's right either because e^(ln(x) +c) is e^ln(x) * e^c. I'm confused.
 
Last edited:
november1992 said:
Sorry, I didn't know that wasn't allowed.
It's not that it isn't allowed - it's just not needed most of the time.
november1992 said:
I was kind of following the example my teacher did that was similar to this problem.

I remember my calc 2 teacher telling me the integral of 1/Ax is ln(Ax).
Either your teacher told you something that's wrong or you misheard. You can check this formula by differentiating. d/dx(ln(Ax)) = 1/(Ax) * A = 1/x ≠ 1/(Ax)
november1992 said:
So that's why I thought it was ln(4y). When I did u substitution I thought it was kind of strange how the 4 ends up back inside ln. I guess I heard him wrong




Yeah I know that e^ln(x) is just x i just copied it down incorrectly when i was posting it here.


So would it be,

(1/4)ln(y) = ln(x) +C

ln(y) = 4ln(x) +C
Above, it would be 4C, but that's just a different constant. Some people just write C' to indicate that it's different from C. For this problem C' = 4C.
november1992 said:
y = 4x +C
No, that's incorrect.

Starting from the equation before this one...

ln(y) = 4ln(x) + C'

eln(y) = e4ln(x) + C' = e4ln(x) * eC'
=> y = eC' * e4ln(x) = Aeln(x4) = Ax4

Note that eC' is just another constant, so call it A.

If you really want to keep track, A = eC' = e4C

Strictly speaking, there should be absolute values involved on both sides. The real formulas are
$$ \int \frac{dy}{y} = ln|y| + C$$
and
$$ \int \frac{dx}{x} = ln|x| + C$$
november1992 said:
I don't think I exponentiated this correctly. If it were e^ln(4x) then it would be 4x.

Can e^4(lnx) be written as e^4 * e^ln(x)?
I'm not sure what you mean by e^4(lnx). Is this e^4 * ln(x) or e^(4ln(x))?
november1992 said:
I don't think that's right either because e^(ln(x) +c) is e^ln(x) * e^c. I'm confused.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top