Least Square Method: Notes, Definition, Formula & Solved Examples

Statistics 2021 ( Maths Statistics )

Vikash Kumar Vishwakarma
Updated on Jun 16, 2025 11:04 IST

By Vikash Kumar Vishwakarma

The Least Square Method is a statistical method used to find the ‘ best fit’ line or curve. The best fit line described the relationship between the set of observed data. The main purpose of this method is to reduce the sum of the squares of observed and predicted values by the chosen line or curve. The least square method is a fundamental concept of regression analysis. Also, it is best for prediction, curve fitting, and understanding relationships.

Also Check: NCERT Solutions | Class 11 Maths NCERT Solutions  

Students can refer to the article for detailed information on the least square method. In this article, we have covered topics such as what is least square methods, least square method formula, limitations of least square and examples. Students can practice numerical problems based on the least square method to understand the topic.
Table of content
  • Least-Square Method Defination
  • Least Square Method Formula
  • Weightage of Least-square Method in Class 10 & 11
  • Illustrated Examples on Least-square Method
  • FAQs on Least-square Method
Maths Statistics Logo

Least-Square Method Defination

We typically deal with a significant volume of numerical data in statistics. We collect, coordinate, handle, and measure while we calculate the statistical data in this branch. This knowledge may be full of noise or variance. Often, it is important to know the data pattern that moves in whatever direction it goes, increases or declines, etc. The way of doing so is called the least-square method.

Also Read: Class 12 Maths NCERT Solutions

Least-square Example

An analyst who wants to measure the relationship between the stock returns of a business and the returns of the index for which the stock is a part is an example of the least-square approach. 

The Line of Best Fit Equation

The best fit line calculated by the system of the least-squares has an equation that tells the tale of the correlation between the data points. 

Regression Line with the least-squares

The line that ideally suits this linear equation is defined as a least-square regression line, which minimizes the vertical distance from the data points to the regression line if the data shows a slimmer relationship between two variables. 

Limitations for Least-Square Method

The least-square method is a rather beneficial curve-fitting approach. It also has a few shortcomings, including several advantages. Here, one of the main drawbacks is addressed.

It is invariably presumed that the errors in the independent variable are negligible or zero in the regression analysis procedure, which utilises the least-square approach for curve fitting. In such situations, simulations are susceptible to estimation errors where independent variable errors are not insignificant. The least square approach will also lead to hypothesis testing here, where parameter ranges and confidence intervals are taken into account due to the presence of errors found in the independent variables.

Maths Statistics Logo

Least Square Method Formula

The least-square method says that a curve with a minimum total of the squared residuals (or variations or errors) from the specified data points is said to be the curve that best matches a given collection of observations. Let us assume that (x1,y1), (x2,y2), (x3,y3),..., (xn,yn) are the data points provided, in which all x's are independent variables, while all y's are dependent variables. Also, assume that the appropriate curve is f(x) and that d is a mistake or deviation from each given value.

Maths Statistics Logo

Weightage of Least-square Method in Class 10 & 11

In chapter statistics and probability, you will get to learn about some of the basic topics of least-squares. The weightage is 5-6 marks.

In chapter statistics, you will get to learn about it along with other properties and methods. The weightage of this chapter is 4-5 marks.

Maths Statistics Logo

Illustrated Examples on Least-square Method

1. Fit the straight-line curve with the help of the least-square method.

x

y   

75

82

80

78

93

86

65

72

87

91

71

80

98

95

68

72

84

89

77

74

Solution.

x

y

x2

xy

75

82

5625

6150

80

78

6400

6240

93

86

8349

7998

65

72

4225

4680

87

91

7569

7917

71

80

5041

5680

98

95

9605

9310

68

72

4624

4896

84

89

7056

7476

77

74

5929

5698

798

819

64422

66045

The normal equation is:
Σy = aΣx + nb and Σxy = aΣx2 + bΣx

Substituting the values, we get,

819 = 798a + 10b

66045 = 64422a + 798b

Solving, we get

a = 0.9288 and b = 7.78155

Therefore, the straight line equation is:

y = 0.9288x + 7.78155.

2. If the equation y=axb can be written in linear form Y=A+BX, what is Y, X, A, B?

Solution.

The curve given is y=axb.
Taking log on both ends, we're going to have,
Log y = log a + b log x.
It can be written as Y=A+BX,
Where 
Y=log y, A=log a, B=b and X=logx.

3. If the equation y = aebx is written in linear form Y=A + BX, then what is Y, X, A, B?

Solution.

The equation is y = aebx
Take log to base e on both ends,
we get log y = log a + bx.
This can be substituted as Y=A+BX,
Where Y = log y, A = log a, B = b and X = x.

Maths Statistics Logo

FAQs on Least-square Method

Q: Why do we use the least-square method?

A: The least-square method reduces the distance between a function and the data points explained by the function. It is used in regression analysis, often in the simulation of nonlinear regression, in which a curve blends into a data set. 

Q: What is the least-squares theory?

A: The theory of least-squares says that the SRF should be built (with constant and slope values) such that the amount of the square distance between your dependent variable's observable values and your SRF's predicted values is reduced (the smallest possible value).

Q: What is the least-square Line of Regression?

A: The least-squares Regression Line is the line that makes the vertical gap as small as possible from the data points to the regression line. 

Q: What does the approach of minimal squares minimize?

A: By decreasing the sum of the offsets or residuals of points from the plotted curve, the least-squares method is a mathematical method to determine the best match for a series of data points. 

Q: What is the principle that the least-square method is based on?

A: The least-squares Theory says that the possible values of a system of uncertain quantities on which measurements have been produced are derived by decreasing the total of the error squares.
qna

Maths Statistics Exam

Student Forum

chatAnything you would want to ask experts?
Write here...