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:
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K