Skip to content
  • SiteMap
  • Our Services
  • Frequently Asked Questions (FAQ)
  • Support
  • About Us

UpdateGadh

Update Your Skills.

  • Home
  • Projects
    •  Blockchain projects
    • Python Project
    • Data Science
    •  Ai projects
    • Machine Learning
    • PHP Project
    • React Projects
    • Java Project
    • SpringBoot
    • JSP Projects
    • Java Script Projects
    • Code Snippet
    • Free Projects
  • Tutorials
    • Ai
    • Machine Learning
    • Advance Python
    • Advance SQL
    • DBMS Tutorial
    • Data Analyst
    • Deep Learning Tutorial
    • Data Science
    • Nodejs Tutorial
  • Blog
  • Contact us
  • Toggle search form
Functional Dependency

Functional Dependency

Posted on July 14, 2025July 14, 2025 By Rishabh saini No Comments on Functional Dependency

Functional Dependency

What is Functional Dependency?

In the context of relational databases, a functional dependency expresses the relationship between two attributes. If attribute S functionally determines attribute T, it is denoted as:

S → T

In this notation, S is known as the determinant, and T is the dependent. This means that the value of attribute T is determined by the value of S. More formally, for any two rows in a table, if the value of S is the same, then the value of T must also be the same.

Machine Learning Tutorial:-Click Here
Data Science Tutorial:-Click Here
Complete Advance AI topics:- CLICK HERE
Deep Learning Tutorial:- Click Here

Example:

Consider a table named Employee with the following attributes:

  • Emp_Id
  • Emp_Name
  • Emp_Address

Here, Emp_Id can uniquely identify each employee’s name and address. This gives rise to the following functional dependencies:

  • Emp_Id → Emp_Name
  • Emp_Id → Emp_Address

This indicates that Emp_Name and Emp_Address are functionally dependent on Emp_Id.

Types of Functional Dependencies

1. Trivial Functional Dependency

A functional dependency A → B is trivial if B is a subset of A.

Example:

In a table with attributes {Employee_Id, Employee_Name}:

  • {Employee_Id, Employee_Name} → Employee_Id is trivial because Employee_Id is a subset of the left-hand side.
  • Employee_Id → Employee_Id and Employee_Name → Employee_Name are also considered trivial.

2. Non-Trivial Functional Dependency

A functional dependency A → B is non-trivial if B is not a subset of A.

Example:

  • ID → Name is non-trivial because Name is not part of the ID.
  • Name → DOB is also non-trivial.

If the intersection of A and B is empty, the dependency is called completely non-trivial.

Armstrong’s Axioms

To understand and work with functional dependencies, Armstrong’s Axioms provide a set of inference rules. Introduced by William Armstrong in 1974, these rules help derive all possible functional dependencies from a given set.

1. Reflexivity

If T is a subset of S, then S → T holds.
Example: {Emp_Id, Emp_Name} → Emp_Id

2. Augmentation

If S → T, then SR → TR also holds, where R is an additional attribute.
Example: If Emp_Id → Emp_Name, then {Emp_Id, Dept} → {Emp_Name, Dept}

3. Transitivity

If S → T and T → U, then S → U.
Example: If Emp_Id → Dept and Dept → Manager, then Emp_Id → Manager

Advantages of Functional Dependency in DBMS

1. Ensures Data Accuracy

Functional dependencies help maintain data integrity by enforcing rules that prevent the insertion of inconsistent data into the database.

2. Supports Normalization

Functional dependencies are essential in the normalization process. By identifying dependencies, large tables can be decomposed into smaller, well-structured tables, reducing redundancy and anomalies.

3. Enables Efficient Storage

By organizing data through normalization based on functional dependencies, databases become more storage-efficient. Smaller, well-defined tables use less space and are easier to manage.

4. Simplifies Maintenance

Databases that follow well-defined functional dependencies are easier to maintain. Changes in the schema have limited impact, reducing the risk of errors and making updates more manageable.

