document.write( "Question 1124987: The first and second terms of an arithmetic sequence are a and b respectively. If the nth term is c, express n in terms of a b and c and hence find the sum of these n terms. \n" ); document.write( "
Algebra.Com's Answer #741421 by greenestamps(13200)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "The first term is a; the second is b; so the common difference is (b-a).

\n" ); document.write( "The n-th term is then the first term plus the common difference (n-1) times:
\n" ); document.write( "\"c+=+a+%2B+%28n-1%29%28b-a%29\"
\n" ); document.write( "\"c+=+a+%2B+nb+-+na+-+b+%2B+a\"
\n" ); document.write( "\"c+=+2a-b%2Bnb-na\"
\n" ); document.write( "\"b%2Bc-2a+=+n%28b-a%29\"
\n" ); document.write( "\"n+=+%28b%2Bc-2a%29%2F%28b-a%29\" <-- answer to the first question

\n" ); document.write( "The sum of the series is (number of terms) times (average of first and last terms):

\n" ); document.write( "\"S+=+n%28%28a%2Bc%29%2F2%29\"
\n" ); document.write( "\"S+=+%28%28b%2Bc-2a%29%2F%28b-a%29%29%28%28a%2B%282a-b%2Bnb-na%29%29%2F2%29\"
\n" ); document.write( "\"S+=+%28%28b%2Bc-2a%29%283a-b%2Bnb-na%29%29%2F%282%28b-a%29%29\" <-- answer to the second question

\n" ); document.write( "Let's check these formulas with an example -- just in case we made an error in our algebra....

\n" ); document.write( "a = 3; b = 5; 9 terms.

\n" ); document.write( "The common difference is b-a = 2; the 9th term, c, is 3+8(2) = 19.

\n" ); document.write( "We know the number of terms is 9; our formula says the number of terms should be

\n" ); document.write( "\"%28b%2Bc-2a%29%2F%28b-a%29\"
\n" ); document.write( "\"%285%2B19-2%283%29%29%2F%285-3%29+=+18%2F2+=+9\"

\n" ); document.write( "Our formula gives the right result for this example.

\n" ); document.write( "The sum of the series is \"9%28%283%2B19%29%2F2%29+=+9%2A11+=+99\".

\n" ); document.write( "Our formula says the sum is supposed to be

\n" ); document.write( "\"%28%28b%2Bc-2a%29%283a-b%2Bnb-na%29%29%2F%282%28b-a%29%29\"
\n" ); document.write( "\"%28%285%2B19-2%283%29%29%283%283%29-5%2B9%285%29-9%283%29%29%29%2F%282%285-3%29%29\"
\n" ); document.write( "\"%28%2824-6%29%289-5%2B45-27%29%29%2F4+=+%2818%2A22%29%2F4+=+9%2A11+=+99\"

\n" ); document.write( "Our formula for the sum also gives the right result for this example.
\n" ); document.write( "
\n" );