極座標 (3回目)

2023/6/12(月)
極座標 (3回目)
 
位置と∇の外積の2乗の極座標表記
の導出
 
■ 導出
r × ∇
r = (x, y, z)
∇ = ∂/∂x = (∂/∂x,∂/∂y,∂/∂z)
r × ∇ = (X, Y, Z) =
{y(∂/∂z)-z(∂/∂y)
,z(∂/∂x)-x(∂/∂z)
,x(∂/∂y)-y(∂/∂z)}
 
ベクトルの外積は
https://ulprojectmail.blogspot.com/2022/03/n88-basicvector-2.html
N88-BASICでベクトル (2回目)
または
https://ulprojectmail.blogspot.com/2021/06/n88-basicmatrix-2.html
N88-BASICで行列(matrix) (2回目)
 
r × ∇ の極座標表記
x = rsinθcosφ
y = rsinθsinφ
z = rcosθ
 
ナブラ
∇ = (∂/∂x, ∂/∂y, ∂/∂z) =
{sinθcosφ(∂/∂r)+cosθcosφ/r(∂/∂θ)-sinφ/(rsinθ)(∂/∂φ)
,sinθsinφ(∂/∂r)+cosθsinφ/r(∂/∂θ)+cosφ/(rsinθ)(∂/∂φ)
,cosθ(∂/∂r)-sinθ/r(∂/∂θ)}
 
(d/dt)tant = tan2t + 1
 
導出は
https://ulprojectmail.blogspot.com/2021/06/n88-basicmatrix-2.html
極座標 (1回目)
 
X = y(∂/∂z)-z(∂/∂y)
 
= rsinθsinφ{cosθ(∂/∂r)-sinθ/r(∂/∂θ)}
- rcosθ{sinθsinφ(∂/∂r)+cosθsinφ/r(∂/∂θ)
+ cosφ/(rsinθ)(∂/∂φ)}
 
= rsinθsinφcosθ(∂/∂r)-sinφsin2θ(∂/∂θ)
- rcosθsinθsinφ(∂/∂r)-cos2θsinφ(∂/∂θ)
- cosθcosφ/sinθ(∂/∂φ)
 
= -sinφsin2θ(∂/∂θ) - cos2θsinφ(∂/∂θ)
- cosθcosφ/sinθ(∂/∂φ)
 
= -sinφ(∂/∂θ)-cosφ/tanθ(∂/∂φ)}
 
 
Y = z(∂/∂x)-x(∂/∂z)
 
= rcosθ{sinθcosφ(∂/∂r)
+cosθcosφ/r(∂/∂θ)-sinφ/(rsinθ)(∂/∂φ)}
-rsinθcosφ{cosθ(∂/∂r)-sinθ/r(∂/∂θ)}
 
= rcosθsinθcosφ(∂/∂r)+cos2θcosφ(∂/∂θ)
- cosθsinφ/sinθ(∂/∂φ)
- rsinθcosφcosθ(∂/∂r) + cosφsin2θ(∂/∂θ)
 
= cos2θcosφ(∂/∂θ) + cosφsin2θ(∂/∂θ)
- cosθsinφ/sinθ(∂/∂φ)
 
= cosφ(∂/∂θ)-sinφ/tanθ(∂/∂φ)
 
 
Z = x(∂/∂y)-y(∂/∂z)
 
= rsinθcosφ{sinθsinφ(∂/∂r)
+cosθsinφ/r(∂/∂θ)+cosφ/(rsinθ)(∂/∂φ)}
- rsinθsinφ{sinθcosφ(∂/∂r)
+cosθcosφ/r(∂/∂θ)-sinφ/(rsinθ)(∂/∂φ)}
 
= rsin2θcosφsinφ(∂/∂r)
+sinθcosφcosθsinφ(∂/∂θ)+cos2φ(∂/∂φ)
-rsin2θsinφcosφ(∂/∂r)
-sinθsinφcosθcosφ(∂/∂θ)+sin2φ(∂/∂φ)
 
= cos2φ(∂/∂φ)+sin2φ(∂/∂φ)
= (∂/∂φ)
 
X = -sinφ(∂/∂θ)-cosφ/tanθ(∂/∂φ)
Y =  cosφ(∂/∂θ)-sinφ/tanθ(∂/∂φ)
Z = (∂/∂φ)
 
 
▼ |r × ∇|2 
 
(d/dt)tant = (d/dt)sint/cost
 
r × ∇ = (X, Y, Z)
|r × ∇|2 = (r × ∇)・(r × ∇)
= X2 + Y2 + Z2 
 
= sinφ(∂/∂θ){sinφ(∂/∂θ)}
+ cosφ/tanθ(∂/∂φ){sinφ(∂/∂θ)}
+ sinφ(∂/∂θ){cosφ/tanθ(∂/∂φ)}
+ cosφ/tanθ(∂/∂φ){cosφ/tanθ(∂/∂φ)}
 
+ cosφ(∂/∂θ){cosφ(∂/∂θ)}
- sinφ/tanθ(∂/∂φ){cosφ(∂/∂θ)}
+ cosφ(∂/∂θ){-sinφ/tanθ(∂/∂φ)}
+ sinφ/tanθ(∂/∂φ){sinφ/tanθ(∂/∂φ)}
 
