Convert the following equation from standard form to point-slope.
expr([ '*', A, 'x' ]) + expr([ '*', B, 'y' ]) = C
y - {}{} = {}(x - {})
integers, like 6
simplified proper fractions, like 3/5
simplified improper fractions, like 7/4
and/or exact decimals, like 0.75
pay attention to the sign of each number you enter to be sure the entire equation is correct
Point-slope form is:
\qquad y - \color{BLUE}{y_{1}} = \color{PINK}{m}(x-\color{BLUE}{x_{1}})
\qquadwhere m is the slope and (x_{1}, y_{1}) is any point on the line.
Find the slope of the line:
\color{PINK}{m} = -\dfrac{A}{B} = -\dfrac{A}{B} = \color{PINK}{SLOPE}
We can pick any point we want on the line by plugging in any value for x_{1}.
For example, let's choose HINT_X1.
Plug in HINT_X1 as the value of x in the original equation in order to get
y_{1}.
A\color{BLUE}{(HINT_X1)} +-
abs( B )\color{BLUE}{y_1} = C
y_1 = ( -A * HINT_X1 + C ) / B
Thus, the equation can be written in point-slope form as:
\qquad y - \color{BLUE}{(HINT_Y1)} = \color{PINK}{SLOPE}(x - \color{BLUE}{(HINT_X1)})
\qquad plus( "y", -HINT_Y1 ) = -
abs( SLOPE )( plus( "x", -HINT_X1 ) )
Behold the magic of math! The given point (HINT_X1,HINT_Y1) is on the line with slope SLOPE!
Convert the following equation from point-slope to standard form.
y - Y1 = SLOPE
-( x - X1 )
In other words, rewrite the equation in the form Ax + By = C. Assume A is positive.
A\space x + {}
B\space y = {}
C
A is positiveDistribute the SLOPE on the right side of the equation.
expr([ '+', "y", -1 * Y1 ]) =
expr([ '*', SLOPE, "x" ]) - SLOPE * X1
Move the expr([ '*', SLOPE, "x" ]) term to the left side of the equation.
expr([ '*', -SLOPE, "x" ]) + y - Y1 = -SLOPE * X1
Move the constant of -1 * Y1 to the right side of the equation.
expr([ '*', -SLOPE, "x" ]) + y = ( -SLOPE * X1 ) + Y1
Multiply both sides by -1.
expr([ '*', SLOPE, "x" ]) - y = -Y1 + ( SLOPE * X1 )
The equation is now in standard form.
Behold the magic of math! The line
expr([ '*', SLOPE, "x" ]) - y = -Y1 + ( SLOPE * X1 )
expr([ '*', -SLOPE, "x" ]) + y = ( -SLOPE * X1 ) + Y1
has a slope of SLOPE and passes through the point
(X1,Y1).
These values were given in the initial equation written in point slope form.