Given the algebraic equation of a line, we can graph it in a number of ways. In this section, we will be given a geometric description of a line and find the algebraic equation. Finding the equation of a line can be accomplished in a number of ways. The following example makes use of slope-intercept form, , or using function notation, If we can determine the slope, m, and the y-intercept, (0, b), we can then construct the equation.
Find the equation of the line passing through and
Solution:
We begin by finding the slope. Given two points, we can find the slope using the slope formula.
Here and we have
To find b, substitute either one of the given points through which the line passes. Here we will use , but would work just as well:
Therefore, the equation of the line passing through the two given points is:
Answer:
Next, we outline an alternative method for finding equations of lines. Begin by applying the slope formula with a given point and a variable point
Therefore, the equation of a nonvertical line can be written in point-slope formAny nonvertical line can be written in the form , where m is the slope and is any point on the line.:
Point-slope form is particularly useful for finding the equation of a line given the slope and any ordered pair solution. After finding the slope, in the previous example, we could use this form to find the equation.
Substitute as follows.
Notice that we obtain the same linear function
Note: Sometimes a variable is not expressed explicitly in terms of another; however, it is still assumed that one variable is dependent on the other. For example, the equation implicitly represents the function You should become comfortable with working with functions in either form.
Find the equation of the following linear function:
Solution:
From the graph we can determine two points (−1, −2) and (4, 1). Use these points to read the slope from the graph. The rise is 3 units and the run is 5 units.
Therefore, we have the slope and a point. (It does not matter which of the given points we use, the result will be the same.)
Use point-slope form to determine the equation of the line.
Answer:
Recall that parallel linesLines in the same plane that do not intersect; their slopes are the same. are lines in the same plane that never intersect. Two non-vertical lines in the same plane with slopes and are parallel if their slopes are the same,
Find the equation of the line passing through and parallel to
Solution:
To find the slope of the given line, solve for y.
Here the given line has slope and thus the slope of a parallel line The notation reads “m parallel.” Since we are given a point and we now have the slope, we will choose to use point-slope form of a line to determine the equation.
Answer:
It is important to have a geometric understanding of this question. We were asked to find the equation of a line parallel to another line passing through a certain point.
Through the point we found a parallel line,, shown as a dashed line. Notice that the slope is the same as the given line, , but the y-intercept is different.
Recall that perpendicular linesLines in the same plane that intersect at right angles; their slopes are opposite reciprocals. are lines in the same plane that intersect at right angles (90 degrees). Two nonvertical lines, in the same plane with slopes and , are perpendicular if the product of their slopes is −1, We can solve for and obtain In this form, we see that perpendicular lines have slopes that are negative reciprocalsUsed when referring to opposite reciproacals., or opposite reciprocalsTwo real numbers whose product is −1. Given a real number , the opposite reciprocal is . In general, given real numbers a and b,
The mathematical notation reads “m perpendicular”. For example, the opposite reciprocal of is We can verify that two slopes produce perpendicular lines if their product is −1.
Find the equation of the line passing through and perpendicular to
Solution:
To find the slope of the given line, solve for y.
The given line has slope , and thus, Substitute this slope and the given point into point-slope form.
Answer:
Geometrically, we see that the line , shown as a dashed line in the graph, passes through and is perpendicular to the given line
Try this! Find the equation of the line passing through and perpendicular to
Answer:
Data can be used to construct functions that model real-world applications. Once an equation that fits given data is determined, we can use the equation to make certain predictions; this is called mathematical modelingUsing data to find mathematical equations that describe, or model, real-world applications..
The cost of a daily truck rental is $48.00, plus an additional $0.45 for every mile driven. Write a function that gives the cost of the daily truck rental and use it to determine the total cost of renting the truck for a day and driving it 60 miles.
Solution:
The total cost of the truck rental depends on the number of miles driven. If we let x represent the number of miles driven, then 0.45x represents the variable cost of renting the truck. Use this and the fixed cost, $48.00, to write a function that models the total cost,
Use this function to calculate the cost of the rental when miles.
Answer: The total cost of renting the truck for the day and driving it 60 miles would be $75.
We can use the model to answer many more questions. For example, how many miles can be driven to keep the cost of the rental at most $66? To answer this question, set up an inequality that expresses the cost less than or equal to $66.
Solve for x to determine the number of miles that can be driven.
To limit the rental cost to $66, the truck can be driven 40 miles or less.
A company purchased a new piece of equipment for $12,000. Four years later it was valued at $9,000 dollars. Use this data to construct a linear function that models the value of the piece of equipment over time.
Solution:
The value of the item depends on the number of years after it was purchased. Therefore, the age of the piece of equipment is the independent variable. Use ordered pairs where the x-values represent the age and the y-values represent the corresponding value.
From the problem, we can determine two ordered pairs. Purchased new (age = 0), the item cost $12,000, and 4 years later the item was valued at $9,000. Therefore, we can write the following two ordered pairs:
Use these two ordered pairs to construct a linear model. Begin by finding the slope m.
Here we have m = −750. The ordered pair (0, 12,000) gives the y-intercept; therefore, b = 12,000.
Lastly, write this model as a function which gives the value of the piece of equipment over time. Choose the function name V, for value, and the variable t instead of x to represent time in years.
Answer:
The function called a linear depreciation modelA linear function used to describe the declining value of an item over time.. It uses a linear equation to expresses the declining value of an item over time. Using this function to determine the value of the item between the given data points is called interpolationUsing a linear function to estimate a value between given data points.. For example, we can use the function to determine the value of the item where ,
The function shows that the item was worth $10,500 two years after it was purchased. Using this model to predict the value outside the given data points is called extrapolationUsing a linear function to estimate values that extend beyond the given data points.. For example, we can use the function to determine the value of the item when :
The model predicts that the piece of equipment will be worth $4,500 ten years after it is purchased.
In a business application, revenue results from the sale of a number of items. For example, if an item can be sold for $150 and we let n represent the number of units sold, then we can form the following revenue functionA function that models income based on a number of units sold.:
Use this function to determine the revenue generated from selling units,
The function shows that the revenue generated from selling 100 items is $15,000. Typically, selling items does not represent the entire story. There are a number of costs associated with the generation of revenue. For example, if there is a one-time set up fee of $5,280 and each item cost $62 to produce, then we can form the following cost functionA function that models the cost of producing a number of units.:
Here n represents the number of items produced. Use this function to determine the cost associated with producing units:
The function shows that the cost associated with producing 100 items is $11,480. Profit is revenue less costs:
Therefore, the profit generated by producing and selling 100 items is $3,520. In general, given a revenue function and a cost function , we can form a profit functionA function that models the profit as revenue less cost. by subtracting as follows:
The cost in dollars of producing n items is given by the formula The revenue in dollars is given by , where n represents the number items sold. Write a function that gives the profit generated by producing and selling n items. Use the function to determine how many items must be produced and sold in order to earn a profit of at least $7,000.
Solution:
Obtain the profit function by subtracting the cost function from the revenue function.
Therefore, models the profit. To determine the number of items that must be produced and sold to profit at least $7,000, solve the following:
Round up because the number of units produced and sold must be an integer. To see this, calculate the profit where n is 139 and 140 units.
Answer: 140 or more items must be produced and sold in order to earn a profit of at least $7,000.
Sometimes the costs exceed the revenue, in which case, the profit will be negative. For example, use the profit function of the previous example, , to calculate the profit generated where This indicates that when 50 units are produced and sold the corresponding profit is a loss of $880.
It is often important to determine how many items must be produced and sold to break even. To break even means to neither have a gain nor a loss; in this case, the profit will be equal to zero. To determine the breakeven pointThe point at which profit is neither negative nor positive; profit is equal to zero., set the profit function equal to zero and solve:
Therefore, 60 items must be produced and sold to break even.
Try this! Custom t-shirts can be sold for $6.50 each. In addition to an initial set-up fee of $120, each t-shirt cost $3.50 to produce. a. Write a function that models the revenue and a function that models the cost. b. Determine a function that models the profit and use it to determine the profit from producing and selling 150 t-shirts. c. Calculate the number of t-shirts that must be sold to break even.
Answer: a. Revenue: ; cost: ; b. profit: ; $330 c. 40
Find the linear function f passing through the given points.
and
and
and
and
and
and
and
and
and
and
and
and
Find the equation of the given linear function.
Find the equation of the line:
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Parallel to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Perpendicular to and passing through
Give the equation of the line that coincides with the x-axis.
Give the equation of the line that coincides with the y-axis.
Given any line in standard form, , determine the slope of any perpendicular line.
Given any line in standard form, , determine the slope of any parallel line.
Use algebra to solve the following.
A company wishes to purchase pens stamped with the company logo. In addition to an initial set-up fee of $90, each pen cost $1.35 to produce. Write a function that gives the cost in terms of the number of pens produced. Use the function to determine the cost of producing 500 pens with the company logo stamped on it.
A rental car company charges a daily rate of $42.00 plus $0.51 per mile driven. Write a function that gives the cost of renting the car for a day in terms of the number of miles driven. Use the function to determine the cost of renting the car for a day and driving it 76 miles.
A certain cellular phone plan charges $16 per month and $0.15 per minute of usage. Write a function that gives the cost of the phone per month based on the number of minutes of usage. Use the function to determine the number of minutes of usage if the bill for the first month was $46.
A web-services company charges $2.50 a month plus $0.14 per gigabyte of storage on their system. Write a function that gives the cost of storage per month in terms of the number of gigabytes stored. How many gigabytes are stored if the bill for this month was $6.00?
Mary has been keeping track of her cellular phone bills for the last two months. The bill for the first month was $45.00 for 150 minutes of usage. The bill for the second month was $25.00 for 50 minutes of usage. Find a linear function that gives the total monthly bill based on the minutes of usage.
A company in its first year of business produced 1,200 brochures for a total cost of $5,050. The following year, the company produced 500 more brochures at a cost of $2,250. Use this information to find a linear function that gives the total cost of producing brochures from the number of brochures produced.
A Webmaster has noticed that the number of registered users has been steadily increasing since beginning an advertising campaign. Before starting to advertise, he had 2,200 registered users, and after 4 months of advertising he now has 5,480 registered users. Use this data to write a linear function that gives the total number of registered users, given the number of months after starting to advertise. Use the function to predict the number of users 8 months into the advertising campaign.
A corn farmer in California was able to produce 154 bushels of corn per acre 2 years after starting his operation. Currently, after 7 years of operation, he has increased his yield to 164 bushels per acre. Use this information to write a linear function that gives the total yield per acre based on the number of years of operation, and use it to predict the yield for next year.
A commercial van was purchased new for $22,500 and is expected to be worthless in 12 years. Use this information to write a linear depreciation function for the value of the van. Use the function to determine the value of the van after 8 years of use.
The average lifespan of an industrial welding robot is 10 years, after which it is considered to have no value. If an industrial welding robot was purchased new for $58,000, write a function that gives the value of the robot in terms of the number of years of operation. Use the function to value the robot after 3 years of operation.
A business purchased a piece of equipment new for $2,400. After 5 years of use the equipment is valued at $1,650. Find a linear function that gives the value of the equipment in terms of years of usage. Use the function to determine the number of years after which the piece of equipment will have no value.
A salesman earns a base salary of $2,400 a month plus a 5% commission on all sales. Write a function that gives the salesman’s monthly salary in terms of sales. Use the function to determine the monthly sales required to earn at least $3,600 a month.
When a certain professor was hired in 2005, the enrollment at a college was 8,500 students. Five years later, in 2010, the enrollment grew to 11,200 students. Determine a linear growth function that models the student population in years since 2005. Use the model to predict the year in which enrollment will exceed 13,000 students.
In 1980, the population of California was about 24 million people. Twenty years later, in the year 2000, the population was about 34 million. Use this data to construct a linear function to model the population growth in years since 1980. Use the function to predict the year in which the population will reach 40 million.
A classic car is purchased for $24,500 and is expected to increase in value each year by $672. Write a linear function that models the appreciation of the car in terms of the number of years after purchase. Use the function to predict the value of the car in 7 years.
A company reported first and second quarter sales of $52,000 and $64,500, respectively.
A particular search engine assigns a ranking to a webpage based on the number of links that direct users to the webpage. If no links are found, the webpage is assigned a ranking of 1. If 20 links are found directing users to the webpage, the search engine assigns a page ranking of 3.5. a. Find a linear function that gives the webpage ranking based on the number of links that direct users to it. b. How many links will be needed to obtain a page ranking of 5?
Online sales of a particular product are related to the number of clicks on its advertisement. It was found that 1,520 clicks in a month results in $2,748 of online sales, and that 1,840 clicks results in $2,956 of online sales. Write a linear function that models the online sales of the product based on the number of clicks on its advertisement. How many clicks would we need to expect $3,385 in monthly online sales from this particular product?
A bicycle manufacturing business can produce x bicycles at a cost, in dollars, given by the formula The company sells each bicycle at a wholesale price of $145. The revenue, in dollars, is given by , where x represents the number of bicycles sold. Write a function that gives profit in terms of the number of bicycles produced and sold. Use the function to determine the number of bicycles that need to be produced and sold to break even.
The cost, in dollars, of producing n custom lamps is given by the formula Each lamp can be sold online for $79. The revenue in dollars, is given by , where n represents the number of lamps sold. Write a function that gives the profit from producing and selling n custom lamps. Use the function to determine how many lamps must be produced and sold to earn at least $1,000 in profit.
A manufacturer can produce a board game at a cost of $12 per unit after an initial fixed retooling investment of $12,500. The games can be sold for $22 each to retailers.
A vending machine can be leased at a cost of $90 per month. The items used to stock the machine can be purchased for $0.50 each and sold for $1.25 each.
Research and discuss linear depreciation. In a linear depreciation model, what do the slope and y-intercept represent?
Write down your own steps for finding the equation of a line. Post your steps on the discussion board.
; $765
; 200 minutes
; 8,760 users
; $7,500
; 16 years
; 2013
; $29,204
; 40 bicycles
Answer may vary