Let D∈AB and E∈AC in triangle ABC. Then DE∥BC if and only if DBAD=ECAE.
Why is it true?
Parallel lines cut off similar triangles from the vertex, and similar triangles scale all lengths by the same factor — so the two sides must be divided in the same ratio.
Proof sketch
Assume first that DE∥BC. Compare S△BDE and S△CDE: both triangles have the same base DE, and since DE∥BC means B and C lie on a line parallel to DE, the perpendicular distance from B to line DE equals the perpendicular distance from C to line DE. Equal base and equal height give S△BDE=S△CDE.
Now compare S△ADE to S△BDE: viewed with apex E, triangle ADE has base AD along line AB and triangle BDE has base DB along the same line, sharing the same height from E down to line AB. Two triangles with equal height have areas in the ratio of their bases, so S△ADE/S△BDE=DBAD. By the same argument with apex D and base line AC, S△ADE/S△CDE=ECAE.
Since S△BDE=S△CDE from the first step, the two ratios above share the same denominator once rewritten, so DBAD=S△ADE/S△BDE=S△ADE/S△CDE=ECAE. This proves DBAD=ECAE.
For the converse, suppose DBAD=ECAE holds. Let E′ be the point on AC such that DE′∥BC; the forward direction just proved gives AD/DB=AE′/E′C. Combining with the hypothesis AE/EC=AD/DB gives AE′/E′C=AE/EC, and since a point dividing segment AC in a fixed ratio is unique, E′=E. Therefore DE=DE′∥BC.