Solve the first-order linear differential equation dy/dx + y/x = 1.

Practice Questions

Q1
Solve the first-order linear differential equation dy/dx + y/x = 1.
  1. y = x + C/x
  2. y = Cx - x
  3. y = Cx + x
  4. y = C/x + x

Questions & Step-by-Step Solutions

Solve the first-order linear differential equation dy/dx + y/x = 1.
  • Step 1: Identify the differential equation: dy/dx + y/x = 1.
  • Step 2: Recognize that this is a first-order linear differential equation.
  • Step 3: Find the integrating factor. The integrating factor is e^(∫(1/x)dx).
  • Step 4: Calculate the integral: ∫(1/x)dx = ln|x|.
  • Step 5: Therefore, the integrating factor is e^(ln|x|) = x.
  • Step 6: Multiply the entire differential equation by the integrating factor (x): x(dy/dx) + y = x.
  • Step 7: Notice that the left side is the derivative of (y * x): d(y * x)/dx = x.
  • Step 8: Integrate both sides: ∫d(y * x) = ∫x dx.
  • Step 9: This gives us y * x = (1/2)x^2 + C, where C is the constant of integration.
  • Step 10: Solve for y: y = (1/2)x + C/x.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely