I have this equation which shows the relation between $p$ & $x$. Here both $p$ and $x$ are real numbers.
$x-x^p = 1$
When I know $x$, I can find $p$ using $p=\frac{ln(x-1)}{ln(x)}$
Now my question is, how can I find a solution for $x$ when I know $p$ (similar to the logarithmic solution of $p$)?
I assume you are interested in positive real solutions?
If we consider $x=1+x^p$ we see that it depends on $p$ whether there exists a positive real solution or not. If $p\geq 1$ you have no real solutions, since $x\in[0,1)$ implies $x< 1\leq 1+x^p$ and $x\geq 1$ implies $x\leq x^p<1+x^p$.
If $p<1$ we define $g(x)=1+x^p-x$. We see $\lim_{x\to 0^+}g(x)\geq 1$ and $\lim_{x\to\infty} g(x)=-\infty$. The IVT yields a root of $g$ in $(0,\infty)$.
For a general $p$, you will need a numerical approximation for the root of $g$.