Hubbry Logo
Equation solvingEquation solvingMain
Open search
Equation solving
Community hub
Equation solving
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Equation solving
Equation solving
from Wikipedia
The quadratic formula, the symbolic solution of the quadratic equation ax2 + bx + c = 0
Illustration of Newton's method
An example of using Newton–Raphson method to solve numerically the equation f(x) = 0

In mathematics, to solve an equation is to find its solutions, which are the values (numbers, functions, sets, etc.) that fulfill the condition stated by the equation, consisting generally of two expressions related by an equals sign. When seeking a solution, one or more variables are designated as unknowns. A solution is an assignment of values to the unknown variables that makes the equality in the equation true. In other words, a solution is a value or a collection of values (one for each unknown) such that, when substituted for the unknowns, the equation becomes an equality. A solution of an equation is often called a root of the equation, particularly but not only for polynomial equations. The set of all solutions of an equation is its solution set.

An equation may be solved either numerically or symbolically. Solving an equation numerically means that only numbers are admitted as solutions. Solving an equation symbolically means that expressions can be used for representing the solutions.

For example, the equation x + y = 2x – 1 is solved for the unknown x by the expression x = y + 1, because substituting y + 1 for x in the equation results in (y + 1) + y = 2(y + 1) – 1, a true statement. It is also possible to take the variable y to be the unknown, and then the equation is solved by y = x – 1. Or x and y can both be treated as unknowns, and then there are many solutions to the equation; a symbolic solution is (x, y) = (a + 1, a), where the variable a may take any value. Instantiating a symbolic solution with specific numbers gives a numerical solution; for example, a = 0 gives (x, y) = (1, 0) (that is, x = 1, y = 0), and a = 1 gives (x, y) = (2, 1).

The distinction between known variables and unknown variables is generally made in the statement of the problem, by phrases such as "an equation in x and y", or "solve for x and y", which indicate the unknowns, here x and y. However, it is common to reserve x, y, z, ... to denote the unknowns, and to use a, b, c, ... to denote the known variables, which are often called parameters. This is typically the case when considering polynomial equations, such as quadratic equations. However, for some problems, all variables may assume either role.

Depending on the context, solving an equation may consist to find either any solution (finding a single solution is enough), all solutions, or a solution that satisfies further properties, such as belonging to a given interval. When the task is to find the solution that is the best under some criterion, this is an optimization problem. Solving an optimization problem is generally not referred to as "equation solving", as, generally, solving methods start from a particular solution for finding a better solution, and repeating the process until finding eventually the best solution.

Overview

[edit]

One general form of an equation is

where f is a function, x1, ..., xn are the unknowns, and c is a constant. Its solutions are the elements of the inverse image (fiber)

where D is the domain of the function f. The set of solutions can be the empty set (there are no solutions), a singleton (there is exactly one solution), finite, or infinite (there are infinitely many solutions).

For example, an equation such as

with unknowns x, y and z, can be put in the above form by subtracting 21z from both sides of the equation, to obtain

In this particular case there is not just one solution, but an infinite set of solutions, which can be written using set builder notation as

One particular solution is x = 0, y = 0, z = 0. Two other solutions are x = 3, y = 6, z = 1, and x = 8, y = 9, z = 2. There is a unique plane in three-dimensional space which passes through the three points with these coordinates, and this plane is the set of all points whose coordinates are solutions of the equation.

Solution sets

[edit]
The solution set of the equation x2/4 + y2 = 1 forms an ellipse when interpreted as a set of Cartesian coordinate pairs.

The solution set of a given set of equations or inequalities is the set of all its solutions, a solution being a tuple of values, one for each unknown, that satisfies all the equations or inequalities. If the solution set is empty, then there are no values of the unknowns that satisfy simultaneously all equations and inequalities.

For a simple example, consider the equation

This equation can be viewed as a Diophantine equation, that is, an equation for which only integer solutions are sought. In this case, the solution set is the empty set, since 2 is not the square of an integer. However, if one searches for real solutions, there are two solutions, 2 and 2; in other words, the solution set is {2, −2}.

When an equation contains several unknowns, and when one has several equations with more unknowns than equations, the solution set is often infinite. In this case, the solutions cannot be listed. For representing them, a parametrization is often useful, which consists of expressing the solutions in terms of some of the unknowns or auxiliary variables. This is always possible when all the equations are linear.

Such infinite solution sets can naturally be interpreted as geometric shapes such as lines, curves (see picture), planes, and more generally algebraic varieties or manifolds. In particular, algebraic geometry may be viewed as the study of solution sets of algebraic equations.

Methods of solution

[edit]

The methods for solving equations generally depend on the type of equation, both the kind of expressions in the equation and the kind of values that may be assumed by the unknowns. The variety in types of equations is large, and so are the corresponding methods. Only a few specific types are mentioned below.

In general, given a class of equations, there may be no known systematic method (algorithm) that is guaranteed to work. This may be due to a lack of mathematical knowledge; some problems were only solved after centuries of effort. But this also reflects that, in general, no such method can exist: some problems are known to be unsolvable by an algorithm, such as Hilbert's tenth problem, which was proved unsolvable in 1970.

