Hexx's Study Notes

This repository displays my personal study notes across various tech subjects, showcasing my continuous learning and expertise in all things related to computer science.

View the Project on GitHub HexxKing/hexxs_study_notes

👈 Back to Table of Contents


Lines, Systems, and Piece-wise Functions

Tasks

Determine the equation of a line given its graph

Graph lines given their equation

Find the equation of a line in slope-intercept form using point-slope form

Determine the solution of a system of linear equations by graphing

Determine the solution of a system of linear equations by substitution

Determine the solution of a system of linear equations by elimination/addition

Evaluate piecewise functions

Graph piecewise functions

Vocabulary

Lines

Systems

Piecewise functions

Formulas

Lines

Systems

Piecewise functions

Additional Formulas

Reading Notes

Graphing Lines

Graphing Linear Functions

HOW TO: Given a linear function, graph by plotting points.

1. Choose a minimum of two input values.
2. Evaluate the function at each input value.
3. Use the resulting output values to identify coordinate pairs.
4. Plot the coordinate pairs on a grid.
5. Draw a line through the points.

Practice: Graph 𝑓(𝑥)=−34𝑥+6 by plotting points.

graph1

Graphing a Function Using y-intercept and Slope

Graphical Interpretation of a Linear Function

In the equation 𝑓(𝑥)=𝑚𝑥+𝑏

Formula for Slope

Formula: m = (y₂ - y₁) / (x₂ - x₁)

Q: Do all linear functions have y-intercepts?

HOW TO: Given the equation for a linear function, graph the function using the y-intercept and slope.

  1. Evaluate the function at 𝑥=0 to find the y-intercept.
  2. Identify the slope as the rate of change of the input value.
  3. Plot the point represented by the y-intercept.
  4. Use rise/run to determine at least two more points on the line.
  5. Sketch the line that passes through the points.

Practice: Graph 𝑓(𝑥)=−23𝑥+5 using the y-intercept and slope. Then find a point on the graph that has a negative x-value.

graph2

Graphing a Function Using Transformations

Vertical Stretch or Compression

vertical stretch

Vertical Shift

vertical shift

HOW TO: Given the equation of a linear function, use transformations to graph the linear function in the form 𝑓(𝑥)=𝑚𝑥+𝑏.

  1. Graph 𝑓(𝑥)=𝑥.
  2. Vertically stretch or compress the graph by a factor 𝑚.
  3. Shift the graph up or down 𝑏 units.

graph 3

Writing the Equation for a Function from the Graph of a Line

HOW TO: Given a graph of linear function, find the equation to describe the function.

  1. Identify the y-intercept of an equation.
  2. Choose two points to determine the slope.
  3. Substitute the y-intercept and slope into the slope-intercept form of a line.

Finding the x-intercept of a Line

Practice: Find the x-intercept of 𝑓(𝑥)=1/4𝑥−4.

solution 1

Describing Horizontal and Vertical Lines

Determining Whether Lines are Parallel or Perpendicular

Writing the Equation of a Line Parallel or Perpendicular to a Given Line

If we know the equation of a line, we can use what we know about slope to write the equation of a line that is either parallel or perpendicular to the given line.

Point-Slope Form emphasizes the relationship between a specific point on the line and its slope. It states that for any line passing through the point (x_1,y_1) with slope m, the equation can be written as: y - y_1 = m(x - x_1)

Slope-Intercept Form is more commonly used and highlights the slope and y-intercept of the line. It states that for any line with slope m and y-intercept b, the equation can be written as: y = mx + b

Choosing the Right Form:

Writing Equations of Parallel Lines

HOW TO: Given the equation of a function and a point through which its graph passes, write the equation of a line parallel to the given line that passes through the given point.

  1. Find the slope of the function.
  2. Substitute the given values into either the general point-slope equation or the slope-intercept equation for a line.
  3. Simplify.
Writing Equations of Perpendicular Lines

We can use a very similar process to write the equation for a line perpendicular to a given line. Instead of using the same slope, however, we use the negative reciprocal of the given slope. As before, we can narrow down our choices for a particular perpendicular line if we know that it passes through a given point.

