Here, we show you a step-by-step solved example of linear differential equation. This solution was automatically generated by our smart calculator:
Divide all the terms of the differential equation by $x$
Simplify the fraction $\frac{x}{x}$ by $x$
Any expression multiplied by $1$ is equal to itself
Simplify the fraction $\frac{x^3\cos\left(x\right)}{x}$ by $x$
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{-2}{x}$ and $Q(x)=x^{2}\cos\left(x\right)$. In order to solve the differential equation, the first step is to find the integrating factor $\mu(x)$
Compute the integral
The integral of the inverse of the lineal function is given by the following formula, $\displaystyle\int\frac{1}{x}dx=\ln(x)$
To find $\mu(x)$, we first need to calculate $\int P(x)dx$
Simplify $e^{-2\ln\left|x\right|}$ by applying the properties of exponents and logarithms
So the integrating factor $\mu(x)$ is
When multiplying exponents with same base we can add the exponents
Add the values $2$ and $-2$
Any expression (except $0$ and $\infty$) to the power of $0$ is equal to $1$
Multiplying the fraction by $x^{-2}$
Simplify the fraction $\frac{-2yx^{-2}}{x}$ by $x$
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
Apply the integral of the cosine function: $\int\cos(x)dx=\sin(x)$
As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$
Solve the integral $\int\cos\left(x\right)dx$ and replace the result in the differential equation
Applying the property of exponents, $\displaystyle a^{-n}=\frac{1}{a^n}$, where $n$ is a number
Multiplying the fraction by $y$
Applying the property of exponents, $\displaystyle a^{-n}=\frac{1}{a^n}$, where $n$ is a number
Multiply the fraction by the term $y$
Any expression multiplied by $1$ is equal to itself
Multiply the fraction by the term $y$
Multiply both sides of the equation by $x^{2}$
Find the explicit solution to the differential equation. We need to isolate the variable $y$
Accédez à des solutions détaillées, étape par étape, à des milliers de problèmes, dont le nombre augmente chaque jour !
Les problèmes les plus courants résolus avec cette calculatrice :