OK, a bit to sort out here:
1. Weight:
This is equal to mg, acting downwards.
However, it's "downwards" is not always the convenient direction to think weight in terms with!
For example, on a slope, the two most convenient directions are a)tangential to the slope, b)normal to the slope.
But, "downwards" is rarely coincident with either of these directions in space; rather, "downwards" must be seen as having components in both directions; a normal component, and a tangential component.
To be specific, let a sloping plane make angle [tex]\theta[/tex] to the horizontal (normal to "downwards")
We use [tex]\vec{i}[/tex] to be a unit vector in the horizontal direction, wheres [tex]\vec{j}[/tex] is a unit vector in the "upwards" direction.
Also, let [tex]\vec{t}[/tex] be a unit vector in the tangential direction to the sloping plane, while [tex]\vec{n}[/tex] is a unit vector in the normal direction of the sloping plane ("normal" meaning in a direction at right angles to the plane)
We have the following relation for the tangent vector:
[tex]\vec{t}=\cos\theta\vec{i}+\sin\theta\vec{j}[/tex]
Since [tex]\vec{n}[/tex] is normal to the tangent, we may write:
[tex]\vec{n}=-\sin\theta\vec{i}+\cos\theta\vec{j}[/tex]
We now proceed to invert these relations, that is, express [tex]\vec{i},\vec{j}[/tex] in terms of [tex]\vec{t},\vec{n}[/tex]
By the choices we've made, we get:
[tex]\vec{i}=\cos\theta\vec{t}-\sin\theta\vec{n}[/tex]
[tex]\vec{j}=\sin\theta\vec{t}+\cos\theta\vec{n}[/tex]
The weight of an object of mass m, [tex]\vec{W}[/tex] is in the downwards direction, so clearly we have:
[tex]\vec{W}=-mg\vec{j}[/tex]
Hence, expressed in terms of vectors [tex]\vec{t},\vec{n}[/tex] the weight
has the form (substituting for [tex]\vec{j}[/tex]):
[tex]\vec{W}=-mg\sin\theta\vec{t}-mg\cos\theta\vec{n}[/tex]
It is crucial that you understand this, so I'll stop here at the moment.
Please post any questions you might have.