Step-by-step Solution

Solve the differential equation $\frac{dy}{dx}+y\frac{3}{x}=\frac{1}{x^2}$

Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

Final Answer

$y=\frac{\frac{1}{2}x^2+C_0}{x^3}$

Step-by-step explanation

Problem to solve:

$\frac{dy}{dx}+\frac{3}{x}y=\frac{1}{x^2}$
1

Multiplying the fraction by $y$

$\frac{dy}{dx}+\frac{3y}{x}=\frac{1}{x^2}$
2

We can identify that the differential equation has the form: $\frac{dy}{dx} + P(x)\cdot y(x) = Q(x)$, so we can classify it as a linear first order differential equation, where $P(x)=\frac{3}{x}$ and $Q(x)=\frac{1}{x^2}$. In order to solve the differential equation, the first step is to find the integrating factor $\mu(x)$

$\displaystyle\mu\left(x\right)=e^{\int P(x)dx}$
3

To find $\mu(x)$, we first need to calculate $\int P(x)dx$

$\int P(x)dx=\int\frac{3}{x}dx=3\ln\left(x\right)$
4

So the integrating factor $\mu(x)$ is

$\mu(x)=x^3$
5

Now, multiply all the terms in the differential equation by the integrating factor $\mu(x)$ and check if we can simplify

$x^3\frac{dy}{dx}+3yx^{2}=x$
6

We can recognize that the left side of the differential equation consists of the derivative of the product of $\mu(x)\cdot y(x)$

$\frac{d}{dx}\left(x^3y\right)=x$
7

Integrate both sides of the differential equation with respect to $dx$

$\int\frac{d}{dx}\left(x^3y\right)dx=\int xdx$
8

Simplify the left side of the differential equation

$x^3y=\int xdx$
9

Solve the integral $\int xdx$ and replace the result in the differential equation

$x^3y=\frac{1}{2}x^2$
10

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$x^3y=\frac{1}{2}x^2+C_0$
11

Divide both sides of the equation by $x^3$

$y=\frac{\frac{1}{2}x^2+C_0}{x^3}$

Final Answer

$y=\frac{\frac{1}{2}x^2+C_0}{x^3}$
$\frac{dy}{dx}+\frac{3}{x}y=\frac{1}{x^2}$

Related formulas:

1. See formulas

Time to solve it:

~ 0.07 s (SnapXam)