For several classes of equations, algorithms have been found for solving them, some of which have been implemented and incorporated in computer algebra systems, but often require no more sophisticated technology than pencil and paper. In some other cases, heuristic methods are known that are often successful but that are not guaranteed to lead to success.

Brute force, trial and error, inspired guess

[edit]

If the solution set of an equation is restricted to a finite set (as is the case for equations in modular arithmetic, for example), or can be limited to a finite number of possibilities (as is the case with some Diophantine equations), the solution set can be found by brute force, that is, by testing each of the possible values (candidate solutions). It may be the case, though, that the number of possibilities to be considered, although finite, is so huge that an exhaustive search is not practically feasible; this is, in fact, a requirement for strong encryption methods.

As with all kinds of problem solving, trial and error may sometimes yield a solution, in particular where the form of the equation, or its similarity to another equation with a known solution, may lead to an "inspired guess" at the solution. If a guess, when tested, fails to be a solution, consideration of the way in which it fails may lead to a modified guess.

Elementary algebra

[edit]

Equations involving linear or simple rational functions of a single real-valued unknown, say x, such as

can be solved using the methods of elementary algebra.

Systems of linear equations

[edit]

Smaller systems of linear equations can be solved likewise by methods of elementary algebra. For solving larger systems, algorithms are used that are based on linear algebra. See Gaussian elimination and numerical solution of linear systems.

Polynomial equations

[edit]

Polynomial equations of degree up to four can be solved exactly using algebraic methods, of which the quadratic formula is the simplest example. Polynomial equations with a degree of five or higher require in general numerical methods (see below) or special functions such as Bring radicals, although some specific cases may be solvable algebraically, for example

(by using the rational root theorem), and

(by using the substitution x = z13, which simplifies this to a quadratic equation in z).

Diophantine equations

[edit]

In Diophantine equations the solutions are required to be integers. In some cases a brute force approach can be used, as mentioned above. In some other cases, in particular if the equation is in one unknown, it is possible to solve the equation for rational-valued unknowns (see Rational root theorem), and then find solutions to the Diophantine equation by restricting the solution set to integer-valued solutions. For example, the polynomial equation

has as rational solutions x = −1/2 and x = 3, and so, viewed as a Diophantine equation, it has the unique solution x = 3.

In general, however, Diophantine equations are among the most difficult equations to solve.

Inverse functions

[edit]

In the simple case of a function of one variable, say, h(x), we can solve an equation of the form h(x) = c for some constant c by considering what is known as the inverse function of h.

Given a function h : AB, the inverse function, denoted h−1 and defined as h−1 : BA, is a function such that

Now, if we apply the inverse function to both sides of h(x) = c, where c is a constant value in B, we obtain

and we have found the solution to the equation. However, depending on the function, the inverse may be difficult to be defined, or may not be a function on all of the set B (only on some subset), and have many values at some point.

If just one solution will do, instead of the full solution set, it is actually sufficient if only the functional identity

holds. For example, the projection π1 : R2R defined by π1(x, y) = x has no post-inverse, but it has a pre-inverse π−1
1
defined by π−1
1
(x) = (x, 0)
. Indeed, the equation π1(x, y) = c is solved by

Examples of inverse functions include the nth root (inverse of xn); the logarithm (inverse of ax); the inverse trigonometric functions; and Lambert's W function (inverse of xex).

Factorization

[edit]

If the left-hand side expression of an equation P = 0 can be factorized as P = QR, the solution set of the original solution consists of the union of the solution sets of the two equations Q = 0 and R = 0. For example, the equation

can be rewritten, using the identity tan x cot x = 1 as

which can be factorized into

The solutions are thus the solutions of the equation tan x = 1, and are thus the set

Numerical methods

[edit]

With more complicated equations in real or complex numbers, simple methods to solve equations can fail. Often, root-finding algorithms like the Newton–Raphson method can be used to find a numerical solution to an equation, which, for some applications, can be entirely sufficient to solve some problem. There are also numerical methods for systems of linear equations.

Matrix equations

[edit]

Equations involving matrices and vectors of real numbers can often be solved by using methods from linear algebra.

Differential equations

[edit]

There is a vast body of methods for solving various kinds of differential equations, both numerically and analytically. A particular class of problem that can be considered to belong here is integration, and the analytic methods for solving this kind of problems are now called symbolic integration.[citation needed] Solutions of differential equations can be implicit or explicit.[1]

