Find specific solution to IVP with two parameters

In summary, 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.
  • #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?
 
Last edited:
Physics news on Phys.org
  • #2
If we are given:

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

then we must state:

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

However, this gives us:

\(\displaystyle c_2=\frac{1}{2}\)

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

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

then we must state:

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

However, this gives us:

\(\displaystyle 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 \(\displaystyle x(\frac{\pi}{6})=\frac{1}{2}\)
 
  • #4
find_the_fun said:
Sorry that was a typo. It was supposed to be \(\displaystyle x(\frac{\pi}{6})=\frac{1}{2}\)

Okay, then we find that:

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

\(\displaystyle \frac{\sqrt{3}}{2}c_1+\frac{1}{2}c_2=\frac{1}{2}\)

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

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

\(\displaystyle -\frac{1}{2}c_1+\frac{\sqrt{3}}{2}c_2=0\)

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

Equation (2) implies:

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

and so substituting into (1), we obtain:

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

\(\displaystyle 3c_2+c_2=1\)

\(\displaystyle c_2=\frac{1}{4}\)

And so, (3) gives us:

\(\displaystyle c_1=\sqrt{3}\cdot\frac{1}{4}=\frac{\sqrt{3}}{4}\)
 
  • #5
MarkFL said:
Okay, then we find that:

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

\(\displaystyle \frac{\sqrt{3}}{2}c_1+\frac{1}{2}c_2=\frac{1}{2}\)

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

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

\(\displaystyle -\frac{1}{2}c_1+\frac{\sqrt{3}}{2}c_2=0\)

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

Equation (2) implies:

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

and so substituting into (1), we obtain:

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

\(\displaystyle 3c_2+c_2=1\)

\(\displaystyle c_2=\frac{1}{4}\)

And so, (3) gives us:

\(\displaystyle 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.
 
  • #6
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
 

1. What is an initial value problem (IVP)?

An initial value problem (IVP) is a type of differential equation that includes an initial condition, which is the value of the unknown function at a specific point. The goal is to find the specific solution that satisfies both the differential equation and the initial condition.

2. What are the two parameters in an IVP?

The two parameters in an IVP refer to the constants or variables in the differential equation that are not determined by the initial condition. These parameters can be adjusted to find different specific solutions that satisfy the given IVP.

3. How do you solve an IVP with two parameters?

The general process for solving an IVP with two parameters is to first solve the differential equation to obtain a general solution. Then, use the initial condition to determine the specific values of the two parameters. This will give you the particular solution that satisfies the IVP.

4. What is the importance of finding specific solutions to IVP with two parameters?

Finding specific solutions to IVP with two parameters is important because it allows us to find the exact solution to a differential equation that satisfies a given initial condition. This can help us make predictions and analyze the behavior of the system described by the differential equation.

5. Are there any limitations to finding specific solutions to IVP with two parameters?

While finding specific solutions to IVP with two parameters is a useful tool, it is not always possible to find an exact solution. In some cases, the differential equation may be too complex or the initial condition may not provide enough information to determine the specific values of the parameters.

Similar threads

  • Differential Equations
Replies
2
Views
993
  • Differential Equations
Replies
11
Views
1K
  • Differential Equations
Replies
2
Views
2K
Replies
5
Views
1K
  • Differential Equations
Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
8
Views
238
  • Differential Equations
Replies
5
Views
1K
  • Introductory Physics Homework Help
Replies
16
Views
409
  • Differential Equations
Replies
2
Views
1K
  • Differential Equations
Replies
7
Views
392
Back
Top