Python | Sympy Line.are_concurrent method Last Updated : 28 Apr, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report In Sympy, the function are_concurrent() is used to check whether the given linear entities(lines) are concurrent or not. Two or more linear entities are concurrent if they all intersect at a single point. Syntax: Line.are_concurrent(lines) Parameters: lines: a sequence of linear entities. Returns: True: if the set of linear entities intersect in one point False: otherwise. Example #1: Python3 1== # import sympy and Point, Line from sympy import Point, Line p1, p2 = Point(0, 0), Point(3, 5) p3, p4 = Point(-2, -2), Point(0, 2) l1, l2, l3 = Line(p1, p2), Line(p1, p3), Line(p1, p4) # using are_concurrent() method areConcurrent = Line.are_concurrent(l1, l2, l3) print(areConcurrent) Output: True Example #2: Python3 1== # import sympy and Point, Line from sympy import Point, Line p1, p2 = Point(0, 0), Point(3, 5) p3, p4 = Point(-2, -2), Point(0, 2) l1, l2, l3 = Line(p1, p3), Line(p1, p4), Line(p2, p3) # using are_concurrent() method areConcurrent = Line.are_concurrent(l1, l2, l3) print(areConcurrent) Output: False Comment More infoAdvertise with us Next Article Python | Sympy Line.are_concurrent method R ravikishor Follow Improve Article Tags : Python Python SymPy-Geometry Practice Tags : python Similar Reads Python | Sympy Plane.are_concurrent() method In Simpy, the function Plane.are_concurrent() is used to check whether the given sequence of planes are concurrent or not. Two or more Planes are concurrent if their intersections are a common line. Syntax: Plane.are_concurrent() Parameters: planes: sequence of planes Returns: True: if they are conc 1 min read Python | Sympy Line.distance() method In Sympy, the function distance() is used to find the shortest distance between a given line and a given point. Syntax: Line.distance(other) Parameter: other: a point Returns: shortest distance between a line and a point Raises: NotImplementedError is raised if `other` is not a Point Example #1: Pyt 1 min read Python | Sympy Line.intersection() method In Sympy, the function intersection() is used to find the intersection with another geometrical entity. Syntax: Line.intersection(o) Parameters: o: Point or LinearEntity Returns: intersection: list of geometrical entities Example #1: Python3 1== # import sympy and Point, Line from sympy import Point 1 min read Python | sympy.is_constant() method With the help of sympy.is_constant() method, we can check if element is constant or not and it will return a boolean value if found constant by using sympy.is_constant() method. Syntax : sympy.is_constant() Return : Return a boolean value if constant is found. Example #1 : In this example we can see 1 min read Python | sympy.is_even() method In the sympy module, we can test whether a given number n is even or not using sympy.is_even() function. Syntax: sympy.is_even(n) Parameter: n; number to be tested Return: bool value result Code #1: Python3 # Python program to check even number # using sympy.is_even() method # importing sympy module 1 min read Like