# Khan/khan-exercises

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Fetching contributors…

Cannot retrieve contributors at this time

55 lines (53 sloc) 2.728 kb
 Converting between point slope and slope intercept form
(random() > 0.5 ? -1 : 1) * (rand(5) + 1) (random() > 0.5 ? -1 : 1) * (rand(5) + 1) (random() > 0.5 ? -1 : 1) * (rand(3) + 1) m*x1+b m*x1

Convert the following equation from point slope to slope intercept form.

In other words, if the equation is rewritten to look like y = mx + b, what are the values of m and b?

y - y1 = m(x - x1)

y = \spacem\space \cdot x + \spaceb

Distribute the m in the m(x - x1) term on the right.

y - y1 = \color{BLUE}{expr([ "*", m, "x" ]) - var1}

Isolate the y term on the left by subtracting -y1 from both sides. adding y1 to both sides.

y = expr([ "*", m, "x" ]) - var1 + y1

Combine the constant terms on the right.

y = expr([ "*", m, "x" ]) + b

The equation is now in slope-intercept form, with a slope of m and a y-intercept of b.

Something went wrong with that request. Please try again.