create account

Graph Theory and The Art Gallery Problem by jackeown

View this thread on: hive.blogpeakd.comecency.com
· @jackeown ·
$7.77
Graph Theory and The Art Gallery Problem
# Graph Theory: A wonderful world of dots and lines.<hr>
I took a great graph theory class 2 years ago in college...it was ok, but I think our professor kind of had a vendetta against computer science for some reason, so we skipped most of the cool applications and the class just became another class whose sole purpose seemed to be to teach us how to write proofs.

Now I don't have anything against proofs...in fact I quite like them, but a graph theory class where you don't learn about Dijkstra's algorithm or an adjacency matrix just isn't complete in my opinion...

Because of this, I've decided to look into some of the stuff we didn't learn about...some of the *cool* flow network problems and such. In an attempt to do that, I stumbled upon the "Art Gallery Problem."  Enjoy ;)

<hr>

# The Art Gallery Problem
<hr>

Imagine you are hired to oversee security for an art gallery. You've never actually been to this art gallery before, but you've been given an aerial picture layout of the building. You want to know how many security guards you will need to hire in order to have every inch of the gallery under surveillance at all times.  For example, the following layout with four guards:

https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Art_gallery_problem.svg/220px-Art_gallery_problem.svg.png

The gallery can be thought of as a polygon with n vertices.
In general it turns out, you can always guard this polygon with at most floor(n/3) guards and there's a really simple proof!

First, however, I have to prove a simple lemma:
You can always color the vertices of a triangulated polygon with at most 3 colors.
(so that no two adjacent vertices share a color)
The argument is simple.

1.) Take away some outside triangle.
2.) Inductively color the vertices of the rest of the graph with only 3 colors.
3.) Add back the triangle which you took away, coloring it with the only possible colors. (two of the three vertices will already be colored)



<hr>

# Proof:
<hr>

Step one: Triangulate the polygon.
Step two: color the vertices of the polygon using 3 colors (as we showed you could do).
Step three: choose one of those colors to be our security guards and notice that every triangle is convex and can be seen fully by that color that is present in every triangle!

<hr>


Thanks for reading this post.  I hope to post more about graph theory in the future.


