Processing math: 100%

PS_1.2.1 Mathematical Expression of Dihedral Angle:

The dihedral angle (ϕ) is the angle between two planes.
First of all, we should know the General equation of Plane:
Ax+By+Cz+D=0 .......... (i)
Where A,B,C,D are constants.
And, Equation of plane passing through points (x1,y1,z1),(x2,y2,z2),(x3,y3,z3) is,
|xx1yy1zz1x2x1y2y1z2z1x3x1y3y1z3z1|=0 .......... (ii)
Or,

|y2y1z2z1y3y1z3z1|(xx1)+|z2z1x2x1z3z1x3x1|(yy1)+|x2x1y2y1x3x1y3y1|(zz1)=0 
.......... (iii)
After Solving eqn(iii), we get; 

{(y2y1)(z3z1)(z2z1)(y3y1)}x+{(x3x1)(z2z1)(x2x1)(z3z1)}y+{(x2x1)(y3y1)(x3x1)(y2y1)}z+D=0} .......... (iv)

Where D is Constant term. This eqn(iv) gives the equation of plane passing through points.
Now,
From the above references, we have to calculate the Dihedral angle between the two planes:

a1x+b1y+c1z+d1=0 ..........  (v)
a2x+b2y+c2z+d2=0 ..........   (vi)
Which have normal vectors n1=(a1,b1,c1) and n2=(a2,b2,c2) is simply given dihedral angle through the dot product of the normals.
i.e. Cosϕ=^n1.^n2   ..........  (vii)
Or, 
Cosϕ=a1a2+b1b2+c1c2a21+b21+c21a22+b22+c22  ..........  (viii)

Note: Unit Vector - If A is a vector with magnitude A 0), then ˆn=A|A| is a unit vector having the same direction as A.
Click here for: Basic concept on Dihederal angle.