MHB Apc.9.3.1 solution to the differential equation condition

Click For Summary
The discussion centers on solving the differential equation dy/dx = 2sin x with the initial condition y(π) = 1. The integration yields y = -2cos x + C. By substituting the initial condition into the equation, it is determined that C = -1. Thus, the final solution is y = -2cos x - 1. The correct answer corresponds to option e.
karush
Gold Member
MHB
Messages
3,240
Reaction score
5
253 Which of the following is the solution to the differential equation condition
$$\dfrac{dy}{dx}=2\sin x$$
with the initial condition
$$y(\pi)=1$$
a. $y=2\cos{x}+3$
b. $y=2\cos{x}-1$
c. $y=-2\cos{x}+3$
d. $y=-2\cos{x}+1$
e. $y=-2\cos{x}-1$

integrate
$y=\displaystyle\int 2\sin x\, dx =-2\cos(\pi)+C$
then plug in $y(\pi)=1$
$-2\cos(\pi)+C=1
\Rightarrow
-2(-1)+C=1
\Rightarrow
C=-1$
therefore
$y=-2\cos(\pi)-1$
which is etypos maybe!
 
Last edited:
Physics news on Phys.org
karush said:
253 Which of the following is the solution to the differential equation condition
$$\dfrac{dy}{dx}=2\sin x$$
with the initial condition
$$y(\pi)=1$$
a. $y=2\cos{x}+3$
b. $y=2\cos{x}-1$
c. $y=-2\cos{x}+3$
d. $y=-2\cos{x}+1$
e. $y=-2\cos{x}-1$

integrate
$y=\displaystyle\int 2\sin x\, dx =\color{red}-2\cos{x}+C$
then plug in $y(\pi)=1$
$-2\cos(\pi)+C=1
\Rightarrow
-2(-1)+C=1
\Rightarrow
C=-1$
therefore
$\color{red}y=-2\cos{x}-1$
which is etypos maybe!

​yep
 
:cool: