Courses / Physics I
Principles of Laboratory Practice

Graphical Analysis and Curve Fitting

Physics I 244 words Free to read

Graphical Analysis Basics

Graphical analysis extracts physical relationships from data. If your data doesn't linearise as expected, your assumed model may be wrong.

Plotting conventions:

Linearisation transforms non-linear laws into straight lines:

LawPlotSlope
y=ax+by = ax + byy vs xxaa
y=ax2y = ax^{2}yy vs x2x^{2}aa
y=aebxy = ae^{bx}lny\ln y vs xxbb
y=axny = ax^nlogy\log y vs logx\log xnn

Common pitfall: Fitting a curve proves little; enough parameters fit anything. Linearise so theory predicts a straight line, then check residuals. Structure in residuals means the model is wrong.

Placeholder: Graphical Analysis and Curve Fitting

Least-Squares Fitting

A best-fit line y=mx+by = mx + b minimises squared residuals using the least-squares fit formula:

χ2=i=1N(yimxic)2σi2\chi^2 = \sum_{i=1}^N \frac{(y_i - mx_i - c)^2}{\sigma_i^2}

Here, yiy_i and xix_i are data points, and σi\sigma_i is uncertainty.

Reduced chi-squared is defined as χν2=χ2/(Np)\chi^{2}_\nu = \chi^{2}/(N-p), where pp is the number of fit parameters. A good fit yields χν21\chi^{2}_\nu \approx 1.

The correlation coefficient r2r^{2} quantifies fit quality, where 1 is perfect and 0 is none.

Pitfall: A poor fit or poor r2r^2 may indicate systematic errors or an incorrect theoretical model.

Linear Regression and Data Fitting

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

14practice questions
2interactive scenes

Principles of Laboratory Practice