In general, given three vectors, theredoes not exista plane containing those three vectors. So I suspect you P, Q, R are actually threepoints, or the position vectors of those three points, and you want to find the plane containing those three points. If your points are given by (equivalently vector ), ( ), and ( ) then vectorsinthe plane are given by the difference of two of those. In particular, and are vectors in the plane. Theircross productwill give a vector, ,perpendicularto the plane. And the equation of a plane having that normal vector, containing point is given by .

The shortest distance from a point to a plane (or line) is along aperpendicularline. Once you have the plane as , you know that is perpendicular to the plane and so x= At, y= Bt, z= Ct is a line perpendicular to the plane, through (0, 0, 0). Replace x, y, and z in the equation of the plane and you have a single equation to solve for t, giving the point where that line hits the plane. The distance between that point and (0, 0, 0) is the shortest distance from (0, 0, 0) to the plane.

(If you are doing this for a course, I bet all of that is in your textbook!)