1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Solving an ODE using Galerkin's method

  1. Oct 16, 2008 #1
    1. The problem statement, all variables and given/known data
    Given the ODE [tex]\frac{df}{dt}=f[/tex] and the boundary condition [tex]f(0)=1[/tex]

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

    Using the Galerkin's method find the coeficents [tex]a_{k}[/tex]
    2. Relevant equations

    3. 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

  2. jcsd
  3. Oct 16, 2008 #2
    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Solving an ODE using Galerkin's method