The other tutor's answer is absolutely correct, so let me address your question about scalar products. A scalar product (dot product) is the result of multiplying two vectors together that do not produce a vector product (cross product).
For example, work (not a vector) is the product of force (a vector) times displacement (also a vector). The equation for work is, W = Fdcosθ, where θ is the angle between the direction of the force vector, and the direction of the displacement vector. If F and d are parallel, and in the same direction, then θ=0° and the work done is a maximum, but if F and d are perpendicular, then θ=90°, and the work done is a minimum (zero).