The Wayback Machine - https://web.archive.org/web/20240909202055/https://www.geeksforgeeks.org/geometry-and-co-ordinates/
Open In App

Geometry and Co-ordinates

Last Updated : 28 Feb, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Polygons

Polygons are planes figures formed by a closed series of rectilinear segments. Ex– Triangle, Rectangle etc. 

Properties: 
1. Sum of all the angles of a polygon with n sides = (n-2)π 
2. Sum of all exterior angles = 360° 
3. No. of sides = 360°/exterior angle 

Classification of polygons – 
 

 

Triangles

A triangle is a polygon having three sides. 
Area: 
1. Area = 1/2 x base x height 
2. Area = √s(s-a)(s-b)(s-c) where s = a+b+c/2 
3. Area = rs (where r is in-radius) 
4. Area = 1/2 x product of two sides x sine of angle 
5. Area = abc/4R where R = circumradius 

Congruency of Triangles: 
1. SAS congruency: If two sides and an included angle of one triangle are equal to two sides and an included angle of another, the two triangles are congruent. 
2. ASA congruency: If two angles and the included side of one triangle is equal to two angles and the included side of another, the triangles are congruent. 
3. AAS congruency: If two angles and side opposite to one of the angles is equal to the corresponding angles and sides of another triangle, the triangles are congruent. 
4. SSS congruency: If three sides of one triangle are equal to three sides of another triangle, the two triangles are congruent. 
5. SSA congruency: If two sides and the angle opposite the greater side of one triangle are equal to the two sides and the angle opposite to the greater side of another triangle, then triangle are congruent. 

Similarity of Triangles: 
1. AAA similarity: If in two triangles, corresponding angles are equal, then the triangles are similar. 
2. SSS similarity: If the corresponding sides of two triangles are proportional then they are similar. 
3. SAS similarity: If in two triangles, one pair of corresponding sides are proportional and the included angles are equal then the two triangles are similar. 

Equilateral triangles: 
 

1. Height = a√3/2 
2. Area = √3a2/4 
3. R(circum radius) = 2h/3 = a/√3 
4. r(in radius) = h/3 = a/2√3 
5. In equilateral triangle orthocenter, in-centre, circumcenter and centroid coincide. 

Isosceles triangle: 
 

Area = b/4√(4a2 – b2) 
where b=base and a=equal sides 

Important terms: 
1. Median: A line joining the mid-point of a side of a triangle to the opposite vertex is called a radian. 
 

 

  • A median divides a triangle in two parts of equal area. 
     
  • The point where three medians meet is called centroid of the triangle. 
     
  • The centroid of a triangle divides each median in ratio 2:1. 
     

2. Altitude: A perpendicular drawn from any vertex to the opposite side is called the altitude. 
 

 

  • The point where all altitudes meet at a point is called the orthocenter of triangle. 
     

3. Perpendicular bisector: A line that is a perpendicular to a side and bisects it is the perpendicular bisector of the side. 
 

 

  • The point at which perpendicular bisectors of the sides meet is called the circumcenter. 
     
  • The circumcenter is the centre of the circle that circumscribes the triangle. 
     

4. Incentre: 
 

 

  • The lines bisecting the interior angles of a triangle are the angle bisectors of that triangle. 
     
  • The angle bisectors meet at a point called the incentre. 
     
  • The angle formed by any side at the incentre is always 90° more than the half of angle opposite to the side. 
     

 

Tangents:

 

1. Length of direct common tangents is 
= √[(Distance between their centres)2-(r1 – r2)2] 
= √[(O1O2)2 – (r1 – r2)2] 

2. Length of traverse common tangents is 
= √[(Distance between their centres)2-(r1 + r2)2] 
= √[(O1O2)2 – (r1 + r2)2] 

Sample Problems 

Question 1: If each interior angle of a regular polygon is 108°. The number of sides of the polygon is 
Solution : Interior angle = 108° 
Exterior angle = 180 – 108 = 72 
Number of sides of polygon = 360° /exterior angle 
= 360° /72 
= 5 

