Find the solution: x(\frac{dy}{dx})+3y=1-\frac{2}{x}

Question:

Find the solution: {eq}x(\frac{dy}{dx})+3y=1-\frac{2}{x}{/eq}

Linear first order differential equation:

A first-order linear differential equation is one that can be written in the form

{eq}\frac{{dy}}{{dx}} + p(x)y = q(x), {/eq}

where {eq}p(x) {/eq} and {eq}q(x) {/eq} are continuous functions of {eq}x {/eq}.

First we find integrating factor for the first order linear differential equation

I.F. = {eq}{e^{\int p (x)dx}} {/eq}.

Solution of first order linear differential equation is given by

{eq}y.{e^{\int p (x)dx}} = \int {q(x).{e^{\int p (x)dx}}dx + c} {/eq}.

where {eq}c {/eq} is constant of integration.

We use the following formula of integration:

{eq}\eqalign{ & \int {\frac{1}{x}dx = \ln x + c} \cr & \int {{x^n}} dx = \frac{{{x^{n + 1}}}}{{n + 1}} + c, \cr} {/eq}

where {eq}c {/eq} is constant of integration.

Become a Study.com member to unlock this answer! Create your account

Given D.E. {eq}x(\frac{dy}{dx})+3y=1-\frac{2}{x},{/eq}

we can re-write above differential equation as,

{eq}\displaystyle \frac{{dy}}{{dx}} +...

First-Order Linear Differential Equations

from

Chapter 16 / Lesson 3
1.9K

In this lesson you'll learn how to solve a first-order linear differential equation. We first define what such an equation is, and then we give the algorithm for solving one of that form. Specific examples follow the more general description of the method.