Identify Differential Equation: Identify the given differential equation. The equation is y′+x−32y=x−3sin4x.
Recognize Linear Form: Notice that the equation is a first-order linear differential equation in the form y′+P(x)y=Q(x), where P(x)=x−32 and Q(x)=x−3sin4x.
Find Integrating Factor: To solve this equation, we need to find an integrating factor, which is e(∫P(x)dx). Calculate the integral of P(x) to find the integrating factor.
Integrate P(x): Integrate P(x)=x−32. The integral of x−32 with respect to x is 2ln∣x−3∣.
Multiply by Integrating Factor: The integrating factor is e2ln∣x−3∣, which simplifies to (x−3)2.
Recognize Derivative Form: Multiply the entire differential equation by the integrating factor (x−3)2 to get (x−3)2y′+2(x−3)y=sin4x.
Integrate Both Sides: Recognize that the left side of the equation is now the derivative of (x−3)2y with respect to x. Write the equation as dxd[(x−3)2y]=sin4x.
Final Integration: Integrate both sides of the equation with respect to x. The integral of dxd[(x−3)2y] is (x−3)2y, and the integral of sin4x is −41cos4x plus a constant C.
Solve for y: After integrating, we have (x−3)2y=−41cos4x+C.
Solve for y: After integrating, we have (x−3)2y=−41cos4x+C. Solve for y by dividing both sides by (x−3)2. The solution for y is y=(x−3)2−41cos4x+C.
More problems from Find derivatives using the chain rule I