Graph

From WikiMD's Wellness Encyclopedia

Graph is a mathematical structure used in the field of mathematics and computer science. It is composed of vertices (also known as nodes) and edges (also known as arcs). Each edge connects a pair of vertices. Graphs are used to model many types of relations and processes in physical, biological, social and information systems.

Definition[edit | edit source]

A graph is a pair G = (V, E), where V is a set of vertices, and E is a set of edges. Each edge is a 2-element subset of V. The two vertices associated with an edge are called the endpoints of the edge.

Types of Graphs[edit | edit source]

There are several types of graphs, each with its own specific properties and uses. Some of the most common types include:

  • Undirected graph - A graph in which edges have no orientation. The edge (x, y) is identical to the edge (y, x).
  • Directed graph - A graph in which edges have orientations.
  • Weighted graph - A graph in which each edge has a numerical value, known as its weight.
  • Bipartite graph - A graph whose vertices can be divided into two disjoint sets such that every edge connects a vertex in the first set to one in the second set.
  • Complete graph - A graph in which there is an edge between every pair of vertices.

Applications[edit | edit source]

Graphs are used in numerous fields, including computer science, physics, biology, social sciences, and network science. They are used to represent networks of communication, data organization, computational devices, the flow of computation, etc.

See Also[edit | edit source]

References[edit | edit source]

Graph Resources
Wikipedia
WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD