Solve IVP: What is the solution to the given initial value problem?

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

Discussion Overview

The discussion revolves around solving an initial value problem (IVP) involving a first-order linear differential equation. Participants explore various methods to find the solution, including the use of integrating factors and integration techniques.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes an integrating factor of \(2x\) and derives a solution, but later notes that the results appear incorrect.
  • Another participant challenges the correctness of the integrating factor and suggests re-evaluating it.
  • A different participant presents an integrating factor of \(x^2\) and derives a similar solution, but also indicates that the right-hand side (RHS) was not multiplied by this factor.
  • Subsequent replies emphasize the need to correctly apply the integrating factor to the RHS and provide a step towards the solution involving the integral of \(\cos x\).

Areas of Agreement / Disagreement

Participants do not reach consensus on the correct integrating factor or the steps to derive the solution. Multiple competing views and corrections are present throughout the discussion.

Contextual Notes

There are unresolved issues regarding the application of integrating factors and the correctness of the derived solutions. Some mathematical steps are not fully detailed, leaving ambiguity in the process.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\tiny{b.2.1.16}$
\begin{align*}\displaystyle
y^\prime +\frac{2}{x}y &=\frac{\cos x}{x^2} &&(1)\\
u(x)&=\exp\int\frac{2}{x} \, dx = e^{2\ln{x}}=2x&&(2)\\
(2x y)'&=\int\frac{\cos x}{x^2} \, dx &&(3)\\
y(x)&=\frac{1}{2x}\left[-\dfrac{\cos(x)}{x}-\int\dfrac{\sin(x)}{x}\, dx\right] &&(4)\\
y(\pi)&=0 &&(5)\\
&=\frac{1}{2(\pi)}
\left[-\dfrac{\cos(\pi)}{\pi}
-\int\dfrac{\sin(\pi)}{\pi}\, dx
\right]=0 &&(6)\\
&=\color{red}{\frac{\sin x}{x^2}}&&(7)\\
&=\frac{0}{\pi^2}=0 &&(8)
\end{align*}
ok (4)-(8) were ? red is bk answer
 
Last edited:
Physics news on Phys.org
Your integrating factor is incorrect. Try finding that again. :)
 
$\tiny{2.1.{8}}$
\begin{align*}\displaystyle
y^{\prime} +\frac{2}{x}y &=\frac{\cos x}{x^2} &&(1)\\
u(x)&=\exp\int\frac{2}{x} \, dx = e^{2\ln{x}}=x^2&&(2)\\
(x^2 y)'&=\int\frac{\cos x}{x^2} \, dx &&(3)\\
y(x)&=\frac{1}{x^2}\left[-\dfrac{\cos(x)}{x}-\int\dfrac{\sin(x)}{x}\, dx\right] &&(4)\\
y(\pi)&=0 &&(5)\\
&=\frac{1}{\pi^2}
\left[-\dfrac{\cos(\pi)}{\pi}
-\int\dfrac{\sin(\pi)}{\pi}\, dx
\right]=0 &&(6)\\
&=\color{red}{\frac{\sin x}{x^2}}&&(7)\\
\end{align*}ok $u(x)=x^2$ red is bk answer
 
You now have the correct integrating factor, but you didn't multiply the RHS by this factor. :)

You should eventually get:

$$\frac{d}{dx}\left(x^2y\right)=\cos(x)$$

Now, continue from there.
 
MarkFL said:
You now have the correct integrating factor, but you didn't multiply the RHS by this factor. :)

You should eventually get:

$$\frac{d}{dx}\left(x^2y\right)=\cos(x)$$

Now, continue from there.
$\displaystyle x^2y=\int \cos x \, dx$
$\displaystyle x^2y=\sin x$
$\displaystyle y=\frac{\sin x}{x^2}$
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
6
Views
2K
Replies
11
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K