College Algebra MATH 1111 1 Unit 1 – Functions and Linear Functions o Sets o Linear Equations in One Variable o Linear Inequalities in One Variable o Linear Equations in Two Variables o Linear Systems o Relations vs Functions 2 Sets 3 What is a set? Definition: A set is a collection of objects whose contents can be clearly determined. β¦ Objects in the set are referred to as elements. β¦ Sets must be well-defined. That is, it’s contents can be clearly determined. Sets may be represented in different ways. β¦ Word description: ‘Set π is the set of whole numbers greater than 0 and less than or equal to 9.’ β¦ Roster method: π = {1, 2, 3, 4, 5, 6, 7, 8, 9} β¦ Set Builder Notation: π = π₯ π₯ is an integer greater than 0 and less than or equal to 9} 4 The Universal Set Definition: The universal set is a general set that contains all the elements under discussion. Example: The students in class right now. Example: {0,1,2,3,4,5,6,7,8,9} 5 Subsets Example: Let π΄ = {1, 3, 5, 7} and π΅ = {1, 3, 5, 7, 9, 11 } Then Set π΄ is a subset of Set π΅. Thinking back to the example on the last slide, if we let our universal set be the students in class right now, one subset would be the students in class right now currently wearing glasses. 6 The Empty Set Examples: 1. Set of all numbers less than 4 and greater than 10 2. {x | x is a person taller than 12 feet} 7 Operations on Sets - Complement The complement of a set can also be symbolized as π΄πΆ or π΄. 8 Example - Complement If the universal set is U = {x|x is a positive integer less than 12} and π = {2, 3, 5, 6, 7, 9}, what is Nο’? If the universal set is π = a,e,i,o,u and π = {a,o,u}, what is π′? 9 Operations on Sets - Intersection 10 Example - Intersection If π = {1, 2, 3, 4, 5, 6, 7, 8, 9} and π = {0, 2, 4, 6, 8, 10}, what is π ∩ π? What is π ∩ ∅? 11 Operations on Sets - Union 12 Example – Union If π = {1, 2, 3, 4, 5, 6, 7, 8, 9} and π = {0, 2, 4, 6, 8, 10}, what is π ∪ π? What is π ∪ ∅? 13 Example – Set Operations If π = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}, π = {1, 2, 3, 4, 5, 6, 7, 8, 9}, π = {0, 2, 4, 6, 8, 10}, and π = {1, 2} What is π ∪ π ′ ? What is π ′ ∩ π′ ? What is π ∪ ∅? What is π ∩ π ∪ π? 14 Interval Notation Inequality Set-Builder Graph Interval 1≤π₯≤3 −4 < π₯ < 0 π₯>5 π₯≤1 π₯ < 1 or π₯ ≥ 5 2 < π₯ ≤ 3 or π₯ > 10 All real numbers 15 Example – Graphing and Interval Graph the set π = π₯ π₯ < 2 or π₯ ≥ 7 and write it in interval notation. Graph the set π = π₯ π₯ > −3 and π₯ ≤ 2} and write it in interval notation. 16 Example - Union of Intervals Given the two sets, find the union and graph it: π΄ = (−2, 6] and π΅ = (3, 11] π΄∪π΅ = 17 Example - Intersection of Intervals Given the two sets, find the intersection and graph it: π΄ = (−2, 6] and π΅ = (3, 11] π΄∩π΅ = 18 Example - Intersection of Intervals (disjoint) Given the two sets, find the intersection and graph it: π΄ = (−∞, 6] and π΅ = (11, ∞) π΄∩π΅ = 19 Example - Intersection of Intervals (disjoint) Given the two sets, find the intersection and graph it: π΄ = −∞, 6 ∪ 12, ∞ and π΅ = (−2,23) π΄∩π΅ = 20 Linear Equations – Single Variable 21 Solving Linear Equations Solving an equation means finding the value(s) that make the equation true when evaluating with that value. To find this value, we must use algebra rules to isolate the variable on one side of the equation. Examples: Solve for π₯. 2π₯ − 7 = 1 5π₯ + 3 = 6 − 2π₯ 22 Example - Solving Linear Equations Solve for π₯. 2 π₯ + 3 − 4 π₯ − 5 = 8 − 5π₯ 5 5π₯ − 5 − 8 = 6 6π₯ − 2 − 3 23 Example - Solving Linear Equations Solve for π₯: 0.15 π₯ + 3 − 0.07 π₯ − 60 = 7.9 24 Example – Different Cases Solve for π₯. 12π₯ − 3 π₯ + 4 = 9π₯ − 2 12π₯ − 3 π₯ + 4 = 9π₯ − 12 25 Types of Solutions There are three cases we can see when solving linear equations: o One solution – Conditional o No solutions – Inconsistent Equation/Contradiction o Infinite number of solutions – Identity 26 Linear Applications The following equation: π΄ = 8π‘ + 45 gives the total amount of money, π΄ (in dollars), Timmy has π‘ weeks after his birthday. When will Timmy have $149? 27 Linear Applications Solve: 5 less than 3 times a number is 19. What is the number? 28 Linear Applications Maggie is 8 years younger than Bart. In 9 years the sum of their ages will be 28. How old is Maggie now? 29 Linear Applications A triangular field is constructed so that one side is twice the length of the shortest side and the third side is 1 ½ times the length of the shortest side. If the perimeter of the field is 720 feet, what are the lengths of the three sides of the field? a. If π₯ is the length of the shortest side, write an equation you can use to solve this application. b. Solve the equation from part a β¦ The shortest side is: β¦ The second longest sides is: β¦ The longest side is: 30 Linear Applications After a 30% reduction, you purchase a mountain bike for $196. What was the price of the bike before the reduction? a. Using π₯ for the variable, write an equation you can use to solve this application. b. Solve the equation from part a. 31 Linear Inequalities 32 Solving Linear Inequalities Solving an inequality means finding the set of values that make the inequality true when evaluating with that value. To find this value, we must use algebra rules to isolate the variable on one side of the inequality. A very important difference between linear equations and linear inequalities is that when we multiply or divide both sides of an inequality by a negative number, we must flip the inequality sign. You will need to write the solution set using one or more of the following methods: o Write the solution set as an inequality o Write the solution set as an interval o Graph the solution set 33 Examples - Linear Inequalities Solve for π₯. Write the solution set as an inequality, graph the solution set, and write the solution set as an interval. 2π₯ − 7 > 1 − 5π₯ + 3 ≤ 6 − 2π₯ 34 Example - Linear Inequalities Solve for π₯. Write the solution set as an inequality, graph the solution set, and write the solution set as an interval. 30 − 6π₯ < −3(5 + 7π₯) 6 π₯ − 4 + 7 ≤ −5 35 Example - Compound Inequalities Compound inequalities can be solved by separating both sides of the inequality, or by solving both inequalities simultaneously. 1 < 3π₯ + 7 ≤ 22 1 ≤ −2π₯ + 3 < 15 2π₯ + 6 ≤ π₯ + 6 < 3π₯ + 12 36 Application – Single Inequality A local salesman receives a base salary of $1500 a month. He also receives a commission of 8% on all sales over $500. His goal is to have a monthly income of at least $2500. a) Write an inequality you can use to solve for how much the salesman will have to sell each month to reach his goal. b) Use your inequality from part (a) to find the minimum amount the salesman would have to sell each month to reach his goal. 37 Application – Single Inequality Harry has received scores of 72 and 78 on his first two 100 point tests. What score must he get on his third 100 point test to have an average of 80 or greater? 38 Linear Equations – Two Variables 39 Graphing on the Plane Graphing points involves finding the intersection where the π₯- and π¦- coordinates meet. Points are given as ordered pairs π₯, π¦ . The plane has two axes, an π₯-axis and a π¦-axis. The π₯axis is horizontal while the π¦-axis is vertical. Where the two axes meet is called the origin and it has coordinates (0,0). 40 Example – Graphing Points Plot the following points on the graph: β¦ (3, 5) β¦ (-2, -1) β¦ (6, 0) β¦ (-4, 5) β¦ (1, -3) β¦ (0, 2) 41 Graphing Linear Functions Graphs of linear functions are straight lines. 42 Slope The slope of a function can be considered the average rate of change between two points. For linear functions, the slope is always the same and can be calculated with the following formula. π= change in output = change in input βπ¦ βπ₯ = π¦2 −π¦1 π₯2 −π₯1 rise = run , π₯1 , π¦1 and π₯2 , π¦2 are two points on the line. Example: Find the slope of the line. 43 Example – Slope Find the slope of the line that passes through the points: (3,6) and (4,8). Find the slope of the line that passes through the points: (−3, −7) and (−9,1). 44 Example – Slope Find the slope of the line that passes through the points: (−3,5) and (−3,8). Find the slope of the line that passes through the points: (3,5) and (8,5). 45 Comparing Slopes https://www.desmos.com/calculator/ewukrupt9w?tour=sliders 46 Slope as an Average Rate of Change What is the average rate of change in a child’s height between ages 2 and 6? What is the average rate of change of a child’s height between ages 13 and 16? 47 Application – Slope The population of a town has declined. In 1990 it was 60,000. In 2000, it was 58,000. What is the rate of change of the population? 48 Writing Linear Equations Linear Equations are typically written in slope-intercept form. Slope-Intercept Form: π = ππ + π The slope is π and the π¦-intercept is π. In applications, the π¦-intercept is the initial value. Point-Slope Form: π − ππ = π π − ππ 49 VUX HOY 50 Example – Find the Slope Find the slope of the following lines. π₯ + 3π¦ = 33 −6π₯ − 4π¦ = 25 π¦=2 π₯ = −1 51 Examples – Equation of a Line Find the equation of the line with a slope of −3 that contains the point (0, 5). 1 2 Find the equation of the line with a slope of that contains the point (2, -3). 52 Examples – Equations of Lines Find the equation of the line that passes through the points: (−3,5) and (−3,8). Find the equation of the line that passes through the points: (3,5) and (8,5). 53 Example – Equation of a Line Find the equation of the line that goes through the points (4, -8) and (36, -32). 54 Application - Initial Value, Rate of Change A phone salesperson is paid a salary with commission on every phone sold. The pay in dollars, π, is determined by the formula: π(π₯) = 15π₯ + 330 where π₯ represents the number of phones sold. o What is the initial value? o What does the initial value mean in the context of the problem? o What is the rate of change? o What does the rate of change mean in the context of the problem? 55 Application – Rate of Change At 8:00 AM, the temperature was 64β. At 4:00 PM, the temperature was 86β. What was the average rate of change of temperature between 8:00 AM and 4:00 PM? 56 Graphing Lines There are three ways to graph a line. o Table of Values o Slope-Intercept Form o π₯ − and π¦ − Intercepts 57 Graphing from a Table of Values π₯ + π¦ = 10 Pick a value for π₯ and substitute into the equation to get π¦: π₯ π¦ Each point is a solution to the equation 58 Graphing Using Slope and the π¦-Intercept 1 π¦ =− π₯+3 2 59 Graphing Using the π₯ − and π¦ − Intercepts 2π₯ + 3π¦ = 6 The π¦-intercept is where the graph crosses the π¦ axis so π₯ = 0. The π₯-intercept is where the graph crosses the π₯ axis so π¦ = 0. 60 Horizontal Lines Graph the function π¦ = 3 61 Vertical Lines Graph the function π₯ = −2 62 Horizontal and Vertical Lines Find the equation of the horizontal line that goes through the point (3, −4). Find the equation of the vertical line that goes through the point (3, −4). 63 Intercepts of Horizontal and Vertical Lines Find the π₯- and π¦- intercepts of each of the following equations. π₯=4 π¦ = −2 64 Parallel and Perpendicular Lines Parallel lines have the same slope. (π1 = π2 ) The slopes of perpendicular lines are opposite reciprocals. (π1 = − 1 ) π2 65 Parallel vs Perpendicular 66 Parallel and Perpendicular Lines Example: Determine if the following pairs of lines are parallel, perpendicular or neither. 6π₯ + π¦ = 7 and 6π₯ − 36π¦ = 14 3 2 2π₯ + 4π¦ = 2 and 3π¦ = − π₯ − 6 67 Examples – Parallel and Perpendicular 3 Find the equation of the line parallel to π¦ = − π₯ − 6 and through the point 5 (5, 4). Find the equation of the line perpendicular to 2π₯ + 4π¦ = 2 and through the point (3, 4). 68 Application – Writing Linear Equations Last year, Pinwheel Industries introduced a new toy. It cost $5500 to develop the toy and $40 to manufacture each toy. 1. Give a linear equation in the form πΆ = ππ + π that gives the total cost, πΆ, to produce π of these toys. 2. What is the total cost to produce π = 2600 of these toys? 3. How many toys can be produced with $189500? 69 Application – Solving Linear Equations A College Algebra student has test scores of 78, 82, 62, and 91, each out of 100 points. The final exam is out of 200 points. What is the lowest grade the student can get on the final to earn a B (average score of 80) in the course? 70 Application – Finding and Using Equations An athlete begins normal practice for the next marathon during the evening. He begins running at 6:00 pm. He finishes his run at 7:30 pm and has run 7.5 miles. • Write an equation representing the distance, π, the runner has run over time, π‘, in hours since 6:00 pm. • What was his average speed over the course of the run? • How many miles did he run in the first 45 minutes? • If he kept running at the same pace for a total of 4 hours, how many miles will he have run? 71 Linear Systems 72 Systems of Equations A system of equations is two or more equations with two or more variables. Solving a system of equations requires solving for all the variables simultaneously. The solution to the system must satisfy every equation in the system. 73 Solving a System of Equations There are 4 methods that can be used to solve a system of equations: 1. Graphing 2. Substitution 3. Elimination (Addition) 4. Matrices (We won’t look at these in this class) 74 Solving a System by Graphing When graphing a system of linear equations, the point at which they intersect is the solution. Example: Solve by graphing. −5π₯ − 4π¦ = 2 4π₯ + π¦ = 5 75 Solving by Substitution To solve with the substitution method, first solve one of the equations for one of the variables. Then substitute the new expression for that variable into the second equation and solve. Once you have the value for one variable, substitute that value into either of the original equations to find the value for the second variable. Example: −5π₯ − 4π¦ = 2 4π₯ + π¦ = 5 76 Solving by Elimination/Addition −5π₯ − 4π¦ = 2 4π₯ + π¦ = 5 77 Example – Solving Linear Systems 2π₯ − 3π¦ = 4 6π₯ − 9π¦ = 36 78 Example – Solving Linear Systems Solve: 2π₯ − 3π¦ = 4 6π₯ − 9π¦ = 12 79 Types of Solutions 80 Applications Involving Systems of Equations Many applications involving systems of equations are ‘mixture’ problems. To solve a mixture problem, write two equations: 1. Quantity Equation 2. Value Equation It can be helpful to draw a table or chart. 81 Application – Coins Example: Sue has a combination of nickels and dimes. The total number of coins is 25 and they total $1.50. How many of each does she have? 82 Application – Tickets A movie theater charges $9.00 for adults and $7.00 for senior citizens. On a day when 325 people paid for admission, the total receipts were $2495. How many adults and how many seniors were there? 83 Application – Break-Even Point The cost to manufacture a pair of jeans is π¦ = 29π₯ + 1000. The revenue equation is π¦ = 49π₯. What is the break-even point? 84 Application – Age Sam is 7 years older than Dean. In 12 years, the sum of their ages will be 51. How old are they now? 85 Application – Mixing Nuts A store sells cashews for $6 per pound and pecans for $2 per pound. How many pounds of each should be mixed to have 25 pounds of a mixture that would sell for $3.00 per lb? 86 Application – Interest Connor has $200,000 to invest. A money market fund pays 6% and a mutual fund pays 8%. How much should he invest in each account to get an annual return of $15,000? 87 Application – Solutions How much of each of a 25% alcohol solution and a 35% alcohol solution must be combined to get 20 liters of a 32% alcohol solution? 88 Motion problems When solving motion problems, the “dirt” formula is needed: distance = rate x time π = ππ‘ 89 Application – Motion With the wind, an airplane travels 1120 miles in seven hours. Against the wind, it takes eight hours. Find the rate of the plane in still air and the velocity of the wind. 90 Relations vs Functions 91 What is a Relation? A relation is a correspondence between two sets. One set is all the possible inputs to a relation and the second set is all the possible outputs of the relation. Example: 92 Domain and Range Domain Range 93 Function Definition A relation is a function only if every element in the domain corresponds to only one element in the range. Are these functions? 94 Function Representations o Sets of ordered pairs: {(1,1), (2,4), (3,9)} o Algebraically: π π₯ = π₯ 2 o Table of Values: o Graphically: x -2 -1 0 1 2 y 4 1 0 1 4 95 Example – Domain, Range, Function (table) State the Domain and Range. x 1 2 3 4 5 y 1 4 9 16 25 Domain: Range: Is y a function of x? 96 Example – Domain, Range, Function (table) State the Domain and Range. x 1 2 3 -2 -1 y 1 4 9 4 1 Domain: Range: Is y a function of x? 97 Example – Domain, Range, Function (table) State the Domain and Range. x 1 2 3 -2 1 y 1 4 9 4 2 Domain: Range: Is y a function of x? 98 Example – Domain, Range, Function (graph) What is the domain and range? Domain: Range: 99 Vertical Line Test The Vertical Line Test is a tool to test whether or not a graph represents a function. If ANY vertical line would intersect the graph in more than one place, the graph does not represent a function. If NO vertical line intersects the graph in more than one place, the graph represents a function. 100 Example – Domain, Range, Function (graph) Is this a function? 101 Example – Domain, Range, Function (graph) What is the domain and range? Domain: Range: Is this a function? 102 Example – Domain, Range, Function (graph) What is the domain and range? Domain: Range: Is this a function? 103 Example – Function (graph) Domain: Range: Is this a function? 104 Example – Function (graph) Domain: Range: Is this a function? 105 Evaluate a Function – Graphically What is π(−1)? What is π(1)? What is π₯ when π(π₯) = 0? 106 Evaluate a Function – Algebraically The value of a function is the output of the function. Outputs are typically π¦ values when we graph functions. The function representation for the output , or π¦, is π(π₯). Example: If π(π₯) = π₯2 – 1 What is π(3)? What is π(−2)? What is π₯ when π(π₯) = 8? 107 Graphing with Transformations (vertical shift) If you know the graph of a function, it can be easy to graph a similar function using transformations. Adding to a function moves the graph up. π(π₯) = 2π₯ + 2 π π₯ + 3 = 2π₯ + 2 + 3 = 2π₯ + 5 π(π₯) = 2π₯ + 2 π π₯ + 3 = 2π₯ + 5 This is the same graph, just up 3 from the original. 108 Graphing with Transformations (vertical shift) If you know the graph of a function, it can be easy to graph a similar function using transformations. Subtracting from a function moves the graph down. π(π₯) = 2π₯ + 2 π π₯ − 1 = 2π₯ + 2 − 1 = 2π₯ + 1 π π₯ − 1 = 2π₯ + 1 This is the same graph, just down 1 from the original. π(π₯) = 2π₯ + 2 109 Graphing with Transformations (horizontal shift) If you know the graph of a function, it can be easy to graph a similar function using transformations. Adding to the π₯ in the function moves the graph to the left. π(π₯) = 2π₯ + 2 π(π₯ + 3) = 2(π₯ + 3) + 2 = 2π₯ + 6 + 2 = 2π₯ + 8 π π₯ + 3 = 2π₯ + 8 π(π₯) = 2π₯ + 2 This is the same graph, just moved 3 to the left. 110 Graphing with Transformations (horizontal shift) If you know the graph of a function, it can be easy to graph a similar function using transformations. Subtracting from the π₯ in a function moves the graph to the right. π π₯ − 4 = 2π₯ − 6 π π₯ = 2π₯ + 2 π π₯−4 =2 π₯−4 +2 π(π₯) = 2π₯ + 2 = 2π₯ − 8 + 2 = 2π₯ − 6 This is the same graph, just moved 4 to the right. 111 Graphing with Transformations (reflection) If you know the graph of a function, it can be easy to graph a similar function using transformations. Changing the sign of the function creates a reflection, or mirror image, of the graph across the π₯axis. π π₯ = π₯ 3 + π₯ 2 − 2π₯ + 1 −π π₯ = − π₯ 3 + π₯ 2 − 2π₯ + 1 = −π₯ 3 − π₯ 2 + 2π₯ − 1 112 Graphing with Transformations (reflection) If you know the graph of a function, it can be easy to graph a similar function using transformations. Changing the sign of the π₯ in the function creates a reflection, or mirror image, of the graph across the π¦-axis. π −π₯ = −π₯ 3 + −π₯ 2 − 2 −π₯ + 1 π π₯ = π₯ 3 + π₯ 2 − 2π₯ + 1 = −π₯ 3 + π₯ 2 + 2π₯ − 1 113 Example - Graphing with Transformations Given the function π π₯ = π₯ 4 , find the function that is the result of an downward shift of 3, a shift left of 6, and a reflection about the π₯-axis. 114 Example - Graphing with Transformations The function π = π π§ = − π§ − 2 + 3 is obtained from a linear transformation of π‘ π§ = π§. Determine the transformations imposed on π‘ to get the graph of π. 115 Increasing, Decreasing, Constant If a graph is increasing, then it goes up as you move from left to right. If a graph is decreasing, then it goes down as you move from left to right. 116 Increasing, Decreasing, Constant (cont’d) If a graph is constant, then it doesn’t increase or decrease as you move from left to right. 117 Example - Increasing, Decreasing When asked for the interval, look for the π₯ values. The function is increasing on the interval: The function is decreasing on the interval: 118 Example - Increasing, Decreasing The function is increasing on the interval: The function is decreasing on the interval: The function is constant on the interval: 119 Absolute Extrema The absolute maximum is the highest point on the graph. The absolute minimum is the lowest point on the graph. The extrema might not be at the end points. Absolute max: Absolute min: 120 Relative Extrema A relative maximum is a point on the graph that is higher than the points around it. The relative minimum is a point on the graph that is lower than the points around it. This function has a relative maximum of _____ at π₯ = _____ This function has a relative minimum of _____ at π₯ = _____ 121 Example - Application A truck rental company rents a moving truck for one day by charging $39 and $0.60 per mile. 1. Write a linear equation that relates the cost C, in dollars, of renting the truck to the number x of miles driven. 2. What is the cost of renting the truck if the truck is driven 110 miles? 3. How far could the truck be driven if the cost must be less than $150? 122 Example - Application A company is producing very large stuffed animals. The variable cost is $7 per stuffed animal and the fixed costs are $25,000. They will sell the stuffed animals for $76 each. Let π₯ be the number of stuffed animals produced. a) Write the total cost πΆ as a function of the number of stuffed animals produced. b) Write the total revenue π as a function of the number of stuffed animals produced. c) Write the total profit π as a function of the number of stuffed animals produced. d) Find the number of stuffed animals which must be produced to break even. 123