|A|=∣∣
∣∣cosθ−sinθ0sinθcosθ0001∣∣
∣∣
=cosθ(cosθ−0)+sinθ(sinθ−0)+0
=cos2θ+sin2θ=1≠0
∴A−1 exists.
Consider AA−1=I
∴⎡⎢⎣cosθ−sinθ0sinθcosθ0001⎤⎥⎦A−1=⎡⎢⎣100010001⎤⎥⎦
By cosθ×R1, we get,
⎡⎢⎣cos2θ−sinθ.cosθ0sinθcosθ0001⎤⎥⎦A−1=⎡⎢⎣cosθ00010001⎤⎥⎦
By R1+sinθ×R2 we get,
⎡⎢⎣100sinθcosθ0001⎤⎥⎦A−1=⎡⎢⎣cosθsinθ0010001⎤⎥⎦
By R2−sinθ×R1, we get,
⎡⎢⎣1000cosθ0001⎤⎥⎦A−1=⎡⎢⎣cosθsinθ0−sinθcosθcos2θ0001⎤⎥⎦
By (1cosθ)×R2 we get,
⎡⎢⎣100010001⎤⎥⎦A−1=⎡⎢⎣cosθcosθ0−sinθcosθ0001⎤⎥⎦
∴A−1=⎡⎢⎣cosθcosθ0−sinθcosθ0001⎤⎥⎦