← Library
Tier 1 · algebra

Linear Eq Ref

Reference card for linear equation forms.

Files (1)
LINEAR.py393 bytes
def p(s):print(s)
def o1():
 p("=STANDARD=")
 p("ax+b=0")
 p("x=-b/a")
def o2():
 p("=SLOPE-INT=")
 p("y=mx+b")
 p("m=slope")
 p("b=y-int")
def o3():
 p("=POINT-SL=")
 p("y-y1=m(x-x1)")
def menu():
 while True:
  p("=LINEAR=")
  p("1:STANDARD")
  p("2:SLOPE-INT")
  p("3:POINT-SL")
  p("0:EXIT")
  c=input("?>")
  if c=="1":o1()
  elif c=="2":o2()
  elif c=="3":o3()
  elif c=="0":break
menu()
How to use it

Reference card for the three forms of a linear equation. No inputs — each menu option prints the form and the key identifier.

  • 1:STANDARDax+b=0, so x=−b/a.
  • 2:SLOPE-INTy=mx+b with m = slope, b = y-intercept.
  • 3:POINT-SLy−y₁ = m(x−x₁).
  • 0:EXIT — leave.
Example problem

A test asks you to write the equation of the line through (2, 5) with slope 3. You forget which form to use.

  1. Run LINEAR.
  2. Pick 3:POINT-SL.
  3. Screen shows: y-y1=m(x-x1).

Plug in: y − 5 = 3(x − 2). Optional: expand to slope-intercept form y = 3x − 1. ✓

TI-84 Plus CE — try before committingoff
TI-84 Plus CE



  (calculator off)

  Press ON to start.
Test cases (2)
IDInputsExpected contains
standard-form1, 0ax+b=0
slope-int-form2, 0y=mx+b