Extended General Malfatti’s Problem
Abstract
:1. Introduction
2. Problem Description and Algorithm to Solve Tri(Tn) Problem
2.1. Problem Description
2.2. Algebraic Analysis of the Problem
- Let Ci = (xi,yi,ri) represent a circle whose center and radius are (xi,yi) and ri, respectively; i = 1, 2, 3. L1, L2, L3 are three lines for the triangle. Circle C1 is tangent to lines L2 and L3. Circle C2 is tangent to lines L1 and L3, and Circle C3 is tangent to lines L1 and, L2.
- Generate the equations for the “circle/side” tangency relation carefully. For example, circle C3 is tangent to line L1. The equation can be generated by computing the distance from (x3,y3) to line L1 is equal to r3. The line equation we generate, ax + by + c = 0, has the properties that all points (xi,yi) inside the triangle have the property that axi + byi + c > 0, i = 1, 2, 3 (detailed explained below). Therefore, we generate six equations because every circle is tangent to two sides of the triangle. Note that the equations are degree-one equations.
- Generate the equations for the “circle/circle” tangency relation. For example, circle C1 is tangent to C2. The equation can be generated by computing the distance between two centers, which is equal to the sum of their radii. There are three equations generated in this case. Note that when we want to eliminate the square root of the distance function, it becomes a degree-two polynomial.
3. Definition and Theorem for the Tri(Tn) Problem
3.1. The Tri(T1) Problem
3.2. The Tri(T2) Problem
3.3. The Tri(Tn) Problem, n > 2
Algorithm 1. The radius for center circle tangents to a circle ring |
|
4. The Proposed Algorithm to Solve the Tri(Tn) Problem
4.1. The Algorithm Used to Solve the Tri(Tn) Problem
- Input A, B, and C vertices for triangles and n for Tri(Tn) problem.
- Calculate the initial radii for all Tn circles.
- Use a while loop to modify the radii of all circles until all circles C satisfy SA(C) = 2π within a small tolerance.
- Display the results, including the triangle A, B, and C and all circles.
Algorithm 2. The Tri(Tn) problem |
|
4.2. Example of the Tri(Tn) Problem
5. Implementation Detail and Potential Applications
- The center of C1,1: This circle is a corner circle, and we want to determine the center of C1,1 from two edges and a radius value (r1,1) for the corner circle.
- The center of C2,1: This circle is an edge circle when n > 1. From the above step, we can determine the center and radius of C1,1. With the one side of the triangle , we can find the center of C2,1. With this approach, we can find the center of Ci,1 for all circle circles 1 < I < n.
- The center of C2,2: If we determine the center and radii of C1,1, C2,1, from the above two steps and from the radius of C2,2, we can find the center of C2,2.
- Logo design: the design of logos for different products.
- Product design: for a triangle prism comprising six bottles of different sizes and radii containing different liquids, the radii can be calculated.
- Radar location design: In a triangle area, a radar system can be established consisting of several radars, with each radar having a different radius working in a circular area. This working circular area is much smaller than the area of the triangle. Our algorithm can determine the center of each radar, and the radii of the circular area should be greater than the radii we find from the algorithm so that every object that passes this triangle area will be detected by one of the radars, i.e., nothing can pass this triangle area.
- Wireless transmitter location design: Similar to radar location design, the application of the algorithm can determine the center of a wireless transmitter location and what kind of wireless transmitter we should use. Larger radii are used so that the union of the circular area covers the triangle, and any location inside the area can receive wireless signals.
- Mouse pad design: Suppose that there is a triangle pad, and we want to cut this pad into different sizes of circular mouse pads. The algorithm proposed in this paper can suggest a method for cutting the pad. Notice that a different initial value r can produce a different number of circular pads.
6. Conclusions and Future Research
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Fukagawa, H.; Pedoe, D. “The Malfatti Problem”. Japanese Temple Geometry Problems (San GaKu); The Charles Babbage Research Centre: Winnipeg, MB, Canada, 1989; pp. pp. 28+103–106. [Google Scholar]
- Bottema, O. The Malfatti Problem. Forum Geom. 2000, 1, 43–50. [Google Scholar]
- Stefanović, M. Triangle centers associated with the Malfatti circles. Forum Geom. 2003, 3, 83–93. [Google Scholar]
- Wolfram MathWorld. Malfatti Circles. Available online: http://mathworld.wolfram.com/MalfattiCircles.html (accessed on 15 August 2024).
- Bernardin, L.; Chin, P.; DeMarco, P.; Geddes, K.O.; Hare, D.E.G.; Heal, K.M.; Labahn, G.; May, J.P.; McCarron, J.; Monagan, M.B.; et al. Maple Programming Guide; Maplesoft, a Division of Waterloo Maple Inc.: Waterloo, ON, Canada, 1996. [Google Scholar]
- Meurer, A.; Smith, C.P.; Paprocki, M.; Čertík, O.; Kirpichev, S.B.; Rocklin, M.; Kumar, A.; Ivanov, S.; Moore, J.K.; Singh, S.; et al. SymPy: Symbolic computing in Python. PeerJ Comput. Sci. 2017, 3, e103. [Google Scholar] [CrossRef]
- Kay, D.C. College Geometry; Holt, Rinehart and Winston: New York, NY, USA, 1969. [Google Scholar]
- Solution du Dernier des Deux Problèmes Proposés à la Page 196 de ce Volume. Annales de Mathématiques Pures et Appliquées, Tome 1 (1810–1811); pp. 343–348. Available online: http://www.numdam.org/item/AMPA_1810-1811__1__343_0/ (accessed on 15 August 2024).
- Chiang, C.-S.; Hoffmann, C.M.; Rosen, P. A generalized Malfatti problem. Comput. Geom. 2012, 45, 425–435. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Chiang, C.-S. Extended General Malfatti’s Problem. Algorithms 2024, 17, 374. https://doi.org/10.3390/a17080374
Chiang C-S. Extended General Malfatti’s Problem. Algorithms. 2024; 17(8):374. https://doi.org/10.3390/a17080374
Chicago/Turabian StyleChiang, Ching-Shoei. 2024. "Extended General Malfatti’s Problem" Algorithms 17, no. 8: 374. https://doi.org/10.3390/a17080374
APA StyleChiang, C. -S. (2024). Extended General Malfatti’s Problem. Algorithms, 17(8), 374. https://doi.org/10.3390/a17080374