Skip to main content
Humanities LibreTexts

2.1: What are Algorithms?

  • Page ID
    90197
    • Walter D. Butler; Aloha Sargent; and Kelsey Smith
    • Pasadena City College, Cabrillo College, and West Hills Community College

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    Overview

    “Everyone who has accessed the internet has experienced the personalizing actions of algorithms, whether they realize it or not. These invisible lines of code can track our interactions, trying to game our consumer habits and political leanings to determine what ads, news stories and information we see….As tracking practices have become more common and advanced, it has become urgent to understand how these computer programs work and have widespread impact. How do students understand the hidden filters that influence what they see and learn, and shape what they think and who they are?” (Head et al. 13)

    Colorful lines depicting the seeming ordered nature of a shell sorting algorithm

    Algorithms are step-by-step instructions that computers follow to complete tasks, solve problems, and make automated decisions. They use data to make predictions about people, including their preferences, attributes, and behaviors. Algorithms power nearly everything we see online, including search engines, social media, video games, online dating, and smartphone apps. They are used to shape and filter content on the platforms many of us interact with daily, such as Google, YouTube, Instagram, Netflix, Facebook, Amazon, Twitter, and Spotify. For example, algorithms determine which websites you see first in your Google search results, which posts you see on Facebook, and which videos YouTube “recommends” and autoplays for you.

    Data & Algorithms

    The following TED Talk [9:44] with computer scientist Jennifer Golbeck provides a clear explanation of how data is collected on social media sites, and how this can be used to create algorithms that predict attributes like political affiliation, intelligence, sexual orientation, relationship strength, and even drug/alcohol usage.

    Thumbnail for the embedded element "Jennifer Golbeck: Your social media "likes" expose more than you think"

    A TED element has been excluded from this version of the text. You can view it online here: http://pb.libretexts.org/collegeresearch/?p=42

    Note: Turn on closed captions with the subtitles button or use the interactive text transcript if you prefer to read.


    Sources

    Head, Alison J., Barbara Fister, and Margy MacMillan. “Information Literacy in the Age of Algorithms.” Project Information Literacy, 15 Jan. 2020. Licensed under CC BY-NC-SA 4.0

    Image: “Shell Sorting Algorithm Color Bars” by Balu Ertl is licensed under CC BY 4.0

    Your Social Media ‘Likes” Expose More Than You Think: Jennifer Golbeck” by TED is licensed under CC BY-NC-ND 4.0


    This page titled 2.1: What are Algorithms? is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Walter D. Butler; Aloha Sargent; and Kelsey Smith via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.