How Do You Solve a Trigonometric Differential Equation with Initial Conditions?

In summary, the student is trying to find the particular solution of the differential equation y''+36y=0 satisfying the conditions y(0)=−4 and y(pi/12)=3. They set up the auxiliary equation, r^2+36 = 0, and get the roots to be + or - 6i. They differentiate, and get y'= -6c1sin(6x)+6c2cos(6x). They plug in the initial values given, and the first equation gives them c1=-4 and the second equation gives them 3=-6c1. However, when they evaluate the solution to find c1 and c2, they get two different values for c1. They are not
  • #1
DanielJackins
40
0

Homework Statement



Find the particular solution of the differential equation y''+36y=0 satisfying the conditions y(0)=−4 and y(pi/12)=3.

Your answer should be a function of x.

The Attempt at a Solution



I think I know how to do this kind of question, and I can't see where I'm going wrong. I set up the auxiliary equation, r^2+36 = 0, and get the roots to be + or - 6i. So then I get y = c1cos(6x)+c2sin(6t). I differentiate, and get y' = -6c1sin(6x)+6c2cos(6x). Then I plug in the initial values given. The first equation gives me c1 = -4, and the second gives me 3 = -6c1, which is clearly incorrect (and in both equations c2 is canceled out?).

I've looked over it over and over again but I can't see where I'm going wrong.

Thanks for any help
 
Physics news on Phys.org
  • #2
DanielJackins said:

Homework Statement



Find the particular solution of the differential equation y''+36y=0 satisfying the conditions y(0)=−4 and y(pi/12)=3.

Your answer should be a function of x.

The Attempt at a Solution



I think I know how to do this kind of question, and I can't see where I'm going wrong. I set up the auxiliary equation, r^2+36 = 0, and get the roots to be + or - 6i. So then I get y = c1cos(6x)+c2sin(6t). I differentiate, and get y' = -6c1sin(6x)+6c2cos(6x). Then I plug in the initial values given. The first equation gives me c1 = -4, and the second gives me 3 = -6c1, which is clearly incorrect (and in both equations c2 is canceled out?).

I've looked over it over and over again but I can't see where I'm going wrong.

Thanks for any help
Your solution is correct (but don't mix x and t). Just evaluate your solution at the two boundary points to find c1 and c2.
 
  • #3
But when I evaluate to find c1 and c2 I seem to get two different values for c1, and no value for c2? I'm not sure I understand
 
  • #4
Why are you putting the second boundary value into the equation for y'? Both boundary values are for y, not y'. One will fix C1 and the other will fix C2.
 
  • #5
Oh man, didn't even notice that! Thanks!
 

FAQ: How Do You Solve a Trigonometric Differential Equation with Initial Conditions?

What is a differential equation?

A differential equation is a mathematical equation that relates a function to its derivatives. It is used to model many physical phenomena in various fields such as physics, engineering, and economics.

What are the types of differential equations?

There are three main types of differential equations: ordinary, partial, and stochastic. Ordinary differential equations involve a single independent variable, while partial differential equations involve multiple independent variables. Stochastic differential equations incorporate randomness or uncertainty into the equation.

What is the order of a differential equation?

The order of a differential equation is the highest derivative present in the equation. For example, a first-order differential equation contains only first derivatives, while a second-order differential equation contains second derivatives.

What is the solution to a differential equation?

The solution to a differential equation is a function or set of functions that satisfies the given equation. It is often expressed in terms of a constant, known as the arbitrary constant, which allows for a family of solutions to the equation.

What are some applications of differential equations?

Differential equations are used in many fields, including physics, engineering, economics, biology, and chemistry. They can be used to model the motion of objects, the growth of populations, and the spread of diseases, among other phenomena.

Similar threads

Back
Top