Help with a differential equation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
ElvenVeil
Messages
1
Reaction score
0

Homework Statement



Hello

I am new to this forum, but I hope I can get help with a problem I haven't been able to figure out what to do with.

info:

we have a one dimensional equation -d/dx [a(x) du/dx] = p(x)

where we seek a solution u(x) where x is within [0,1] , that satisfies the 2 boundary conditions u(0) = 0, u(1) = 0

p and a is given by a(x) = 1 and p(x) = 1

any help with this problem would be very nice. On beforehand thanks


Homework Equations





The Attempt at a Solution



My thought was to first find a general solution to the equation and then insert the conditions given. I have a hard time finding a general solution to the equation (-d/dx [a(x) du/dx] = p(x) ) so I feel a little stuck on how to approach it.
 
Physics news on Phys.org
ElvenVeil said:
p and a is given by a(x) = 1 and p(x) = 1
Erm...just use this? I don't think it is possible to obtain a closed form expression for the general solution for arbitrary a(x) and p(x).
 
The general solution is very difficult- although I think it can be done in terms of
[tex]u(x)= -\int_x^1\frac{1}{a(u)}\int_0^u p(t)dt du[/tex]

But you are give that a(x)= 1 and p(x)= 1 so the problem is to solve [itex]\frac{d^2x}{dt^2}= -1[/itex] which can be done by two simple integrations.