Questions 2: The ratio of angles of triangle is 2:3:5. Find the smallest angle of the triangle. 
Solution : Ratio of angles 2:3:5 
then 2x + 3x + 5x = 180 
10x = 180 
x = 18 
Hence, the smallest angle = 18×2 = 36° 

Question 3: Two medians AD and BE of ∆ABC intersect O at right angle. If AD = 9cm and BE = 6cm, then the length of BD is 
Solution : 
 

O is the centroid which divides the median in 2:1. 
So, AO:OD = 2:1 
AD = 3 units -> 9 cm 
1 unit -> 3 cm 
So, OD = 3 cm 
BE = 3 units -> 6cm 
So, BO = 4 cm 
∆BOD is a right angled triangle. 
BD2 = BO2 + OD2 
BD2 = (4)2 + (3)2 
BD2 = 16 + 9 = 25 
BD = 5 cm 

Question 4: The side AB of a parallelogram ABCD is produced to E in such a way that BE = AB, DE intersects BC at Q. The point Q divides BC in the ratio 
Solution : Acc. to question 
 

AD || BC and AB || DC 
∠1 = ∠2 (Corresponding alternate angle) 
∠3 = ∠4 (Corresponding alternate angle) 
and ∠BEQ is common 
By AAA property both are similar ∆EQB ∼ ∆EDA 
So, EB/EA = EQ/ED = QB/AD 
AD=BC & EA = 2EB 
then 1/2 = QB/BC 
=> BQ = QC 
Hence, Q divides BC in ratio 1:1. 

Question 5: In a ∆ABC, AB=AC and BA is produced to D such that AC=AD. Then the ∠BCD is 
Solution :Acc. to question 
 

ABC is an isosceles triangle. 
=> ∠C = ∠B = θ 
=> ∠CAD = ∠C + ∠B = 2θ (An exterior angle of a triangle is equal to the sum of the opposite interior angles.) 
AC=AD So, ∆ADC is also an isosceles triangle. 
In ∆ADC, ∠A + ∠C + ∠D = 180° 
2∠C = 180° – 2θ (∠C = ∠D) 
∠C = 90° – θ 
∠BCD = θ + 90° – θ 
∠BCD = 90° 

Question 6: If O is the circumcenter of ∆PQR, and ∠QOR = 110°, ∠OPR= 25°, then the angle ∠PRQ is 
Solution : 
 

If O is the circumcenter then OP=OR=OQ. 
∠OPR = 25° 
then ∠PRO = 25° 
In ∆OQR 
∠OQR + ∠ORQ + ∠QOR = 180° 
2∠ORQ = 180° – 110° 
∠ORQ = 35° 
So, ∠PRQ = ∠PRO + ∠ORQ 
= 25° + 35° 
= 60° 

Question 7: In ∆ABC, DE || AC, D and E are two points on AB and CB respectively. If AB=20 cm and AD = 8 cm, then BE : CE is 
Solution : 
 

AB = 20 cm and AD = 8 cm 
DE || AC 
then, ∠A = ∠D and ∠C = ∠E 
∠B is common 
By AAA property, ∆ABC ∼ ∆DBE 
therefore BD/AD = BE/CE 
BE/CE = 12/8 
BE/CE = 3/2 
Hence, BE : CE = 3:2 

Question 8: Angle between the internal bisectors of two angles of a triangle ∠B and ∠C is 110°, then ∠A is 
Solution : 
 

Internal bisectors of angles intersect each other at Incentre. 
∠BIC = 110° 
The angle formed by any side at the incentre is always 90° more than the half of angle opposite to the side.So, 
∠BIC = 90° + 1/2∠A 
1/2∠A = 110° – 90° 
∠A = 20×2 = 40° 

Question 9: The distance between two parallel chords of length 8 cm and each in a circle of diameter 10cm is 
Solution : 
 

