Maximum value of $3^x+5^x-9^x+15^x-25^x$

50 Views Asked by At

Find the maximum value of $3^x+5^x-9^x+15^x-25^x$ for all $x \in \mathbb{R}$
Source: KVPY SX 2012

I substituted $3^x=p$ and $5^x=q$ and got $p+q-p^2+pq-q^2$ from which I'm not able to proceed further