Example 2 and 3

Example 2

Function f is defined as f:x52x1,xk

Find the value of k.



Example 3

Given g:x3x52x+7  

Function g is defined for all values of x except x = a. Find the value of a.