Given a curve y=f(x) passing through P(1,23) and Q(a,21), where the tangent at any point R(b,f(b)) cuts the y-axis at S(0,c) with bc=3.
The tangent at R(b,f(b)) is: Y−f(b)=f′(b)(X−b)
At X=0: c=f(b)−b⋅f′(b)
Since bc=3 for all points on the curve (replacing b with x):
x[f(x)−xf′(x)]=3
xf(x)−x2f′(x)=3
Rearranging:
f′(x)−xf(x)=−x23
This is a linear ODE with integrating factor e−∫x1dx=x1:
dxd[xf(x)]=−x33
Integrating:
xf(x)=2x23+C
f(x)=2x3+Cx
Using f(1)=23:
23=23+C⟹C=0
So f(x)=2x3.
Finding a: f(a)=21⟹2a3=21⟹a=3
Therefore Q=(3,21) and:
(PQ)2=(3−1)2+(21−23)2=4+1=5
The answer is 5.