Bytes
rocket

Your Success, Our Mission!

6000+ Careers Transformed.

What is Functional Dependency?

Last Updated: 8th September, 2026

In Database Management System, a Functional Dependency (FD) defines a relationship between two attributes.

If one attribute uniquely determines another, it is called a functional dependency.

Written as:

X → Y

Meaning:

  • If you know X, you can uniquely determine Y

Tabular Example

Table: Student

Roll_No

Name

Department

101TaniyaCS
102RahulIT
103SnehaCS

Functional Dependencies:

Roll_No → Name 
Roll_No → Department

Because each Roll_No is unique.

Technical Example

Let:

A → B

This means:

  • For any two rows:
    • If A₁ = A₂
    • Then B₁ must equal B₂

No ambiguity allowed.

Types of Functional Dependencies

1. Trivial FD

A → A

Always true

2. Non-Trivial FD

A → B

When B is not part of A

3. Completely Non-Trivial FD

A → B

No overlap between A and B

1.College Roll Number System

UMI (1).jpeg

Imagine your college attendance system.

  • Each student has a unique Roll Number
  • That Roll Number gives:
    • Name
    • Course
    • Section

So:

Roll_No → Name, Course, Section

Why it works:
No two students share the same Roll Number.

But:

Name → Roll_No (Not valid)

Because multiple students can have the same name.

2. Bank Account System

umi 2 (1).png

Think about your bank.

  • Each account has a unique Account Number
  • From that, you get:
    • Account Holder Name
    • Balance
    • Branch

So:

Account_No → Name, Balance, Branch

Real understanding:
Even if two people have the same name, account numbers are always unique.

3. Employee ID in Company

umi 3 (1).jpeg

Inside a company:

  • Every employee has a unique Employee ID
  • That determines:
    • Salary
    • Department
    • Role

So:

Emp_ID → Salary, Department, Role

Insight:
Two employees can have the same role but never the same ID.

4. Vehicle Registration System

umi 5 (1).jpeg

Your vehicle number plate:

  • Is unique
  • Gives:
    • Owner Name
    • Vehicle Type
    • Registration Details

So:

Vehicle_No → Owner, Vehicle_Type

Important:
The owner's name alone cannot identify the vehicle.

Module 1: Functional Dependency BasicsWhat is Functional Dependency?

Top Tutorials

Logo
Artificial Intelligence

GATE 2026 Data Science and AI

Explore this free tutorial to understand various concepts of GATE Data Science and AI 2026 . Learn probability, algebra, calculus, etc.

6 Modules26 Lessons21465 Learners
Start Learning
Logo
Artificial Intelligence

ChatGPT

In this ChatGPT tutorial, learn how to use ChatGPT effectively. Master the art of conversational AI with our step-by-step lessons. Start to learn ChatGPT today!

6 Modules14 Lessons4413 Learners
Start Learning
Logo
Artificial Intelligence

Artificial Intelligence

Dive into our comprehensive Artificial Intelligence tutorial and master the fundamentals of AI. From an introduction to advanced concepts, learn AI from scratch

3 Modules37 Lessons15922 Learners
Start Learning
  • Official Address
  • 4th floor, 133/2, Janardhan Towers, Residency Road, Bengaluru, Karnataka, 560025
  • Communication Address
  • Follow Us
  • facebook
    instagram
    linkedin
    twitter
    youtube
    telegram

© 2026 AlmaBetter