StepWorking
01Given
For an A.P. with first term a1 and common difference d:
1. a7=a1+6d=3
2. The product P=a1a4 is minimized.
3. Sn=2n[2a1+(n−1)d]=0 for n>0.
02Goal
Find the value of n!−4an(n+2).
03Approach
Express a1 in terms of d using a1=3−6d. Express P=a1a4=a1(a1+3d) purely as a quadratic function of d, find the value of d that minimizes this quadratic, then determine a1, solve Sn=0 for n, and finally compute n!−4an(n+2).
04Execute
Substitute a1=3−6d into a4=a1+3d=3−3d.
The product is:
f(d)=(3−6d)(3−3d)=18d2−27d+9
This quadratic opens upwards (coefficient of d2 is 18>0), so its minimum occurs at its vertex:
d=−2×18−27=3627=43
05Execute
Calculate the first term a1:
a1=3−6(43)=3−29=−23
06Execute
Using Sn=0 where n=0:
2a1+(n−1)d=0⟹2(−23)+(n−1)(43)=0
−3+43(n−1)=0⟹n−1=4⟹n=5
07Execute
Evaluate the target expression n!−4an(n+2) for n=5:
n(n+2)=5(7)=35
a35=a1+34d=−23+34(43)=−23+251=248=24
Now compute 5!−4a35:
5!−4(24)=120−96=24
✓Verify
Check sum of first 5 terms: S5=25[2(−1.5)+4(0.75)]=25[−3+3]=0, which is consistent. a7=−1.5+6(0.75)=−1.5+4.5=3, which matches the given condition.