Dealing with absolute value in the process of solving differential equations

306 Views Asked by At

Currently learning how to solve linear differential equations using the idea of the Product Rule of differentiation and finding the integrating factor. I keep encountering the same problem of not being sure how to deal with absolute values that appear in the process of reaching to a solution. For example:

$$\frac{dy}{dt}-\frac{1}{t+1}y(t)=4t^2+4t$$

Integrating factor: $$g(t)=-\frac{1}{t+1}$$ $$M(t)=e^{\int g(t)dt}$$ $$M(t)=e^{\int-\frac{1}{t+1}dt}$$ $$M(t)=e^{-\ln |t+1|}$$ $$M(t)=\frac{1}{|t+1|}$$

Solving the equation: $$\frac{dy}{dt}-\frac{1}{t+1}y(t)=4t^2+4t$$ $$M(t)\frac{dy}{dt}-M(t)\frac{1}{t+1}y(t)=M(t)(4t^2+4t)$$ $$\left(\frac{1}{|t+1|}\right)\frac{dy}{dt}-\left(\frac{1}{|t+1|}\right)\left(\frac{1}{t+1}\right)y(t)=\left(\frac{1}{|t+1|}\right)(4t^2+4t)$$


How do I finish solving this equation?

(I've never completely understood the concept of absolute value, so when dealing with problems like this I don't know how to get rid of it.)

1

There are 1 best solutions below

2
On BEST ANSWER

Obviously, your equation isn't $\quad \frac{dy}{dy}-\frac{1}{t+1}=4t^2+4t\quad$ but is : $$\frac{dy}{dt}-\frac{1}{t+1}y(t)=4t^2+4t$$ The integrating factor is $\quad \frac{1}{t+1}\quad$ so that : $$\frac{1}{t+1}\frac{dy}{dt}-\frac{y}{(t+1)^2}=\frac{4t^2+4t}{t+1}=4t$$ $$\frac{d}{dt}\left(\frac{y}{t+1}\right)=4t$$ $$\frac{y}{t+1}=2t^2+c$$ $$y=2t^2(t+1)+c\:(t+1)$$