See also

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
Equation solving is a fundamental process in that involves determining the values of unknown variables which, when substituted into a given , make the statement of equality true, thereby identifying the of all such values. This process underpins algebraic manipulation and is essential for modeling real-world phenomena across disciplines. The history of equation solving traces back to ancient civilizations, where around 1650 BC used rhetorical methods in the Rhind to solve linear problems, such as determining ages or areas, while Babylonians employed geometric techniques for quadratic equations as early as 2000 BC. In the , of (c. 200–284 AD) advanced the field with syncopated notation and Diophantine equations in his work Arithmetica, focusing on integer solutions. The 9th-century Persian mathematician systematized methods for linear and quadratic equations in Hisâb al-jabr w’almuqâbalah, introducing and giving rise to the term "." During the , Italian mathematicians like , Niccolò Tartaglia, and developed algebraic solutions for cubic equations, with Cardano publishing them in Ars Magna (1545), and extending this to quartics. The brought profound insights: proved in 1824 that no general algebraic formula exists for quintic equations using radicals, and founded to determine the solvability of polynomials by radicals. For linear systems, ancient Chinese texts like The Nine Chapters on the Mathematical Art (c. 200 BC) described methods akin to , formalized by in the early 1800s for solving systems of equations. Key methods for equation solving include isolation techniques for linear equations, where operations like addition, subtraction, multiplication, and division are applied equally to both sides to isolate the variable; factoring and the for polynomials up to degree two; and substitution or elimination for systems of equations. For higher-degree or nonlinear equations, numerical approaches such as , , and fixed-point theorems provide approximations when exact solutions are unavailable. In modern contexts, equation solving extends to differential equations using variational methods or symmetry principles, like Lie groups. Equation solving plays a pivotal role in science and , enabling the prediction of physical behaviors, optimization of designs, and of complex systems, such as or , through mathematical modeling. Its applications drive advancements in fields from to , where solving systems of equations underpins algorithms and .

Fundamentals of Equations

Definition and Basic Properties

An is a mathematical statement that asserts the equality between two expressions, which may consist of variables, constants, and mathematical operators connected by an equals sign (=). This equality implies that the value or set of values for the variables makes the left-hand side identical to the right-hand side. The relation of equality in equations exhibits fundamental properties that underpin mathematical reasoning: reflexivity, where any expression equals itself (A = A); , where if one expression equals another (A = B), then the reverse holds (B = A); and transitivity, where if A equals B and B equals C, then A equals C. These properties ensure that manipulations preserving equality, such as adding or multiplying both sides by the same quantity, maintain the equation's validity. In equations, variables serve as unknowns whose values are sought to satisfy the equality, while parameters act as fixed constants that specify the equation's form within a family of similar equations. For example, a linear equation takes the form ax+b=0ax + b = 0, where xx is the variable and aa, bb are parameters. Similarly, a quadratic equation is expressed as ax2+bx+c=0ax^2 + bx + c = 0, with xx as the variable and aa, bb, cc as parameters. The origins of equations trace back to ancient Babylonian mathematics around 2000 BC, where clay tablets demonstrate methods for balancing unknowns in problems equivalent to solving linear and quadratic equations. This numerical algebra, involving systems of equations and square roots, influenced Greek mathematics starting around 450 BC, which built upon these foundations to develop more geometric interpretations of balancing unknowns. The primary aim of working with equations is to determine their solution sets, the values of variables that fulfill the equality.

Classification of Equations

Equations are classified according to their mathematical form, the degree of polynomials involved, the domain over which solutions are considered, the presence of derivatives or non-algebraic functions, the manner in which variables are expressed, and whether multiple equations are coupled together. These categories provide a framework for understanding the structure of equations and the constraints on their solutions, without delving into resolution methods. Linear equations represent the simplest polynomial form, characterized by a degree of one, and are generally expressed as ax+b=0ax + b = 0, where aa and bb are constants with a0a \neq 0. In multiple variables, they extend to forms like a1x1+a2x2++anxn=ba_1 x_1 + a_2 x_2 + \dots + a_n x_n = b, maintaining the property that variables appear only to the first power. Polynomial equations encompass expressions that are sums of terms involving variables raised to non-negative integer powers, set equal to zero, and are primarily classified by their degree—the exponent of the highest-powered term. Degree-one polynomials are linear, as noted above; quadratics have degree two, such as ax2+bx+c=0ax^2 + bx + c = 0; cubics have degree three, like ax3+bx2+cx+d=0ax^3 + bx^2 + cx + d = 0; and higher-degree polynomials follow similarly up to any finite degree nn. This degree determines key structural properties, including the maximum number of roots. Diophantine equations are a subset of polynomial equations restricted to integer solutions for the variables, often arising in , such as ax+by=cax + by = c where xx and yy must be . The term originates from the work of the mathematician , and these equations emphasize the domain of rather than real or complex numbers. Transcendental equations incorporate transcendental functions—those not expressible as finite polynomials, such as exponential, logarithmic, or trigonometric functions—and cannot be reduced to algebraic forms. For instance, sinx=0\sin x = 0 involves the sine function, leading to solutions that transcend polynomial roots. These equations often arise in applications requiring non-algebraic behaviors. Differential equations involve of unknown functions and are classified as ordinary (involving functions of one independent variable) or partial (multiple independent variables), with examples including dydx=ky\frac{dy}{dx} = ky for . The order is determined by the highest present, and depends on whether the equation is a of the function and its . Equations are further distinguished as implicit or explicit based on how variables are related. An implicit equation expresses a relation without isolating one variable, such as x2+y2=1x^2 + y^2 = 1, which defines a circle without solving for yy. In contrast, an explicit equation solves for one variable in terms of others, like y=1x2y = \sqrt{1 - x^2}
Add your contribution
Related Hubs
User Avatar
No comments yet.