**Artificial intelligence (AI)** is a branch of computer science that deals with building smart machines or computers that can think, make decisions, and perform tasks with intelligence like human beings. Artificial intelligence develops systems that can perform many types of intelligent tasks, such as voice recognition, face recognition, responding to touch, etc.

Every day, we interact with many AI systems nowadays. For example,** Face detection** **on phones, Voice recognition on Alexa, Apple Siri or OK Google, FingerPrint detection, Recommendation system on YouTube or Netflix**, etc.

These systems sound fascinating. Have you ever thought about how all these systems work?

There is some science behind all these smart systems. To understand artificial intelligence and data science, some mathematical skills are important to learn. Let’s set up a foundation for Data Science with these mathematical concepts and learn them one by one.

## Linear Algebra

Linear Algebra is one area of mathematics that is necessary for a thorough grasp of the concepts of Data Science. Linear algebra is the study of linear combinations. Linear Algebra tries to solve linear equations with the help of vectors and matrices. In the real world, it is applied to different fields of physics and engineering.

Linear algebra describes ways to solve and manipulate systems of linear equations.

Let’s understand linear equations:

The above equation is called a linear equation with two variables, x and y. This is called linear because x and y are not raised to a power. An equation of a straight line is called a linear equation. The general linear equation can be represented as:

Here, a_{1}, a_{2},.. a_{n} are called coefficients

x_{1}, x2,…x_{n} are called variables

b is called constant

### The Solution to the Linear Equation

The solution of the linear equation will be a pair of values. For the equation, x-y = 1, x = 2, and y = 1 is a solution because when we substitute these values in the equation, the equation comes out to be true. Similarly, there can be more pairs which are the solution to the equation.

We can find different pairs of solutions and draw a graph of the linear equation. Let’s find solution pairs in table format by writing different values of y for corresponding values of x.

x | -1 | 0 | 1 | 2 | 3 |

y | -2 | -1 | 0 | 1 | 2 |

Table 1.1

When the graph is drawn for the above pairs of x and y, it comes out to be a straight line, as shown below:

Figure 1.1: Line graph of linear equation

### Observations

- Every point whose coordinates satisfy a linear equation lies on the line.
- Any point that does not lie on the line is not a solution to the linear equation.

## Stay Tuned!!

Do you want to become a data scientist? Click here for details.

Keep learning and keep implementing!!

MeetuInformative indeed

MukeshKeep going and sharing info!!