Quick question about differential equations

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
vande060
Messages
180
Reaction score
0

Homework Statement



solve the equation

dy/dx = y/x



Homework Equations





The Attempt at a Solution



dy/dx = y/x

dy/y = dx/x

lny = lnx + c

my book gives the answer

y = kx

not sure how they got that, did they just take the log of the constant, because its just a constant and can be manipulated to simplify.

y = lnx + lnc

y = ln(xc)

k = c

y = kx ??
 
Physics news on Phys.org
SammyS said:
Look at:

[tex]e^{\ln(y)}=e^{\ln(x)+C}[/tex]

would that be the same as saying

y = xec
 
Mark44 said:
Yes. And ec is just a constant, which you can call k.

well that was easy thanks