📖 Short lecture
Three common forms describe a line: slope–intercept form $y=mx+b$, point–slope form $y-y_1=m(x-x_1)$ and standard form $Ax+By=C$. Given a slope and a point, use point–slope form; given two points, find the slope first and then use one of the points.
Parallel lines have equal slopes, $m_1=m_2$. Perpendicular lines have slopes whose product is $-1$, $m_1m_2=-1$, so $m_2=-\frac{1}{m_1}$. Data in a scatter plot that follows a linear trend can be modelled by a line of fit, which is used to make predictions.
Going further
Linear models describe real situations: in $C=0.25m+30$ the slope $0.25$ is the cost per minute and the intercept $30$ is the fixed monthly fee. Using a model inside the range of the data is interpolation; using it outside that range is extrapolation, which is less reliable.
Inverse linear functions undo each other: if $f(x)=2x+3$, then $f^{-1}(x)=\frac{x-3}{2}$. Their graphs are reflections of each other in the line $y=x$. The correlation coefficient $r$ (between $-1$ and $1$) measures how closely data follow a line.
📐 Figures
🔑 Key formulas
✏️ Worked examples
Write the equation of the line through $(2,-1)$ perpendicular to $y=\frac23x+4$.
- $\displaystyle m=-\frac{3}{2}$
- $\displaystyle y-(-1)=-\frac32(x-2)$
- $\displaystyle y=-\frac32x+3-1=-\frac32x+2$
✔ $y=-\frac32x+2$, or $3x+2y=4$.
Example 2
Write the equation of the line through $(-2,7)$ and $(4,-5)$ in slope–intercept and standard form.
- $\displaystyle m=\frac{-5-7}{4-(-2)}=-2$
- $\displaystyle y-7=-2(x+2)\;\Rightarrow\;y=-2x+3$
- $\displaystyle 2x+y=3$
✔ $y=-2x+3$, or $2x+y=3$.
🧮 More worked examples
Each step says what we do and why.
Example 3Find the line through $(-1,4)$ parallel to $3x-y=5$.
- Slope of the given line.$$y=3x-5\;\Rightarrow\;m=3$$
- Point–slope form.$$y-4=3(x+1)$$
- Simplify.$$y=3x+7$$
Example 4Write $y=-\frac23x+4$ in standard form.
- Multiply every term by $3$.$$3y=-2x+12$$
- Move the $x$ term to the left.$$2x+3y=12$$
Example 5Find the inverse of $f(x)=\frac{x+5}{2}$.
- Swap $x$ and $y$.$$x=\frac{y+5}{2}$$
- Solve for $y$.$$2x=y+5\;\Rightarrow\;y=2x-5$$
🎬 Figure in motion
Two figures in motion: they play automatically; ⏸ pauses and ↺ restarts.
🖐️ Interactive demo & illustration
Move the sliders or press the buttons: the figure and the numbers update immediately. Try to predict the result before you look.
🧭 From two points to every form of the line
Move the points $P$ and $Q$. The panel writes the same line in slope–intercept, point–slope and standard form. Switch on the parallel or perpendicular line through $R(0,-3)$: parallel lines share $m$, perpendicular slopes multiply to $-1$.
⚠️ Common mistakes
- Using $m_2=-m_1$ for perpendicular lines: the correct rule is $m_2=-\frac{1}{m_1}$.
- Sign errors in point–slope form: through $(-2,7)$ it is $y-7=m(x+2)$.
- Leaving fractions or a negative $A$ in standard form $Ax+By=C$.
- In standard form $Ax+By=C$ clear the fractions first so that $A,B,C$ are integers.
- The inverse of $y=2x+3$ is $y=\frac{x-3}{2}$, not $\frac{1}{2x+3}$: an inverse undoes the steps.
- Any point on the line works in point–slope form; after simplifying you get the same equation.
🌍 Modelling problems
Real-life situations: translate the words into mathematics, solve, then interpret the answer.
🔧 Plumber's charges
A plumber charges $150$ AED for $2$ h and $270$ AED for $5$ h (linear). Find the equation and the cost of $3.5$ h.
Show the solution
- Slope = cost per hour.$$m=\frac{270-150}{5-2}=40$$
- Intercept = call-out fee.$$150=40(2)+b\;\Rightarrow\;b=70$$
- Evaluate.$$C(3.5)=140+70=210$$
✔ $C=40h+70$; $210$ AED.
💻 Depreciation
A laptop costs $2400$ AED new and is worth $1500$ AED after $3$ years (linear). When is it worth $0$?
Show the solution
- Slope.$$m=\frac{1500-2400}{3}=-300$$
- Equation and zero.$$V=-300t+2400=0\;\Rightarrow\;t=8$$
✔ After $8$ years.
🌡️ Undoing a conversion
Use the inverse of $F=1.8C+32$ to convert $77^\circ$F to Celsius.
Show the solution
- Inverse function.$$C=\frac{F-32}{1.8}$$
- Substitute.$$C=\frac{45}{1.8}=25$$
✔ $25^\circ$C.
✅ Multiple-choice quiz
📝 Short essay
The points $(0,3)$ and $(4,11)$ lie on a line. Describe two different ways to write its equation and show that they give the same line.
The slope is $m=\frac{11-3}{4-0}=2$. Since $(0,3)$ is the $y$-intercept, slope–intercept form gives $y=2x+3$. Point–slope form with $(4,11)$ gives $y-11=2(x-4)$, so $y=2x-8+11=2x+3$. Both forms simplify to the same equation.