Boundary Conditions and Optimization in Differential Equations

ymhiq
Messages
11
Reaction score
0

Homework Statement



Hello, I have to demonstrate that multiplying a differential equation:
-d/dx[a(x)*d/dx{u(x)}]=f(x), 0<x<1 subject to u(0)=0 and u(1)=0.
by some function v(x) and integrating over an interval [0,1], I get a new equation that can be used in an optimisation problem, that equation is written as:
∫[a(x)*du/dx*dv/dy]dx=∫[f(x)*v(x)]dx, limits of integration of the integrals are the real numbers 0 and 1.

Homework Equations


The differential equation:

-d/dx[a(x)*d/dx{u(x)}]=f(x), 0<x<1 subject to u(0)=0 and u(1)=0.

∫[a(x)*du/dx*dv/dy]dx=∫[f(x)*v(x)]dx, limits of integration of the integrals are the real numbers 0 and 1.

The Attempt at a Solution


Firstly I did a little math:
-d[a(x)]/dx*d[u(x)]/dx-a(x)*d/dx[d{u(x)}/dx]=f(x)
Then I multiplied by v(x)
-v(x)*d[a(x)]/dx*d[u(x)]/dx-v(x)*a(x)*d/dx[d{u(x)}/dx]=v(x)*f(x)
Finally I integrated that over the limits of integration 0 and 1:
-∫v(x)*d[a(x)]/dx*d[u(x)]/dx-∫v(x)*a(x)*d/dx[d{u(x)}/dx]=∫v(x)*f(x)
RHS o this equation is equal to the RHS of the equation I have to demonstrate, however LHS is quite different. So I wrote to my teacher and he wrote me "you are almost there, the only thing you need is to apply the boundary conditions in order to nullify one of the terms of the LHS"; I don't know how. Besides nullifying the second term, the firs one is not exactly the same as in the equation I have to demonstrate.

Any help would be appreciated.
Thanks
 
Last edited:
Physics news on Phys.org
You should consider using "integration by parts". That says, remember, that
\int_a^b udv= \left[uv\right]_a^b- \int_a^b vdu

In this problem, the fact that the function is equal to 0 at both endpoints means that \left[uv\right]_a^b is 0.
 
  • Like
Likes 1 person
Thanks a lot HallsofIvy, I was here before your suggestions:
-\int^{1}_{0}v(x)a(x)\frac{d[u^{2}(x)]}{dx^{2}}dx-\int^{1}_{0}v(x)\frac{d[a(x)]}{dx}\frac{d[u(x)]}{dx}dx=\int^{1}_{0}v(x)f(x)dxI applied them on the integrals of the LHS of this equation and did the math, I came up with this expression:

-v(x)a(x)\frac{d[u(x)]}{dx}|^{1}_{0}+\int^{1}_{0}a(x)\frac{d[v(x)]}{dx}\frac{d[u(x)]}{dx}dx+\int^{1}_{0}v(x)\frac{d[a(x)]}{dx}\frac{d[u(x)]}{dx}dx-v(x)\frac{d[a(x)]}{dx}u(x)|^{1}_{0}+\int^{1}_{0}u(x)\frac{d[v(x)]}{dx}\frac{d[a(x)]}{dx}dx+\int^{1}_{0}u(x)v(x)\frac{d^{2}[u(x)]}{dx^{2}}dx=\int^{1}_{0}v(x)f(x)dxApplying integration by parts on the last integral of the LHS I got these expression:

-v(x)a(x)\frac{d[u(x)]}{dx}|^{1}_{0}-v(x)\frac{d[a(x)]}{dx}u(x)|^{1}_{0}+u(x)v(x)\frac{d[a(x)]}{dx}|^{1}_{0}+\int^{1}_{0}a(x)\frac{d[v(x)]}{dx}\frac{d[u(x)]}{dx}dx=\int^{1}_{0}v(x)f(x)dxI am sure that the second and the third terms of the LHS nullify according to the boundary conditions so I get this:

-v(x)a(x)\frac{d[u(x)]}{dx}|^{1}_{0}+\int^{1}_{0}a(x)\frac{d[v(x)]}{dx}\frac{d[u(x)]}{dx}dx=\int^{1}_{0}v(x)f(x)dxWhat could I do with the first term of the LHS, I'm not sure it nullifies.

Thanks a lot for your time.

Again, any help would be appreciated.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top