Notes on Linear Equations in Two Variables, Slopes, and Functions
Graphing Linear Equations in Two Variables (Sections 2.1–2.2)
A linear equation in two variables has infinitely many solutions.
Each solution is a coordinate pair (x, y) in the Cartesian plane, not a single number.
The set of all solutions forms a line when graphed on the plane.
Graphing the solution set:
To graph a line, you only need two points that lie on the line.
A convenient pair of points are the intercepts:
x-intercept: the point where the line crosses the x-axis, obtained by setting y = 0 and solving for x; the point is
.y-intercept: the point where the line crosses the y-axis, obtained by setting x = 0 and solving for y; the point is
.Note on notation: some textbooks refer to the intercepts by the numbers themselves (e.g., the x-intercept might be denoted by the value a in a point (a, 0) or simply a).
Example: graphing the line from
x-intercept: set → ⇒ intercept point .
y-intercept: set → ⇒ intercept point .
Plot these two points and draw the line through them.
Therefore, the graph is the line corresponding to the equation .
Another example (sketch context): for the line given by (interpreting in the intercept sense with y set to 0):
x-intercept: set → ⇒ intercept .
y-intercept: set → ⇒ intercept .
Plot and connect to obtain the line for .
A special case: horizontal and vertical lines
If the equation is of the form , the graph is a horizontal line through the point (the y-intercept is ).
If the equation is of the form , the graph is a vertical line through the point (the x-intercept is ).
Example: graphs as a horizontal line; all points on the line have y = 3.
Example: graphs as a vertical line; all points on the line have x = -1.
Finding an equation for a line from slope and a point
If you know two points and with , the slope is
If you know a point and the slope , you can use the point-slope form to write the equation:
Converting to slope-intercept form gives with .
Quick illustration of point-slope to slope-intercept with an example
Line with slope through :
Line with slope through :
The slope-intercept form and using the intercept
If the line has y-intercept and slope , the equation is
Derivation (brief): from the slope definition, , hence .
Sketching tips using slope (rise over run)
From the y-intercept , use the slope ; for example, a slope of can be drawn as rise 3, run 1.
Move from the intercept point accordingly to place another point on the line, then draw through.
Parallel and perpendicular lines
Non-vertical lines: with slope and with slope are parallel if .
Perpendicular: (provided neither line is vertical).
Example reasoning: if two lines have the same slope, they never intersect; if their slopes multiply to , they intersect at a right angle.
Determining parallel or perpendicular relationships (Example 8)
Approach: solve each line for in terms of to identify the slope, since the slope is the coefficient of in the form
Part a
L1: → .
L2: → .
Since , the lines are parallel.
Part b
L1: → .
L2: → .
Product: → The lines are perpendicular.
Part c: left as exercise (check if or if ; otherwise neither).
Functions and the Graph of a Function (Section 2.3)
A function is a relation between two quantities, with
inputs (domain): the set of inputs you plug into the function,
outputs (range): the set of possible outputs produced by the function,
a rule that assigns to each input exactly one output.
Notation and terminology
Inputs are called the independent variable (commonly ).
Outputs are called the dependent variable (commonly ).
A function may be named , , , etc., and written as
Examples of functions (non-algebraic domain intuition)
Domain: Virginia Tech students; Range: unique passport IDs. Each student maps to exactly one passport ID.
Domain: graduating seniors; Range: GPAs. The GPA is a function of the student (subject to the graduation GPA rule, typically , with graduation requiring GPA at least in the example).
Algebraic function (formulas)
Typical setup: domain and range are the real numbers; a function is described by a rule such as
Example: describes a function from real numbers to real numbers where input is the independent variable and output is (the dependent variable).
Example 4: a concrete formula
Given
Part a: compute :
Part b: compute :
Part c: general input :
Part d: input :
Takeaway: a single formula can describe the same function; the expression can be expanded for different inputs.
Piecewise-defined functions
A function can be defined by different formulas on different parts of the domain.
Example (Example 5 in the transcript):
f(x) = egin{cases} frac{1}{2}x^2 + 1, & x < 2,\ x^2 + 5, & x \ge 2. \ frac{?}{?} & ext{(typo in transcript)} \ \ ext{end cases} \
\Using this piecewise definition, evaluate:
f(-2)-2 < 2f(-2) = \tfrac{1}{2}(-2)^2 + 1 = \tfrac{1}{2} \cdot 4 + 1 = 2 + 1 = 3.f(0)0 < 2f(0) = \tfrac{1}{2}(0)^2 + 1 = 0 + 1 = 1.f(2)2 \ge 2f(2) = 2^2 + 5 = 4 + 5 = 9.f(4)f(4) = 4^2 + 5 = 16 + 5 = 21.$$
Final note
Piecewise functions allow modeling of different rules on different parts of the domain, which the transcript demonstrates with a two-branch example.
This concludes the sections 2.1, 2.2, and an overview of 2.3; next time we’ll continue with more on functions and their graphs.