The given equation is 1+sin2ax=cosx ...(1)
We have 1+sin2x≥1 and cosx≤1
Therefore equation (1) has a solution only if cosx=1
and 1+sin2ax=1⇒sin2ax=0⇒sinax=0
Now cosx=1 gives x=2nπ,n∈I
and sinax=0 gives x=mπ ⇒x=mπa,m∈I
The equation (1) has a solution only if for same value of m and n, we have
mπa=2nπ or 2na=m ...(2)
But a is irrational and m and n are integer
Therefore (2) is possible only if m=0=n
But then we have x=0
Hence x=0 is the only solution satisfying the given equation