Can you guys help me do this question? y'=2x-3y+1, y(1)=5, y(1.5)=?

teyyyyyi

New member
Joined
Oct 8, 2020
Messages
10
Hi, I need someone to help me with the question above, I have currently solved it using the linear ordinary differential equations and I need to find 2 other new methods to find the EXACT value of it, not approximation value. Hence, I am not allowed to use RK-4, Euler's, and other approximating methods. Thank you!
 
This is strange! Isn't one method enough as long as it gives the correct answer? ;) Yes, this is a linear equation of the form dydx+3y=2x+1\displaystyle \frac{dy}{dx}+ 3y= 2x+1. The "integrating factor" is e3dx=e3x\displaystyle e^{\int 3dx}= e^{3x}. Multiplying both sides by that gives e3xdydx+3e3xy=de3xydx=(2x+1)e3x\displaystyle e^{3x}\frac{dy}{dx}+ 3e^{3x}y= \frac{de^{3x}y}{dx}= (2x+ 1)e^{3x}.
To integrate the right side use "integration by parts", letting u=2x+1\displaystyle u= 2x+ 1, dv=e3x\displaystyle dv= e^{3x}. Then du=2dx\displaystyle du= 2dx and v=13x\displaystyle v= \frac{1}{3}x.
So (2x+1)e3xdx=13(2x+1)e3x23e3xdx=13(2x+1)e3x29e3x+C=23xe3x+19e3x+C\displaystyle \int (2x+ 1)e^{3x}dx= \frac{1}{3}(2x+1)e^{3x}- \frac{2}{3}\int e^{3x}dx= \frac{1}{3}(2x+ 1)e^{3x}- \frac{2}{9}e^{3x}+C= \frac{2}{3}xe^{3x}+ \frac{1}{9}e^{3x}+ C. So e3xy=23xe3x+19e3x+C\displaystyle e^{3x}y= \frac{2}{3}xe^{3x}+ \frac{1}{9}e^{3x}+ C so y=23x+19+Ce3x\displaystyle y= \frac{2}{3}x+ \frac{1}{9}+ Ce^{-3x}.

Another method is separating into the "associated homogeneous equation" and the entire equation. The "associated homogeneous equation" is dydx=3y\displaystyle \frac{dy}{dx}=-3y so dyy=3dx\displaystyle \frac{dy}{y}= -3dx. Integrating that gives ln(y)=3x+C\displaystyle ln(y)= -3x+ C. Taking the exponential of both sides y=e3x+C=Ce3x\displaystyle y= e^{-3x+ C}= C'e^{-3x} where C=eC\displaystyle C'= e^C. Now we just need a single function that satisfies the entire equation. Since the "no-homogeneous" part is 2x+1\displaystyle 2x+1 and I know that the derivative just lowers the degree of a polynomial, I look for a solution of the form y=ax2+bx+c\displaystyle y= ax^2+ bx+ c. Then y=2ax+b\displaystyle y'= 2ax+ b so the equation is 2ax+b+3ax2+3bx+3c=2x+1\displaystyle 2ax+ b+ 3ax^2+ 3bx+ 3c= 2x+ 1. 3ax2+(3b+2a)x+(b+3c)=2x+1\displaystyle 3ax^2+ (3b+ 2a)x+ (b+ 3c)= 2x+1. Since this is to be true for all x the coefficients must be the same: 3a= 0, 3b+ 2a= 2 and b+ 3c= 1. That is, a= 0, b= 2/3, and c= 1/9.

The solution is y=Ce3x+(2/3)x+1/9\displaystyle y= Ce{-3x}+ (2/3)x+ 1/9 as before.

I'm not sure I would consider it a "different method" but we can also use the method used for higher order linear differential equations. Since the "associated homogeneous equation" is dydx+3y=0\displaystyle \frac{dy}{dx}+ 3y= 0, the "characteristic equation" is r+3=0\displaystyle r+3= 0. r=3\displaystyle r= -3 so the general solution to the associated homogeneous equation is y=Ce3x\displaystyle y= Ce^{-3x} and then finish as above.
 
