Log In Start studying!

Select your language

Suggested languages for you:
Answers without the blur. Sign up and see all textbooks for free! Illustration


Precalculus Mathematics for Calculus
Found in: Page 690
Precalculus Mathematics for Calculus

Precalculus Mathematics for Calculus

Book edition 7th Edition
Author(s) James Stewart, Lothar Redlin, Saleem Watson
Pages 948 pages
ISBN 9781337067508

Answers without the blur.

Just sign up for free and you're in.


Short Answer

The Least Squares Line

The least squares line or regression line is the line that best fits a set of points in the plane. We studied this line in the Focus on Modeling that follows Chapter 1 (see page 139). By using calculus, it can be shown that the line that best fits the n data points x1,y1,x2,y2,,xn,yn is the line y=ax+b, where the coefficients a and b satisfy the following pair of linear equations. (The notation k=1nxk stands for the sum of all the x's. See Section 12.1 for a complete description of sigma notation.)


Use these equations to find the least squares line for the following data points.


Sketch the points and your line to confirm that the line fits these points well. If your calculator computes regression lines, see whether it gives you the same line as the formulas.

Hence the line of best fit for the given points (1,3),(2,5),(3,6),(5,6),(7,9) is y=0.84x+2.76

See the step by step solution

Step by Step Solution

Step 1. Given information

Given a set of points (1,3),(2,5),(3,6),(5,6),(7,9) and we have been given two equations which are as follows:


Step 2. Concept used

A line used to describe the behaviour of a set of data or in other words, it gives the best trend of the given data is known as a regression line.

Using these two equations we have to find the values of both the variables which will give us the equation of the line of the best fit. Also, we have to plot the line of the best fit.

Step 3. Calculation

Let the given points are: x1,y1 be (1,3),x2,y2 be (2,5),x3,y3 be (3,6),x4,y4 be (5,6),x5,y5 be (7,9)

The simplified for the given points are:


We are substituting the points in the equation (2)


So, the system of equations are:


Now graph 1 represents the graph of the above linear equation.

And from graph 1, we observe that both the equation intersect at 0.84,2.76

So, the solution of the system of equation is:


Since we all know the value of the variable a and b.

Thus the equation of the line of best fit is:


Now we will plot the given points and the line of best fit as mentioned in the question (represented by the graph 2 ).

Recommended explanations on Math Textbooks

94% of StudySmarter users get better grades.

Sign up for free
94% of StudySmarter users get better grades.