First, we know that the general formula for the Taylor series at a is the following:
f(x) = ∑ (the sum) from n=0 to n=∞ of f[n](a) * (x-a)^n / n!,
where f[n](a) is the nth derivative of f(x) at x = a, so now we have:
f(x) = f[0](a) * (x-a)^0 / 0! + f[1](a) * (x-a)^1 / 1! + f[2](a) * (x-a)^2 / 2!
+ f[3](a) * (x-a)^3 / 3! + ... + f[n](a) * (x-a)^n / n! + ... (and so on, all of the way up to ∞)
Now, given that f(x) = 7 / x^2, we need to find each of the following:
f[0](a=1) = f(1), which is = 7 / 1^2 = 7;
f[1](a=1) = f'(1) = d/dx [7 / x^2] (at x=1) = -14 / x^3 (at x=1) = -14 / 1^3 = -14;
f[2](a=1) = f''(1) = d/dx [-14 / x^3] (at x=1) = 42 / x^4 (at x=1) = 42 / 1^4 = 42;
f[3](a=1) = f'''(1) = d/dx [42 / x^4] (at x=1) = -168 / x^5 (at x=1) = -168 / 1^5 = -168;
...
f[n](a=1) = d/dx f[n-1](x) (at x=1) = 7*(-1)^n * (n+1)! / x^(n+2) (at x=1) = 7*(-1)^n * (n+1)!
... (and so on, all of the way up to ∞), so for our function we have:
f(x) = 7 / x^2 = ∑ (the sum) from n=0 to n=∞ of 7*(-1)^n * (n+1)! * (x-1)^n / n!,
= ∑ (the sum) from n=0 to n=∞ of 7 * (-1)^n * (n+1) * (x-1)^n
= 7 * (-1)^0 * (0+1) * (x-1)^0 + 7 * (-1)^1 * (1+1) * (x-1)^1 + 7*(-1)^2 * (2+1)*(x-1)^2
+ 7 * (-1)^3 * (3+1) * (x-1)^3 + ... + 7 * (-1)^n * (n+1) * (x-1)^n
+ ... (and so on, all of the way up to ∞)
So, finally, we have:
f(x) = 7 / x^2 = 7 - 14 * (x-1) + 21 * (x-1)^2 - 28 * (x-1)^3 + ... +
7 * (-1)^n * (n+1) * (x-1)^n + ... (and so on, all of the way up to ∞)