Skip to main content

Fit y = a + b√x

Short answer

Transform by X=√x to linear form. Normal equations: 1.87=5a+239.410b, 99.8667=239.410a+13500b. Solving: a=0.1312, b=0.005071. Fitted curve: y=0.1312+0.00507√x.

Fit the following data into y = a + b√x

X5001000200040006000
Y0.200.330.380.450.51

Put X = √x so the model becomes the straight line y = a + bX. Then Σy = na + bΣX and ΣXy = aΣX + bΣX².

xyX = √xX² (= x)Xy
5000.222.3615004.4721
10000.3331.623100010.4355
20000.3844.721200016.9941
40000.4563.246400028.4605
60000.5177.460600039.5044
Σ239.4101350099.8667
1.87 = 5a + 239.410b
99.8667 = 239.410a + 13500b

Solving: b = (5·99.8667 − 239.410·1.87)/(5·13500 − 239.410²) = 0.005071, a = 0.1312.

Answer: y = 0.1312 + 0.00507√x (check: x = 4000 gives 0.452 against 0.45).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 4 questions →