+ (∂/∂φ)(∂/∂φ)
 
 
= sinφ{(∂/∂θ)sinφ(∂/∂θ)+sinφ(∂2/∂θ2)}
+ cosφ/tanθ{(∂/∂φ)sinφ(∂/∂θ)+sinφ(∂2/∂φ∂θ)}
+ sinφ
{(∂/∂θ)cosφ/tanθ(∂/∂φ)+cosφ/tanθ(∂2/∂θ∂φ)}
+ cosφ/tanθ
{(∂/∂φ)cosφ/tanθ(∂/∂φ)+cosφ/tanθ(∂2/∂φ2)}
 
+ cosφ{(∂/∂θ)cosφ(∂/∂θ)+cosφ(∂2/∂θ2)}
- sinφ/tanθ{(∂/∂φ)cosφ(∂/∂θ)+cosφ(∂2/∂φ∂θ)}
+ cosφ
{-(∂/∂θ)sinφ/tanθ(∂/∂φ)-sinφ/tanθ(∂2/∂θ∂φ)}
+ sinφ/tanθ
{(∂/∂φ)sinφ/tanθ(∂/∂φ)+sinφ/tanθ(∂2/∂φ2)}
 
+ (∂2/∂φ2)
 
 
= sinφ{sinφ(∂2/∂θ2)}
+ cosφ/tanθ{cosφ(∂/∂θ)+sinφ(∂2/∂φ∂θ)}
+ sinφ
{-cosφ(tan2θ + 1)/tan2θ(∂/∂φ)+cosφ/tanθ(∂2/∂θ∂φ)}
+ cosφ/tanθ
{-sinφ/tanθ(∂/∂φ)+cosφ/tanθ(∂2/∂φ2)}
 
+ cosφ{cosφ(∂2/∂θ2)}
- sinφ/tanθ{-sinφ(∂/∂θ)+cosφ(∂2/∂φ∂θ)}
+ cosφ
{sinφ(tan2θ+1)/tan2θ(∂/∂φ)-sinφ/tanθ(∂2/∂θ∂φ)}
+ sinφ/tanθ
{cosφ/tanθ(∂/∂φ)+sinφ/tanθ(∂2/∂φ2)}
 
+ (∂2/∂φ2)
 
 
= sin2φ(∂2/∂θ2)
+ cos2φ/tanθ(∂/∂θ)
+ cosφsinφ/tanθ(∂2/∂φ∂θ)
- sinφcosφ(tan2θ+1)/tan2θ(∂/∂φ)
+ sinφcosφ/tanθ(∂2/∂θ∂φ)
- cosφsinφ/tan2θ(∂/∂φ)
+ cos2φ/tan2θ(∂2/∂φ2)
 
+ cos2φ(∂2/∂θ2)
+ sin2φ/tanθ(∂/∂θ)
- sinφcosφ/tanθ(∂2/∂φ∂θ)
+ cosφsinφ(tan2θ+1)/tan2θ(∂/∂φ)
- cosφsinφ/tanθ(∂2/∂θ∂φ)
+ sinφcosφ/tan2θ(∂/∂φ)
+ sin2φ/tan2θ(∂2/∂φ2)
 
+ (∂2/∂φ2)
 
 
= sin2φ(∂2/∂θ2)
+ cos2φ(∂2/∂θ2)
+ cos2φ/tanθ(∂/∂θ)
+ sin2φ/tanθ(∂/∂θ)
+ sinφcosφ/tanθ(∂2/∂θ∂φ)
- cosφsinφ/tanθ(∂2/∂θ∂φ)
+ cosφsinφ/tanθ(∂2/∂φ∂θ)
- sinφcosφ/tanθ(∂2/∂φ∂θ)
- sinφcosφ(tan2θ+1)/tan2θ(∂/∂φ)
+ cosφsinφ(tan2θ+1)/tan2θ(∂/∂φ)
- cosφsinφ/tan2θ(∂/∂φ)
+ sinφcosφ/tan2θ(∂/∂φ)
+ cos2φ/tan2θ(∂2/∂φ2)
+ sin2φ/tan2θ(∂2/∂φ2)
+ (∂2/∂φ2)
 
= (∂2/∂θ2)+(1/tanθ)(∂/∂θ)+(1/tan2θ+1)(∂2/∂φ2)
 
1/tan2θ+1 = (cos2θ+sin2θ)/sin2θ = 1/sin2θ
 
(∂2/∂θ2)+(1/tanθ)(∂/∂θ)
= (cosθ/sinθ)(∂/∂θ) + (∂2/∂θ2)
= (1/sinθ){cosθ(∂/∂θ) + sinθ(∂2/∂θ2)}
= (1/sinθ){(∂/∂θ)sinθ(∂/∂θ) + sinθ(∂2/∂θ2)}
= (1/sinθ)(∂/∂θ){sinθ(∂/∂θ)}
 
より
|r × ∇|2 
= (∂2/∂θ2)+(1/tanθ)(∂/∂θ)+(1/tan2θ+1)(∂2/∂φ2)
= (1/sinθ)(∂/∂θ){sinθ(∂/∂θ)}+(1/sin2θ)(∂2/∂φ2)
 
 
■ 結果
r × ∇
r = (x, y, z)
∇ = ∂/∂x = (∂/∂x,∂/∂y,∂/∂z)
r × ∇ =
{y(∂/∂z)-z(∂/∂y)
,z(∂/∂x)-x(∂/∂z)
,x(∂/∂y)-y(∂/∂z)}
 
▼ |r × ∇|2 
|r × ∇|2 =
(1/sinθ)(∂/∂θ){sinθ(∂/∂θ)}+(1/sin2θ)(∂2/∂φ2)

 

このブログの人気の投稿

NEWS

N88-BASICでゲーム (1回目)