AB = CD = 8 cm 
radius = D/2 = 10/2 = 5 cm 
In ∆OMB 
OB2=OM2 + MB2 
52 = OM2 + 42 
OM2 = 25 – 16 
OM = 3 cm 
MN = 2 x OM = 2 x 3 = 6 cm 

Question 10: The radius of two concentric circles are 12cm and 13cm. If the chord of the greater circle be a tangent to the smaller circle, then the length of that chord is: 
Solution : Acc. to Question 
 

AO = 13 cm and OD = 12 cm 
In ∆AOD 
AO2= DO2 + AD2 
132 = 122 + AD2 
AD2 = 169 – 144 
AD = 5cm 
AB = 2xAD = 10 cm 

Questions 11: Two tangents are drawn at the extremities of diameter AB of a circle with centre O. If a tangent to the circle at the point C intersects the other two tangents at Q and R, then the measure of the ∠QOR is 
Solution : Acc. to question 
 

In ∆OCR and ∆RBO 
OC = OB (radius) 
RC = RB (tangent from same point) 
PR is common 
By SSS property both are congruent ∆OCR ≅ ∆RBO 
Similarly they are also congruent ∆OCQ ≅ ∆QAO 
Then ∠COR = ∠ROB = x 
and ∠AOQ = ∠COQ = y 
2x + 2y = 180° 
x + y = 90° 
∠QOR = 90° 

Question 12: Two equal circles whose centres are O and O’ intersect each other at the point A and B, OO’= 24 cm and AB = 10 cm then the radius of the circle is 
Solution : 
 

AB = 10 cm 
AC = BC = 5 cm 
OC = CO’ = 12 cm 
In right angled triangle ∆ACO 
OA2 = OC2 + AC2 
OA2 = 122 + 52 
OA2 = 144 + 25 
OA = 13 cm 

Question 13: The distance between the centers of two circles of radii 6 cm and 3 cm is 15 cm. The length of the traverse common tangent to the circles is: 
Solution : Length of traverse common tangent = √[(Distance between their centres)2-(r1 + r2)2] 
=√[(15)2-(6 + 3)2] 
=√(225 – 81) 
= 12 cm 

Question 14: If the distance between two points (0, -5) and (x, 0) is 13 units, then the value of x is: 
Solution :We know that 
(Distance)2 =[(x2-x1)2 + (y2 – y1)2] 
(13)2 = [(x2-0)2 + (0 – (-5) )2] 
169 = x2 + 25 
x = 12 units
 



Previous Article
Next Article

Similar Reads