Q: A horizontal line has a slope of zero and a vertical line has an undefined slope. These two lines are perpendicular, but the product of their slopes is not –1. Doesn’t this fact contradict the definition of perpendicular lines?

HOW TO: Given the equation of a function and a point through which its graph passes, write the equation of a line perpendicular to the given line.

  1. Find the slope of the function.
  2. Determine the negative reciprocal of the slope.
  3. Substitute the new slope and the values for 𝑥 and 𝑦 from the coordinate pair provided into 𝑔(𝑥)=𝑚𝑥+𝑏.
  4. Solve for 𝑏.
  5. Write the equation for the line.

Practice: Given the function ℎ(𝑥)=2𝑥−4, write an equation for the line passing through (0,0) that is:

solution 2

HOW TO: Given two points on a line and a third point, write the equation of the perpendicular line that passes through the point.

  1. Determine the slope of the line passing through the points.
  2. Find the negative reciprocal of the slope.
  3. Use the slope-intercept form or point-slope form to write the equation by substituting the known values.
  4. Simplify.

Practice: A line passes through the points, (−2,−15)and (2,−3). Find the equation of a perpendicular line that passes through the point, (6,4).

solution 3

Solving a System of Linear Equations Using a Graph

Q: If we were asked to find the point of intersection of two distinct parallel lines, should something in the solution process alert us to the fact that there are no solutions?

Identity toolkit function is a basic function that always returns its input value as its output. It’s often denoted as f(x) = x.

Practice: Look at the graph below and identify the following for the function 𝑗(𝑡):

system of linear equations graph

Solving Systems of Linears

Introduction to Systems of Equations

TYPES OF LINEAR SYSTEMS

HOW TO: Given a system of linear equations and an ordered pair, determine whether the ordered pair is a solution.

  1. Substitute the ordered pair into each equation in the system.
  2. Determine whether true statements result from the substitution in both equations; if so, the ordered pair is a solution.

Practice: Determine whether the ordered pair (8,5) is a solution to the following system.

solution 4

Solving Systems of Equations by Graphing

Practice: Solve the following system of equations by graphing.

graph 4

Solving Systems of Equations by Substitution

HOW TO: Given a system of two equations in two variables, solve using the substitution method.

  1. Solve one of the two equations for one of the variables in terms of the other.
  2. Substitute the expression for this variable into the second equation, then solve for the remaining variable.
  3. Substitute that solution into either of the original equations to find the value of the first variable. If possible, write the solution as an ordered pair.
  4. Check the solution in both equations.

Practice: Solve the following system of equations by substitution.

solution 5

Solving Systems of Equations in Two Variables by the Addition Method

HOW TO: Given a system of equations, solve using the addition method.

  1. Write both equations with x- and y-variables on the left side of the equal sign and constants on the right.
  2. Write one equation above the other, lining up corresponding variables.
    • If one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, add the equations together, eliminating one variable.
    • If not, use multiplication by a nonzero number so that one of the variables in the top equation has the opposite coefficient of the same variable in the bottom equation, then add the equations to eliminate the variable.
  3. Solve the resulting equation for the remaining variable.
  4. Substitute that value into one of the original equations and solve for the second variable.
  5. Check the solution by substituting the values into the other equation.

Identifying Inconsistent Systems of Equations Containing Two Variables

Expressing the Solution of a System of Dependent Equations Containing Two Variables

Using Systems of Equations to Investigate Profits

Piece-Wise Functions

Finding the Domain of a Function Defined by an Equation

Using Notations to Specify Domain and Range

SET-BUILDER NOTATION AND INTERVAL NOTATION

Finding Domain and Range from Graphs

Finding Domains and Ranges of the Toolkit Functions

Graphing Piecewise-Defined Functions

Questions

  1. How do you pronounce f(x)?

    In a formal academic setting:

    • “eff of x”: This is the most formal and precise way to pronounce it, clearly separating the function name (“f”) from the variable (“x”).
    • “function f of x”: This explicitly highlights the role of “f” as a function applied to the variable “x”.

Resources