How do you rewrite the given equation as a function of u(x)?

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Trig
Click For Summary
SUMMARY

The discussion focuses on solving the first-order linear differential equation $$y' + \frac{1}{x}y = 3\cos(2x)$$ using an integrating factor. The integrating factor is derived as $$\mu(x) = e^{\ln{x}} = x$$. Participants confirm the correct approach of multiplying the equation by x and integrating to find the solution, which is expressed as $$y = \frac{3}{2}\sin(2x) + \frac{3}{4}\frac{\cos(2x)}{x} + \frac{c}{x}$$, matching the book's answer.

PREREQUISITES
  • Understanding of first-order linear differential equations
  • Knowledge of integrating factors in differential equations
  • Familiarity with integration techniques, particularly integration by parts
  • Basic proficiency in LaTeX for mathematical expressions
NEXT STEPS
  • Study the method of integrating factors in depth
  • Learn integration techniques, specifically integration by parts
  • Explore more complex differential equations, such as second-order linear equations
  • Practice solving differential equations using software tools like MATLAB or Mathematica
USEFUL FOR

Mathematics students, educators, and anyone interested in solving differential equations, particularly those studying calculus or applied mathematics.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$$\displaystyle y^\prime +(1/x)y = 3\cos 2x, \quad x>0$$
first how do you get $u(x)$ from this
 
Physics news on Phys.org
karush said:
$$\displaystyle y^\prime +(1/x)y = 3\cos 2x, \quad x>0$$
first how do you get $u(x)$ from this

$$\mu(x)=\exp\left(\int \frac{1}{x}\,dx\right)=?$$
 
MarkFL said:
$$\mu(x)=\exp\left(\int \frac{1}{x}\,dx\right)=?$$

$$\displaystyle\mu(x)
=\exp\left(\int \frac{1}{x}\,dx\right)=e^{\ln{x}}=x$$

ok hopefully

ill funish this tomro
the latex is too hard to deal with on a tablet
 
karush said:
$$\displaystyle\mu(x)
=\exp\left(\int \frac{1}{x}\,dx\right)=e^{\ln{x}}=x$$

ok hopefully

ill funish this tomro
the latex is too hard to deal with on a tablet

Yes, your integrating factor is correct. (Yes)
 
MarkFL said:
Yes, your integrating factor is correct. (Yes)

$\displaystyle y^\prime +(1/x)y = 3\cos 2x, \quad x>0$
multiply every term by x
$xy^\prime+y=3x\cos 2x$
rewrite as
$\displaystyle \frac{dy}{dx}=3x\cos 2x$
integrate
$\displaystyle y=\int 3x\cos 2x \, dx$so far hopefully
the book answer is

$$\color{red}
{\frac{c}{x}
+\frac{3}{4}\frac{\cos 2x}{x}
+\frac{3}{2}\sin 2x}$$

but ??
 
Last edited:
Your rewrite should be:

$$\frac{d}{dx}(xy)=3x\cos(2x)$$
 
rewrite as
$\displaystyle \frac{dy}{dx}(xy)=3x\cos 2x$
integrate
$$\displaystyle xy=\int 3x\cos 2x \, dx$$
then
$$\displaystyle xy=\frac{3}{2}x\sin(2x)+\frac{3}{4}\cos(2x)+c$$
divide by x
$$\displaystyle y=\frac{3}{2}\sin(2x)+\frac{3}{4}\frac{\cos(2x)}{x}+\frac{c}{x}$$

re-order and the book answer is:

$$\color{red}
{\frac{c}{x}
+\frac{3}{4}\frac{\cos 2x}{x}
+\frac{3}{2}\sin 2x}$$

RAJ!
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K