This is strange! Isn't one method enough as long as it gives the correct answer? ;) Yes, this is a linear equation of the form dydx+3y=2x+1\displaystyle \frac{dy}{dx}+ 3y= 2x+1. The "integrating factor" is e3dx=e3x\displaystyle e^{\int 3dx}= e^{3x}. Multiplying both sides by that gives e3xdydx+3e3xy=de3xydx=(2x+1)e3x\displaystyle e^{3x}\frac{dy}{dx}+ 3e^{3x}y= \frac{de^{3x}y}{dx}= (2x+ 1)e^{3x}.
To integrate the right side use "integration by parts", letting u=2x+1\displaystyle u= 2x+ 1, dv=e3x\displaystyle dv= e^{3x}. Then du=2dx\displaystyle du= 2dx and v=13x\displaystyle v= \frac{1}{3}x.
So (2x+1)e3xdx=13(2x+1)e3x23e3xdx=13(2x+1)e3x29e3x+C=23xe3x+19e3x+C\displaystyle \int (2x+ 1)e^{3x}dx= \frac{1}{3}(2x+1)e^{3x}- \frac{2}{3}\int e^{3x}dx= \frac{1}{3}(2x+ 1)e^{3x}- \frac{2}{9}e^{3x}+C= \frac{2}{3}xe^{3x}+ \frac{1}{9}e^{3x}+ C. So e3xy=23xe3x+19e3x+C\displaystyle e^{3x}y= \frac{2}{3}xe^{3x}+ \frac{1}{9}e^{3x}+ C so y=23x+19+Ce3x\displaystyle y= \frac{2}{3}x+ \frac{1}{9}+ Ce^{-3x}.

Another method is separating into the "associated homogeneous equation" and the entire equation. The "associated homogeneous equation" is dydx=3y\displaystyle \frac{dy}{dx}=-3y so dyy=3dx\displaystyle \frac{dy}{y}= -3dx. Integrating that gives ln(y)=3x+C\displaystyle ln(y)= -3x+ C. Taking the exponential of both sides y=e3x+C=Ce3x\displaystyle y= e^{-3x+ C}= C'e^{-3x} where C=eC\displaystyle C'= e^C. Now we just need a single function that satisfies the entire equation. Since the "no-homogeneous" part is 2x+1\displaystyle 2x+1 and I know that the derivative just lowers the degree of a polynomial, I look for a solution of the form y=ax2+bx+c\displaystyle y= ax^2+ bx+ c. Then y=2ax+b\displaystyle y'= 2ax+ b so the equation is 2ax+b+3ax2+3bx+3c=2x+1\displaystyle 2ax+ b+ 3ax^2+ 3bx+ 3c= 2x+ 1. 3ax2+(3b+2a)x+(b+3c)=2x+1\displaystyle 3ax^2+ (3b+ 2a)x+ (b+ 3c)= 2x+1. Since this is to be true for all x the coefficients must be the same: 3a= 0, 3b+ 2a= 2 and b+ 3c= 1. That is, a= 0, b= 2/3, and c= 1/9.

The solution is y=Ce3x+(2/3)x+1/9\displaystyle y= Ce{-3x}+ (2/3)x+ 1/9 as before.

I'm not sure I would consider it a "different method" but we can also use the method used for higher order linear differential equations. Since the "associated homogeneous equation" is dydx+3y=0\displaystyle \frac{dy}{dx}+ 3y= 0, the "characteristic equation" is r+3=0\displaystyle r+3= 0. r=3\displaystyle r= -3 so the general solution to the associated homogeneous equation is y=Ce3x\displaystyle y= Ce^{-3x} and then finish as above.
thank you so much for your response! I appreciate it a lot ??. I hope this is not too much to ask, can you help me figure out other methods to use for y'=e^-y, y(0)=0, y(0.5)=? I have found the answer using separation of variables and I can't seem to find a new way, I tried using Laplace but it didn't work. Thank you before! :)
 
Hi, I need someone to help me with the question above, I have currently solved it using the separation of variables and I need to find 2 other new methods to find the EXACT value of it, not approximation value. Hence, I am not allowed to use RK-4, Euler's, and other approximating methods. Thank you!
 
Hi, I need someone to help me with the question above, I have currently solved it using the separation of variables and I need to find 2 other new methods to find the EXACT value of it, not approximation value. Hence, I am not allowed to use RK-4, Euler's, and other approximating methods. Thank you!
Please share your work using "separation of variables".

Did you follow the methods pointed out in response #2?
 
Please share your work using "separation of variables".

Did you follow the methods pointed out in response #2?
Oh, I am sorry I was referring to another question for the "separation of variables", and yes I did the methods pointed out in response #2.
 
Oh, I am sorry I was referring to another question for the "separation of variables", and yes I did the methods pointed out in response #2.

So what are the methods that you did try to solve the given DE?

Please share your work.
 
Top