# What is the difference between a linear equation and a quadratic equation?

A linear equation and a quadratic equation are two types of algebraic equations that differ in their degree, structure, and the shape they represent when graphed. Here’s a brief comparison:

## Difference between a linear equation and a quadratic equation

### Degree:

• A linear equation has a degree of 1, which means the highest power of the variable (usually x) is 1.
• A quadratic equation has a degree of 2, which means the highest power of the variable is 2.

### Structure:

• A linear equation is generally written in the form: y = mx + b, where m is the slope and b is the y-intercept.
• A quadratic equation is generally written in the form: y = ax^2 + bx + c, where a, b, and c are constants, and a ≠ 0.

### Graph:

• A linear equation, when graphed, forms a straight line.
• A quadratic equation, when graphed, forms a parabola, which is a curve that opens either upward (when a > 0) or downward (when a < 0).

### Solutions:

• A linear equation typically has one unique solution, where the line intersects the x-axis (assuming the equation is solvable).
• A quadratic equation can have zero, one, or two real solutions, depending on the discriminant (Δ = b^2 – 4ac). If Δ > 0, there are two distinct real solutions; if Δ = 0, there is one real solution (a double root); and if Δ < 0, there are no real solutions (two complex solutions).

### Rate of change:

• In a linear equation, the rate of change is constant, which means that the increase or decrease in the dependent variable (y) is directly proportional to the change in the independent variable (x). This constant rate of change is represented by the slope (m) in the equation y = mx + b.
• In a quadratic equation, the rate of change is not constant, and it varies depending on the value of x. This is due to the presence of the squared term (ax^2) in the equation y = ax^2 + bx + c.

### Applications:

• Linear equations are used in many real-world applications, such as calculating simple interest, predicting growth rates, and determining the cost of goods based on a fixed rate. They are often used to model situations where there is a direct relationship between two variables.
• Quadratic equations are also applied in various real-world scenarios, such as calculating the trajectory of a projectile, optimizing areas and perimeters, and analyzing the behavior of certain physical systems. They are used to model situations where there is a non-linear relationship between variables or where the rate of change is not constant.