What are the solutions to the equation $|x^2−1|+|x^2−4|=ax$ where $a, x$ are integers?
So far I've found two solutions just by guessing, they are $(a,x)=(3,1)$ and $(a,x)=(-3,-1)$. I've thought of using the $(x−y)(x+y)=x^2−y^2$ identity, but that didn't help. I've thought of using the absolute value inequality, $|x|+|y|≥|x+y|$, but I don't know of what use it could be.