0
$\begingroup$

I'm writing down the differential equation that I was solving, but it should be relatable to any other first-order linear differential equation. The equation is: $x \frac{dy}{dx}=x^2+3y$ where $x>0$.

At first I got the wrong integrating factor. I realized it could be wrong after verification of the solution found and after I had made sure that I did not make any algebraic errors. Then I changed the integrating factor and got the correct solution to the equation. However, I'm still not sure why the first integrating factor does not work, and why is the second method is the way to go to find the correct solution.

Here is what I did:

(1) Wrong Integrating Factor:

$v(x)= {e}^{\int{-3{x}^{-1}dx}}={e}^{-3 \int{{x}^{-1}dx}} = {e}^{-3\ln{x}} = {e}^{-3} {e}^{\ln{x}} = \frac{x}{e^3}$

With this integrating factor we find the solution to be $y=\frac{x^2}{3}+C{x}^{-1}$ which is wrong.

(2) Correct Integrating Factor:

$v(x)= {e}^{\int{-3{x}^{-1}dx}}={e}^{-3 \int{{x}^{-1}dx}} = {e}^{-3\ln{x}} = {e}^{\ln{{x}^{-3}}} = {x}^{-3}$

With this integrating factor we find the correct solution $y= -x^2 + Cx^3$

$\endgroup$

1 Answer 1

2
$\begingroup$

Note that: $$e^ae^b=e^{a+b}$$ $$e^{ab}=(e^a)^b=(e^b)^a$$ So that: $$e^{-3\ln x}=(e^{\ln x})^{-3}=x^{-3}$$

$\endgroup$
4
  • $\begingroup$ Oh now I see the error. $\endgroup$ Commented Mar 19, 2022 at 15:08
  • $\begingroup$ You're welcome @StrongLizard $\endgroup$ Commented Mar 19, 2022 at 15:08
  • $\begingroup$ ${e}^{-3\ln{x}} \neq {e}^{-3} {e}^{\ln{x}} = {e}^{-3+\ln{x}}$ $\endgroup$ Commented Mar 19, 2022 at 15:09
  • $\begingroup$ Yes this is correct @StrongLizard $\endgroup$ Commented Mar 19, 2022 at 15:10

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.