Solving the IVP for x=c_1\cos{t}+c_2\sin{t}: Solution to DE & Initial Conditions

Click For Summary

Discussion Overview

The discussion revolves around solving an initial value problem (IVP) for the differential equation \(x'' + x = 0\) with specific initial conditions. Participants explore the implications of the solution \(x = c_1 \cos{t} + c_2 \sin{t}\) and how to determine the constants \(c_1\) and \(c_2\) based on the initial conditions provided.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about the cancellation that occurs when substituting derivatives into the differential equation, questioning if this indicates a problem.
  • Another participant suggests simplifying the problem by recognizing that \(\frac{\pi}{6}\) is a special angle and prompts for the sine and cosine values at this angle.
  • A later reply confirms the sine and cosine values for \(\frac{\pi}{6}\) and notes that the calculator was not in radian mode initially.
  • Further, participants derive a system of equations based on the initial conditions using the trigonometric values, leading to expressions for \(c_1\) and \(c_2\).
  • One participant calculates \(c_2\) in terms of \(c_1\) and vice versa, ultimately arriving at specific values for both constants.
  • Another participant confirms agreement with the calculated values for the parameters, indicating a shared understanding of the solution process.

Areas of Agreement / Disagreement

While there is some agreement on the values of \(c_1\) and \(c_2\), the discussion includes initial confusion and differing approaches to solving the problem, indicating that multiple perspectives and methods are present.

Contextual Notes

Participants rely on specific trigonometric values and the properties of the differential equation, but there may be limitations in their assumptions about the initial conditions and the implications of the cancellation observed in the differential equation.

find_the_fun
Messages
147
Reaction score
0
[math]x=c_1\cos{t}+c_2\sin{t}[/math] is a two-parameter family of solutions of the DE [math]x''+x=0[/math] Find a solution of the IVP consisting of this differential equation and the following initial conditions:
[math]x(\frac{\pi}{6})=\frac{1}{2}[/math] and [math]x'\frac{\pi}{6}=0[/math]

So [math]x'=c_2\cos{t}-c_1\sin{t}[/math]
[math]x''=-c_2\sin{t}-c_1\cos{t}[/math]

First thing I'm confused about, I tried to simplify by plugging these into the DE to get.
So [math]-c_2\sin{t}-c_1\cos{t}+c_1 \cos{t}+c_2\sin{t}[/math] which cancels each other off. Why does this happen, what am I doing wrong, how is this not a problem?

Let's try a different approach and solve for [math]c_1[/math] or [math]c_2[/math].

We've got [math]x=c_1\cos{t}+c_2\sin{t}[/math]

[math]\frac{1}{2}=c_1\cos{\frac{\pi}{6}}+c_2\sin{\frac{pi}{6}}[/math]
Solving for [math]c_1=\frac{-c_2 \sin{ \frac{\pi}{6}}}{2 \cos{\frac{\pi}{6}}}[/math]

for the other initial condition we've got [math]-c_1\sin{\frac{\pi}{6}}+c_2\cos{\frac{\pi}{6}}=0[/math]
[math]c_2=\frac{c_1 \sin{\frac{\pi}{6}}}{\cos{\frac{\pi}{6}}}[/math]

Substituting in we've got [math]c_1=\frac{\frac{-c_1\sin{\frac{\pi}{6}}}{\cos{frac{\pi}{6}}}}\sin{\frac{\pi}{6}}}}{2\cos\frac{\pi}{6}}}[/math] which is really ugly.
 
Physics news on Phys.org
You can greatly simplify matters be observing that $$\frac{\pi}{6}$$ is a special angle. What are:

$$\sin\left(\frac{\pi}{6} \right)$$

$$\cos\left(\frac{\pi}{6} \right)$$ ?

You have verified that the given solution is valid by demonstrating that:

$$x''(t)+x(t)=0$$

So, what you want to do (as you did, but use the values of the trig. functions you find above) is generate the 2X2 system of equations from:

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

$$x'\left(\frac{\pi}{6} \right)=0$$
 
MarkFL said:
You can greatly simplify matters be observing that $$\frac{\pi}{6}$$ is a special angle. What are:

$$\sin\left(\frac{\pi}{6} \right)$$

$$\cos\left(\frac{\pi}{6} \right)$$ ?

$$
Ah my calculator wasn't in rad mode.

[math]\sin{\frac{\pi}{6}}=\frac{1}{2}[/math]
[math]\cos{\frac{\pi}{6}}=\frac{\sqrt{3}}{2}[/math]
 
This is really one of those angles for which you should know the values of the trig. functions. :D

So, using these values, what system of equations do you obtain in the two parameters using the given initial values?
 
[math]\frac{1}{2}=c_1\frac{\sqrt{3}}{2}+\frac{c_2}{2}[/math] which can be rewritten as [math]c_2=1-c_1\sqrt{3}[/math]

and from the other equation

[math]0=\frac{-c_1}{2}+\frac{c_2 \sqrt{3}}{2}[/math] which can be rewritten as [math]c_1=c_2\sqrt{3}[/math]

This gives [math]c_2=1-(c_2\sqrt{3})\sqrt{3}[/math] therefore [math]c_2=\frac{1}{4}[/math] and [math]c_1=\frac{\sqrt{3}}{4}[/math]

By the way I won't be offended if there's something I should really know, so tell me.
 
You did fine, I got the same values for the parameters. (Sun)
 

Similar threads

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