Equation of line bisecting two others

  • Thread starter Thread starter ps098
  • Start date Start date
  • Tags Tags
    Line
AI Thread Summary
The discussion revolves around finding the equation of a line that bisects two intersecting tangents derived from experimental data. The user is struggling with the correct angle for the bisecting line and is advised to adjust the angles of the original lines by adding 180 degrees to the first line's angle. The bisecting line's slope is calculated as the tangent of the average of the two adjusted angles. Concerns are raised about the applicability of this method if one of the lines has a negative slope, but it is confirmed that the arctan function should handle this correctly. An alternative approach using a two-argument form of the arctangent function is suggested to simplify the calculations.
ps098
Messages
2
Reaction score
0
Hi everyone, this will probably be very easy for someone but I'm really struggling to get this to work. I have experimental data whose baseline and peak midpoints I have fitted tangents to, and I have found the points where they intersect. I now want to find the red line which bisects these two tangents, but whatever I do the plot comes out at completely the wrong angle. I have included an example, with my beautiful handwritten workings (lol).

graphjpg.jpg


If anyone can help, I'd really appreaciate it, my MSc will be all the better for it :D

Cheers
 
Mathematics news on Phys.org
Well. Let's say your first line has slope m1, and your second m2 (both positive in the example graph). A line with slope m1 is slanted at angle arctan(m1) to the horizontal. You, however, want to think of this first line as heading down and left, so you should add pi radians or 180 degrees to it. Your two lines, then, are at angles

<br /> \begin{eqnarray*}<br /> \theta_1 &amp; = &amp; \arctan{(m_1)}+180 \\<br /> \theta_2 &amp; = &amp; \arctan{(m_2)}<br /> \end{eqnarray*}<br />

The line you wants heads at an angle halfway inbetween

<br /> \theta_b = \frac{\theta_1+\theta_2}{2}<br />

and its slope is m_b=\tan(\theta_b), which will be negative. Find a line with that slope that goes through the intersection point.
 
Thanks ever so much for that, I've been staring at the thing for literally hours trying to figure out what was wrong with my equation - always good to get a fresh brain on the problem!

One thing I can't figure out, will this formula still apply if the baseline is at a negative slope?
 
ps098 said:
One thing I can't figure out, will this formula still apply if the baseline is at a negative slope?
As long as your arctan function returns a negative angle for a negative argument (and I've never met one that doesn't), it should work. I guess you could in theory run into a problem in which the bisecting line is vertical and has infinite slope. That would take very bad luck.

Another possibility, which I just advised someone else to try, would to be use the two-argument form of the arc tangent function, \theta_1=\arctan(-1,-m_1). Then you don't have to add 180.
 
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Back
Top