Basis functions of a differential equation, given boundary conditions

In summary, the conversation revolves around finding basis functions for a differential equation with specific boundary conditions. The speaker is struggling with understanding the concept and has received help from their professor and used their own common sense to come up with a solution. They mention using complex-exponentials instead of cos(kx) and sin(kx) as basis functions and question the purpose and meaning of the solution.
  • #1
rdfloyd
29
0
First off, I've never taken a differential equations class. This is for my Math Methods for Physicists class, and we are on the topic of DE. Unfortunately, we didn't cover this much, so most of what I am about to show you comes from the professor giving me tips and my own common sense. I'd really like to learn this stuff, but I have no idea what I am doing.

Homework Statement


Find the basis functions that result from the differential equation u''(x)=-k^2u(x) and these boundary conditions:

u(0)=u(L)
u'(0)=u'(L)

Homework Equations




The Attempt at a Solution


I don't know how to code in Latex yet, so forgive me for having to use a picture of my work thus far. Again, most of this is from other's help and common sense. I couldn't begin to explain what is going on here, or its uses.

Since the image is too big to be displayed, here is the link to it on my imgur account: http://imgur.com/D8B3U

Thanks!
 
Physics news on Phys.org
  • #2
Since [itex]e^{ikx}= cos(kx)+ i sin(kx)[/itex] and [itex]e^{-ikx}= cos(kx)- i sin(kx)[/itex], you can use as your "basis functions" cos(kx) and sin(kx) rather than [itex]e^{ikx}[/itex] and [itex]e^{-ikx}[/itex]. (That is normally done when all your conditions are in terms of real numbers.)
 
  • #3
I was originally going to do that (and basically ended up doing that anyways), but he told me I should use complex-exponentials instead.

What I ended up with was:

[itex]u(x)=A \times Cos[(\frac{n \pi}{L}) x][/itex]

I wish I had followed my gut instinct instead...Thanks for the help. I don't see a +reputation button (like on other forums), but I appreciate the help.I only have one more question: What was the purpose in all of this? What's the end result? I understand that the boundary conditions essentially setup a periodic function (looks a lot like the spring equation), but what does [itex]u(x)[/itex] really mean? And why doesn't B matter?
 

Related to Basis functions of a differential equation, given boundary conditions

1. What are basis functions in a differential equation?

Basis functions are a set of mathematical functions used to represent the solution of a differential equation. They are usually chosen to be simple and well-behaved functions, such as polynomials or trigonometric functions, that can be combined to approximate the solution of the differential equation.

2. Why are basis functions important in solving differential equations?

Basis functions are important because they provide a way to approximate the solution of a differential equation. By using a combination of basis functions, we can break down a complex problem into simpler parts and find a solution that satisfies the given boundary conditions.

3. How do boundary conditions affect the choice of basis functions?

Boundary conditions play a crucial role in determining the appropriate basis functions for a given differential equation. They help to narrow down the set of possible functions that can be used to approximate the solution, and may also determine the form of the chosen functions.

4. Can different types of basis functions be used for the same differential equation?

Yes, different types of basis functions can be used to approximate the solution of a differential equation. The choice of basis functions depends on the specific problem at hand and the desired level of accuracy in the solution.

5. Are there any limitations to using basis functions in solving differential equations?

One limitation of using basis functions is that the accuracy of the solution depends on the number and types of functions chosen. In some cases, a large number of basis functions may be needed to obtain an accurate solution, which can be computationally expensive. Additionally, certain types of differential equations may not have a suitable set of basis functions for approximation.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
432
  • Calculus and Beyond Homework Help
Replies
1
Views
587
  • Calculus and Beyond Homework Help
Replies
7
Views
549
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
0
Views
543
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
Back
Top