If you want to see more math like this,
check out my <a href="https://steemit.com/mathematics/@jackeown/introduction-to-abstract-algebra-part-1">Introduction to  Abstract Algebra</a> posts
and follow me at @jackeown ;)
👍  , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorjackeown
permlinkgraph-theory-and-the-art-gallery-problem
categorymathematics
json_metadata{"tags":["mathematics","math","graph","theory","life"],"users":["jackeown"],"image":["https://upload.wikimedia.org/wikipedia/commons/thumb/e/ee/Art_gallery_problem.svg/220px-Art_gallery_problem.svg.png"],"links":["https://steemit.com/mathematics/@jackeown/introduction-to-abstract-algebra-part-1"],"app":"steemit/0.1","format":"markdown"}
created2017-07-20 02:42:12
last_update2017-07-20 02:42:12
depth0
children9
last_payout2017-07-27 02:42:12
cashout_time1969-12-31 23:59:59
total_payout_value5.918 HBD
curator_payout_value1.856 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,606
author_reputation457,655,628,034
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,032,443
net_rshares1,781,731,395,299
author_curate_reward""
vote details (23)
@jackeown ·
@tippy roll 100
👍  
properties (23)
authorjackeown
permlinkre-jackeown-graph-theory-and-the-art-gallery-problem-20170720t182024183z
categorymathematics
json_metadata{"tags":["mathematics"],"users":["tippy"],"app":"steemit/0.1"}
created2017-07-20 18:20:24
last_update2017-07-20 18:20:24
depth1
children0
last_payout2017-07-27 18:20:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length15
author_reputation457,655,628,034
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,106,128
net_rshares2,420,509,476
author_curate_reward""
vote details (1)
@qagiri ·
@jackeown
Good content
Keep sharing good posts!
👎  
properties (23)
authorqagiri
permlinkre-jackeown-graph-theory-and-the-art-gallery-problem-20170720t032106592z
categorymathematics
json_metadata{"tags":["mathematics"],"users":["jackeown"],"app":"steemit/0.1"}
created2017-07-20 03:21:06
last_update2017-07-20 03:21:06
depth1
children2
last_payout2017-07-27 03:21:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation5,207,321,068,642
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,034,832
net_rshares-2,353,215,235
author_curate_reward""
vote details (1)
@jackeown ·
Thanks @qagiri!  Will do!
properties (22)
authorjackeown
permlinkre-qagiri-re-jackeown-graph-theory-and-the-art-gallery-problem-20170720t032814964z
categorymathematics
json_metadata{"tags":["mathematics"],"users":["qagiri"],"app":"steemit/0.1"}
created2017-07-20 03:28:15
last_update2017-07-20 03:28:15
depth2
children0
last_payout2017-07-27 03:28:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation457,655,628,034
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,035,208
net_rshares0
@jackeown ·
Aww...crap just realized your post was automated...
http://i.imgur.com/rsqnDcO.jpg
👍  
properties (23)
authorjackeown
permlinkre-qagiri-re-jackeown-graph-theory-and-the-art-gallery-problem-20170720t033008358z
categorymathematics
json_metadata{"tags":["mathematics"],"image":["http://i.imgur.com/rsqnDcO.jpg"],"app":"steemit/0.1"}
created2017-07-20 03:30:09
last_update2017-07-20 03:30:09
depth2
children0
last_payout2017-07-27 03:30:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation457,655,628,034
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,035,310
net_rshares2,370,082,196
author_curate_reward""
vote details (1)
@randowhale ·
This post received a 2.0% upvote from @randowhale thanks to @jackeown!  For more information, [click here](https://steemit.com/steemit/@randowhale/introducing-randowhale-will-you-get-the-100-vote-give-it-a-shot)!
👍  
properties (23)
authorrandowhale
permlinkre-graph-theory-and-the-art-gallery-problem-20170720t203208
categorymathematics
json_metadata"{"app": "randowhale/0.1", "format": "markdown"}"
created2017-07-20 20:32:09
last_update2017-07-20 20:32:09
depth1
children0
last_payout2017-07-27 20:32:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length212
author_reputation47,657,457,485,459
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,117,839
net_rshares455,930,377
author_curate_reward""
vote details (1)
@schneidor ·
$0.04
This was the introduction topic of the geometry lecture when I studied math. Nice to see posts like that. Up
👍  ,
properties (23)
authorschneidor
permlinkre-jackeown-graph-theory-and-the-art-gallery-problem-20170722t052849997z
categorymathematics
json_metadata{"tags":["mathematics"],"app":"steemit/0.1"}
created2017-07-22 05:28:51
last_update2017-07-22 05:28:51
depth1
children1
last_payout2017-07-29 05:28:51
cashout_time1969-12-31 23:59:59
total_payout_value0.032 HBD
curator_payout_value0.008 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length108
author_reputation1,873,671,888,307
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,270,613
net_rshares10,739,834,771
author_curate_reward""
vote details (2)
@jackeown ·
Thanks!
properties (22)
authorjackeown
permlinkre-schneidor-re-jackeown-graph-theory-and-the-art-gallery-problem-20170722t215546410z
categorymathematics
json_metadata{"tags":["mathematics"],"app":"steemit/0.1"}
created2017-07-22 21:55:45
last_update2017-07-22 21:55:45
depth2
children0
last_payout2017-07-29 21:55:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7
author_reputation457,655,628,034
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,351,848
net_rshares0
@steemiteducation ·
https://imgoat.com/uploads/4173cb38f0/29566.jpg
👍  
properties (23)
authorsteemiteducation
permlinkre-jackeown-graph-theory-and-the-art-gallery-problem-20170722t173448943z
categorymathematics
json_metadata{"tags":["mathematics"],"image":["https://imgoat.com/uploads/4173cb38f0/29566.jpg"],"app":"steemit/0.1"}
created2017-07-22 17:34:48
last_update2017-07-22 17:34:48
depth1
children0
last_payout2017-07-29 17:34:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length47
author_reputation222,146,137,504,613
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,330,365
net_rshares1,864,036,451
author_curate_reward""
vote details (1)
@yash0108 ·
hi bro i just vote 33 members now my vote power low wait who vote me i vote tomorrow sorry
properties (22)
authoryash0108
permlinkre-jackeown-graph-theory-and-the-art-gallery-problem-20170724t184539857z
categorymathematics
json_metadata{"tags":["mathematics"],"app":"steemit/0.1"}
created2017-07-24 18:45:42
last_update2017-07-24 18:45:42
depth1
children0
last_payout2017-07-31 18:45:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation3,386,741,504,526
root_title"Graph Theory and The Art Gallery Problem"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id9,572,369
net_rshares0