SOLUTION: Make n the subject formula in s=n/2[2a+(n-1)d]

Algebra ->  Equations -> SOLUTION: Make n the subject formula in s=n/2[2a+(n-1)d]      Log On


   



Question 1010709: Make n the subject formula in s=n/2[2a+(n-1)d]
Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
s%22%22=%22%22expr%28n%2F2%29%282a%5E%22%22%2B%28n-1%29d%29

Clear the fraction by multiplying both sides by 2:

2s%22%22=%22%22n%282a%5E%22%22%2B%28n-1%29d%29

Swap the d and the (n-1)

2s%22%22=%22%22n%282a%5E%22%22%2Bd%28n-1%29%29

Remove the inner parentheses on the right by distributing:

2s%22%22=%22%22n%282a%5E%22%22%2Bdn-d%29

Remove the remaining parentheses on the right by distributing:

2s%22%22=%22%222an%2Bdn%5E2-dn%29

Get 0 on the left by subtracting 2s from both sides:

0%22%22=%22%222an%2Bdn%5E2-dn-2s%29

Swap sides:

2an%2Bdn%5E2-dn-2s%29%22%22=%22%220

Rearrange the terms in descending order

dn%5E2%2B2an-dn-2s%29%22%22=%22%220

Factor n out of the two terms in the middle:

dn%5E2%2Bn%282a-d%29-2s%29%22%22=%22%220

Swap the n and the (2a-d)

dn%5E2%2B%282a-d%29n-2s%29%22%22=%22%220

We use the quadratic formula.  Since there is 
already a letter "a", we will use capital letters
to avoid conflict of notation:

Ax2 + Bx + C = 0 has solution

x+=+%28-B+%2B-+sqrt%28+B%5E2-4%2AA%2AC+%29%29%2F%282%2AA%29+

x = n, A = d, B = (2a-d), C = -2s



n+=+%28-2a%2Bd+%2B-+sqrt%284a%5E2-4ad%2Bd%5E2%2B8ds%29%29%2F%282d%29

Edwin