Sikshya Plus Get appGet the app free
Class 12 · Mathematics

Correlation and Regression – Class 12 Mathematics Notes and Solutions

Complete solutions and answers for “Correlation and Regression”, a chapter in Class 12 Mathematics (NEB exam preparation). This page covers The lesson in short, Section A: Correlation and Karl Pearson's Coefficient, Section B: Linear Regression Analysis and Section C: Step-by-Step Solved Problems.

  • Free, no login needed
  • 3 min read
  • Updated 20 November 2026

Chapter at a glance

Comprehensive solutions and study guide for Class 12 Mathematics Chapter 10 Correlation and Regression covering Karl Pearson's r, Spearman's rank correlation, regression coefficients, and prediction equations.

  • Concept of Correlation & Scatter Diagrams
  • Karl Pearson's Product-Moment Coefficient r
  • Spearman's Rank Correlation Coefficient rho
  • Regression Equations (Y on X and X on Y)
  • Properties and Interrelations of Regression Coefficients

Exam focus: Calculating Pearson's and Spearman's correlation coefficients and writing equations of regression lines to predict values.

Key formulas and definitions

  • Pearson's r: r = Cov(X, Y) / (sigma_x sigma_y)
  • Spearman's rho: rho = 1 - [6 Sum d^2] / [n(n^2 - 1)]
  • Regression Y on X: y - y_bar = b_yx (x - x_bar), where b_yx = r (sigma_y / sigma_x)
  • Geometric Mean Property: r = +- sqrt(b_yx * b_xy)
On this page (12 sections)
  1. The lesson in short
  2. Section A: Correlation and Karl Pearson's Coefficient
  3. TheoryThe Concept of Correlation
  4. FormulasKarl Pearson's Product-Moment Correlation Coefficient (r)
  5. Rank CorrelationSpearman's Rank Correlation Coefficient (ρ)
  6. Section B: Linear Regression Analysis
  7. Regression LinesThe Two Regression Lines
  8. Key PropertiesProperties of Regression Coefficients
  9. Section C: Step-by-Step Solved Problems
  10. Problem 1Problem 1: Calculating Pearson's r from Bivariate Data
  11. Problem 2Problem 2: Spearman's Rank Correlation Coefficient
  12. Problem 3Problem 3: Determining Regression Lines and Predicting Values

Solutions and answers

Class 12 Mathematics · Unit 10: Correlation and Regression

The lesson in short

Bivariate statistical analysis examines the simultaneous joint variation of two quantitative variables, determining whether an empirical association exists and quantifying its directional strength and mathematical predictability.

While correlation assesses the degree of linear interdependence between variables without assuming causal priority, linear regression fits optimal mathematical lines to predict the expected value of an unknown dependent variable from a known independent variable.

This chapter covers scatter diagrams, Karl Pearson's coefficient of correlation (r), Spearman's rank correlation coefficient (ρ), two lines of regression, regression coefficients (byx​,bxy​), and their mutual relationships aligned with the NEB Class 12 curriculum.

Section A: Correlation and Karl Pearson's Coefficient

TheoryThe Concept of Correlation

Correlation measures the extent to which changes in one variable X are accompanied or followed by changes in another variable Y. If both variables move in the same direction, correlation is positive; if they move in opposite directions, correlation is negative.

FormulasKarl Pearson's Product-Moment Correlation Coefficient (r)

Pearson's r is defined as the ratio of covariance between X and Y to the product of their individual standard deviations: r=σx​⋅σy​Cov(X,Y)​.

Computational formulas for paired data (xi​,yi​):

  • From actual means: r=∑(x−xˉ)2⋅∑(y−yˉ​)2​∑(x−xˉ)(y−yˉ​)​.
  • From raw scores: r=[N∑x2−(∑x)2][N∑y2−(∑y)2]​N∑xy−(∑x)(∑y)​.
  • Properties of r: r is a pure dimensionless number bounded strictly between −1 and +1: −1≤r≤+1; r=+1 indicates perfect positive linear correlation, r=−1 indicates perfect negative linear correlation, and r=0 indicates complete absence of linear correlation.

Rank CorrelationSpearman's Rank Correlation Coefficient (ρ)

When variables are qualitative (such as aesthetic beauty, intelligence rank, or athletic performance) or data are given in ranked order, Spearman's rank correlation coefficient is given by: ρ=1−n(n2−1)6∑d2​, where d=Rx​−Ry​ represents the difference between paired ranks for each individual.

Section B: Linear Regression Analysis

Regression LinesThe Two Regression Lines

Regression LineDependent VariableEquation FormRegression Coefficient Formula
Regression of Y on XY is dependent; X is independenty−yˉ​=byx​(x−xˉ)byx​=rσx​σy​​=N∑x2−(∑x)2N∑xy−∑x∑y​
Regression of X on YX is dependent; Y is independentx−xˉ=bxy​(y−yˉ​)bxy​=rσy​σx​​=N∑y2−(∑y)2N∑xy−∑x∑y​

Key PropertiesProperties of Regression Coefficients

  • Geometric Mean Property: Correlation coefficient r is the geometric mean of the two regression coefficients: r=±byx​⋅bxy​​. The sign of r matches the shared sign of byx​ and bxy​.
  • Magnitude Constraint: If one regression coefficient exceeds unity (∣byx​∣>1), the other must be less than unity (∣bxy​∣<1) since ∣byx​⋅bxy​∣=r2≤1.
  • Intersection Point: The two regression lines always intersect at the bivariate mean center (xˉ,yˉ​).
  • Arithmetic Mean Inequality: The arithmetic mean of regression coefficients is greater than or equal to the correlation coefficient: 2byx​+bxy​​≥∣r∣.

