MHB -1.8.17 initial value then find C

  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Initial Value
Click For Summary
SUMMARY

The discussion focuses on solving the differential equation \(y'' + 4y = 0\) using direct substitution and initial conditions. The solution is expressed as \(y(t) = c_1 \cos(2t) + c_2 \sin(2t)\). By applying the initial conditions \(y(0) = 1\) and \(y'(0) = 0\), the constants are determined to be \(c_1 = 1\) and \(c_2 = 0\). The participants confirm that substituting these values back into the equation validates the solution.

PREREQUISITES
  • Understanding of differential equations, specifically second-order linear equations.
  • Familiarity with trigonometric functions and their derivatives.
  • Knowledge of initial value problems and how to apply initial conditions.
  • Proficiency in direct substitution methods for verifying solutions.
NEXT STEPS
  • Study the method of solving second-order linear differential equations with constant coefficients.
  • Learn about the application of initial conditions in differential equations.
  • Explore the role of trigonometric functions in solutions to differential equations.
  • Investigate the concept of uniqueness in solutions to initial value problems.
USEFUL FOR

Students and educators in mathematics, particularly those focusing on differential equations, as well as anyone seeking to deepen their understanding of initial value problems and solution verification techniques.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\tiny{1.8.17}$
\nmh{324]
Use direct substitution to verify that y(t) is a solution of the given differential equation in . Then use the initial conditions to determine the constants C or $c_1$ and $c_1$
$y''+4y=0, \quad y(0)=1,\quad y'(0)=0,\quad y(t)=c_1\cos 2t+c_2\sin 2t$
 
Last edited:
Physics news on Phys.org
What are the directions asking you to do? What are the second derivatives of $\cos(2t)$ and $\sin(2t)$?
 
well...
$y'(t)=-2c_1\sin (2t)+2c_2\cos (2t)$
$y''(t) =-4c_1\cos (2t)-4c_2\sin (2t)$
 
The problem said "use direct substitution"! So substitute those into the given equation.
 
Country Boy said:
The problem said "use direct substitution"! So substitute those into the given equation.

$y''+4y=0$
so then
$-4c_1\cos (2t)-4c_2\sin (2t)+4(c_1\cos 2t+c_2\sin 2t)=0$

ok by observation it all cancels out to 0
$y(0)=1$
$y(0)=c_1\cos 0+c_2\sin 0=c_1(1)+c_2(0)=1$

$y'(0)=0$
$y'(0)=-2c_1\sin (0)+2c_2\cos (0)=-2c_1(0)+2c_2(1)=0$

not sure is this is how you get the c values
 
Last edited:
Yes, that's the point.

Now, use the fact that $y(0)= c_1 cos(2(0))+ c_2 sin(2(0))= 1$
and $y'(0)= -2c_1 sin(2(0))+ 2c_2 cos(2(0))= 0$.
 
i don't see that we are getting consistence values for $c_1$ and $c_2$
 
Since cos(0)= 1 and sin(0)= 0, those two equations are
$c_1= 1$ and $c_2= 0$,

What's wrong with that?
 
but is that true for both y(0)=1 and y'(0)=0
 
  • #10
In post #5 YOU wrote
y(0)=c1cos0+c2sin0=c1(1)+c2(0)=1y(0)=c1cos⁡0+c2sin⁡0=c1(1)+c2(0)=1
So c1= 1 and

y′(0)=−2c1sin(0)+2c2cos(0)=−2c1(0)+2c2(1)=0y′(0)=−2c1sin⁡(0)+2c2cos⁡(0)=−2c1(0)+2c2(1)=0
so 2c2= 0.
 
  • #11
I suggest that you substitute for $c1$ to be 1. Then, plugin the function into the differential equation to see if the function with the calculated value still gives you the right answer. Btw, it is ok for the initial values to have different values. Thus, it does not need to be consistence.
 
  • #12
.
 
Last edited:

Similar threads

Replies
3
Views
1K
  • · Replies 9 ·
Replies
9
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K