SOLUTION: Q.3 Find a particular solution to the recurrence. an+1 − 2an + an−1 = 5 + 2n, n ³ 1(15 marks) plz send full solution Q.5 (a) If R = {(1, 1), (2, 1), (3, 2), (4, 3)

Algebra ->  Permutations -> SOLUTION: Q.3 Find a particular solution to the recurrence. an+1 − 2an + an−1 = 5 + 2n, n ³ 1(15 marks) plz send full solution Q.5 (a) If R = {(1, 1), (2, 1), (3, 2), (4, 3)      Log On


   



Question 942185: Q.3 Find a particular solution to the recurrence.
an+1 − 2an + an−1 = 5 + 2n, n ³ 1(15 marks) plz send full solution
Q.5 (a) If R = {(1, 1), (2, 1), (3, 2), (4, 3)}, find R2,R4.
(b) How many permutations are there of the letters, taken all at a
time, of the word ALLAHABAD?(7,7marks) plz send full solution
Q.6 Let A = {0, 1, 2, 3} and R = ((x, y) : x − y = 3k, k is an integer) i.e,
XRy if f x-y is divisible by 3, then prove that R is an equivalence
relation

Answer by Edwin McCravy(20054) About Me  (Show Source):
You can put this solution on YOUR website!
Q.3 Find a particular solution to the recurrence.
Let a%5B0%5D=a%5B1%5D=0

     a%5Bn%2B1%5D+-+2a%5Bn%5D+%2B+a%5Bn-1%5D+=+5+%2B+2n

Let n=1

     a%5B2%5D+-+2a%5B1%5D+%2B+a%5B0%5D+=+5+%2B+2%281%29

     a%5B2%5D+-+2%280%29+%2B+0+=+7

     a%5B2%5D+=+7

Let n=2

     a%5B3%5D+-+2a%5B2%5D+%2B+a%5B1%5D+=+5+%2B+2%282%29

     a%5B3%5D+-+2%287%29+%2B+0+=+9

     a%5B3%5D+-+14+%2B+0+=+9

     a%5B3%5D+=+23

Let n=3

     a%5B4%5D+-+2a%5B3%5D+%2B+a%5B2%5D+=+5+%2B+2%283%29

     a%5B4%5D+-+2%2823%29+%2B+7+=+11, substituting (1),

     a%5B4%5D+-+46+%2B+7+=+11

     a%5B4%5D+-+39+=+11

     a%5B4%5D+=+50

Let n=4

     a%5B5%5D+-+2a%5B4%5D+%2B+a%5B3%5D+=+5+%2B+2%284%29

     a%5B5%5D+-+2%2850%29+%2B+23+=+13, substituting (1),

     a%5B5%5D+-+46+%2B+7+=+11

     a%5B5%5D+-+39+=+11

     a%5B5%5D+=+50

Now we make a difference table

 0   0   7   2
 0   7   9   2
 7  16  11   2
23  27  13 
50  40
90

It required the 3rd difference to get all
constants so we assume a 3rd degree polynomial
for this particular solution:

a%5Bn%5D=An%5E3%2BBn%5E2%2BCn%2BD
a%5B0%5D=A%280%29%5E3%2BB%280%29%5E2%2BC%280%29%2BD
0=D

a%5Bn%5D=An%5E3%2BBn%5E2%2BCn
a%5B1%5D=A%281%29%5E3%2BB%281%29%5E2%2BC%281%29
0=A%2BB%2BC

a%5Bn%5D=An%5E3%2BBn%5E2%2BCn
a%5B2%5D=A%282%29%5E3%2BB%282%29%5E2%2BC%282%29
7=8A%2B4B%2B2C

a%5Bn%5D=An%5E3%2BBn%5E2%2BCn
a%5B3%5D=A%283%29%5E3%2BB%283%29%5E2%2BC%283%29
23=27A%2B9B%2B3C

Thuse we have the system

system%28A%2BB%2BC=0%2C8A%2B4B%2B2C=7%2C27A%2B9B%2B3C=23%29
 
That has solution A=1%2F3, B=5%2F2, C=-17%2F6,

and we found D=0 earlier.

so we suspect that a particular solution is

a%5Bn%5D=expr%281%2F3%29n%5E3%2Bexpr%285%2F2%29n%5E2-expr%2817%2F6%29n%2B0

a%5Bn%5D=%282n%5E3%2B15n%5E2-17n%29%2F6

a%5Bn%5D=%28n%282n%5E2%2B15n-17%29%29%2F6

a%5Bn%5D=%28n%28n-1%29%282n%2B17%29%29%2F6

--------------------------------

R = {(1,1), (2,1), (3,2), (4,3)}, find R2,R4
R2 is set of all ordered pair of ordered pairs in R: =

I'll use brackets to indicate an ordered pair of ordered pairs:

{[(1,1),(1,1)], [(1,1),(2,1)], [(1,1),(3,2)], [(1,1),(4,3)], 
 [(2,1),(1,1)], [(2,1),(2,1)], [(2,1),(3,2)], [(2,1),(4,3)], 
 [(3,2),(1,1)], [(3,2),(2,1)], [(3,1),(3,2)], [(3,1),(4,3)], 
 [(4,3),(1,1)], [(4,3),(2,1)], [(4,1),(3,2)], [(4,1),(4,3)]}

R4
 
No way Jose!  That's the set of every ordered pair of those ordered 
pairs of ordered pairs. It's ridiculous of your teacher to expect 
you to list 256 ordered pairs of ordered pairs of ordered pairs of
ordered pairs.  Any teacher that would ask a student to do that 
should be fired!  They're not qualified to teach! That's not 
teaching. That's student abuse!

(b) How many permutations are there of the letters, taken all at a
time, of the word ALLAHABAD?
ALLAHABAD has 9 letters.  If you could tell the A's apart and the L's apart,
then the answer would be 9!, but since you can't tell them apart,
you must: 

1. divide by 4! for that's how many ways the A's can be permuted
in any one permutation, and they would all look just alike.  

and in addition to that, you will also have to

2. divide by 2! for that's how many ways the L's can be permuted
in any one permutation, and they would both look just alike.  

Answer: 9%21%2F%284%212%21%29=7560 ways.

That's all I'm going to do now.

Edwin