MHB B.2.1.4 trig w/ integrating factor

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y' + y/x = 3 cos(2x) using the integrating factor method. The integrating factor is determined as μ(x) = x, leading to the transformed equation (xy)' = 3x cos(2x). After integrating, the solution is expressed as y = (3/2) sin(2x) + (3/4) cos(2x)/x + C/x, confirming the correctness of the approach taken by the participants. The conversation highlights an alternative method using integration by parts for solving the equation, ultimately arriving at the same solution.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Familiarity with integrating factors in differential equations
  • Knowledge of integration techniques, including integration by parts
  • Basic proficiency in manipulating trigonometric functions
NEXT STEPS
  • Study the method of integrating factors in depth
  • Learn about integration by parts and its applications in solving differential equations
  • Explore the theory behind linear non-homogeneous differential equations
  • Practice solving various forms of differential equations to solidify understanding
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone looking to enhance their problem-solving skills in calculus.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\begin{array}{rl}
\textit{Find } \mu(x): &\mu(x) =\exp\left(\int \dfrac{1}{x}\,dx\right)=e^{\ln{x}}=x\\
\textit{multiply thru by x} &xy^\prime+y=3x\cos 2x\\
\textit{rewrite as } &(xy)'=3x\cos 2x \\
\textit{}integrate &xy=\int 3x\cos 2x \, dx=\dfrac{3}{2}x\sin(2x)+\dfrac{3}{4}\cos(2x)+c\\
\textit{divide thru by x} &y=\dfrac{3}{2}\sin(2x)+\dfrac{3}{4}\dfrac{\cos(2x)}{x}+\dfrac{c}{x}\\
\textit{re-order} &y=\dfrac{c}{x}+\dfrac{3}{4}\dfrac{\cos 2x}{x}+\dfrac{3}{2}\sin 2x
\end{array}$

ok quite sure there are some oops in this one
thot I would try array to do the steps so...

hopefully there kinda
Mahalo for inputhttps://dl.orangedox.com/6rStfn4eMFHuHvAKuX
 
Physics news on Phys.org
It would help if you would tell us what the original problem was!

I think it is to solve the differential equation y'+ y/x= 3 cos(2x).

Personally, I wouldn't use the "integrating factor" method at all. I would instead look at this as a linear, non-homogeneous equation. The corresponding homogeneous equation is y'+ y/x= 0 or dy/dx= -y/x so that dy/y= -dx/x. Integrating both sides ln(y)= = -ln(x)+ c and taking the exponential of both sides, y= Cx^-1= C/x (C= e^c). To find a solution to the entire equation, look for a function of the form y= z(x)/x for some function, z. y'= z'/x- z/x^2 so the equation is z'/x- z/x^2+ z/x^2= z'/x= 3 cos(2x).

z'= 3 x cos(2x) and now use integration by parts: let u= 3x, dv= cos(2x). Then du= 3 dx and v= (1/2) sin(2x).
$z= (3/2) x sin(2x)- (3/2)\int sin(2x)dx= (3/2) x sin(2x)+ (3/4) cos(x)$.
I've dropped the "constant of integration" since we only need one such function.

z(x)/x= (3/2) sin(2X)+ (3/4) cos(x)/x so the full solution is

y(x)= C/x+ (3/2) sin(2X)+ (3/4) cos(x)/x

That's exactly what you have! Well done! (To both of us!)
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
18
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
11
Views
2K