Solution to Laplace equations in 1D

Mondo

Junior Member
Joined
Apr 23, 2021
Messages
127
In general I know how to solve it, here I would just like to close some doubts I have:
Laplace equation -> d2V(x)dx2\frac{d^2V(x)}{dx^2} first doubt here in regards to the notation: why do we mark second derviatives differently in nominator and denominator? In other words why dx2dx^2 and not d2xd^2x in denominator.
Next moving forward to the solution d2V(x)dx2dx=0dx\int{\frac{d^2V(x)}{dx^2}}dx = \int{0}dx -> dV(x)dxdx+A=0\int{\frac{dV(x)}{dx}}dx + A = \int{0} -> V(x)+Ax+B=0V(x) + Ax + B = 0 -> V(x)=(Ax+B)V(x) = -(Ax + B)

My solution differs from the generic on by a sign on the right hand side. It appears to me the generic solution was obtained by expanding constants from 0dx\int{0}dx instead. but then what happened to the constants from the left hand side? In my case I abandoned RHS constants as it always evaluates to 0 -> 0dx=00 * dx = 0. Is it just a preferred solution to get a positive sign on the RHS or mine is incorrect per se?

Thank you.
 
In general I know how to solve it, here I would just like to close some doubts I have:
Laplace equation -> d2V(x)dx2\frac{d^2V(x)}{dx^2} first doubt here in regards to the notation: why do we mark second derviatives differently in nominator and denominator? In other words why dx2dx^2 and not d2xd^2x in denominator.
Because dxdx is one thing! dxd×x.dx \neq d \times x.

So dx2 means dx×dx or (dx)2dx^2 \ \text{means} \ dx \times dx \ \text{or} \ (dx)^2, but mathematicians are fancy, so they just write dx2dx^2.

dxdx means something that is very very very small. It is called a differential element. You can also say dxdx is an infinitely small change in the variable xx.

Next moving forward to the solution d2V(x)dx2dx=0dx\int{\frac{d^2V(x)}{dx^2}}dx = \int{0}dx -> dV(x)dxdx+A=0\int{\frac{dV(x)}{dx}}dx + A = \int{0} -> V(x)+Ax+B=0V(x) + Ax + B = 0 -> V(x)=(Ax+B)V(x) = -(Ax + B)

My solution differs from the generic on by a sign on the right hand side. It appears to me the generic solution was obtained by expanding constants from 0dx\int{0}dx instead. but then what happened to the constants from the left hand side? In my case I abandoned RHS constants as it always evaluates to 0 -> 0dx=00 * dx = 0. Is it just a preferred solution to get a positive sign on the RHS or mine is incorrect per se?

Thank you.
I did not understand your second question, but this is called:

d2V(x)dx2=0\displaystyle \frac{d^2V(x)}{dx^2} = 0

a second order differential equation.

You need to find a solution V(x)V(x), when you differentiate it two times you get zero, so V(x)=Ax+BV(x) = Ax + B is the general guess.

Or you can find the solution in the same way you did, but you have to correct this:

0 dx=A\displaystyle \int 0 \ dx = A because dAdx=0.\displaystyle \frac{dA}{dx} = 0.

Also you have to understand this: we do not care about the negative signs in the general solution. Therefore, you can write V(x)=(Ax+B)V(x) = -(Ax + B) as V(x)=Ax+BV(x) = Ax + B. Thanks to the arbitrary constants AA and BB, they can be anything.

A fancy student will do this:

V(x)=(c1x+c2)=c1xc2V(x) = -(c_1x + c_2) = -c_1x - c_2

Let A=c1A = -c_1 and B=c2B = -c_2

Then

V(x)=Ax+BV(x) = Ax + B

I told you the arbitrary constants can be anything!

😉
 
Last edited:
Thanks for an answer @mario99
Because dxdxdx is one thing! dx≠d×x.dx \neq d \times x.dx=d×x.
True but so is d2V(x)d^2V(x), a second derivative if function V(x)V(x), so it could be written as dV(x)2dx2\frac{dV(x)^2}{dx^2}. Although the later would probably introduce a confusion with the order - is V(x) squared? So I think I answered my own question.

As for the second part of my question: I was mostly interested in integration constants. They should happen on both sides of the equation and they do, as you explained. The point is at the end of calculation, we just arrange them into two constants as needed.

Thank you.
 
Thanks for an answer @mario99

True but so is d2V(x)d^2V(x), a second derivative if function V(x)V(x), so it could be written as dV(x)2dx2\frac{dV(x)^2}{dx^2}. Although the later would probably introduce a confusion with the order - is V(x) squared? So I think I answered my own question.

As for the second part of my question: I was mostly interested in integration constants. They should happen on both sides of the equation and they do, as you explained. The point is at the end of calculation, we just arrange them into two constants as needed.

Thank you.
ddx\displaystyle \frac{d}{dx} is a differential operator. So if you want to take the second derivative it must be written d2dx2\displaystyle \frac{d^2}{dx^2}. It is wrong to write ddx2\displaystyle \frac{d}{dx^2}. It does not make sense to write dV(x)2dx2.\displaystyle \frac{d V(x)^2}{dx^2}. This just means the function is squared but the differential operator is invalid.

You can write this:

ddx(dV(x)2dx)=d2V(x)2dx2\displaystyle \frac{d}{dx}\left(\frac{dV(x)^2}{dx}\right) = \frac{d^2V(x)^2}{dx^2}

But this does mean something else. You are taking the second derivative of the function V(x) squared \displaystyle V(x) \ \text{squared} \ [V(x)]2\displaystyle \rightarrow [V(x)]^2.
 
Top