Complete Python Course with Advance topics:-Click Here
SQL Tutorial :-Click Here

Download New Real Time Projects :-Click here

Final Thoughts

Understanding functional dependency is crucial for anyone working with relational databases. It lays the foundation for data normalization, which leads to more efficient, consistent, and reliable databases. Whether you’re a student, developer, or database designer, mastering this concept will help you design better data models.

For more insightful DBMS topics, keep following UpdateGadh — your source for smart, simplified tech content.


functional dependency in dbms
functional dependency example
types of functional dependency in dbms
functional dependency diagram
full functional dependency
functional dependency in dbms pdf
fully functional dependency in dbms
functional dependency in dbms with example
normalization in dbms
transitive dependency
functional dependency in dbms example

    Post Views: 300
    DBMS Tutorial Tags:advanced SQL, data dependencies, data integrity, data modeling, data structure, database concepts, database design, Database Management, database principles, database schema, entity relationship, functional analysis, functional dependency, functional relationships, normalization process, relational databases, sql basics, system design

    Post navigation

    Previous Post: Thyroid Detection
    Next Post: Posture Detection Using Machine Learning in Python

    More Related Articles

    Deadlock in DBMS Deadlock in DBMS DBMS Tutorial
    Fifth Normal Form (5NF) in DBMS Fifth Normal Form (5NF) in DBMS DBMS Tutorial
    Lock-Based Protocol Lock-Based Protocol DBMS Tutorial

    Leave a Reply Cancel reply

    Your email address will not be published. Required fields are marked *

    You may also like

    1. What is a Database? Definition, Types, Examples
    2. ER Design Issues
    3. DBMS Specialization
    4. Relational Model in DBMS
    5. Normalization in DBMS – A Complete Guide | Updategadh
    6. Fifth Normal Form (5NF) in DBMS

    Most Viewed Posts

    1. Top Large Language Models in 2025
    2. Online Shopping System using PHP, MySQL with Free Source Code
    3. login form in php and mysql , Step-by-Step with Free Source Code
    4. Flipkart Clone using PHP And MYSQL Free Source Code
    5. News Portal Project in PHP and MySql Free Source Code
    6. User Login & Registration System Using PHP and MySQL Free Code
    7. Top 10 Final Year Project Ideas in Python
    8. Online Bike Rental Management System Using PHP and MySQL
    9. E learning Website in php with Free source code
    10. E-Commerce Website Project in Java Servlets (JSP)
    • AI
    • ASP.NET
    • Blockchain
    • ChatCPT
    • code Snippets
    • Collage Projects
    • Data Science Project
    • Data Science Tutorial
    • DBMS Tutorial
    • Deep Learning Tutorial
    • Final Year Projects
    • Free Projects
    • How to
    • html
    • Interview Question
    • Java Notes
    • Java Project
    • Java Script Notes
    • JAVASCRIPT
    • Javascript Project
    • JSP JAVA(J2EE)
    • Machine Learning Project
    • Machine Learning Tutorial
    • MySQL Tutorial
    • Node.js Tutorial
    • PHP Project
    • Portfolio
    • Python
    • Python Interview Question
    • Python Projects
    • PythonFreeProject
    • React Free Project
    • React Projects
    • Spring boot
    • SQL Tutorial
    • TOP 10
    • Uncategorized
    • Online Examination System in PHP with Source Code
    • AI Chatbot for College and Hospital
    • Job Portal Web Application in PHP MySQL
    • Online Tutorial Portal Site in PHP MySQL — Full Project with Source Code
    • Online Job Portal System in JSP Servlet MySQL

    Most Viewed Posts

    • Top Large Language Models in 2025 (8,615)
    • Online Shopping System using PHP, MySQL with Free Source Code (5,218)
    • login form in php and mysql , Step-by-Step with Free Source Code (4,870)

    Copyright © 2026 UpdateGadh.

    Powered by PressBook Green WordPress theme