Verify inverse functions by both compositions
An inverse must undo the function on its stated domain in both directions: g(f(x))=x and f(g(y))=y on the appropriate sets. Use symbolic simplification and domain checks, rather than a few matching samples.
For f(x)=4x−3 and g(y)=(y+3)/4, g(f(x))=(4x−3+3)/4=x and f(g(y))=4(y+3)/4−3=y, for all real inputs.