Answer:
1) The values of 'a' and 'b' are
and
respectively.
2) The values of 'a' and 'b' are '3' and '-3' respectively.
Explanation:
1) Given:

We solve this by partial fraction method.
Taking LCM in the RHS we get,


To find the value of 'a', substitute x = 2. This would make 'b' vanish leaving an equation with 'a'.


Now, Substitute
to solve for 'b'.



Therefore, a =
and b =

2) Given

We follow the same procedure as (1).
Taking LCM we get


Substituting x = 2, we get:
3 = a(-1)

Also, Substituting x = 3, we get:
3 = b(1)

Therefore, the values of a and b are -1 and 1 respectively.