Divide all the terms of the differential equation by $x-2$
Simplifying
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{1}{x-2}$ and $Q(x)=x+2$. In order to solve the differential equation, the first step is to find the integrating factor $\mu(x)$
To find $\mu(x)$, we first need to calculate $\int P(x)dx$
So the integrating factor $\mu(x)$ is
Now, multiply all the terms in the differential equation by the integrating factor $\mu(x)$ and check if we can simplify
We can recognize that the left side of the differential equation consists of the derivative of the product of $\mu(x)\cdot y(x)$
Integrate both sides of the differential equation with respect to $dx$
Simplify the left side of the differential equation
Solve the product of difference of squares $\left(x+2\right)\left(x-2\right)$
Expand the integral $\int\left(x^2-4\right)dx$ into $2$ integrals using the sum rule for integrals, to then solve each integral separately
Solve the integral $\int x^2dx+\int-4dx$ and replace the result in the differential equation
Find the explicit solution to the differential equation. We need to isolate the variable $y$
Try other ways to solve this exercise
Get a preview of step-by-step solutions.
Earn solution credits, which you can redeem for complete step-by-step solutions.
Save your favorite problems.
Become premium to access unlimited solutions, download solutions, discounts and more!