Choosing a Trial Function for Differential Equation Homework

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation of the form \(\ddot{x} - 2\dot{x} + 5x = 10 + 13\cos(3t)\) and its associated complementary and particular solutions. Participants are exploring how to form the complementary function \(x_c\) and choose an appropriate trial function for the particular integral \(x_p\).

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the formation of the complementary function from the roots of the auxiliary equation, questioning how to express it in terms of sine and cosine. There are inquiries about the selection of trial functions for the particular integral, with suggestions made regarding the form of these functions based on the non-homogeneous part of the equation.

Discussion Status

The conversation is ongoing, with participants providing insights into the formation of the complementary function and trial functions. Some participants are clarifying misunderstandings about terminology and the process, while others are questioning the rationale behind specific choices in their equations.

Contextual Notes

Participants are navigating potential typographical errors in the original problem statement and discussing the implications of complex constants in their solutions. There is an emphasis on ensuring that the forms of the solutions align with the characteristics of the differential equation.

Calu
Messages
73
Reaction score
0

Homework Statement



I have a differential equation: \ddot{x} -2\dot{x} + 5x= 10 + 13cos(3t)

Homework Equations



x(t) = xc + xp
where xc is the Complementary Function and xp is the Particular Integral.

The Attempt at a Solution



I have formed and solved the auxiliary equation:

m^{2} - 2m + 5 = 0

m_{1} = 1 + 2i , m_{2} = 1 - 2i

How would I go about forming xc = et(Acos2t + Bsin2t) ?

Furthermore, how would I choose a trial function to determine the Particular Integral?
 
Last edited:
Physics news on Phys.org
Calu said:

Homework Statement



I have a differential equation: \ddot{x} -2\dot{x} + 5x= 10 + 13cos(t)

Homework Equations



x(t) = xc + xp
where xc is the Complimentary Function and xp is the Particular Integral.

That's "complementary".

The Attempt at a Solution



I have formed and solved the auxiliary equation:

m^{2} - 2m + 5 = 0

m_{1} = 1 + 2i , m_{2} = 1 - 2i

How would I go about forming xc = et(Acos2t + Bsin2t) ?

I don't understand that question. You did just "form" it, didn't you?

Furthermore, how would I choose a trial function to determine the Particular Integral?

Well, since you need a constant and a ##\cos t## after you differentiate your ##x_p## I would suggest something of the form ##x_p = A + B\cos t + C\sin t##.
 
LCKurtz said:
That's "complementary".

I give up with English. Fixed the OP.

I don't understand that question. You did just "form" it, didn't you?

We have taught to from what is called an auxiliary function by taking the coeffeicents of \ddot{x}, \dot{x},and x and (say a, b, c) and forming the equation

am^{2} + bm + c

and then solving this equation to find 2 values of m (m1 and m2) which are to then form the basis of the complementary function xc. The complementary function I've given above is what I have to form given my values m1 and m2.

Well, since you need a constant and a ##\cos t## after you differentiate your ##x_p## I would suggest something of the form ##x_p = A + B\cos t + C\sin t##.

That makes sense, thanks. In the given answer a constant 3 has been added so that it reads:

##x_p = A + B\cos 3t + C\sin 3t##. Is there any particular reason that has been chosen?
 
Calu said:
I give up with English. Fixed the OP.



We have taught to from what is called an auxiliary function by taking the coeffeicents of \ddot{x}, \dot{x},and x and (say a, b, c) and forming the equation

am^{2} + bm + c

and then solving this equation to find 2 values of m (m1 and m2) which are to then form the basis of the complementary function xc. The complementary function I've given above is what I have to form given my values m1 and m2.



That makes sense, thanks. In the given answer a constant 3 has been added so that it reads:

##x_p = A + B\cos 3t + C\sin 3t##. Is there any particular reason that has been chosen?

Your original post had a ##\cos t## on the right side. Was that a typing error and it was supposed to be ##\cos(3t)##? That would be the only reason to use ##3t## in the trig functions for your ##x_p##.
 
Ahh yes, my mistake. Thank you.

Do you have any idea about forming the complementary function?
 
Calu said:
How would I go about forming xc = et(Acos2t + Bsin2t) ?

Furthermore, how would I choose a trial function to determine the Particular Integral?

Calu said:
Do you have any idea about forming the complementary function?
You already have the complementary function (i.e., the solution to the homogeneous problem). Are you asking about how to write a particular solution (not the complementary solution)? (BTW, the p subscript in xp stands for "particular.")

If not, then I don't understand what you're having trouble with.
 
I don't know how to go from having m1 and m2 to making the equation for xc. The equation in my post has been given to me in the answer, I don't know how to get it myself.
 
Calu said:
I don't know how to go from having m1 and m2 to making the equation for xc. The equation in my post has been given to me in the answer, I don't know how to get it myself.

Your characteristic equation comes by looking for a solution ##x=e^{mt}## and you have found that ##m = 1\pm 2i##. That means the general solution of the homogeneous equation is$$
x_c = Ae^{(1+2i)t} + Be^{(1-2i)t}= e^{t}(Ae^{2it} + Be^{-2it})$$Now use the Euler formulas for the complex exponentials in terms of sines and cosines to get it in the {sine,cosine} form.
 
LCKurtz said:
Your characteristic equation comes by looking for a solution ##x=e^{mt}## and you have found that ##m = 1\pm 2i##. That means the general solution of the homogeneous equation is$$
x_c = Ae^{(1+2i)t} + Be^{(1-2i)t}= e^{t}(Ae^{2it} + Be^{-2it})$$Now use the Euler formulas for the complex exponentials in terms of sines and cosines to get it in the {sine,cosine} form.

##x_c = Ae^{(1+2i)t} + Be^{(1-2i)t}= e^{t}(Ae^{2it} + Be^{-2it})##

I did this, but found that I get:

##x_c = e^{t}((A + B)cos2t + (A - B)isin2t)##

Can these arbitrary constants be combined to yield something like:

##x_c = e^{t}(Ccos2t + Disin2t)## for some arbitrary constants C, D ?
 
Last edited:
  • #10
Calu said:
##x_c = Ae^{(1+2i)t} + Be^{(1-2i)t}= e^{t}(Ae^{2it} + Be^{-2it})##

I did this, but found that I get:

##x_c = e^{t}((A + B)cos2t + (A - B)isin2t)##

Can these arbitrary constants be combined to yield something like:

##x_c = e^{t}(Ccos2t + Disin2t)## for some arbitrary constants C, D ?
Yes, of course. Since A and B are arbitrary constants, so are A+ B and A- B.
 
  • #11
HallsofIvy said:
Yes, of course. Since A and B are arbitrary constants, so are A+ B and A- B.

Thanks.

One more question. Is the ##i## term meant to be present here:

##x_c = e^{t}(Ccos2t + Disin2t)## ?
 
  • #12
Calu said:
Thanks.

One more question. Is the ##i## term meant to be present here:

##x_c = e^{t}(Ccos2t + Disin2t)## ?

Include the ##i## in the ##D##. While it appears the constants C and D may be complex, if the DE has real coefficients and real boundary conditions, they will come out real. If you left your answer in the ##\{e^{2it},e^{-2it}\}## form the constants would come out complex.
 
  • Like
Likes   Reactions: 1 person
  • #13
LCKurtz said:
Include the ##i## in the ##D##. While it appears the constants C and D may be complex, if the DE has real coefficients and real boundary conditions, they will come out real. If you left your answer in the ##\{e^{2it},e^{-2it}\}## form the constants would come out complex.

Oh I see, thanks a lot!
 

Similar threads

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