I'm going to try to make as few errors in typing this as possible, so please bear with me and ask me to clarify/correct whatever needed.
Q: If an object is suspended on a string hung between two upright poles of varying heights, what is the position of the object in terms of the following variables:
$i$ - distance between poles
$\Delta j$ - difference in pole height
$l$ - length of string
A visual before I clarify a few minor details:
And some details:
The string is attached at the top of each pole.
We are assuming that the string has negligible mass, meaning our two segments are linear and not catenaries on their own.
The image depicts one string with an object hung on it, not two separate strings
Now, I spent about a month generating and tweaking one method for giving the position as a pair of coordinates in terms of $i, \Delta j,$ and $l$ with respect to the midpoint of the pole tips. I will post this solution shortly.
Where you come in
I want to see what other ways the object's position may be calculated. For particularly good solutions, I may award bounty. Here are a few things I ask of your answer:
$1$. As long as you use $i$, $\Delta j$, and $l$, you may use whatever other variables needed to reach your final answer as long as it ultimately is in terms of those 3 variables.
$2$. Your coordinate system may be with respect to any point in the system, just specify. For example, mine is with respect to the midpoint of the two pole tips.
$3$. Usage of visuals is strongly recommended wherever necessary.
$4$. Please post what branches of math were critical parts of your method. There are actually a number of very different ways to approach this problem (I am working on a second one using very different methods than what I'll post). I ask this so myself and others who may come across something we're unfamiliar with can research it.
Thank you so much for taking the time to read this, and I anticipate seeing great solutions!



This can be solved by applying Newton’s laws and a bit of geometry.
If the poles are the same height, symmetry dictates that equilibrium is attained halfway between them. We are treating the string segments as two-force members, so in particular the force transmitted by them is independent of their length. From this we can deduce that in all configurations the angles $\alpha$ and $\alpha'$ in the diagram below are equal. Also, the mass must be lower than the tops of both poles, otherwise there will be a net sideways force that will move it toward the lower post.
This allows us to “straighten” the string, after which the solution follows easily. Assume that the lower pole is on the left and let $x$ and $y$ be the horizontal and vertical distances, respectively, from the top of the left-hand (lower) pole. The Pythagorean theorem gives us $$i^2+(2y+\Delta j)^2=l^2$$ or $$y=\frac12\left(\sqrt{l^2-i^2}-\Delta j\right).\tag{1}$$ Similar triangles give us $$\frac xy = \frac i{2y+\Delta j}$$ so $$x=i\frac y{2y+\Delta j}=\frac i2\left({\sqrt{l^2-i^2}-\Delta j\over\sqrt{l^2-i^2}}\right).\tag{2}$$ I’ll leave it to you to verify that equations (1) and (2) also hold when $\Delta j\le0$, i.e., that we can drop the assumption that the left-hand pole is lower.
A few simple tests support the plausibility of this solution. First, when $\Delta j=0$, we have $x=\frac i2$ and $y=\frac12\sqrt{l^2-i^2}$ as expected. When $\Delta j\gt0$, as $l$ approaches the distance between pole tops, both $x$ and $y$ approach zero, while when $\Delta j\lt0$, $x$ approaches $i$ and $y$ approaches $\left\vert\Delta j\right\vert$, i.e., the equilibrium point gets closer and closer to the top of the lower pole as the string gets shorter. For $\Delta j\gt0$, $x\lt\frac i2$ and for $\Delta j\lt0$, $x\gt\frac i2$, i.e., the equilibrium point is always closer to the lower pole. Finally, as $l$ increases, $x$ approaches $\frac i2$ from either side.
Addition: Noticing that the locus of possible positions of the mass is an ellipse as in this answer leads to another proof that the angles in the diagram are equal. The mass will be at rest at a point at which the gravitational potential is at a minimum. This is a constrained optimization problem to which the Lagrange multiplier method can be applied: a minimum will be attained at a point on the ellipse where its normal is parallel to the gradient of the potential, which is in the direction of increasing height. However, every normal to an ellipse bisects the angle to the foci, making $\alpha$ and $\alpha'$ equal as well.