Skip to content
← All questions

How do you convert the differential equation dy/dx=y/(x+y2)dy/dx = y/(x+y^2) into a first-order linear equation in x?

Take the reciprocal of both sides to swap the roles of the independent and dependent variables, yielding dx/dy=(x+y2)/ydx/dy = (x+y^2)/y. Split the fraction on the right side to get dx/dy=(1/y)x+ydx/dy = (1/y)x + y. Finally, rearrange the terms to match the standard linear form, resulting in dx/dy−(1/y)x=ydx/dy - (1/y)x = y.

Conditions

  • The equation is a first-order differential equation.
  • y is not equal to zero, allowing division by y and taking the reciprocal.

Reasoning, step by step

  1. Start with the equation: dy/dx=y/(x+y2)dy/dx = y/(x+y^2).
  2. Take the reciprocal of both sides: dx/dy=(x+y2)/ydx/dy = (x+y^2)/y.
  3. Split the fraction: dx/dy=(1/y)x+ydx/dy = (1/y)x + y.
  4. Rearrange into standard linear form: dx/dy−(1/y)x=ydx/dy - (1/y)x = y.
  5. Identify p(y)=−1/yp(y) = -1/y and q(y)=yq(y) = y.

Example

The video demonstrates this variable-swapping technique, showing how an equation nonlinear in y becomes linear in x.

Common misconceptions

  • Trying to separate variables directly, which fails because x and y are added in the denominator.
  • Forgetting to change the derivative notation from dy/dxdy/dx to dx/dydx/dy when swapping variables.

Watch the explanation

Explore next

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.