Variation of Parameters to solve a second order ODE

Click For Summary

Homework Help Overview

The discussion revolves around solving a second-order ordinary differential equation (ODE) using the method of variation of parameters. The original poster is working with specific solutions involving complex exponentials and seeks assistance in simplifying their approach to arrive at a desired solution.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to apply the variation of parameters method but encounters complications when substituting their chosen solutions into the equations. They express confusion about the resulting complex expressions and how to connect them to the expected trigonometric form of the solution.

Discussion Status

Participants are engaging in clarifying the relationship between the exponential and trigonometric forms of the solutions. One participant suggests that the original poster consider using trigonometric functions directly instead of complex exponentials. There is an acknowledgment of the connection between these forms, but no consensus or resolution has been reached yet.

Contextual Notes

The original poster is working under the constraints of a homework assignment, which may impose specific methods or forms that need to be adhered to. The discussion reflects a struggle with the application of the variation of parameters method in the context of their specific problem setup.

Bonnie
Messages
18
Reaction score
1

Homework Statement


The question I am working on is the one in the file attached.

Homework Equations


y = u1y1 + u2y2 :

u1'y1 + u2'y2 = 0
u1'y1' + u2'y2' = g(t)

The Attempt at a Solution


I think I have got part (i) completed, with y1 = e3it and y2 = e-3it. This gives a general solution to the homogeneous equation to be y = C1cos3t + C2sin3t.
For part (ii) I know that for variation of parameters you need to substitute y1 and y2 and their derivatives into the above system of equations to solve for u1' and u2', then integrate these to find u1 and u2, from which you can get the desired solution of
y = yp + yh
But I find that when I try to do that by substituting y1 = e3it and y2 = e-3it I just end up with very complicated expressions involving lots of e's and i's which the desired solution does not contain. I know it involves combining the information about the general soln from (i) with the method I have described, but I just don't know how to make it work. Any help would be appreciated, thank you in advance!
 

Attachments

  • Capture.PNG
    Capture.PNG
    10.5 KB · Views: 441
Physics news on Phys.org
I just end up with very complicated expressions involving lots of e's and i's which the desired solution does not contain
So the thing to do is avoid these exponential ##y## and take the trigonometric ##y## that you see in front of you when you write ##y = C_1\cos 3t + C_2\sin3t\ ## !

http://tutorial.math.lamar.edu/Classes/DE/VariationofParameters.aspx
 
Bonnie said:

Homework Statement


The question I am working on is the one in the file attached.

Homework Equations


y = u1y1 + u2y2 :

u1'y1 + u2'y2 = 0
u1'y1' + u2'y2' = g(t)

The Attempt at a Solution


I think I have got part (i) completed, with y1 = e3it and y2 = e-3it. This gives a general solution to the homogeneous equation to be y = C1cos3t + C2sin3t.
For part (ii) I know that for variation of parameters you need to substitute y1 and y2 and their derivatives into the above system of equations to solve for u1' and u2', then integrate these to find u1 and u2, from which you can get the desired solution of
y = yp + yh
But I find that when I try to do that by substituting y1 = e3it and y2 = e-3it I just end up with very complicated expressions involving lots of e's and i's which the desired solution does not contain. I know it involves combining the information about the general soln from (i) with the method I have described, but I just don't know how to make it work. Any help would be appreciated, thank you in advance!
Have you forgotten that ##e^{\pm i \theta} = \cos \theta \pm i \sin \theta \,?##
 
Ray Vickson said:
Have you forgotten that ##e^{\pm i \theta} = \cos \theta \pm i \sin \theta \,?##
Yes I had, thank you. I'll have another try!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
2
Views
2K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K