Find specific solution to IVP with two parameters

Click For Summary

Discussion Overview

The discussion centers around solving an initial value problem (IVP) for the second-order differential equation $$x'' + x = 0$$ with specific initial conditions. Participants explore the implications of these conditions on the parameters of the general solution.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Homework-related

Main Points Raised

  • One participant presents the general solution $$x = c_1 \cos(t) + c_2 \sin(t)$$ and attempts to apply the initial conditions $$x(\frac{\pi}{6}) = \frac{1}{2}$$ and $$x'(\frac{\pi}{6}) = 0$$ to find specific values for $$c_1$$ and $$c_2$$.
  • Another participant questions the accuracy of the initial conditions provided, suggesting that if $$x(\frac{\pi}{2}) = \frac{1}{2}$$ were used instead, it would lead to a different value for $$c_2$$.
  • After a clarification, participants derive equations based on the correct initial condition $$x(\frac{\pi}{6}) = \frac{1}{2}$$, leading to a system of equations involving $$c_1$$ and $$c_2$$.
  • Multiple participants derive the same equations, leading to the conclusion that $$c_2 = \frac{1}{4}$$ and $$c_1 = \frac{\sqrt{3}}{4}$$, but express confusion over the initial approach and the relationship between the ODE and its general solution.
  • There is a discussion about whether to use the ODE or the provided solution for deriving the parameters, indicating some uncertainty in the approach taken by the participants.

Areas of Agreement / Disagreement

Participants generally agree on the derived values for $$c_1$$ and $$c_2$$, but there is some confusion regarding the initial conditions and the method of approach, indicating that the discussion remains somewhat unresolved in terms of clarity on the process.

Contextual Notes

Participants express uncertainty about the correct application of initial conditions and the relationship between the general solution and the specific solution required for the IVP. There are also indications of potential typographical errors in the initial problem statement.

find_the_fun
Messages
147
Reaction score
0
$$x=c_1 cos(t)+c_2sin(t)$$ is a family of solution to $$x''+x=0$$. Given $$x(\frac{\pi}{6})=\frac{1}{2}$$ and $$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 [math]x=\frac{\sqrt{3}}{4}cos(t)+\frac{1}{4}sin(t)[/math] which isn't what I'm getting.

So using the first initial condition we know [math]\frac{1}{2}=c_1cos\frac{\pi}{6}+c_2sin\frac{\pi}{6}[/math] gives [math]c_2=1-c_1\sqrt{3}[/math] So [math]x=c_1 cost+(1-c_1 \sqrt{3})sin(t)=c_1 cos(t)+sin(t)-c_1\sqrt{3}sin(t)[/math]
and it's derivative is [math]x'=-c_1sin(t)+cos(t)-c_1 \sqrt{3}cos(t)[/math]
Applying$$ x'(\frac{\pi}{6})=0 $$gives [math]0=-c_1 sin \frac{\pi}{6}+cos\frac{\pi}{6}-c+1\sqrt{3}cos\frac{\pi}{6}[/math] which gives [math]c_1=\frac{\sqrt{3}-1}{3}[/math] and then [math]c_2=1-c_1\sqrt{3}=1-\frac{\sqrt{3}-1}{3} \cdot \sqrt{3}[/math] Where am I going wrong?
 
Last edited:
Physics news on Phys.org
If we are given:

$$x\left(\frac{\pi}{2}\right)=\frac{1}{2}$$

then we must state:

$$c_1\cos\left(\frac{\pi}{2}\right)+c_2\sin\left(\frac{\pi}{2}\right)=\frac{1}{2}$$

However, this gives us:

$$c_2=\frac{1}{2}$$

Which is not what the answer you cite reflects. Are you certain the problem is copied correctly?
 
MarkFL said:
If we are given:

$$x\left(\frac{\pi}{2}\right)=\frac{1}{2}$$

then we must state:

$$c_1\cos\left(\frac{\pi}{2}\right)+c_2\sin\left(\frac{\pi}{2}\right)=\frac{1}{2}$$

However, this gives us:

$$c_2=\frac{1}{2}$$

Which is not what the answer you cite reflects. Are you certain the problem is copied correctly?
Sorry that was a typo. It was supposed to be [math]x(\frac{\pi}{6})=\frac{1}{2}[/math]
 
find_the_fun said:
Sorry that was a typo. It was supposed to be [math]x(\frac{\pi}{6})=\frac{1}{2}[/math]

Okay, then we find that:

$$c_1\cos\left(\frac{\pi}{6}\right)+c_2\sin\left(\frac{\pi}{6}\right)=\frac{1}{2}$$

$$\frac{\sqrt{3}}{2}c_1+\frac{1}{2}c_2=\frac{1}{2}$$

(1) $$\sqrt{3}c_1+c_2=1$$

$$-c_1\sin\left(\frac{\pi}{6}\right)+c_2\cos\left(\frac{\pi}{6}\right)=0$$

$$-\frac{1}{2}c_1+\frac{\sqrt{3}}{2}c_2=0$$

(2) $$\sqrt{3}c_2-c_1=0$$

Equation (2) implies:

(3) $$c_1=\sqrt{3}c_2$$

and so substituting into (1), we obtain:

$$\sqrt{3}\left(\sqrt{3}c_2\right)+c_2=1$$

$$3c_2+c_2=1$$

$$c_2=\frac{1}{4}$$

And so, (3) gives us:

$$c_1=\sqrt{3}\cdot\frac{1}{4}=\frac{\sqrt{3}}{4}$$
 
MarkFL said:
Okay, then we find that:

$$c_1\cos\left(\frac{\pi}{6}\right)+c_2\sin\left(\frac{\pi}{6}\right)=\frac{1}{2}$$

$$\frac{\sqrt{3}}{2}c_1+\frac{1}{2}c_2=\frac{1}{2}$$

(1) $$\sqrt{3}c_1+c_2=1$$

$$-c_1\sin\left(\frac{\pi}{6}\right)+c_2\cos\left(\frac{\pi}{6}\right)=0$$

$$-\frac{1}{2}c_1+\frac{\sqrt{3}}{2}c_2=0$$

(2) $$\sqrt{3}c_2-c_1=0$$

Equation (2) implies:

(3) $$c_1=\sqrt{3}c_2$$

and so substituting into (1), we obtain:

$$\sqrt{3}\left(\sqrt{3}c_2\right)+c_2=1$$

$$3c_2+c_2=1$$

$$c_2=\frac{1}{4}$$

And so, (3) gives us:

$$c_1=\sqrt{3}\cdot\frac{1}{4}=\frac{\sqrt{3}}{4}$$

So much simpler than what I was trying to do. I somtimes get confused as to whether I should be using the equation for the ODE or the solution itself.
 
The ODE itself will give you the general solution when solved, but you were already provided with that. So, all you need do is take the solution, its derivative, and the initial values to come up with two equations in two unknowns. :D
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 28 ·
Replies
28
Views
4K