Linear Equations and Inequalities

This lesson introduces the fundamentals of linear equations and inequalities, crucial building blocks for data science. You'll learn how to solve them, understand their graphical representations, and begin to see their relevance in real-world data scenarios.

Learning Objectives

  • Solve linear equations with one variable using algebraic manipulation.
  • Solve linear inequalities with one variable.
  • Plot linear equations on a coordinate plane.
  • Understand the relationship between algebraic solutions and graphical representations.

Text-to-Speech

Listen to the lesson content

Lesson Content

Solving Linear Equations (One Variable)

A linear equation with one variable is an equation that can be written in the form ax + b = c, where a, b, and c are constants, and x is the variable. The goal is to isolate x on one side of the equation. We do this by performing the same operations on both sides to maintain the equality.

Example 1: Solve for x: 2x + 3 = 7

  1. Subtract 3 from both sides: 2x = 4
  2. Divide both sides by 2: x = 2

Example 2: Solve for x: 5x - 8 = 2x + 4

  1. Subtract 2x from both sides: 3x - 8 = 4
  2. Add 8 to both sides: 3x = 12
  3. Divide both sides by 3: x = 4

Solving Linear Inequalities (One Variable)

Linear inequalities are similar to linear equations, but instead of an equals sign (=), they use inequality symbols: < (less than), > (greater than), ≤ (less than or equal to), and ≥ (greater than or equal to). The rules for solving inequalities are mostly the same as for equations, with one crucial difference: If you multiply or divide both sides of an inequality by a negative number, you MUST reverse the direction of the inequality sign.

Example 1: Solve for x: x + 5 < 9

  1. Subtract 5 from both sides: x < 4

Example 2: Solve for x: -3x ≥ 12

  1. Divide both sides by -3. Remember to reverse the inequality sign! x ≤ -4

Plotting Linear Equations on a Coordinate Plane

The coordinate plane, also known as the Cartesian plane, is formed by two perpendicular lines: the x-axis (horizontal) and the y-axis (vertical). A linear equation, when graphed, produces a straight line. The equation of a straight line can often be written in slope-intercept form: y = mx + b, where m is the slope and b is the y-intercept (the point where the line crosses the y-axis).

Example: Plot the equation y = 2x + 1

  1. Identify the y-intercept: b = 1. This means the line crosses the y-axis at (0, 1).
  2. Identify the slope: m = 2. The slope represents the rise (change in y) over the run (change in x). A slope of 2 means for every 1 unit you move to the right, you move 2 units up.
  3. Plot the y-intercept (0, 1).
  4. Use the slope to find another point. From (0, 1), move 1 unit to the right and 2 units up. This gives you the point (1, 3).
  5. Draw a straight line through these two points. You can also plot more points using the slope. For example going backwards from (0,1) with negative slopes: move 1 unit to the left and 2 units down resulting in the point (-1, -1).

Online Tools: Websites like Desmos (https://www.desmos.com/calculator) allow you to easily plot linear equations.

Progress
0%