Section C: Step-by-Step Solved Problems

Problem 1Problem 1: Calculating Pearson's r from Bivariate Data

Calculate Karl Pearson's coefficient of correlation between X and Y from the following paired data: X=[2,4,6,8,10] and Y=[3,5,7,9,11].

Notice that n=5 pairs of observations.

Compute arithmetic means:

xˉ=52+4+6+8+10​=530​=6.

yˉ​=53+5+7+9+11​=535​=7.

Compute mean deviations and products:

x−xˉ:[−4,−2,0,2,4]⟹∑(x−xˉ)2=16+4+0+4+16=40.

y−yˉ​:[−4,−2,0,2,4]⟹∑(y−yˉ​)2=16+4+0+4+16=40.

(x−xˉ)(y−yˉ​):[16,4,0,4,16]⟹∑(x−xˉ)(y−yˉ​)=40.

Apply Pearson's formula:

r=∑(x−xˉ)2∑(y−yˉ​)2​∑(x−xˉ)(y−yˉ​)​=40×40​40​=4040​=+1.

Interpretation: There is perfect positive linear correlation between X and Y (governed by the linear relation Y=X+1).

Problem 2Problem 2: Spearman's Rank Correlation Coefficient

Two judges in a competition ranked 6 candidates as follows: Judge A: [1,2,3,4,5,6]; Judge B: [2,1,4,3,6,5]. Compute Spearman's rank correlation coefficient.

Number of candidates n=6.

Rank differences d=RA​−RB​:

Candidate 1: d=1−2=−1⟹d2=1

Candidate 2: d=2−1=+1⟹d2=1

Candidate 3: d=3−4=−1⟹d2=1

Candidate 4: d=4−3=+1⟹d2=1

Candidate 5: d=5−6=−1⟹d2=1

Candidate 6: d=6−5=+1⟹d2=1

Total sum of squared differences: ∑d2=1+1+1+1+1+1=6.

Apply Spearman's rank correlation formula:

ρ=1−n(n2−1)6∑d2​

ρ=1−6(62−1)6×6​=1−6(35)36​=1−21036​=1−356​=3529​≈0.8286.

Conclusion: There is strong positive rank agreement between the two judges.

Problem 3Problem 3: Determining Regression Lines and Predicting Values

You are given the following summary statistics: xˉ=20,yˉ​=25,σx​=4,σy​=5, and r=0.8. Find both regression equations and estimate Y when X=22.

Step 1: Compute regression coefficients:

byx​=rσx​σy​​=0.8×45​=0.8×1.25=1.0.

bxy​=rσy​σx​​=0.8×54​=0.8×0.8=0.64.

Step 2: Form the Regression Line of Y on X (used to predict Y from X):

y−yˉ​=byx​(x−xˉ)⟹y−25=1.0(x−20)

y−25=x−20⟹y=x+5.

Step 3: Form the Regression Line of X on Y (used to predict X from Y):

x−xˉ=bxy​(y−yˉ​)⟹x−20=0.64(y−25)

x−20=0.64y−16⟹x=0.64y+4.

Step 4: Predict Y when X=22:

Substitute X=22 into the regression equation of Y on X: y=22+5=27.

Answer: Regression equation y=x+5; Estimated Y=27.

Frequently asked questions

What is Correlation and Regression about?

Comprehensive solutions and study guide for Class 12 Mathematics Chapter 10 Correlation and Regression covering Karl Pearson's r, Spearman's rank correlation, regression coefficients, and prediction equations.

Which topics are covered in Correlation and Regression?

Class 12 Mathematics “Correlation and Regression” covers: Concept of Correlation & Scatter Diagrams; Karl Pearson's Product-Moment Coefficient r; Spearman's Rank Correlation Coefficient rho; Regression Equations (Y on X and X on Y); Properties and Interrelations of Regression Coefficients.

What should I focus on in Correlation and Regression for the exam?

Calculating Pearson's and Spearman's correlation coefficients and writing equations of regression lines to predict values.

What are the key formulas or definitions in Correlation and Regression?

Pearson's r: r = Cov(X, Y) / (sigma_x sigma_y); Spearman's rho: rho = 1 - [6 Sum d^2] / [n(n^2 - 1)]; Regression Y on X: y - y_bar = b_yx (x - x_bar), where b_yx = r (sigma_y / sigma_x); Geometric Mean Property: r = +- sqrt(b_yx * b_xy).

Where can I read the Class 12 Mathematics “Correlation and Regression” solutions?

Right on this page. They are free and you do not need to sign up. For chapter quizzes and the AI tutor, install the Sikshya Plus app.

Study tips

Free for Class 9 to 12

Do not just read it. Practice it.

You have read the solutions for Correlation and Regression. Now test yourself, ask the AI tutor and keep your streak going.

Sikshya Plus chapter quiz screen with class, subject and difficulty options
Sikshya AI personal tutor chat inside the app
Sikshya Plus AI tools screen: question assistant, summarizer, translator, grammar checker
Chapter list with Past Q, materials, posts and books tabs
  • AI quizzes for this chapterTest yourself with instant feedback and explanations after every answer.
  • AI tutor, free, 24/7Stuck on a question? Ask in your own words and get a step-by-step explanation.
  • 14 AI tools in one appSummarizer, grammar checker, flashcards, essay help, math solver and more.
  • Past questions and notesPast papers and your own notes organized chapter by chapter.
Download free on Google Play Scan with your phone to install