- #1
find_the_fun
- 148
- 0
\(\displaystyle x=c_1 cos(t)+c_2sin(t)\) is a family of solution to \(\displaystyle x''+x=0\). Given \(\displaystyle x(\frac{\pi}{6})=\frac{1}{2}\) and \(\displaystyle x'(\frac{\pi}{6})=0\) find a solution to the second order IVP consisting of this differential equation and the given intial conditions.
The answer key has \(\displaystyle x=\frac{\sqrt{3}}{4}cos(t)+\frac{1}{4}sin(t)\) which isn't what I'm getting.
So using the first initial condition we know \(\displaystyle \frac{1}{2}=c_1cos\frac{\pi}{6}+c_2sin\frac{\pi}{6}\) gives \(\displaystyle c_2=1-c_1\sqrt{3}\) So \(\displaystyle x=c_1 cost+(1-c_1 \sqrt{3})sin(t)=c_1 cos(t)+sin(t)-c_1\sqrt{3}sin(t)\)
and it's derivative is \(\displaystyle x'=-c_1sin(t)+cos(t)-c_1 \sqrt{3}cos(t)\)
Applying\(\displaystyle x'(\frac{\pi}{6})=0 \)gives \(\displaystyle 0=-c_1 sin \frac{\pi}{6}+cos\frac{\pi}{6}-c+1\sqrt{3}cos\frac{\pi}{6}\) which gives \(\displaystyle c_1=\frac{\sqrt{3}-1}{3}\) and then \(\displaystyle c_2=1-c_1\sqrt{3}=1-\frac{\sqrt{3}-1}{3} \cdot \sqrt{3}\) Where am I going wrong?
The answer key has \(\displaystyle x=\frac{\sqrt{3}}{4}cos(t)+\frac{1}{4}sin(t)\) which isn't what I'm getting.
So using the first initial condition we know \(\displaystyle \frac{1}{2}=c_1cos\frac{\pi}{6}+c_2sin\frac{\pi}{6}\) gives \(\displaystyle c_2=1-c_1\sqrt{3}\) So \(\displaystyle x=c_1 cost+(1-c_1 \sqrt{3})sin(t)=c_1 cos(t)+sin(t)-c_1\sqrt{3}sin(t)\)
and it's derivative is \(\displaystyle x'=-c_1sin(t)+cos(t)-c_1 \sqrt{3}cos(t)\)
Applying\(\displaystyle x'(\frac{\pi}{6})=0 \)gives \(\displaystyle 0=-c_1 sin \frac{\pi}{6}+cos\frac{\pi}{6}-c+1\sqrt{3}cos\frac{\pi}{6}\) which gives \(\displaystyle c_1=\frac{\sqrt{3}-1}{3}\) and then \(\displaystyle c_2=1-c_1\sqrt{3}=1-\frac{\sqrt{3}-1}{3} \cdot \sqrt{3}\) Where am I going wrong?
Last edited: