## 2.4. Split Line Segment AB at a Ratio of 7 : 3

As GeoGebra allows us to calculate with vectors, this is an easy task. Type the following lines into the input field and press the Enter key after each line.

A = (-2, 1)

B = (3, 3)

s = Segment[A, B]

T = A + 7/10 (B - A)

Another way of doing this could be

A = (-2, 1)

B = (3, 3)

s = Segment[A, B]

v = Vector[A, B]

T = A + 7/10 v

In a next step we could introduce a number t, e.g. by using a Slider and redefine point T as T = A + t v (see Redefine). By changing t you can see point T moving along a straight line which could now be entered in parametric form (see Line): g: X = T + s v

Related Topics

2. Examples

www.geogebra.org