The Student Room Group

Differential Equations

show that the general solutions of dy/dx=y/2x

I did:
dy/y=dx/2x
integrate both sides
ln y= ln 2x +a
ln y =ln 2x +ln a
ln y= ln 2ax
y = 2ax
so y^2 = 4a^2x^2
And if I use this method:
ln y = 1/2 ln 2x + ln a
2ln y = ln 2x+ 2ln a
2ln y - 2 ln a= ln 2x
2ln (y/a) = ln 2x
ln (y/a)^2 = ln 2x
y^2/a^2 = 2x
y^2 = 2xa^2

Neither method is giving me the correct answer.

Scroll to see replies

Reply 1
Original post by 123PC
show that the general solutions of dy/dx=y/2x

I did:
dy/y=dx/2x
integrate both sides
ln y= ln 2x +a
ln y =ln 2x +ln a
ln y= ln 2ax
y = 2ax
so y^2 = 4a^2x^2
And if I use this method:
ln y = 1/2 ln 2x + ln a
2ln y = ln 2x+ 2ln a
2ln y - 2 ln a= ln 2x
2ln (y/a) = ln 2x
ln (y/a)^2 = ln 2x
y^2/a^2 = 2x
y^2 = 2xa^2

Neither method is giving me the correct answer.


Are you sure about these bits?
(edited 8 years ago)
Reply 2
Original post by offhegoes
Are you sure about these bits?

Yes.
Reply 3
Original post by 123PC
Yes.


Then why did you differentiate dx/2x differently for each method?

Any why does 'a' become 'ln a' seemingly at will?
Reply 4
Original post by offhegoes
Then why did you differentiate dx/2x differently for each method?

Any why does 'a' become 'ln a' seemingly at will?

I thought that the integration of dx/2x in both methods are equivalent, but that didn't happen.
I took the constant to be ln a. Because ln a gives you a constant, so I took that as the constant of integration. I didn't mean to suggest that I turned the constant a, into ln a.
(edited 8 years ago)
Original post by 123PC
show that the general solutions of dy/dx=y/2x

I did:
dy/y=dx/2x
integrate both sides
ln y= ln 2x +a
ln y =ln 2x +ln a
ln y= ln 2ax
y = 2ax
so y^2 = 4a^2x^2
And if I use this method:
ln y = 1/2 ln 2x + ln a
2ln y = ln 2x+ 2ln a
2ln y - 2 ln a= ln 2x
2ln (y/a) = ln 2x
ln (y/a)^2 = ln 2x
y^2/a^2 = 2x
y^2 = 2xa^2

Neither method is giving me the correct answer.


I believe your mistake comes at logging the costant of integration randomly
Reply 6
Original post by 123PC
I thought that the integration of dx/2x in both methods are equivalent, but that didn't happen.
The took the constant to be ln a. Because ln a gives you a constant, so I took that as the constant of integration. I didn't mean to suggest that I turned the constant a, into ln a.


Perhaps post what the solution you've been given is and I can check what they've done from there?
Reply 7
Original post by offhegoes
Perhaps post what the solution you've been given is and I can check what they've done from there?

The book doesn't give answers to the prove that questions. :/
Original post by 123PC
show that the general solutions of dy/dx=y/2x

I did:
dy/y=dx/2x
integrate both sides
ln y= ln 2x +a
ln y =ln 2x +ln a
ln y= ln 2ax
y = 2ax
so y^2 = 4a^2x^2
And if I use this method:
ln y = 1/2 ln 2x + ln a
2ln y = ln 2x+ 2ln a
2ln y - 2 ln a= ln 2x
2ln (y/a) = ln 2x
ln (y/a)^2 = ln 2x
y^2/a^2 = 2x
y^2 = 2xa^2

Neither method is giving me the correct answer.


The integral of 12x\displaystyle \frac{1}{2x} is not equal to ln(2x)\displaystyle \ln(2x) !!!!!!
(edited 8 years ago)
Reply 9
Original post by 123PC
The book doesn't give answers to the prove that questions. :/


Let me ask another way - you say that those methods are not giving you the correct answer? Then what is the correct answer?
Original post by hasan6091
I believe your mistake comes at logging the costant of integration randomly


That's actually fine do to. What the OP has done is simply let C=lnA C = \ln{A} essentially which doesn't matter really - they are nothing but constants.
Reply 11
Original post by EricPiphany
The integral of 12x\displaystyle \frac{1}{2x} is not equal to ln(2x)\displaystyle \ln(2x)!!!!!!!


I'm not doing the integral of 1/2x. I am doing the integral of dx/2x
The diffentiation of ln f(x) = dx/f(x). so the integration of dx/2x should be ln (2x).
Original post by 123PC
I'm not doing the integral of 1/2x. I am doing the integral of dx/2x
The diffentiation of ln f(x) = dx/f(x). so the integration of dx/2x should be ln (2x).


What do you get if you differentiate ln2x \ln{2x} ?
Reply 13
Original post by hasan6091
I believe your mistake comes at logging the costant of integration randomly


I didn't mean to suggest that I suddenly turned the constant a into ln a. I have just taken the constant of integration to be ln a
Original post by 123PC
I'm not doing the integral of 1/2x. I am doing the integral of dx/2x
The diffentiation of ln f(x) = dx/f(x). so the integration of dx/2x should be ln (2x).


No, the derivative of ln(f(x))\displaystyle \ln(f(x)) is f(x)f(x)\displaystyle \frac{f'(x)}{f(x)}
Reply 15
Original post by Jordan\
What do you get if you differentiate ln2x \ln{2x} ?


2/2x = 1/x
Reply 16
Original post by offhegoes
Let me ask another way - you say that those methods are not giving you the correct answer? Then what is the correct answer?


It asks you to prove that the general solution is y^2= 4ax. But I am not getting y^2= 4ax.
Reply 17
Original post by EricPiphany
No, the derivative of ln(f(x))\displaystyle \ln(f(x)) is f(x)f(x)\displaystyle \frac{f'(x)}{f(x)}


f'(x) is the derivative of f(x). Which is dx/dy.
The equations is:
dy/y= dx/2x
or 1/y = (dx/dy)/2x
so it is now in the form of d(ln (f(x))/dy
Original post by 123PC
It asks you to prove that the general solution is y^2= 4ax. But I am not getting y^2= 4ax.


OK, I'll give you a clue. Rewrite 12x=(12)1x\displaystyle \frac{1}{2x} = \left( \frac{1}{2}\right) \frac{1}{x}
Not sure if you've done it, but you shoiuld be integrating
1/y dy = 1/2 * 1/x dx
Gets you
Ln(y) = 1/2ln(x) + 1/2ln(a)
Ln(y)=1/2ln(ax)
Ln(y)=ln(sqrt(ax))
Y=sqrt(ax)
Y^2=ax

Edit - also didnt see the post above me as i didnt rerfresh the post when i read this. And in case anyone is wondering i can use 1/2ln(a) as a constant because the value of a never changes etc.
(edited 8 years ago)

Quick Reply

Latest