Solving an ODE using Galerkin's method

  • Thread starter Thread starter Breuno
  • Start date Start date
  • Tags Tags
    Method Ode
AI Thread Summary
The discussion focuses on solving the ordinary differential equation (ODE) df/dt = f with the boundary condition f(0) = 1 using Galerkin's method. An approximate solution is proposed as f_a = 1 + Σ (from k=1 to 3) a_k t^k. Participants clarify that to find the coefficients a_k, one should differentiate the approximate solution, substitute it into the ODE, and equate coefficients for terms of the same power of t. It is noted that the basis functions used in this method are not orthogonal over the specified interval, which complicates the application of the method. Overall, the conversation aims to guide users in applying Galerkin's method effectively to derive the coefficients.
Breuno
Messages
4
Reaction score
0

Homework Statement


Given the ODE \frac{df}{dt}=f and the boundary condition f(0)=1

One approximate solution is f_{a}=1+\sum ^{3}_{k=1} a_{k}t^k where 0\leq t\leq1

Using the Galerkin's method find the coeficents a_{k}

Homework Equations





The Attempt at a Solution


I don't think I've understood how to use the method really. So if someone could explain it briefly. Another thing that is mentioned in the book is that the basis funktions are not orthogonal on this interval. So that can not be imposed

Thanks
/Simon
 
Physics news on Phys.org
You can take the derivative of the general (approximate) solution and plug in the equation.
Then equate the terms with the same power of t and you'll get 3 simple equations that will give you the three coefficients a1, a2, a3.
 
Thread 'Help with Time-Independent Perturbation Theory "Good" States Proof'
(Disclaimer: this is not a HW question. I am self-studying, and this felt like the type of question I've seen in this forum. If there is somewhere better for me to share this doubt, please let me know and I'll transfer it right away.) I am currently reviewing Chapter 7 of Introduction to QM by Griffiths. I have been stuck for an hour or so trying to understand the last paragraph of this proof (pls check the attached file). It claims that we can express Ψ_{γ}(0) as a linear combination of...
Back
Top