PyQt5 QSpinBox - How to get the X and Y co-ordinates respectively
In this article we will see how we can get the X and Y co-ordinates of the spin box. X co-ordinate is the distance of spin box from the left side of window frame and Y co-ordinate is the distance of spin box from the upper side of the window frame, using X and Y co-ordinate we can determine the position of the spin box in the window. In order to do
2 min read
PYGLET – Sprite X and Y Co-ordinates
In this article we will see how we can access X & Y co-ordinates of the sprite in PYGLET module in python. Pyglet is easy to use but powerful library for developing visually rich GUI applications like games, multimedia etc. A window is a "heavyweight" object occupying operating system resources. Windows may appear as floating regions or can be
3 min read
PyQtGraph - Setting X and Y Co-ordinates of Line in Line Graph
In this article, we will see how we can set X & Y coordinates of the line i.e origin of the line of line graph in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for
3 min read
PyQtGraph - Getting X and Y Co-ordinates of Line in Line Graph
In this article, we will see how we can get X & Y coordinates of the line i.e origin of the line of line graph in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for
4 min read
Find Co-ordinates of Contours using OpenCV | Python
In this article, we will learn how to find the co-ordinates of Contours with the help of OpenCV. Contours are defined as the line joining all the points along the boundary of an image that are having the same intensity. Contours come handy in shape analysis, finding the size of the object of interest, and object detection. We will be using OpenCV f
3 min read
PYGLET – Shape X, Y Co-ordinates
In this article we will see how we can access the X & Y co-ordinates of the shape in PYGLET module in python. Pyglet is easy to use but powerful library for developing visually rich GUI applications like games, multimedia etc. A window is a "heavyweight" object occupying operating system resources. Windows may appear as floating regions or can
3 min read
PyQtGraph - Getting Starting Co-ordinates of Line in Line Graph
In this article, we will see how we get the starting coordinates of the line i.e origin of the line of line graph in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for
4 min read
PyQtGraph - Setting Starting Co-ordinates of Line in Line Graph
In this article, we will see how we set the starting coordinates of the line i.e origin of the line of line graph in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for
3 min read
Geometry Method in Python Tkinter
Tkinter is a Python module that is used to develop GUI (Graphical User Interface) applications. It comes along with Python, so you do not have to install it using the pip command. Tkinter provides many methods, one of them is the geometry() method. This method is used to set the dimensions of the Tkinter window and is used to set the position of th
3 min read
Python OpenCV: Epipolar Geometry
The general setup of epipolar geometry. The gray region is the epipolar plane. The orange line is the baseline, while the two blue lines are the epipolar lines. Often in multiple view geometry, there are interesting relationships between the multiple cameras, a 3D point, and that point's projections in each of the camera's image plane. The geometry
6 min read
PyQt5 – Get geometry of the Push button
We know we can set geometry of button using setGeometry method, geometry in PyQt5 refer to the location and size of the push button. In order to get the geometry of any push button we will usegeometry method. This method will return the QRect object which tells the location and the size of push button also it is the argument of setGeometry method.
2 min read
PyQt5 QSpinBox - Getting the frame geometry
In this article we will see how we can get the frame geometry of the spin box. Frame geometry is the spin box geometry relative to its parent including any window frame. By default, frame geometry of the spin box contains a value that depends on the user's platform and screen geometry. In order to do this we use frameGeometry method with the spin b
2 min read
PyQt5 QSpinBox - Setting/Changing Geometry
In this article we will see how we can set the geometry to the spin box. Geometry is basically the position as well as the size of the spin box. Setting geometry to the spin box can change its size as well as its position.In order to do this we use setGeometry method with the spin box object. Syntax : font_metrics.setGeometry(left, top, width, heig
2 min read
PyQt5 QSpinBox - Getting current geometry
In this article we will see how we can get the current geometry of the spin box. Geometry is basically the position as well as the size of the spin box. Setting geometry to the spin box can change its size as well as its position. We use setGeometry method to set or change the geometry of the spin box.In order to do this we use geometry method with
2 min read
PyQt5 QSpinBox - Getting normal geometry
In this article we will see how we can get the normal geometry of the spin box. The normal geometry of the spin is the geometry that will appear when shown as a normal (not maximized or full screen) for top-level widget. For child widgets normal geometry always holds an empty rectangle. By default normal geometry contains an empty rectangle. In ord
2 min read
PyQt5 QSpinBox - How to save its geometry
In this article we will see how we can save the geometry of the spin box. Saving of geometry helps in saving current geometry and state for top-level spin box widget. Saving data can be stored in any external file and can be restored for other uses as well. In order to do this we use saveGeometry method with the spin box object. Syntax : spin_box.s
2 min read
PyQt5 QSpinBox - How to restore geometry
In this article we will see how we can restore the geometry of the spin box from the saved. Saving of geometry helps in saving current geometry and state for top-level spin box widget which can be done with the help of saveGeometry. Saving data can be stored in any external file or in any variable and can be restored for other uses as well. In orde
2 min read
PyQt5 QCalendarWidget - Accessing Frame Geometry
In this article we will see how we can get the frame geometry of the QCalendarWidget. Frame geometry of the calendar relative to its parent including any window frame, by default this property contains a value that depends on the user's platform and screen geometry. In order to do this we will use frameGeometry method with the QCalendarWidget objec
2 min read
PyQt5 QCalendarWidget - Changing Geometry
In this article we will see how we can change the geometry of the QCalendarWidget. Geometry basically refer to the position and the size of the calendar. We can change the size of calendar with the help of resize method and position can be changed with the help of move method. Combining these two methods made the geometry of calendar. In order to d
2 min read
PyQt5 QCalendarWidget - Accessing Geometry
In this article we will see how we can get the geometry of the QCalendarWidget. Geometry basically refer to the position and the size of the calendar. We can change the size of calendar with the help of resize method and position can be changed with the help of move method. Combining these two methods made the geometry of calendar. We can change/se
2 min read
PyQt5 QCalendarWidget - Normal Geometry Property
In this article we will see how we can get the normal geometry property of QCalendarWidget. This property holds the geometry of the calendar as it will appear when shown as a normal (not maximized or full screen) top-level widget. For childs of calendar this property always holds an empty rectangle. In order to do this we will use normalGeometry me
2 min read
PyQt5 QDockWidget – Getting Frame Geometry
In this article, we will see how we can get the frame geometry of the QDockWidget. QDockWidget provides the concept of dock widgets, also know as tool palettes or utility windows. Dock windows are secondary windows placed in the dock widget area around the central widget in a QMainWindow(original window). This property holds the geometry of the wid
2 min read
PyQtGraph – Getting Geometry of Plot Window
In this article we will see how we can get the geometry of the plot window in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for displaying data (plots, video, etc.) an
2 min read
PyQtGraph – Setting Geometry of Plot Window
In this article we will see how we can set the geometry of the plot window in the PyQtGraph module. PyQtGraph is a graphics and user interface library for Python that provides functionality commonly required in designing and science applications. Its primary goals are to provide fast, interactive graphics for displaying data (plots, video, etc.) an
2 min read
PyQtGraph – Getting Frame Geometry of the Image View
The following article discusses how can we get frame geometry of the image view object in PyQTGraph. Frame geometry is the geometry of the image view corresponding to the main window, it describes the position and size of the image view. PyQtGraph is a graphics and user interface Python library for functionalities commonly required in designing and
3 min read
Loops and Control Statements (continue, break and pass) in Python
Python programming language provides the following types of loops to handle looping requirements. Python While Loop Until a specified criterion is true, a block of statements will be continuously executed in a Python while loop. And the line in the program that follows the loop is run when the condition changes to false. Syntax of Python Whilewhile
4 min read
Python counter and dictionary intersection example (Make a string using deletion and rearrangement)
Given two strings, find if we can make first string from second by deleting some characters from second and rearranging remaining characters. Examples: Input : s1 = ABHISHEKsinGH : s2 = gfhfBHkooIHnfndSHEKsiAnG Output : Possible Input : s1 = Hello : s2 = dnaKfhelddf Output : Not Possible Input : s1 = GeeksforGeeks : s2 = rteksfoGrdsskGeggehes Outpu
2 min read
Releasing GIL and mixing threads from C and Python
Releasing GIL in C extension: Give a C extension code and one needs to concurrently execute it with other threads in the Python interpreter. For this Global Interpreter Lock (GIL) has to be released and reacquired. Code #1 : Releasing and Reacquiring GIL by inserting following macros #include "Python.h" ... PyObject *pyfunc(PyObject *self
2 min read
Django Request and Response cycle - HttpRequest and HttpResponse Objects
Prerequisite - Views In Django | PythonBefore we jump into using convenience methods that views come with, Let's talk about the Request and Response cycle. So, when a Request happens to a Django server, a couple of things go on. One of them is Middleware. Middleware Middleware is like a middle ground between a request and response. It is like a win
4 min read
Create a DataFrame from a Numpy array and specify the index column and column headers
Let us see how to create a DataFrame from a Numpy array. We will also learn how to specify the index and the column headers of the DataFrame. Approach : Import the Pandas and Numpy modules. Create a Numpy array. Create list of index values and column values for the DataFrame. Create the DataFrame. Display the DataFrame. Example 1 : # importiong the
2 min read
Article Tags :
Practice Tags :