# Differential equation for straight lines through origin

• October 25th 2010, 05:27 AM
SyNtHeSiS
Differential equation for straight lines through origin
Sketch a few members of the straight lines through the origin. By eliminating parameters, derive a differential equation which describes this family.

Attempt

$y = mx$ (since there are infinite gradients)

$\frac{dy}{dx} = m$

but the correct answer was: $\frac{dy}{dx} = \frac{y}{x}$. I am not sure why.
• October 25th 2010, 05:36 AM
HallsofIvy
Well, your answer "dy/dx= m" isn't correct because you have not eliminated the parameter m!

From the original equation, y= mx, m= y/x which gives dy/dx= y/x.
• October 25th 2010, 08:57 AM
SyNtHeSiS
Thanks. If instead the question was: find the differential equation for the straight lines through the point (2,3), what would the procedure be?

I tried using:

y = mx + c
3 = 2m + c

but differentiating it obviously wouldnt work, since there are only constants
• October 25th 2010, 11:47 AM
mr fantastic
Quote:

Originally Posted by SyNtHeSiS
Thanks. If instead the question was: find the differential equation for the straight lines through the point (2,3), what would the procedure be?

I tried using:

y = mx + c .... (1)
3 = 2m + c .... (2)

but differentiating it obviously wouldnt work, since there are only constants

I have numbered the equations. Solve for c in terms of m from (2). Substitute this expression for c into (1). Now answer the question.
• September 5th 2014, 09:46 AM
Hiroshi
Re: Differential equation for straight lines through origin
y=mx+c
Since, c=0
m=y/x
Differentiating on both sides....
0=y dx - x dy / y²

1 dx/y - x dy/y² =0

1 dx/y = x dy/ y²

1 dx / x = 1 dy / y

y/x = dy/dx