Help me understand intuitively how one might move a point along a line. I'm not able to follow various solutions. These solutions detail steps to follow but I'm not understanding why these steps are laid out/suggested. (It may be a good disclaimer that my math education taught me to memorize theorems and not how to apply them).
Help me work from where I am at to what I need to understand to move a point along a line.
- We have 2 points, A and B. A is at (0, 2) and B is at (4, 1).
- Building from the Pythagorean theorem, the distance between points A and B is $\sqrt{(1-2)^2 + (4-0)^2}$.
- Simplifying results in $\sqrt{(-1)^2 + (4)^2}$.
- Simplifying results in $\sqrt{1 + 16}$.
- Simplifying results in $\sqrt{17}$.
- Simplifying results in ~4.12.
I can get this far, but then I do not know where to go.
Let's say I want to move 2 units away from point A, I could approach it like this.
- Since the distance from A to B is ~4, I should find an x-value halfway between A and B; I choose 2. $(0 + 4) / 2$.
- In order to find the y-value at a given x, I need to know the slope of the line, so I remember that the slope is $(y2 - y1) / (x2 - x1)$.
- Simplifying results in $(1 - 2) / (4 - 0)$.
- Simplifying results in $-1 / 4$.
- The slope of the line is $-\frac{1}{4}$.
I can now find the y-value of the line at an x-value of 2.
- Solve $y = mx + b$.
- Simplifying results in $y = -\frac{1}{4}*2 + 2$.
- Simplifying results in $y = -\frac{1}{2} + 2$.
- Simplifying results in $y = -\frac{1}{2} + \frac{4}{2}$.
- Simplifying results in $y = \frac{3}{2}$ = $1.5$.
This approach is naive, but it's all I can come up on my own. It also doesn't work if the line is vertical because there is no midpoint x-value we can use.